Fix a sparc header conformtest failure.
[glibc.git] / ChangeLog
blob8b7b3e43cc494bdf9a267e57416ee7018d294e9f
1 2016-10-27  David S. Miller  <davem@davemloft.net>
3         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
5 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7         * malloc/malloc.c (do_set_mallopt_check): New function.
8         (do_set_mmap_threshold): Likewise.
9         (do_set_mmaps_max): Likewise.
10         (do_set_top_pad): Likewise.
11         (do_set_perturb_byte): Likewise.
12         (do_set_trim_threshold): Likewise.
13         (do_set_arena_max): Likewise.
14         (do_set_arena_test): Likewise.
15         (__libc_mallopt): Use them.
17 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
19         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
20         (canonicalize): New declaration.
21         * math/Versions (canonicalize): New libm symbol at version
22         GLIBC_2.25.
23         (canonicalizef): Likewise.
24         (canonicalizel): Likewise.
25         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
26         * math/s_canonicalize_template.c: New file.
27         * math/libm-test.inc: Update comment on functions tested and
28         testing of NaN payloads.
29         (TEST_NAN_PAYLOAD): New macro.
30         (NO_TEST_INLINE): Update value.
31         (XFAIL_TEST): Likewise.
32         (ERRNO_UNCHANGED): Likewise.
33         (ERRNO_EDOM): Likewise.
34         (ERRNO_ERANGE): Likewise.
35         (IGNORE_RESULT): Likewise.
36         (NON_FINITE): Likewise.
37         (TEST_SNAN): Likewise.
38         (NO_TEST_MATHVEC): Likewise.
39         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
40         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
41         (struct test_Ffp_b1_data): New type.
42         (RUN_TEST_Ffp_b1): New macro.
43         (RUN_TEST_LOOP_Ffp_b1): Likewise.
44         (canonicalize_test_data): New array.
45         (canonicalize_test): New function.
46         (main): Call canonicalize_test.
47         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
48         canonicalizef and canonicalizel.
49         * manual/libm-err-tab.pl: Update comment on interfaces without
50         ulps tabulated.
51         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
52         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
53         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
54         canonicalize.
55         (CFLAGS-nldbl-canonicalize.c): New variable.
56         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
57         to ...
58         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
59         ... here.
60         (do_test): Also test canonicalizel.
61         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
62         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
63         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
64         file.
65         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
66         Use libm_hidden_def.
67         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
68         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
69         (do_test): Also test canonicalizel.
70         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
71         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
72         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
73         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
74         libm_hidden_def.
75         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
76         macro.
77         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
78         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
79         * sysdeps/nacl/libm.abilist: Update.
80         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
81         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
82         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
83         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
84         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
85         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
86         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
87         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
88         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
89         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
90         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
91         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
92         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
93         Likewise.
94         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
95         Likewise.
96         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
97         Likewise.
98         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
99         Likewise.
100         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
101         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
102         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
103         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
104         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
106         Likewise.
107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
108         Likewise.
109         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
110         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
111         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
113         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
114         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
115         getpayload.
116         (CFLAGS-nldbl-getpayload.c): New variable.
118 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
120         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
121         integer from the format string.
123 2016-10-26  Florian Weimer  <fweimer@redhat.com>
125         [BZ #19473]
126         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
127         declarations.
128         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
129         weak aliases.
130         * malloc/hooks.c (__malloc_get_state): Remove definition.
131         (malloc_get_state): New stub implementation as
132         compatibility symbol.
133         (malloc_set_state): Rename from __malloc_set_state.  Turn into
134         compat symbol.
135         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
136         malloc_set_state.
137         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
139 2016-10-26  Florian Weimer  <fweimer@redhat.com>
141         * iconvdata/iso646.c (enum variant): Drop illegal_var.
142         (names): Turn into concatenation of strings.
143         (gconv_init): Adapt iteration over names.
145 2016-10-26  Florian Weimer  <fweimer@redhat.com>
147         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
148         make const.
149         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
150         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
151         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
152         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
153         character in sbconv.
154         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
155         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
156         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
158 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
160         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
162         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
163         (M_TRIM_THRESHOLD): Likewise.
165         * manual/memory.texi (M_ARENA_TEST): Add documentation.
166         (M_ARENA_MAX): Likewise.
167         * malloc/malloc.c: Remove obsolete comment.
169         * manual/memory.texi: Add environment variable alternatives to
170         setting mallopt parameters.
172 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
174         * include/atomic.h
175         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
176         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
178 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
180         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
181         * stdlib/tst-strfrom.h: New file.
182         * stdlib/tst-strfrom.c: New file.
183         * stdlib/tst-strfrom-locale.c: New file.
185         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
186         * stdlib/bug-strtod2.c: Likewise.
187         * stdlib/tst-strtod-round-skeleton.c: Likewise.
188         * stdlib/tst-strtod6.c: Likewise.
189         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
191 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
193         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
194         * manual/arith.texi: Document strfromd, strfromf, strfroml.
195         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
196         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
197         * stdlib/stdlib.h (strfromd): New declaration.
198         (strfromf): Likewise.
199         (strfroml): Likewise.
200         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
201         strfrom.
202         * stdlib/strfromd.c: New file.
203         * stdlib/strfromf.c: Likewise.
204         * stdlib/strfroml.c: Likewise.
205         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
206         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
207         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
208         * sysdeps/arm/nacl/libc.abilist: Update.
209         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
210         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
211         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
212         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
213         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
214         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
215         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
216         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
217         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
218         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
219         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
220         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
221         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
222         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
227         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
228         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
229         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
230         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
231         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
234         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
235         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
236         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
238 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
240         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
241         instead of cmpli.
242         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
243         instead of cmpli.
245 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
247         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
248         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
249         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
250         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
251         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
252         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
254 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
256         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
257         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
258         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
259         SYSCALL_LL64_PRW.
260         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
261         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
262         __ASSUME_PRW_DUMMY_ARG.
263         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
264         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
265         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
266         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
267         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
268         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
270 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
272         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
274 2016-10-22  Florian Weimer  <fweimer@redhat.com>
276         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
277         "C++", to override a potential extern "C" directive around the
278         header file inclusion.
280 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
282         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
284 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
286         * sysdeps/powerpc/fpu/fenv_private.h:
287         (_FPU_MASK_ALL): Rename to...
288         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
289         XE FPSCR bits.
291         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
293         (_FPU_MASK_ROUNDING): Rename to...
294         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
295         NI bits.
297         (_FPU_MASK_EXCEPT_ROUND): Rename to...
298         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
299         bits and rounding bits.
301         (__libc_feholdbits_ppc): New inline function to mask, set,
302         and pontentially clear FSPCR bits, and change MSR[FE] bits.
303         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
304         (libc_feholdexcept_setround_ppc): Likewise.
306         (__libc_femergeenv_ppc): New function to dynamically mask both
307         old and new FP environments and merge.
308         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
309         (libc_feresetround_ppc): Likewise.
310         (libc_feupdateenv_test_ppc): Likewise.
311         (libc_feupdateenv_ppc): Likewise.
313         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
314         of ISA RN bits, and update macro names.
315         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
316         effectively the same as the previously mentioned function.
318         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
319         usage with fe_resetround_ppc.
321         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
322         to be used.
323         (libc_feholdexcept_setround_ctxf): Likewise.
324         (libc_feholdexcept_setround_ctxl): Likewise.
326 2016-10-21  Florian Weimer  <fweimer@redhat.com>
328         [BZ #20715]
329         * math/math.h [__cplusplus] (iszero): Define as function template.
330         * math/Makefile [CXX] (tests): Add test-math-iszero.
331         (CFLAGS-test-math-iszero.cc): Set.
332         * math/test-math-iszero.cc: New file.
334 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
336         [BZ #20660]
337         * sysdeps/arm/e_sqrt.c: New file.
338         * sysdeps/arm/e_sqrtf.c: Likewise.
340 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
342         [BZ #20718]
343         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
344         not use floating-point comparisons to test sign.
345         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
346         Likewise.
348         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
349         (getpayload): New declaration.
350         * math/Versions (getpayload): New libm symbol at version
351         GLIBC_2.25.
352         (getpayloadf): Likewise.
353         (getpayloadl): Likewise.
354         * math/Makefile (libm-calls): Add s_getpayloadF.
355         * math/libm-test.inc: Include <nan-high-order-bit.h>.
356         (struct test_f_f_data): Add comment.
357         (RUN_TEST_fp_f): New macro.
358         (RUN_TEST_LOOP_fp_f): Likewise.
359         (getpayload_test_data): New array.
360         (getpayload_test): New function.
361         (main): Call getpayload_test.
362         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
363         descriptor.
364         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
365         getpayloadf and getpayloadl.
366         * manual/libm-err-tab.pl: Update comment on interfaces without
367         ulps tabulated.
368         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
369         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
370         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
371         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
372         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
373         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
374         * sysdeps/nacl/libm.abilist: Update.
375         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
376         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
377         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
378         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
379         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
380         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
381         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
382         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
383         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
384         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
385         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
386         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
388         Likewise.
389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
390         Likewise.
391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
392         Likewise.
393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
394         Likewise.
395         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
396         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
397         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
398         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
399         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
401         Likewise.
402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
403         Likewise.
404         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
405         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
406         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
408 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
410         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
411         tst-fallocate{64}.
412         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
413         on syscall return.
415 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
417         [BZ #20689]
418         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
419         usable.
421 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
423         * sysdeps/generic/nan-high-order-bit.h: New file.
424         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
425         * sysdeps/mips/nan-high-order-bit.h: Likewise.
426         * sysdeps/hppa/math_private.h: Remove file.
427         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
428         not define here.
429         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
430         <nan-high-order-bit.h>.
431         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
432         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
433         <nan-high-order-bit.h>.
434         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
435         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
436         <nan-high-order-bit.h>.
437         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
438         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
439         <nan-high-order-bit.h>.
440         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
441         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
442         <nan-high-order-bit.h>.
443         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
444         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
445         <nan-high-order-bit.h>.
446         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
447         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
448         <nan-high-order-bit.h>.
449         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
450         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
451         <nan-high-order-bit.h>.
452         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
453         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
454         <nan-high-order-bit.h>.
455         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
456         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
457         <nan-high-order-bit.h>.
458         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
459         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
460         <nan-high-order-bit.h>.
461         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
462         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
463         <nan-high-order-bit.h>.
464         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
465         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
466         <nan-high-order-bit.h>.
467         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
468         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
469         <nan-high-order-bit.h>.
470         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
471         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
472         <nan-high-order-bit.h>.
473         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
474         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
475         <nan-high-order-bit.h>.
476         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
477         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
478         <nan-high-order-bit.h>.
479         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
480         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
481         <nan-high-order-bit.h>.
482         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
484 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
486         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
488 2016-09-22  John David Anglin  <dave.anglin@bell.net>
490         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
491         abort-instr.h.
492         (EFAULT): Remove conditional define.
493         (ENOSYS): Likewise.
494         (atomic_compare_and_exchange_val_acq): Use instruction nullification
495         instead of conditional branch instructions.
497 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
499         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
500         (totalordermag): New declaration.
501         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
502         New macro.
503         * math/Versions (totalordermag): New libm symbol at version
504         GLIBC_2.25.
505         (totalordermagf): Likewise.
506         (totalordermagl): Likewise.
507         * math/Makefile (libm-calls): Add s_totalordermagF.
508         * math/libm-test.inc (totalordermag_test_data): New array.
509         (totalordermag_test): New function.
510         (main): Call totalordermag_test.
511         * math/test-tgmath.c (NCALLS): Increase to 125.
512         (F(compile_test)): Call totalordermag.
513         (F(totalordermag)): New function.
514         * manual/arith.texi (FP Comparison Functions): Document
515         totalordermag, totalordermagf and totalordermagl.
516         * manual/libm-err-tab.pl: Update comment on interfaces without
517         ulps tabulated.
518         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
519         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
520         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
521         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
522         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
523         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
524         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
525         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
526         totalordermag.
527         (CFLAGS-nldbl-totalordermag.c): New variable.
528         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
529         (do_test): Also test totalordermagl.
530         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
531         Likewise.
532         * sysdeps/nacl/libm.abilist: Update.
533         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
534         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
535         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
536         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
540         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
542         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
543         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
544         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
546         Likewise.
547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
548         Likewise.
549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
550         Likewise.
551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
552         Likewise.
553         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
554         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
555         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
556         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
557         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
559         Likewise.
560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
561         Likewise.
562         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
563         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
564         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
566 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
568         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
569         boolean.
571 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
573         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
574         raising FE_INVALID with feraisexcept in case where part of
575         argument is infinite, subtract that part of argument from itself.
576         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
577         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
578         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
580 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
582         * math/libm-test.inc (totalorder_test_data): Add more tests.
584 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
586         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
587         Undefine weak_alias and add a comment why mips64 require
588         versioning.
590 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
592         [BZ #20647]
593         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
594         maximum CPUID level is less than 2.
596 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
598         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
599         (totalorder): New declaration.
600         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
601         New macro.
602         * math/Versions (totalorder): New libm symbol at version
603         GLIBC_2.25.
604         (totalorderf): Likewise.
605         (totalorderl): Likewise.
606         * math/Makefile (libm-calls): Add s_totalorderF.
607         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
608         string.
609         * math/libm-test.inc (PAYLOAD_DIG): New macro.
610         (qnan_value_pl): Likewise.
611         (snan_value_pl): Likewise.
612         (qnan_value): Define using qnan_value_pl.
613         (snan_value): Define using snan_value_pl.
614         (struct test_ff_i_data): Add comment about which tests use this
615         structure.
616         (RUN_TEST_ff_b): New macro.
617         (RUN_TEST_LOOP_ff_b): Likewise.
618         (totalorder_test_data): New array.
619         (totalorder_test): New function.
620         (main): Call totalorder_test.
621         * math/test-tgmath.c (NCALLS): Increase to 122.
622         (F(compile_test)): Call totalorder.
623         (F(totalorder)): New function.
624         * manual/arith.texi (FP Comparison Functions): Document
625         totalorder, totalorderf and totalorderl.
626         * manual/libm-err-tab.pl: Update comment on interfaces without
627         ulps tabulated.
628         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
629         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
630         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
631         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
632         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
633         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
634         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
635         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
636         totalorder.
637         (CFLAGS-nldbl-totalorder.c): New variable.
638         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
639         file.
640         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
641         Add test-totalorderl-ldbl-128ibm.
642         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
643         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
644         test-totalorderl-ldbl-96.
645         * sysdeps/nacl/libm.abilist: Update.
646         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
647         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
648         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
649         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
650         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
651         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
652         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
653         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
654         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
655         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
656         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
657         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
659         Likewise.
660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
661         Likewise.
662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
663         Likewise.
664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
665         Likewise.
666         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
667         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
668         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
669         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
670         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
672         Likewise.
673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
674         Likewise.
675         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
676         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
677         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
679 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
681         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
682         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
683         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
684         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
685         remove ENOSYS implementation.
686         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
687         Consolidate all Linux implementations.
689 2016-10-11  Florian Weimer  <fweimer@redhat.com>
691         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
692         * resolv/herror.c (herror): Cast away const-ness.
693         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
694         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
696 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
698         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
699         instead of M_NAN + M_NAN.
700         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
702 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
704         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
705         unused variable 'p'.
707 2016-10-09  Alan Modra  <amodra@gmail.com>
708             Andreas Schwab  <schwab@linux-m68k.org>
710         [BZ #20554]
711         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
712         [PIC && !SHARED]: Set up PIC register for PLT call.
714 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
716         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
717         conditional on value of [__FLT_EVAL_METHOD__].
718         * math/test-iseqsig-excess-precision.c: New file.
719         * math/Makefile (tests): Add test-iseqsig-excess-precision.
721 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
723         * math/s_iseqsig_template.c: Include math-private.h.
725         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
726         * posix/tst-posix_fadvise.c: New file.
727         * posix/tst-posix_fadvise64.c: Likewise.
728         * posix/tst-posix_fadvise-common.c: Likewise.
729         * sysdeps/unix/sysv/linux/arm/kernel-features.h
730         (__ASSUME_FADVISE64_64_6ARG): Define.
731         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
732         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
733         * sysdeps/unix/sysv/linux/tile/kernel-features.h
734         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
735         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
736         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
737         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
738         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
739         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
740         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
741         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
742         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
745         Likewise.
746         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
747         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
748         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
749         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
750         Alias to __posix_fadvise64_l32.
751         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
752         Add compat definition to posix_fadvise64.
753         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
754         Add versioned definition to posix_fadvise64.
755         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
756         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
757         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
758         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
759         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
761         * io/Makefile (tests): Add tst-posix_fallocate and
762         tst-posix_fallocate64.
763         * io/tst-posix_fallocate-common.c: New file.
764         * io/tst-posix_fallocate.c: Likewise.
765         * io/tst-posix_fallocate64.c: Likewise.
766         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
767         file.
768         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
769         Likewise.
770         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
771         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
772         Likewise.
773         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
774         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
775         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
776         SYSCALL_LL to pass both offset and len arguments.
777         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
778         Likewise.
779         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
780         __libc_pwrite64 alias used by posix_fallocate64.
782         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
783         tst-fallocate64.
784         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
785         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
786         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
787         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
788         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
789         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
790         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
791         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
792         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
793         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
794         macro on offset argument.
795         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
796         SYSCALL_LL64 on offset argument.
798         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
799         tst-fallocate64.
800         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
801         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
802         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
803         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
804         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
805         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
806         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
807         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
808         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
809         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
810         macro on offset argument.
811         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
812         SYSCALL_LL64 on offset argument.
813         * test-skeleton.c (FAIL_RET): Add macro.
814         (FAIL_EXIT): Likewise.
815         (FAIL_EXIT1): Likewise.
816         (_FAIL): Likewise.
818 2016-10-07  Florian Weimer  <fweimer@redhat.com>
820         [BZ #20629]
821         resolv: Remove RES_USEBSTRING and its implementation.
822         * resolv/resolv.h (RES_USEBSTRING): Remove.
823         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
824         (digitvalue, encode_bitstring, decode_bitstring): Remove.
825         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
826         (labellen): Remove extended label types support.
827         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
828         * resolv/res_init.c (res_setoptions): Likewise.
829         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
831 2016-10-07  Florian Weimer  <fweimer@redhat.com>
833         resolv: Remove RES_NOIP6DOTINT and its implementation.
834         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
835         (RES_NOIP6DOTINT): Remove.
836         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
837         handling.
838         * resolv/res_debug.c (p_option): Likewise.
839         * resolv/res_init.c (res_setoptions): Likewise.
840         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
842 2016-10-07  Florian Weimer  <fweimer@redhat.com>
844         resolv: Deprecate unimplemented flags.
845         * misc/sys/cdefs.h (__glibc_macro_warning1)
846         (__glibc_macro_warning): Define.
847         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
848         (RES_KEEPTSIG): Mark as deprecated.
849         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
850         RES_NOCHECKNAME, RES_KEEPTSIG.
851         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
853 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
855         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
856         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
857         Use strong_alias to create symbols for glibc verison 2.19.
859 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
861         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
863 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
865         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
867 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
869         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
871 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
873         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
874         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
875         in header for using it as type for ifunc function because __GI_* symbols
876         for ppc32 do not target the ifunc symbols.
877         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
879 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
881         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
882         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
883         libc_ifunc_hidden_def.
884         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
885         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
886         Redirect ifunced function in header for using it as type of ifunc'ed
887         function. Redefine libc_hidden_def to use fallback non ifunc'ed
888         function for __GI_* symbol.
889         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
890         * include/libc-symbols.h
891         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
893 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
895         [BZ #20478]
896         * sysdeps/s390/multiarch/ifunc-resolve.h
897         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
898         to create ifunc symbols.
899         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
900         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
901         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
902         for using it as type for ifunc function.
903         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
904         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
905         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
906         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
907         * sysdeps/s390/multiarch/strcat.c: Likewise.
908         * sysdeps/s390/multiarch/strchr.c: Likewise.
909         * sysdeps/s390/multiarch/strcmp.c: Likewise.
910         * sysdeps/s390/multiarch/strcpy.c: Likewise.
911         * sysdeps/s390/multiarch/strcspn.c: Likewise.
912         * sysdeps/s390/multiarch/strlen.c: Likewise.
913         * sysdeps/s390/multiarch/strncmp.c: Likewise.
914         * sysdeps/s390/multiarch/strncpy.c: Likewise.
915         * sysdeps/s390/multiarch/strnlen.c: Likewise.
916         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
917         * sysdeps/s390/multiarch/strrchr.c: Likewise.
918         * sysdeps/s390/multiarch/strspn.c: Likewise.
919         * sysdeps/s390/multiarch/wcschr.c: Likewise.
920         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
921         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
922         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
923         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
924         * sysdeps/s390/multiarch/wmemset.c: Likewise.
925         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
926         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
927         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
928         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
929         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
930         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
932 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
934         * include/libc-symbols.h (__ifunc_resolver):
935         New macro is used by __ifunc* macros.
936         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
937         depending on HAVE_GCC_IFUNC.
938         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
939         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
941         Redirect ifunced function in header for using as type for ifunc function.
942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
946         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
947         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
948         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
949         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
950         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
951         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
952         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
953         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
955         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
961         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
962         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
963         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
964         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
965         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
966         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
967         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
968         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
969         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
970         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
971         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
972         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
973         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
974         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
976         Add libc_hidden_def() and use libc_ifunc_hidden() macro
977         instead of libc_ifunc() macro.
978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
979         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
981 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
983         * config.h.in (HAVE_GCC_IFUNC): New undef.
984         * configure.ac: Add check if gcc supports attribute ifunc feature.
985         * configure: Regenerated.
986         * manual/install.texi: Add recommendation for gcc with
987         indirect-function support.
988         * INSTALL: Regenerated.
990 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
992         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
993         macro.
994         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
995         (__iseqsig): New declaration.
996         * math/s_iseqsig_template.c: New file.
997         * math/Versions (__iseqsigf): New libm symbol at version
998         GLIBC_2.25.
999         (__iseqsig): Likewise.
1000         (__iseqsigl): Likewise.
1001         * math/libm-test.inc (iseqsig_test_data): New array.
1002         (iseqsig_test): New function.
1003         (main): Call iseqsig_test.
1004         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
1005         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
1006         * manual/libm-err-tab.pl: Update comment on interfaces without
1007         ulps tabulated.
1008         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
1009         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
1010         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
1011         * sysdeps/nacl/libm.abilist: Update.
1012         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1013         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1014         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1015         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1016         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1017         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1018         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1019         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1020         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1021         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1022         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1023         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1025         Likewise.
1026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1027         Likewise.
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1029         Likewise.
1030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1031         Likewise.
1032         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1033         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1034         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1036         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1038         Likewise.
1039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1040         Likewise.
1041         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1042         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1043         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1045 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1047         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
1048         do_sincos_2, sloww, sloww1): Update comments.
1050         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
1051         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
1053         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
1054         K boolean and rename it.
1055         (__sin): Adjust.
1056         (__cos): Adjust.
1058 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1059             Siddhesh Poyarekar  <siddhesh@sourceware.org>
1061         * manual/nss.texi: Fix typos in the manual.
1063 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1065         * manual/contrib.texi: Fix typos in the manual.
1067         * manual/maint.texi: Fix typos in the manual.
1069         * manual/install.texi: Fix typos in the manual.
1070         * INSTALL: Regenerated.
1072         * manual/lang.texi: Fix typos in the manual.
1074         * manual/probes.texi: Fix typos in the manual.
1076         * manual/threads.texi: Fix typos in the manual.
1078         * manual/debug.texi: Fix typos in the manual.
1080         * manual/crypt.texi: Fix typos in the manual.
1082         * manual/conf.texi: Fix typos in the manual.
1084         * manual/sysinfo.texi: Fix typos in the manual.
1086         * manual/users.texi: Fix typos in the manual.
1088         * manual/job.texi: Fix typos in the manual.
1090         * manual/process.texi: Fix typos in the manual.
1092         * manual/argp.texi: Fix typos in the manual.
1093         * manual/getopt.texi: Likewise.
1094         * manual/startup.texi: Likewise.
1096         * manual/signal.texi: Fix typos in the manual.
1098         * manual/setjmp.texi: Fix typos in the manual.
1100         * manual/resource.texi: Fix typos in the manual.
1102         * manual/time.texi: Fix typos in the manual.
1104         * manual/arith.texi: Fix typos in the manual.
1106         * manual/math.texi: Fix typos in the manual.
1108         * manual/syslog.texi: Fix typos in the manual.
1110         * manual/terminal.texi: Fix typos in the manual.
1112         * manual/socket.texi: Fix typos in the manual.
1114         * manual/filesys.texi: Fix typos in the manual.
1116         * manual/llio.texi: Fix typos in the manual.
1118         * manual/stdio.text: Fix typos in the manual.
1120 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1122         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
1123         instead of K1.
1125         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
1126         SHIFT_QUADRANT and make it bool.
1127         (do_sincos_2): Likewise.
1128         (sloww): Likewise.
1129         (sloww1): Likewise.
1130         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
1131         (__cos): Likewise.
1133 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1135         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1137 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
1139         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1140         Define to __WORDSIZE, not conditional on [LONG_MAX ==
1141         0x7fffffffL].
1142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1144 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1146         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1147         inline by __inline__.
1148         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1149         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1150         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1151         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1152         sigset_t from signal.h.
1153         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1154         which is already required.
1156 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1158         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1160 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
1162         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1163         (struct tcp_repair_window): New type.
1165 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1167         * libio/tst-memstream3.c: Include string.h.
1169 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1171         [BZ #18241]
1172         [BZ #20181]
1173         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1174         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1175         write position is at the end the buffer.
1176         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1177         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1178         (_IO_str_seekoff): Set correct offset from negative displacement and
1179         set EINVAL for invalid ones.
1180         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1181         buffer length.
1182         (_IO_wstr_switch_to_get_mode): New function.
1183         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1184         set EINVAL for invalid ones.
1185         * libio/tst-memstream3.c: New file.
1186         * libio/tst-wmemstream3.c: Likewise.
1187         * manual/examples/memstrm.c: Remove warning when priting size_t.
1189 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1191         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1192         macro to use __builtin_fma.
1193         * sysdeps/x86_64/fpu/dla.h: Remove file.
1195         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1196         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1197         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1199 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1201         [BZ #20292]
1202         * elf/Makefile (routines): Add dl-addr-obj.
1203         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1204         tst-_dl_addr_inside_object.
1205         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1206         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1207         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1208         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1209         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1210         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1211         * elf/dl-open.c: Likewise.
1212         * elf/dl-addr-obj.c: New file.
1213         * elf/tst-_dl_addr_inside_object.c: New file.
1215 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1217         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1218         <bits/iscanonical.h>.
1219         * bits/iscanonical.h: New file.
1220         * math/s_iscanonicall.c: Likewise.
1221         * math/Versions (__iscanonicall): New libm symbol at version
1222         GLIBC_2.25.
1223         * math/libm-test.inc (iscanonical_test_data): New array.
1224         (iscanonical_test): New function.
1225         (main): Call iscanonical_test.
1226         * math/Makefile (headers): Add bits/iscanonical.h.
1227         (type-ldouble-routines): Add s_iscanonicall.
1228         * manual/arith.texi (Floating Point Classes): Document
1229         iscanonical.
1230         * manual/libm-err-tab.pl: Update comment on interfaces without
1231         ulps tabulated.
1232         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1233         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1234         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1235         Likewise.
1236         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1237         test-iscanonical-ldbl-128ibm.
1238         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1239         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1240         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1241         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1242         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1243         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1244         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1246         Likewise.
1247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1248         Likewise.
1249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1250         Likewise.
1251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1252         Likewise.
1253         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1254         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1256 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1258         * string/bits/string3.h: Remove C++ style comments.
1260 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1262         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1263         instead of ternary condition.
1264         (do_sincos_2): Likewise.
1265         (__sin): Likewise.
1266         (__cos): Likewise.
1267         (slow): Likewise.
1268         (sloww): Likewise.
1269         (sloww1): Likewise.
1270         (bsloww): Likewise.
1271         (bsloww1): Likewise.
1273         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1274         instead of ternary condition.
1275         (do_sin_slow): Likewise.
1276         (do_sincos_1): Likewise.
1277         (do_sincos_2): Likewise.
1278         (__cos): Likewise.
1279         (sloww): Likewise.
1280         (sloww1): Likewise.
1281         (sloww2): Likewise.
1282         (bsloww): Likewise.
1283         (bsloww1): Likewise.
1284         (bsloww2): Likewise.
1286         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1287         check from here...
1288         (slow2): ... and here...
1289         (__sin): ... to here.
1291 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1293         * math/math.h
1294         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1295         Cast argument to its own type.
1296         * math/test-iszero-excess-precision.c: New file.
1297         * math/Makefile (tests): Add test-iszero-excess-precision.
1298         (CFLAGS-test-iszero-excess-precision.c): New variable.
1300 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1302         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1303         field, add err field.
1304         (__spawni_child): Report error through err member instead of pipe.
1305         (__spawnix): Likewise.
1307 2016-09-28  Zack Weinberg  <zackw@panix.com>
1309         * scripts/check-installed-headers.sh: Generalize treatment of
1310         sys/elf.h to all target architectures.
1312         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1313         deleted typedef ucontext_t.
1315 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1317         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1318         (__INTERNAL_SYSCALL1): Likewise.
1319         (__INTERNAL_SYSCALL2): Likewise.
1320         (__INTERNAL_SYSCALL3): Likewise.
1321         (__INTERNAL_SYSCALL4): Likewise.
1322         (__INTERNAL_SYSCALL5): Likewise.
1323         (__INTERNAL_SYSCALL6): Likewise.
1324         (__INTERNAL_SYSCALL7): Likewise.
1325         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1326         (__INTERNAL_SYSCALL_NARGS): Likewise.
1327         (__INTERNAL_SYSCALL_DISP): Likewise.
1328         (INTERNAL_SYSCALL_CALL): Likewise.
1329         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1330         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1331         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1332         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1333         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1334         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1335         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1336         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1337         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1338         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1339         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1340         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1341         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1343 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1345         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1346         macro.
1347         * math/libm-test.inc (iszero_test_data): New array.
1348         (iszero_test): New function.
1349         (main): Call iszero_test.
1350         * manual/arith.texi (Floating Point Classes): Document iszero.
1351         * manual/libm-err-tab.pl: Update comment on interfaces without
1352         ulps tabulated.
1354 2016-09-23  Zack Weinberg  <zackw@panix.com>
1356         * scripts/check-installed-headers.sh: New script.
1357         * Rules: In each directory that defines header files to be installed,
1358         run check-installed-headers.sh on them as a special test.
1359         * Makefile: Likewise for the headers installed at top level.
1361         * include/aliases.h, include/alloca.h, include/argz.h
1362         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1363         * include/elf.h, include/envz.h, include/err.h
1364         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1365         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1366         * include/link.h, include/malloc.h, include/mcheck.h
1367         * include/mntent.h, include/netinet/ether.h
1368         * include/nss.h, include/obstack.h, include/printf.h
1369         * include/pty.h, include/resolv.h, include/rpc/auth.h
1370         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1371         * include/rpc/clnt.h, include/rpc/des_crypt.h
1372         * include/rpc/key_prot.h, include/rpc/netdb.h
1373         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1374         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1375         * include/rpc/rpc_msg.h, include/rpc/svc.h
1376         * include/rpc/svc_auth.h, include/rpc/xdr.h
1377         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1378         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1379         * include/rpcsvc/ypupd.h, include/shadow.h
1380         * include/stdio_ext.h, include/sys/epoll.h
1381         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1382         * include/sys/prctl.h, include/sys/profil.h
1383         * include/sys/statfs.h, include/sys/sysctl.h
1384         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1385         * sysdeps/arm/nacl/include/bits/setjmp.h
1386         * sysdeps/mips/include/sys/asm.h
1387         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1388         * sysdeps/unix/sysv/linux/include/sys/timex.h
1389         * sysdeps/x86/fpu/include/bits/fenv.h:
1390         Add #ifndef _ISOMAC guard around internal declarations.
1391         Add multiple-inclusion guard if not already present.
1393 2016-09-23  Zack Weinberg  <zackw@panix.com>
1395         * sysdeps/generic/sys/ucontext.h
1396         * sysdeps/arm/sys/ucontext.h
1397         * sysdeps/i386/sys/ucontext.h
1398         * sysdeps/m68k/sys/ucontext.h
1399         * sysdeps/mips/sys/ucontext.h
1400         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1401         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1402         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1403         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1404         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1405         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1406         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1407         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1408         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1409         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1410         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1411         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1412         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1413         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1414         Include both bits/sigcontext.h and bits/sigstack.h.
1415         Fix grammar error in comment, if present.
1417         * bits/sigstack.h
1418         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1419         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1420         * sysdeps/unix/sysv/linux/bits/sigstack.h
1421         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1422         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1423         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1424         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1425         * bits/sigcontext.h
1426         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1427         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1428         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1429         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1430         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1431         as well as signal.h, if this was not already allowed.  Request
1432         definition of size_t if necessary.  Minimize semantically-null
1433         differences across files.
1435 2016-09-23  Zack Weinberg  <zackw@panix.com>
1437         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1438         Remove all logic conditional on __need macros.  Move all the
1439         conditionally defined types to their own headers...
1440         * time/bits/types/clock_t.h: Define clock_t here.
1441         * time/bits/types/clockid_t.h: Define clockid_t here.
1442         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1443         * time/bits/types/struct_timespec.h: Define struct timespec here.
1444         * time/bits/types/struct_timeval.h: Define struct timeval here.
1445         * time/bits/types/struct_tm.h: Define struct tm here.
1446         * time/bits/types/time_t.h: Define time_t here.
1447         * time/bits/types/timer_t.h: Define timer_t here.
1448         * time/Makefile: Install the new headers.
1450         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1451         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1452         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1453         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1454         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1455         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1456         * sysdeps/unix/sysv/linux/bits/resource.h
1457         * sysdeps/unix/sysv/linux/bits/timex.h
1458         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1459         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1460         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1461         * sysdeps/unix/sysv/linux/sys/acct.h
1462         * sysdeps/unix/sysv/linux/sys/timerfd.h
1463         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1464         * time/sys/time.h, time/sys/timeb.h
1465         Use the new bits/types headers.
1467         * include/time.h: Remove __need logic.
1468         * include/bits/time.h
1469         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1470         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1471         * include/bits/types/struct_itimerspec.h
1472         * include/bits/types/struct_timespec.h
1473         * include/bits/types/struct_timeval.h
1474         * include/bits/types/struct_tm.h:
1475         New wrapper headers.
1477 2016-09-23  Zack Weinberg  <zackw@panix.com>
1479         * sysdeps/mach/hurd/net/if_ppp.h
1480         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1481         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1482         if __USE_MISC is defined, to ensure struct ifreq is declared.
1484         * inet/netinet/ether.h: Condition all function prototypes
1485         on __USE_MISC, to ensure struct ether_addr is declared.
1487         * socket/bits/types/struct_osockaddr.h: New header.
1488         * include/bits/types/struct_osockaddr.h: New wrapper.
1489         * socket/Makefile: Install the new header.
1490         * socket/sys/socket.h, inet/protocols/talkd.h:
1491         Refer to bits/types/struct_osockaddr.h for the definition of
1492         struct osockaddr.
1494 2016-09-23  Zack Weinberg  <zackw@panix.com>
1496         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1497         * inet/protocols/routed.h, inet/protocols/talkd.h
1498         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1499         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1500         * sysdeps/generic/netinet/if_ether.h
1501         * sysdeps/generic/netinet/in_systm.h
1502         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1503         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1504         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1505         * sysdeps/mach/hurd/net/if_arp.h
1506         * sysdeps/mach/hurd/net/if_ppp.h
1507         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1508         * sysdeps/unix/sysv/linux/bits/in.h
1509         * sysdeps/unix/sysv/linux/net/ethernet.h
1510         * sysdeps/unix/sysv/linux/net/if_arp.h
1511         * sysdeps/unix/sysv/linux/net/if_ppp.h
1512         * sysdeps/unix/sysv/linux/net/if_shaper.h
1513         * sysdeps/unix/sysv/linux/net/route.h
1514         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1515         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1516         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1517         * sysdeps/unix/sysv/linux/netipx/ipx.h
1518         * sysdeps/unix/sysv/linux/sys/acct.h
1519         * include/arpa/nameser.h, include/resolv.h:
1520         Change all uses of u_char to unsigned char,
1521         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1522         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1523         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1524         and u_int64_t and u_quad_t to uint64_t.
1526         * mach/sys/reboot.h: Remove two casts of integer literals
1527         to the types they already have.
1529         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1530         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1531         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1532         from referring to 'unsigned char' to 'uint8_t' for consistency with
1533         the macro definition below.
1535         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1536         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1537         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1538         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1539         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1540         * sysdeps/unix/sysv/linux/sys/acct.h
1541         * include/arpa/nameser.h, include/resolv.h:
1542         Fix indentation disrupted by mechanical edits.
1544         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1545         * sysdeps/generic/netinet/in_systm.h
1546         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1547         * sysdeps/gnu/netinet/udp.h
1548         * sysdeps/unix/sysv/linux/net/ethernet.h
1549         * sysdeps/unix/sysv/linux/net/if_arp.h
1550         * sysdeps/unix/sysv/linux/net/if_ppp.h
1551         * sysdeps/unix/sysv/linux/net/if_shaper.h
1552         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1553         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1554         * sysdeps/unix/sysv/linux/netipx/ipx.h
1555         * sysdeps/unix/sysv/linux/sys/acct.h
1556         Include stdint.h for uintNN_t definitions.
1557         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1559 2016-09-23  Zack Weinberg  <zackw@panix.com>
1561         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1562         * sysdeps/unix/sysv/linux/netrose/rose.h:
1563         Include sys/socket.h and netax25/ax25.h.
1565         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1566         * resolv/arpa/nameser_compat.h:
1567         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1569         * sysdeps/unix/sysv/linux/sys/quota.h:
1570         Use __caddr_t instead of caddr_t.
1571         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1572         Use __clockid_t instead of clockid_t.
1574         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1576         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1577         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1578         expanding it.
1580         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1581         Define __glibc_c99_flexarr_available to 1 when the compiler
1582         supports C99-compatible flexible array members, 0 otherwise.
1583         * sysdeps/unix/sysv/linux/bits/socket.h
1584         * sysdeps/mach/hurd/bits/socket.h
1585         * bits/socket.h: Use __glibc_c99_flexarr_available in
1586         definitions of struct cmsghdr and CMSG_DATA.
1588 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1590         * manual/nss.texi (NSS Modules Interface): Adjust function return
1591         type to enum nss_status.  Document errnop argument.  Clarify
1592         h_errnop semantics.  Fix cross-reference formatting.
1593         (NSS Module Function Internals): Mention that *errnop needs to be
1594         set on failure, but not to zero.
1596 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1598         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1599         (get_random_name): New functions.
1600         (check_wrapper_flags_mode): Use linkat to give the new file a name
1601         determined by get_random_name.
1602         (do_test): Add calls to test open64 and openat64.
1604 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1606         * test-skeleton.c: Remove #include <stdarg.h>.
1608 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1610         [BZ #19826]
1611         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1612         initialization of static TLS entries.
1613         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1614         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1616 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1618         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1619         _hurd_malloc_fork_prepare.
1620         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1621         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1622         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1623         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1624         (_hurd_fork_child_hook): Drop malloc_fork_child.
1625         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1626         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1627         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1628         after locking locks (notably hurd_dtable_lock). Call
1629         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1630         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1631         __malloc_fork_unlock_child.
1632         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1634 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1636         * soft-fp/extendhftf2.c: New.
1637         * soft-fp/fixhfti.c: Likewise.
1638         * soft-fp/fixunshfti.c: Likewise.
1639         * soft-fp/floattihf.c: Likewise.
1640         * soft-fp/floatuntihf.c: Likewise.
1641         * soft-fp/half.h: Likewise.
1642         * soft-fp/trunctfhf2.c: Likewise.
1644 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1646         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1647         macro.
1648         * math/libm-test.inc (issubnormal_test_data): New array.
1649         (issubnormal_test): New function.
1650         * manual/arith.texi (Floating Point Classes): Document
1651         issubnormal.
1652         * manual/libm-err-tab.pl: Update comment on interfaces without
1653         ulps tabulated.
1655         * sysdeps/generic/stdint.h: Define
1656         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1657         <bits/libc-header-start.h> instead of including <features.h>.
1658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1659         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1662         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1664         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1665         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1666         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1667         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1668         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1669         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1670         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1671         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1673         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1676         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1677         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1678         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1679         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1691         * manual/arith.texi (Integers): Document these macros for types
1692         specified by width properties.
1693         * manual/lang.texi (Width of Type): Document these macros for
1694         other standard typedefs.
1695         * stdlib/tst-width-stdint.c: New file.
1696         * stdlib/Makefile (tests): Add tst-width-stdint.
1698 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1700         [BZ #20016]
1701         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1702         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1703         Move ...
1704         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1705         ... here, as compatibility symbols in a new file.
1706         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1707         * resolv/res_init.c (__res_vinit): Adjust member names.
1708         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1709         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1710         (res_send_rhook): Remove.
1711         (struct __res_state): Rename qhook, rhook members.
1713 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1715         malloc: Use __libc_lock wrappers.
1716         * malloc/arena.c (list_lock, free_list_lock): Define using
1717         __libc_lock_define_initialized.
1718         (arena_lock): Adjust formatting.
1719         * malloc/malloc.c (struct malloc_state): Define mutex using
1720         __libc_lock_define.
1721         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1722         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1723         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1724         (mutex_unlock, mutex_trylock): Remove.
1725         (__pthread_initialize): Remove unused macro.
1726         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1727         (mutex_unlock, mutex_trylock): Remove.
1729 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1731         [BZ #20592]
1732         Remove RR type classification macros.
1733         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1734         (ns_t_udp_p, ns_t_xfr_p): Remove.
1736 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1738         Remove misleading version information.
1739         * resolv/arpa/nameser.h (__NAMESER): Remove.
1740         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1742 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1744         Remove the always-defined BIND_4_COMPAT macro.
1745         * resolv/arpa/nameser.h: Unconditionally include
1746         <arpa/nameser_compat.h>.
1747         (BIND_4_COMPAT): Remove.
1748         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1750 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1752         [BZ #20591]
1753         Remove obsolete DNSSEC support.
1754         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1755         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1756         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1757         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1758         (ns_cert_types): Add comment.
1759         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1760         separately.
1761         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1762         (dst_s_dns_key_id): Remove.
1763         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1764         variables.
1766 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1768         [BZ #20524]
1769         * manual/string.texi (String/Array Comparison): Clarify the
1770         strverscmp behavior.
1772 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1774         * test-skeleton.c (xasprintf): Add function.
1775         * io/tst-open-tmpfile.c: New test.
1776         * io/Makefile (tests): Add it.
1778 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1780         Avoid running $(CXX) during build to obtain header file paths.
1781         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1782         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1783         * Makerules (cstdlib, cmath): Remove variables.  Use
1784         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1785         * configure: Regenerate.
1787 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1789         * Makeconfig (all-object-suffixes): Include .op only if
1790         $(build-profile).
1792 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1794         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1795         conditionals.  Do not define PATH_MAX.
1797 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1799         * posix/Makefile (tests): Add tst-spawn3.
1800         * posix/tst-spawn3.c: New file.
1801         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1802         if it is already opened for open action.
1804         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1805         all signals when executing the clone vfork child.
1806         (SIGALL_SET): Remove macro.
1808         * nptl/Makefile (tests): Add tst-exec5.
1809         * nptl/tst-exec5.c: New file.
1810         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1811         asynchronous cancellation.
1813 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1815         * hurd/exc2signal.c: #include <hurd/signal.h>
1816         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1817         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1818         accordingly.
1819         * mach/mach_error.c (mach_error): Fix old-style function definition.
1820         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1822 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1824         * math/Makefile (libm-calls): Remove s_nanF.
1825         (gen-libm-calls): Add s_nanF.
1827         * math/s_nan.c: Refactor into ...
1828         * math/s_nan_template.c: New file.
1830         * math/s_nanf.c: Removed.
1831         * math/s_nanl.c: Removed.
1832         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1833         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1835         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1836         (LDOUBLE_nanl_libm_version): New macro.
1838         * sysdeps/generic/math-type-macros-double.h:
1839         (M_STRTO_NAN): New macro.
1840         * sysdeps/generic/math-type-macros-float.h: Likewise.
1841         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1843         * sysdeps/generic/math-type-macros.h: Document
1844         M_STRTO_NAN.
1846 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1848         * math/s_nanf.c: Remove __nanf undef.
1849         * math/s_nan.c: Remove __nan undef.
1850         * math/s_nanl.c: Remove __nanl undef.
1852         * sysdeps/generic/math_private.h (__nan): Remove macro
1853         override.
1854         (__nanf): Likewise.
1855         (__nanl): Likewise.
1857 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1859         * math/Makefile (gen-all-calls): New variable.
1860         (generated): Replace gen-libm-calls with gen-all-calls.
1861         (gen-libm-templates.stmp): Likewise.  Also, ensure
1862         the output directory exists or is created and add
1863         dependency on the Makefile.
1864         (calls): Move s_ldexpF into gen-calls.
1865         (gen-calls): New variable.
1867         * math/s_ldexpf.c: Removed.
1868         * math/s_ldexpl.c: Removed.
1869         * math/s_ldexp.c: Refactored into ...
1870         * math/s_ldexp_template.c: New file.
1872         * sysdeps/generic/math-type-macros-double.h: Remove
1873         redundant fall-through definition of declare_mgen_alias.
1874         (declare_mgen_alias_2): New macro.
1876         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1877         New macro for function aliased to two exported symbols.
1879         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1880         new template file.
1881         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1883 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1885         * Makeconfig (all-object-suffixes): Remove .og.
1886         * Makerules (elide-routines.og): Remove.
1887         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1888         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1889         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1891 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1893         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1894         .os objects.
1896 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1898         [BZ #20615]
1899         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1900         fpu directory by non-fpu.
1901         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1902         on non-fpu directory from a fpu directory.
1904 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1906         * include/limits.h: Define
1907         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1908         <bits/libc-header-start.h> instead of including <features.h>.
1909         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1910         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1911         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1912         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1915         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1916         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1917         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1918         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1919         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1920         * manual/lang.texi (Width of Type): Document these macros.
1921         * stdlib/tst-width.c: New file.
1922         * stdlib/Makefile (tests): Add tst-width.
1924 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1926         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1927         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1929 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1931         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1932         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1933         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1935 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1937         [BZ #18243]
1938         * rt/Makefile (test): Add tst-shm-cancel.
1939         * rt/tst-shm-cancel.c: New file.
1940         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1942         [BZ #18243]
1943         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1944         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1945         definition.
1946         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1947         uncontended case.
1948         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1949         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1950         (tf): Fix check for uncontended case.
1951         (do_test): Likewise.
1952         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1953         (tf): Fix check for uncontended case.
1954         (do_test): Likewise.
1955         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1956         (tf): Fix check for uncontended case.
1957         (do_test): Likewise.
1958         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1959         (tf): Fix check for uncontended case.
1960         (do_test): Likewise.
1962         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1963         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1965         [BZ #15765]
1966         * nptl/Makefile (tests): Add tst-sem16.
1967         * nptl/tst-sem16.c: New file.
1968         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1970         * nptl/sem_open.c (sem_open): Init pad value to 0.
1971         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1972         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1974 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1976         [BZ #20611]
1977         * inet/Makefile (routines): Add inet6_scopeid_pton.
1978         (tests): Add tst-inet6_scopeid_pton.
1979         * inet/inet6_scopeid_pton.c: New file.
1980         * inet/net-internal.h: Likewise.
1981         * inet/tst-inet6_scopeid_pton.c: New test.
1982         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1983         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1986 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1988         Remove support for compiling wrappers with PTW.
1989         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1990         * nptl/Makefile (pthread-compat-wrappers): Define.
1991         (libpthread-routines): Use pthread-compat-wrappers.
1992         * sysdeps/unix/sysv/linux/alpha/Makefile
1993         (libpthread-routines, libpthread-shared-only-routines): Remove
1994         ptw- prefix.
1995         * sysdeps/s390/nptl/Makefile
1996         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1997         * sysdeps/ia64/nptl/Makefile
1998         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1999         * sysdeps/nacl/Makefile (libpthread-routines): Use
2000         pthread-compat-wrappers to filter the routines list instead of the
2001         ptw- prefix.
2003 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2005         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
2006         with L() and remove explicit suffix, convert real literals
2007         which can be equivalentally substituted with integers, and
2008         transform -L(x) to L(-x).
2010         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2011         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2012         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2013         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2014         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2015         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2016         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2017         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2018         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2019         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2020         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2021         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2022         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2023         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2024         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2025         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2026         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2027         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2028         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2029         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2030         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2031         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2032         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2033         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2034         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2035         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2036         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2037         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2038         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2039         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2040         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2041         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2042         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2043         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2044         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2045         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2046         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2047         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2048         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2049         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2050         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2051         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2052         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2053         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2054         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2055         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2056         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2057         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2058         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2059         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2061 2016-09-13  Florian Weimer  <fweimer@redhat.com>
2063         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2065 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2067         * malloc/Makefile (tests): Remove individual static test names
2068         and just add all of tests-static.
2070         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
2072 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2074         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
2075         file.
2077         * sysdeps/sparc/fpu/fegetmode.c: New file.
2078         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
2080         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
2081         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
2083         * sysdeps/s390/fpu/fegetmode.c: New file.
2084         * sysdeps/s390/fpu/fesetmode.c: Likewise.
2086         * sysdeps/powerpc/fpu/fegetmode.c: New file.
2087         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
2088         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
2089         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
2090         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
2091         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
2093         * sysdeps/mips/fpu/fegetmode.c: New file.
2094         * sysdeps/mips/fpu/fesetmode.c: Likewise.
2096         * sysdeps/m68k/fpu/fegetmode.c: New file.
2097         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
2099         * sysdeps/ia64/fpu/fegetmode.c: New file.
2100         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
2102         * sysdeps/hppa/fpu/fegetmode.c: New file.
2103         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
2105         * sysdeps/arm/fegetmode.c: New file.
2106         * sysdeps/arm/fesetmode.c: Likewise.
2108         * sysdeps/alpha/fpu/fegetmode.c: New file.
2109         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
2111         * sysdeps/aarch64/fpu/fegetmode.c: New file.
2112         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
2114         * math/fegetmode.c: New file.
2115         * math/fesetmode.c: Likewise.
2116         * sysdeps/i386/fpu/fegetmode.c: Likewise.
2117         * sysdeps/i386/fpu/fesetmode.c: Likewise.
2118         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
2119         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
2120         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
2121         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
2122         declaration.
2123         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
2124         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
2125         typedef.
2126         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2127         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2128         (femode_t): New typedef.
2129         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2130         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2131         (femode_t): New typedef.
2132         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2133         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2134         (femode_t): New typedef.
2135         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2136         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2137         (femode_t): New typedef.
2138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2139         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2140         (femode_t): New typedef.
2141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2142         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2143         (femode_t): New typedef.
2144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2145         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2146         (femode_t): New typedef.
2147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2148         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2149         (femode_t): New typedef.
2150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2151         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2152         (femode_t): New typedef.
2153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2154         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2155         (femode_t): New typedef.
2156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
2157         declaration.
2158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2159         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2160         (femode_t): New typedef.
2161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2162         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2163         (femode_t): New typedef.
2164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2165         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2166         (femode_t): New typedef.
2167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2168         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2169         (femode_t): New typedef.
2170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2171         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2172         (femode_t): New typedef.
2173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2174         * manual/arith.texi (FE_DFL_MODE): Document macro.
2175         (fegetmode): Document function.
2176         (fesetmode): Likewise.
2177         * math/Versions (fegetmode): New libm symbol at version
2178         GLIBC_2.25.
2179         (fesetmode): Likewise.
2180         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2181         (tests): Add test-femode and test-femode-traps.
2182         * math/test-femode-traps.c: New file.
2183         * math/test-femode.c: Likewise.
2184         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2185         alias for __fe_dfl_env.
2186         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2187         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2188         (__fe_dfl_mode): Likewise.
2189         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2190         version GLIBC_2.25.
2191         * sysdeps/nacl/libm.abilist: Update.
2192         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2193         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2194         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2195         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2196         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2197         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2198         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2199         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2203         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2205         Likewise.
2206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2207         Likewise.
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2209         Likewise.
2210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2211         Likewise.
2212         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2213         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2214         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2215         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2216         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2218         Likewise.
2219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2220         Likewise.
2221         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2222         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2223         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2225 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2227         [BZ #20495]
2228         [BZ #20508]
2229         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2230         processors, set Use_dl_runtime_resolve_slow and set
2231         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2232         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2233         New.
2234         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2235         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2236         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2237         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2238         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2239         if Use_dl_runtime_resolve_opt is set.  Use
2240         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2241         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2242         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2243         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2244         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2245         New.
2246         (_dl_runtime_resolve_opt): Likewise.
2247         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2248         defined.
2250 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2252         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2253         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2255 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2257         Convert malloc to __libc_lock.  Automated part, using this Perl
2258         s/// command:
2259           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2260             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2261         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2262         conversion.
2264 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2266         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2267         (linknamespace-symlists-tests): Likewise.
2268         (linknamespace-header-tests): Likewise.
2270 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2272         [BZ #19810]
2273         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2274         * elf/tst-noload.c: New test case.
2275         * elf/Makefile (tests): Add tst-noload.
2277 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2279         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2281         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2282         not any more.
2284         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2286 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2288         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2289         (do_cos_slow): Likewise.
2290         (do_sin): Likewise.
2291         (do_sin_slow): Likewise.
2292         (slow): Likewise.
2293         (slow1): Likewise.
2294         (slow2): Likewise.
2295         (sloww): Likewise.
2296         (sloww1): Likewise.
2297         (sloww2): Likewise.
2298         (bsloww): Likewise.
2299         (bsloww1): Likewise.
2300         (bsloww2): Likewise.
2301         (cslow2): Likewise.
2303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2305         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2306         arguments.  Consolidate input partitioning from callers here.
2307         (do_cos_slow): Likewise.
2308         (do_sin): Likewise.
2309         (do_sin_slow): Likewise.
2310         (do_sincos_1): Remove the no longer necessary input partitioning.
2311         (do_sincos_2): Likewise.
2312         (__sin): Likewise.
2313         (__cos): Likewise.
2314         (slow1): Likewise.
2315         (slow2): Likewise.
2316         (sloww1): Likewise.
2317         (sloww2): Likewise.
2318         (bsloww1): Likewise.
2319         (bsloww2): Likewise.
2320         (cslow2): Likewise.
2322 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2324         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2325         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2326         outside of allocated array.
2328 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2330         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2331         instead of MB_CUR_MAX to avoid variable-length array.
2333 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2335         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2336         (type-double-routines): Add k_rem_pio2.
2337         (type-float-routines): Add k_rem_pio2f.
2339         * sysdeps/generic/math_private.h:
2340         (__kernel_rem_pio2l): Removed.
2342         * math/k_rem_pio2l.c: Removed.
2343         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2344         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2345         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2346         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2348 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2350         * math/Makefile (gen-libm-calls): Add s_fmin
2351         (libm-calls): Remove above.
2353         * math/s_fmin.c: Refactor into ...
2354         * math/s_fmin_template.c: New file.
2356         * math/s_fminf.c: Removed.
2357         * math/s_fminl.c: Removed.
2358         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2359         (LDOUBLE_fmin_libm_version): New macro.
2361         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2362         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2364 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2366         * math/Makefile: (gen-libm-calls): Add s_fmax.
2367         (libm-calls): Remove above.
2369         * math/s_fmax.c: Refactor into ...
2370         * math/s_fmax_template.c: New file.
2371         * math/s_fmaxf.c: Removed.
2372         * math/s_fmaxl.c: Removed.
2374         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2375         (LDOUBLE_fmaxl_libm_version): New macro.
2377         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2378         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2380         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2381         s_fmin.c to pick the aarch64 version of the file.
2382         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2383         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2385 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2387         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2388         (libm-calls): Remove above.
2390         * math/s_nextdown.c: Refactor into ...
2391         * math/s_nextdown_template.c: New file.
2392         * math/s_nextdownf.c: Removed.
2393         * math/s_nextdownl.c: Removed.
2395         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2397 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2399         * math/Makefile (gen-libm-calls): Add s_fdim.
2400         (libm-calls): Move to above.
2402         * math/s_fdim.c: Renamed and refactored into to ...
2403         * math/s_fdim_template.c: New file.
2404         * math/s_fdiml.c: Removed.
2405         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2406         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2408         * sysdeps/generic/math-type-macros-double.h:
2409         (declare_mgen_alias): Don't declare if already declared.
2410         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2411         Likewise.
2413         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2414         (declare_mgen_alias): Don't declare if already declared.
2415         (M_LIBM_NEED_COMPAT): Likewise.
2416         (declare_mgen_libm_compat): Likewise.
2417         (LDOUBLE_fdiml_libm_version): New macro.
2419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2420         Include math/s_fdim.c now that ldbl-opt version is not needed.
2421         (declare_mgen_alias): New macro to disable aliasing.
2423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2424         (declare_mgen_alias): Likewise.
2425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2426         (declare_mgen_alias): Likewise.
2427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2428         (declare_mgen_alias): Likewise.
2429         (M_LIBM_NEED_COMPAT): Likewise.
2431 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2433         [BZ #20525]
2434         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2435         Include <linux/quota.h>.
2436         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2437         and btodb.
2438         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2439         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2440         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2441         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2442         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2443         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2444         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2445         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2446         types.
2447         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2448         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2450 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2452         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2453         (gammal_positive): Fix spacing.
2454         (__ieee754_gammal_r): Likewise.
2456 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2458         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2459         (_Float128): Define as long double, always.
2460         (L): Apply long double type suffix, always.
2462         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2463         _Float128, excepting comments.
2465         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2466         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2467         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2468         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2469         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2470         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2471         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2472         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2473         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2474         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2475         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2476         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2477         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2478         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2479         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2480         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2481         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2482         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2483         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2484         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2485         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2486         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2487         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2488         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2489         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2490         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2491         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2492         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2493         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2494         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2495         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2496         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2497         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2498         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2499         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2500         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2501         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2502         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2503         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2504         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2505         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2506         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2507         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2508         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2509         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2510         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2511         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2512         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2513         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2514         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2515         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2516         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2517         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2518         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2519         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2520         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2521         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2522         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2523         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2524         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2525         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2526         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2527         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2528         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2529         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2530         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2531         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2532         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2534         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2535         _Float128, and include math_private.h.
2536         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2538         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2539         long double semantics.
2540         (_Float128): Likewise.
2541         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2542         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2543         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2544         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2546 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2548         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2549         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2550         * sysdeps/s390/configure: Regenerated.
2551         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2552         instruction for raising over-/underflow if z196 zarch is supported
2553         by default.
2554         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2556 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2558         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2559         it point to a dumb buffer for RPC to fill it.
2561 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2563         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2564         instead of if/else.
2565         (do_sin_slow): Likewise.
2566         (do_sincos_1): Use fabs instead of if/else.
2567         (do_sincos_2): Likewise.
2568         (__sin): Likewise.
2569         (__cos): Likewise.
2570         (slow2): Likewise.
2571         (sloww): Likewise.
2572         (sloww1): Likewise.  Drop argument M.
2573         (sloww2): Use fabs instead of if/else.
2574         (bsloww): Likewise.
2575         (bsloww1): Likewise.
2576         (bsloww2): Likewise.
2578         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2579         fall through comment.
2580         (do_sincos_1): Likewise.
2582         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2583         Consolidate switch cases 0 and 2.
2585 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2587         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2588         (libm-calls): Remove the above.
2590         * math/s_cexp_template.c: Update using type-generic macros.
2591         * math/s_clog10_template.c: Likewise.
2592         * math/s_cpow_template.c: Likewise.
2593         * math/s_clog_template.c: Likewise.
2594         * math/s_cproj_template.c: Likewise.
2595         * math/s_csqrt_template.c: Likewise.
2597         * math/s_cexp.c: Removed.
2598         * math/s_cexpf.c: Removed.
2599         * math/s_cexpl.c: Removed.
2600         * math/s_clog10.c: Removed.
2601         * math/s_clog10f.c: Removed.
2602         * math/s_clog10l.c: Removed.
2603         * math/s_cpow.c: Removed.
2604         * math/s_cpowf.c: Removed.
2605         * math/s_cpowl.c: Removed.
2606         * math/s_clog.c: Removed.
2607         * math/s_clogf.c: Removed.
2608         * math/s_clogl.c: Removed.
2609         * math/s_cproj.c: Removed.
2610         * math/s_cprojf.c: Removed.
2611         * math/s_cprojl.c: Removed.
2612         * math/s_csqrt.c: Removed.
2613         * math/s_csqrtf.c: Removed.
2614         * math/s_csqrtl.c: Removed.
2616         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2617         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2618         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2619         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2620         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2621         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2623         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2624         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2625         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2626         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2627         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2628         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2629         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2630         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2631         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2632         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2633         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2635         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2636         version.
2638         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2639         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2640         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2641         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2643 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2645         * s_cexp_template.c: Copy of s_cexp.c.
2646         * s_clog_template.c: Copy of s_clog.c.
2647         * s_clog10_template.c: Copy of s_clog10.c.
2648         * s_cpow_template.c: Copy of s_cpow.c.
2649         * s_cproj_template.c: Copy of s_cproj.c.
2650         * s_csqrt_template.c: Copy of s_csqrt.c.
2652 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2654         [BZ #20517]
2655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2656         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2657         exported.
2659 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2661         * math/fetestexceptflag.c: New file.
2662         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2663         Stefan Liebler.
2664         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2665         (fetestexceptflag): New function declaration.
2666         * manual/arith.texi (fetestexceptflag): Document function.
2667         * math/Versions (fetestexceptflag): New libm symbol at version
2668         GLIBC_2.25.
2669         * math/Makefile (libm-support): Add fetestexceptflag.
2670         (tests): Add test-fetestexceptflag.
2671         * math/test-fetestexceptflag.c: New file.
2672         * sysdeps/nacl/libm.abilist: Update.
2673         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2674         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2675         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2676         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2677         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2678         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2679         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2680         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2681         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2682         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2683         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2684         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2686         Likewise.
2687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2688         Likewise.
2689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2690         Likewise.
2691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2692         Likewise.
2693         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2694         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2695         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2696         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2697         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2699         Likewise.
2700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2701         Likewise.
2702         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2703         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2704         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2706 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2708         [BZ #20432]
2709         Avoid strong references to malloc-internal symbols when linking
2710         statically, to support statically interposed mallocs.
2711         * include/libc-symbols.h (call_function_static_weak): New macro.
2712         * malloc/Makefile (tests): Add tst-interpose-nothread,
2713         tst-interpose-thread, tst-interpose-static-nothread,
2714         tst-interpose-static-thread.
2715         (tests-static): Add tst-interpose-static-nothread,
2716         tst-interpose-static-thread.
2717         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2718         tst-interpose-aux-thread.o.
2719         (test-extras): Add tst-interpose-aux-nothread,
2720         tst-interpose-aux-thread.
2721         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2722         tst-interpose-aux-nothread.o.
2723         (tst-interpose-thread, tst-interpose-static-thread): Link with
2724         tst-interpose-aux-thread.o and libthread.
2725         * malloc/tst-interpose-aux-nothread.c: New file.
2726         * malloc/tst-interpose-aux-thread.c: Likewise.
2727         * malloc/tst-interpose-aux.c: Likewise.
2728         * malloc/tst-interpose-aux.h: Likewise.
2729         * malloc/tst-interpose-nothread.c: Likewise.
2730         * malloc/tst-interpose-skeleton.c: Likewise.
2731         * malloc/tst-interpose-static-nothread.c: Likewise.
2732         * malloc/tst-interpose-static-thread.c: Likewise.
2733         * malloc/tst-interpose-thread.c: Likewise.
2734         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2735         * sysdeps/mach/hurd/fork.c (__fork): Only call
2736         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2737         __malloc_fork_unlock_child if defined.
2738         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2740 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2742         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2743         timespec C99 designated initialization.
2745 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2747         [BZ #19946]
2748         Avoid expected SIGALRM signals.
2749         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2750         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2751         (xpthread_create, xpthread_detach, xpthread_join)
2752         (delayed_exit_thread, delayed_exit): New functions.
2753         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2754         (tf): Use xpthread_cond_wait.
2755         (do_test): Likewise.  Replace alarm with delayed_exit.
2756         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2757         (do_test): Call delayed_exit.  Report failure.
2758         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2759         (do_test): Call delayed_exit.
2760         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2761         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2762         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2763         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2764         error.
2765         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2766         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2767         error.
2768         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2769         (do_test): Call delayed_exit.
2770         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2771         (do_test): Call delayed_exit.
2772         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2773         (do_test): Call delayed_exit instead of alarm.  Use
2774         xpthread_mutex_lock.
2775         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2776         (do_test): Call delayed_exit instead of alarm.  Use
2777         xpthread_mutex_lock.
2778         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2779         (do_test): Call delayed_exit instead of alarm.
2780         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2781         (do_test): Call delayed_exit instead of alarm.  Use
2782         xpthread_spin_lock.
2783         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2784         (do_test): Call delayed_exit instead of alarm.  Use
2785         xpthread_join.
2787 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2789         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2790         adjust CFA when allocating register save area on re-aligned
2791         stack.
2793 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2795         * string/tst-cmp.c: New test.
2796         * string/Makefile (tests): Add it.
2798 2016-08-25  Mark Wielaard  <mark@klomp.org>
2800         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2801         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2802         (check_tree_recurse): Use newly defined accessors.
2803         (check_tree): Likewise.
2804         (maybe_split_for_insert): Likewise.
2805         (__tfind): Likewise.
2806         (__tdelete): Likewise.
2807         (trecurse): Likewise.
2808         (tdestroy_recurse): Likewise.
2809         (__tsearch): Likewise. And add asserts for malloc alignment.
2810         (__twalk): Cast root to node in case CHECK_TREE is defined.
2812 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2814         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2816 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2818         * math/Makefile (libm-gen-calls): Add
2819         catan, catanh, ctan, ctanh.
2820         (libm-calls): Remove the above.
2822         * math/s_catan_template.c: Update using type-generic macros.
2823         * math/s_catanh_template.c: Likewise.
2824         * math/s_ctan_template.c: Likewise.
2825         * math/s_ctanh_template.c: Likewise.
2827         * math/s_catanf.c: Removed.
2828         * math/s_catan.c: Removed.
2829         * math/s_catanl.c: Removed.
2830         * math/s_catanhf.c: Removed.
2831         * math/s_catanh.c: Removed.
2832         * math/s_catanhl.c: Removed.
2833         * math/s_ctanf.c: Removed.
2834         * math/s_ctan.c: Removed.
2835         * math/s_ctanl.c: Removed.
2836         * math/s_ctanhf.c: Removed.
2837         * math/s_ctanh.c: Removed.
2838         * math/s_ctanhl.c: Removed.
2840         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2841         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2842         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2843         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2844         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2845         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2847         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2848         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2849         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2850         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2852 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2854         * s_catan_template.c: Copy of s_catan.c.
2855         * s_catanh_template.c: Copy of s_catanh.c.
2856         * s_ctan_template.c: Copy of s_ctan.c.
2857         * s_ctanh_template.c: Copy of s_ctanh.c.
2859 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2861         * math/Makefile (gen-libm-calls): Move
2862         casin, casinh, csin, csinh here.
2863         (libm-calls): Remove the above.
2865         * math/s_casin_template.c: Update using type-generic macros.
2866         * math/s_casinh_template.c: Likewise.
2867         * math/s_csin_template.c: Likewise.
2868         * math/s_csinh_template.c: Likewise.
2869         * math/k_casinh_template.c: Likewise.
2871         * math/s_casinf.c: Removed.
2872         * math/s_casin.c: Removed.
2873         * math/s_casinl.c: Removed.
2874         * math/s_casinh.c: Removed.
2875         * math/s_casinhf.c: Removed.
2876         * math/s_casinhl.c: Removed.
2877         * math/s_csin.c: Removed.
2878         * math/s_csinf.c: Removed.
2879         * math/s_csinl.c: Removed.
2880         * math/s_csinh.c: Removed.
2881         * math/s_csinhf.c: Removed.
2882         * math/s_csinhl.c: Removed.
2883         * math/k_casinh.c: Removed.
2884         * math/k_casinhf.c: Removed.
2885         * math/k_casinhl.c: Removed.
2887         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2888         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2889         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2890         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2892         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2893         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2894         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2895         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2896         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2897         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2898         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2899         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2901         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2902         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2903         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2904         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2906         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2907         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2908         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2909         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2911 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2913         * s_casin_template.c: Copy of s_casin.c.
2914         * s_casinh_template.c: Copy of s_casinh.c.
2915         * s_csin_template.c: Copy of s_csin.c.
2916         * s_csinh_template.c: Copy of s_csinh.c.
2917         * k_casinh_template.c: Copy of k_casinh.c.
2919 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2921         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2923 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2925         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2926         (mul_split) Remove, rename as mul_splitl, remove
2927         redundant float.h include, and include via mul_splitl.h
2929         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2930         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2931         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2932         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2933         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2935         * math/mul_splitl.h: New file.
2937         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2938         Move into mul_split.h, and remove redundant float.h include.
2940         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2941         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2942         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2943         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2945         * math/mul_split.h: New file.
2947 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2949         * math/Makefile (libm-gen-calls): Move
2950         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2951         (libm-calls): Remove above.
2953         * math/s_cacos_template.c: Update using type-generic macros.
2954         * math/s_cacosh_template.c: Likewise.
2955         * math/s_ccos_template.c: Likewise.
2956         * math/s_ccosh_template.c: Likwise.
2958         * math/s_cacosf.c: Removed.
2959         * math/s_cacos.c: Removed.
2960         * math/s_cacosl.c: Removed.
2961         * math/s_cacoshf.c: Removed.
2962         * math/s_cacosh.c: Removed.
2963         * math/s_cacoshl.c: Removed.
2964         * math/s_ccosf.c: Removed.
2965         * math/s_ccos.c: Removed.
2966         * math/s_ccosl.c: Removed.
2967         * math/s_ccoshf.c: Removed.
2968         * math/s_ccosh.c: Removed.
2969         * math/s_ccoshl.c: Removed.
2971         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2972         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2973         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2974         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2975         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2976         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2978         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2979         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2980         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2981         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2983         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2984         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2985         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2986         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2988 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2990         * s_cacos_template.c: Copy of s_cacos.c.
2991         * s_cacosh_template.c: Copy of s_cacosh.c.
2992         * s_ccos_template.c: Copy of s_ccos.c.
2993         * s_ccosh_template.c: Copy of s_ccosh.c.
2995 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2997         * stdlib/tst-strtod-round-skeleton.c:
2998         Refactored from tst-strtod-round.c.
3000         (L_): New macro to apply literal modifier.
3001         (FNPFX): New macro to select str or wcs prefix.
3002         (CHAR): New macro to choose wchar_t or char.
3003         (STRM): New macro to choose printf for tested character type.
3005         (STRTO): New macro to choose appropriate string -> real function.
3006         (FNPFXS): Stringitized version of FNPFX.
3007         (STR): Support for above macro.
3008         (STRX): Likewise.
3010         (TEST): Update with above macros.
3011         (test): Likewise.
3012         (GEN_ONE_TEST): Likewise.
3013         (test_in_one_mode): Likewise.
3015         * stdlib/tst-strtod-round.c: New file.
3016         * wcsmbs/tst-wcstod-round.c: New file.
3018         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
3019         (tst-wcstod-round): Add libm depencency for fesetround.
3021 2016-08-19  Zack Weinberg  <zackw@panix.com>
3023         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
3025 2016-08-18  Torvald Riegel  <triegel@redhat.com>
3027         [BZ #20477]
3028         * resolv/res_hconf.c (do_init): Use atomic access.
3029         * resolv/res_hconf.h: Add comments.
3030         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
3031         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
3032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3034 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3036         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3037         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
3038         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3039         Likewise.
3041 2016-08-18  Florian Weimer  <fweimer@redhat.com>
3043         [BZ #16907]
3044         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
3045         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
3046         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
3047         (__attribute__): Remove definition.
3049 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3051         * sysdeps/ieee754/ldbl-128/e_asinl.c:
3052         Remove unused sqrtl declaration.
3054 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3056         * math/Makefile: (gen-libm-templates.stmp): New rule.
3057         (libm-calls): Move carg conj cimag and cabs into ...
3058         (gen-libm-calls): New variable.
3059         (generated): Inform Make objects from gen-libm-calls
3060         may be generated.
3062         * sysdeps/generic/math-type-macros.h: New file.
3063         * sysdeps/generic/math-type-macros-float.h: Likewise.
3064         * sysdeps/generic/math-type-macros-double.h: Likewise.
3065         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3066         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
3067         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
3069         * math/cabs.c: Refactor into
3070         * math/cabs_template.c: new file.
3071         * math/cabsf.c: Removed.
3072         * math/cabsl.c: Removed.
3073         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
3074         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
3076         * math/carg.c: Refactor into
3077         * math/carg_template.c: new file.
3078         * math/cargf.c: Removed.
3079         * math/cargl.c: Removed.
3080         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
3081         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
3083         * math/conj.c: Refactor into
3084         * math/conj_template.c: new file.
3085         * math/conjf.c: Removed.
3086         * math/conjl.c: Removed.
3087         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
3088         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
3090         * math/cimag.c: Refactor into
3091         * math/cimag_template.c: new file.
3092         * math/cimagf.c: Removed.
3093         * math/cimagl.c: Removed.
3094         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3095         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3097         * math/cimag.c: Refactor into
3098         * math/cimag_template.c: new file.
3099         * math/cimagf.c: Removed.
3100         * math/cimagl.c: Removed.
3101         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3102         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3104 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3106         Reduce time to expected nptl/tst-once5 failure.
3107         * nptl/tst-once5.cc (TIMEOUT): Define.
3109 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3111         [BZ #20452]
3112         Avoid additional copies of objects in libc.a in static libraries.
3113         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
3114         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
3115         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
3116         rt-sysdep.
3117         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
3118         Add nptl-sysdep.
3119         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
3120         Add ptw-sysdep.
3121         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
3122         rt-sysdep.
3123         * sysdeps/unix/sysv/linux/alpha/Makefile
3124         (libpthread-shared-only-routines): Add ptw-sysdep,
3125         ptw-sigprocmask, ptw-rt_sigaction.
3126         * sysdeps/unix/sysv/linux/ia64/Makefile
3127         (librt-shared-only-routines): Add rt-sysdep.
3128         * sysdeps/unix/sysv/linux/i386/Makefile
3129         (libpthread-shared-only-routines): Add libc-do-syscall.
3130         * sysdeps/unix/sysv/linux/microblaze/Makefile
3131         (libpthread-shared-only-routines): Add sysdep.
3132         * sysdeps/unix/sysv/linux/powerpc/Makefile
3133         (librt-shared-only-routines): Add rt-sysdep.
3134         (libpthread-shared-only-routines): Add sysdep.
3135         * sysdeps/unix/sysv/linux/s390/Makefile
3136         (librt-shared-only-routines): Add rt-sysdep.
3137         * sysdeps/unix/sysv/linux/sparc/Makefile
3138         (librt-shared-only-routines): Add rt-sysdep.
3139         (libpthread-shared-only-routines): Add sysdep.
3140         * sysdeps/unix/sysv/linux/tile/Makefile
3141         (libpthread-shared-only-routines): Likewise.
3143 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3145         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3146         Mask implicit bit out of unpacked value.
3147         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3148         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3149         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3151         * sysdeps/sparc/fpu/fesetexcept.c: New file.
3153         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3155         * sysdeps/s390/fpu/fesetexcept.c: New file.
3157         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
3158         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
3159         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
3161         * sysdeps/mips/fpu/fesetexcept.c: New file.
3163         * sysdeps/m68k/fpu/fesetexcept.c: New file.
3165         * sysdeps/ia64/fpu/fesetexcept.c: New file.
3167         * sysdeps/hppa/fpu/fesetexcept.c: New file.
3169         * sysdeps/arm/fesetexcept.c: New file.
3171         * sysdeps/alpha/fpu/fesetexcept.c: New file.
3173         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3175         * math/fesetexcept.c: New file.
3176         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3177         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3178         * math/fenv.h: Define
3179         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3180         <bits/libc-header-start.h> instead of including <features.h>.
3181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3182         declaration.
3183         * manual/arith.texi (fesetexcept): Document function.
3184         * math/Versions (fesetexcept): New libm symbol at version
3185         GLIBC_2.25.
3186         * math/Makefile (libm-support): Add fesetexcept.
3187         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3188         * math/test-fesetexcept.c: New file.
3189         * math/test-fesetexcept-traps.c: Likewise.
3190         * sysdeps/nacl/libm.abilist: Update.
3191         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3192         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3193         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3194         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3195         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3196         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3197         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3198         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3199         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3200         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3201         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3202         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3204         Likewise.
3205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3206         Likewise.
3207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3208         Likewise.
3209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3210         Likewise.
3211         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3212         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3213         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3214         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3215         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3217         Likewise.
3218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3219         Likewise.
3220         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3221         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3222         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3224 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3226         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3227         New.
3228         (do_test): Apply default_stack_size_in_mb if not set.
3229         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3231 2016-08-15  Andreas Schwab  <schwab@suse.de>
3233         [BZ #20435]
3234         CVE-2016-6323
3235         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3236         as .cantunwind.
3238 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3240         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3241         comment from fraiseexcpt.c.
3243         * math/test-fexcept.c (feraiseexcept_exact): New function.
3244         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3245         (test_except): Likewise.
3247 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3249         [BZ #20455]
3250         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3251         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3252         to be restored.
3254         * math/test-fexcept-traps.c: New file.
3255         * math/test-fexcept.c: Likewise.
3256         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3257         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3258         macro.
3259         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3260         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3262 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3264         * include/atomic.h (atomic_fetch_and_relaxed,
3265         atomic_fetch_and_release, atomic_fetch_or_release,
3266         atomic_fetch_xor_release): New.
3268 2016-08-06  Christian Seiler  <christian@iwakd.de>
3270         [BZ #20444]
3271         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3272         MACH_PORT_NULL.
3274 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3276         * math/s_fdim.c: Avoid alias renamed.
3277         * math/s_fdimf.c: Likewise.
3278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3279         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3280         Add s_fdimf-vis3, s_fdim-vis3.
3281         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3282         (CFLAGS-s_fdim-vis3.c): Likewise.
3283         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3284         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3286 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3289         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3290         Remove s_fdimf-vis3, s_fdim-vis3.
3291         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3292         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3299         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3300         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3302 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3304         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3305         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3306         -Wa,-Av9a -mvis.
3308 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3310         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3311         LIT() to individual constants in simple expressions
3312         after splitting on spaces.
3313         (_apply_lit): Rename replaced version, and use it to
3314         apply to what appears to be a token.
3316         * math/libm-test.inc: Fix many, many issues with
3317         spacing.
3319 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3321         * math/math.h: Move comment about <bits/mathdef.h> definitions
3322         above inclusion of <bits/mathdef.h>.  Do not mention
3323         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3325 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3327         * include/atomic.h (atomic_exchange_relaxed): New.
3329 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3331         * math/e_scalb.c: Do not include <fenv.h>.
3332         (invalid_fn): Do calculation resulting in NaN instead of raising
3333         FE_INVALID and returning a NaN explicitly.
3334         * math/e_scalbf.c: Do not include <fenv.h>.
3335         (invalid_fn): Do calculation resulting in NaN instead of raising
3336         FE_INVALID and returning a NaN explicitly.
3337         * math/e_scalbl.c: Do not include <fenv.h>.
3338         (invalid_fn): Do calculation resulting in NaN instead of raising
3339         FE_INVALID and returning a NaN explicitly.
3341 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3343         * po/de.po: Updated from Translation Project.
3344         * po/fi.po: Likewise.
3345         * po/sv.po: Likewise.
3347 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3349         [BZ #20452]
3350         Use sysdep.o from libc.a in static libraries.
3351         * sysdeps/unix/sysv/linux/i386/Makefile
3352         (libpthread-shared-only-routines): Add sysdep.
3353         (librt-shared-only-routines): Likewise.
3355 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3357         * math/tgmath.h (nextdown): Define if
3358         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3359         (nextup): Likewise.
3361         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3362         macro.
3363         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3364         Document.
3365         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3366         Document macro.
3367         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3368         (exp10f): Likewise.
3369         (exp10l): Likewise.
3370         * math/bits/mathcalls.h (exp10): Declare if
3371         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3373         * manual/arith.texi (nextup): Fix typo in last change.
3375 2016-08-03  Zack Weinberg  <zackw@panix.com>
3377         [BZ #19239]
3378         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3379         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3380         define major, minor, and makedev to issue deprecation warnings on use.
3381         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3382         previously-activated deprecation warnings for these macros and prevent
3383         subsequent inclusions of this header from having any effect.
3384         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3385         including <sys/sysmacros.h>, and undefine it again afterward.
3387 2016-08-03  Zack Weinberg  <zackw@panix.com>
3389         * sysdeps/generic/sys/sysmacros.h: Delete file.
3390         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3391         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3392         * bits/sysmacros.h: ... here; this encoding is now the generic
3393         encoding.  Now defines only the following macros:
3394         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3395         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3396         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3398         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3399         bits/sysmacros.h and the above new macros to generate the
3400         public implementations of major, minor, and makedev.
3401         * misc/tst-makedev.c: New test.
3402         * include/sys/sysmacros.h: New wrapper.
3404         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3405         (routines): Add makedev.
3406         (tests): Add tst-makedev.
3407         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3408         gnu_dev_makedev.
3409         * posix/Makefile (headers): Remove sys/sysmacros.h.
3410         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3412         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3413         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3414         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3415         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3416         * sysdeps/unix/sysv/linux/arm/libc.abilist
3417         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3418         * sysdeps/unix/sysv/linux/i386/libc.abilist
3419         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3420         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3421         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3422         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3423         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3424         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3425         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3426         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3427         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3432         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3433         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3434         * sysdeps/unix/sysv/linux/sh/libc.abilist
3435         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3436         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3439         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3440         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3441         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3442         Add GLIBC_2.25.
3444         * include/features.h (__glibc_clang_prereq): New macro.
3445         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3446         (__attribute_deprecated_msg__): New macros.
3448 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3450         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3451         macro.
3452         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3453         * manual/arith.texi (issignaling): Document as ISO from TS
3454         18661-1:2014.
3455         (nextup): Likewise.
3456         (nextupf): Likewise.
3457         (nextupl): Likewise.
3458         (nextdown): Likewise.
3459         (nextdownf): Likewise.
3460         (nextdownl): Likewise.
3461         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3462         macro.
3463         * math/math.h: Define
3464         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3465         <bits/libc-header-start.h> instead of including <features.h>.
3466         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3467         [__USE_GNU].
3468         * math/bits/mathcalls.h (nextdown): Declare if
3469         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3470         (nextup): Likewise.
3471         (__issignaling): Likewise.
3473 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3475         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3476         check, and remove __glibc_likely hint
3477         from FP_INFINITE check.
3478         * s_csinhf.c (__csinhf): Likewise.
3480         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3481         hint from FP_INFINITE check.
3482         * s_csinhl.c (__csinhl): Likewise.
3484 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3486         * math/Makefile (libm-calls): Insert F placeholder into
3487         object names.  Move w_lgamma_compat* routines into
3488         (libm-compat-calls): New variable.
3489         (libm-compat-calls-ldouble-yes): New variable.
3490         (calls): Insert F placeholder.
3491         (generated): Redefine using new type-foreach macro call.
3492         (routines): Likewise.
3494         (types): New variable to hold a list of symbolic names
3495         for each type supported by the target machine.
3496         (libm-routines): Redefine using new types variable.
3497         (type-foreach): macro to replace fooF with the
3498         appropriately suffixed foo for each types.
3500         (type-ldouble-suffix): New variable.
3501         (type-ldouble-routines): Likewise.
3502         (type-ldouble-yes): Likewise.
3503         (type-double-suffix): Likewise.
3504         (type-double-routines): Likewise.
3505         (type-float-suffix): Likewise.
3506         (type-float-routines): Likewise.
3508         (dbl-only-routines): Remove.
3509         (long-c-yes): Likewise.
3510         (long-m-routines): Likewise.
3511         (long-m-support): Likewise.
3512         (long-m-yes): Likewise.
3513         (test-longdouble-yes): Likewise.
3515         (test-float.o): Simplify by increasing the scope of the
3516         recipe which adds libm-test.stmp to the vector types.
3517         (test-ifloat.o): Likewise.
3518         (test-float-finite.o): Likewise.
3519         (test-double.o): Likewise
3520         (test-idouble.o): Likewise.
3521         (test-double-finite.o): Likewise.
3522         (test-ldouble.o): Likewise
3523         (test-ildoubl.o): Likewise.
3524         (test-ldouble-finite.o): Likewise.
3526         (libm-tests): Redefine type tests using foreach and the
3527         list of types in types.
3529         (CPPFLAGS-test-ildoubl.c): Rename to
3530         (CPPFLAGS-test-ildouble.c): New variable
3532         * math/test-ildoubl.c: Rename to
3533         * math/test-ildouble.c: New file.
3535 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3537         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3538         Use fabsl instead of fabs.
3539         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3540         Likewise.
3541         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3542         Add long double suffix to constant to ensure proper
3543         promotion to long double.
3545 2016-08-03  Tom Tromey  <tom@tromey.com>
3547         [BZ #20311]
3548         * nptl_db/Makefile (headers): Add proc_service.h.
3549         * nptl_db/proc_service.h: Add include guard.  Use
3550         __BEGIN/__END_DECLS.
3551         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3552         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3553         arguments.
3556 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3558         [BZ #17730]
3559         Avoid using memalign for TCB allocations.
3560         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3561         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3562         Avoid alignment gap in the TLS_DTV_AT_TP case.
3563         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3564         determine the pointer to free.
3565         * nptl/tst-tls3-malloc.c: New test.
3566         * nptl/Makefile (tests): Add it.
3567         (tst-tls3-malloc): Link with libdl, libpthread.
3568         (LDFLAGS-tst-tls3-malloc): Set.
3569         (tst-tls3-malloc.out): Depend on DSO used in test.
3571 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3573         [BZ #17730]
3574         Avoid using memalign for TLS allocations.
3575         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3576         is_static member with to_free member.
3577         (union dtv): Use struct dtv_pointer.
3578         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3579         dtv_pointer instead of is_static.
3580         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3581         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3582         instead of val.
3583         (allocate_dtv_entry): New function.
3584         (allocate_and_init): Return struct dtv_pointer.  Call
3585         allocate_dtv_entry instead of __libc_memalign.
3586         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3587         instead of val.
3588         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3589         instead of is_static.  Adjust call to allocate_and_init.
3590         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3591         struct dtv_pointer instead of val.
3593 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3595         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3596         (MALLOC_ALIGN_MASK): Move ...
3597         * malloc/malloc-internal.h: ... to here.
3598         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3600 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3602         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3603         (UDP_ENCAP_GTP1U): Likewise.
3605         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3606         (PF_MAX): Update value.
3607         (AF_QIPCRTR): New macro.
3609 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3611         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3612         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3613         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3614         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3615         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3616         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3617         s_truncf-vis3, s_trunc-vis3.
3618         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3619         (CFLAGS-s_ceil-vis3.c): Likewise.
3620         (CFLAGS-s_floorf-vis3.c): Likewise.
3621         (CFLAGS-s_floor-vis3.c): Likewise.
3622         (CFLAGS-s_truncf-vis3.c): Likewise.
3623         (CFLAGS-s_trunc-vis3.c): Likewise.
3624         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3628         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3629         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3630         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3632         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3633         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3634         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3635         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3637 2016-08-02  David S. Miller  <davem@davemloft.net>
3639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3640         (__nearbyint_vis3): Don't check for sNaN before float register is
3641         loaded with the incoming argument.
3642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3643         (__nearbyintf_vis3): Likewise.
3644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3645         Likewise.
3646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3647         Likewise.
3649         * string/test-strncmp.c (do_test_limit): Make sure the test data
3650         stream is aligned as required for the type "CHAR".
3651         (do_test): Likewise.
3653 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3655         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3656         by beq instructions jumping to the end of the function.
3657         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3658         clobber list. Use "i" constraint instead of "X".
3659         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3660         of "X".
3662 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3664         * bits/libc-header-start.h: New file.
3665         * Makefile (headers): Add bits/libc-header-start.h.
3666         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3667         (__GLIBC_USE): New macro.
3668         * libio/stdio.h: Define
3669         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3670         <bits/libc-header-start.h> instead of including <features.h>.
3671         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3672         (open_memstream): Likewise.
3673         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3674         (__asprintf): Likewise.
3675         (asprintf): Likewise.
3676         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3677         (getdelim): Likewise.
3678         (getline): Likewise.
3679         * string/string.h: Define
3680         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3681         <bits/libc-header-start.h> instead of including <features.h>.
3682         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3683         (strndup): Likewise.
3684         * wcsmbs/wchar.h: Define
3685         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3686         <bits/libc-header-start.h> instead of including <features.h>.
3687         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3688         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3690 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3692         Support linking against compatibility symbols, for use in tests.
3693         * include/libc-symbols.h (symbol_version_reference): New macro.
3694         (symbol_version): Use it.
3695         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3696         (compat_symbol): Use compat_symbol_reference.
3697         (compat_symbol_1, compat_symbol_2): Remove.
3698         (compat_symbol_reference, compat_symbol_reference_1)
3699         (compat_symbol_reference_2): New macro.  Use
3700         symbol_version_reference.
3702 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3704         [BZ #19469]
3705         * malloc/Makefile (CPPFLAGS): Compile tests with
3706         -DTEST_NO_MALLOPT.
3707         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3709 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3711         [BZ #20033]
3712         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3713         finite version.
3714         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3715         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3716         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3717         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3718         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3719         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3720         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3721         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3722         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3723         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3724         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3725         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3726         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3727         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3728         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3729         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3730         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3731         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3732         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3733         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3734         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3735         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3736         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3737         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3738         in zero power.
3740 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3742         [BZ #20370]
3743         * malloc/arena.c (get_free_list): Update comment.  Assert that
3744         arenas on the free list have no attached threads.
3745         (remove_from_free_list): New function.
3746         (reused_arena): Call it.
3748 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3750         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3751         when it is a NaN.
3752         [_IEEE_FP_INEXACT] Remove.
3753         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3754         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3755         when it is a NaN.
3756         [_IEEE_FP_INEXACT] Remove.
3757         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3758         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3759         when it is a NaN.
3760         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3761         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3762         when its absolute value is greater than 0x1.0p52.
3763         [_IEEE_FP_INEXACT] Remove.
3764         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3765         when its absolute value is greater than 0x1.0p23.
3766         [_IEEE_FP_INEXACT] Remove.
3768 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3770         * version.h (RELEASE): Set to "development"
3771         (VERSION): Set to 2.24.90.
3772         * NEWS: Add 2.25 section.
3774         * version.h (RELEASE): Set to "stable"
3775         (VERSION): Set to 2.24.
3776         * include/features.h (__GLIBC_MINOR__): Set to 24.
3778         * NEWS: Add 2.24 fixed bugs.
3779         * po/libc.pot: Regenerate.
3781 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3784         [$(subdir) = math] (libm-sysdep_routines): Remove.
3785         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3786         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3787         s_truncf-vis3, s_trunc-vis3.
3788         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3790         file.
3791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3812         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3813         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3814         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3820         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3821         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3822         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3824         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3825         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3826         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3827         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3828         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3829         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3830         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3831         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3832         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3833         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3835 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3837         [BZ #20384]
3838         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3839         test-double-libmvec-sincos-avx-main.o,
3840         test-double-libmvec-sincos-avx2-main.o,
3841         test-double-libmvec-sincos-main.o,
3842         test-float-libmvec-sincosf-avx-main.o,
3843         test-float-libmvec-sincosf-avx2-main.o and
3844         test-float-libmvec-sincosf-main.o.
3845         test-float-libmvec-sincosf-avx512-main.o.
3846         ($(objpfx)test-double-libmvec-sincos): Also link with
3847         $(objpfx)test-double-libmvec-sincos-main.o.
3848         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3849         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3850         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3851         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3852         ($(objpfx)test-float-libmvec-sincosf): Also link with
3853         $(objpfx)test-float-libmvec-sincosf-main.o.
3854         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3855         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3856         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3857         test-double-libmvec-sincos-avx512-main.o and
3858         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3859         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3860         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3861         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3862         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3863         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3864         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3865         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3866         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3867         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3868         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3869         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3870         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3871         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3872         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3873         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3874         -DREQUIRE_AVX2.
3875         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3876         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3877         -DREQUIRE_AVX512F.
3878         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3879         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3880         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3881         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3882         file.
3883         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3884         Likewise.
3885         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3886         Likewise.
3887         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3888         Likewise.
3889         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3890         Likewise.
3891         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3892         Likewise.
3893         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3894         Likewise.
3895         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3896         Likewise.
3898 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3900         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3902 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3904         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3905         and typo in a comment about AT_HWCAP entry.
3907 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3909         * sysdeps/aarch64/libm-test-ulps: Updated.
3911 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3913         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3914         of r13 as it is not restored in mvcle case.
3916 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3918         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3919         Rename "ret" to "__ret".
3920         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3921         inline_syscall5, inline_syscall6): Likewise.
3923 2016-07-19   Will Newton  <will.newton@gmail.com>
3925         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3926         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3927         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3928         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3929         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3931 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3933         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3934         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3935         -mfpmath=387 with $(rtld-CFLAGS).
3936         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3937         $(rtld-CFLAGS).
3939 2016-07-18   Ross Burton  <ross.burton@intel.com>
3940              Khem Raj  <raj.khem@gmail.com>
3942         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3943         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3944         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3945         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3946         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3947         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3948         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3949         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3950         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3951         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3952         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3953         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3954         R_METAG_TLS_DTPOFF): New.
3956 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3957             Matt Clay  <mclay@lycos.com>
3959         [BZ #20357]
3960         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3961         to call __mpsin/__mpcos and to negate values.
3962         * math/auto-libm-test-in: Add test.
3963         * math/auto-libm-test-out: Regenerate.
3965 2016-07-18  Zack Weinberg  <zackw@panix.com>
3967         * grp/Makefile: Don't install the internal header grp-merge.h.
3969 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3971         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3973 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3975         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3977 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3979         [BZ #15368]
3980         * sysdeps/unix/sysv/linux/nptl-signals.h
3981         (__nptl_clear_internal_signals): New function.
3982         (__libc_signal_block_all): Likewise.
3983         (__libc_signal_block_app): Likewise.
3984         (__libc_signal_restore_set): Likewise.
3985         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3986         implementation.
3987         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3988         the cached pid/tid value in pthread structure.
3990 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3992         [BZ #20347]
3993         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3995 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3997         [BZ #20348]
3998         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3999         preadv64, pwrite64 and pwritev64.
4001 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4003         [BZ #20350]
4004         * posix/tst-preadwrite.c: Renamed to ...
4005         * posix/tst-preadwrite-common.c: This.
4006         (PREAD): Removed.
4007         (PWRITE): Likewise.
4008         (STRINGIFY): Likewise.
4009         (STRINGIFY2): Likewise.
4010         (do_prepare): Make it static and remove function arguments.
4011         (do_test): Likewise.
4012         (PREPARE): Updated.
4013         (TEST_FUNCTION): New.
4014         (name): Make it static.
4015         (fd): Likewise.
4016         (do_prepare): Use create_temp_file.
4017         (do_test): Renamed to ...
4018         (do_test_with_offset): This.  Make it static and accept offset.
4019         Properly check return value of PWRITE and PREAD.  Return bytes
4020         read.  Don't close fd nor unlink name.
4021         * posix/tst-preadwrite.c: Rewrite.
4022         * posix/tst-preadwrite64.c: Likewise.
4024 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4026         [BZ #20309]
4027         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
4028         -mtls-dialect=gnu2 works.
4029         * configure: Regenerated.
4030         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
4031         (tests): Add tst-gnu2-tls1.
4032         (modules-names): Add tst-gnu2-tls1mod.
4033         ($(objpfx)tst-gnu2-tls1): New.
4034         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
4035         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
4036         * elf/tst-gnu2-tls1.c: New file.
4037         * elf/tst-gnu2-tls1mod.c: Likewise.
4038         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
4039         bytes for push in the PLT entry to align the stack.
4041 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4043         [BZ #20349]
4044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
4046 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4048         [BZ #18707]
4049         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
4050         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
4052 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4054         * sysdeps/unix/sysv/linux/sysdep.h
4055         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
4056         guards.
4057         * misc/tst-preadvwritev-common.c: New file.
4058         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
4059         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
4060         a check for files larger than 2GB.
4062         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4063         (__ASSUME_OFF_DIFF_OFF64): Remove define.
4064         * sysdeps/unix/sysv/linux/pread.c
4065         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
4066         __OFF_T_MATCHES_OFF64_T.
4067         * sysdeps/unix/sysv/linux/pread64.c
4068         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
4069         * sysdeps/unix/sysv/linux/preadv.c
4070         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
4071         * sysdeps/unix/sysv/linux/preadv64.c
4072         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
4073         * sysdeps/unix/sysv/linux/pwrite.c
4074         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
4075         * sysdeps/unix/sysv/linux/pwrite64.c
4076         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
4077         * sysdeps/unix/sysv/linux/pwritev.c
4078         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
4079         * sysdeps/unix/sysv/linux/pwritev64.c
4080         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
4082 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
4084         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4085         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
4087 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4089         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
4091 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4093         [BZ #20240]
4094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4095         (CFLAGS-s_modf-ppc32.c): New variable.
4096         (CFLAGS-s_modff-ppc32.c): Likewise.
4097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4098         (CFLAGS-s_modf-ppc64.c): Likewise.
4099         (CFLAGS-s_modff-ppc64.c): Likewise.
4101 2016-07-07  Andreas Schwab  <schwab@suse.de>
4103         [BZ #20263]
4104         * nptl/tst-robust10.c: New test.
4105         * nptl/Makefile (tests): Add tst-robust10.
4107 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
4109         [BZ #20263]
4110         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
4112 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4114         * sysdeps/s390/linkmap.h (struct link_map_machine):
4115         Remove member gotplt and add member jmprel.
4116         * sysdeps/s390/s390-32/dl-machine.h
4117         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
4118         instead of gotplt with &got[3].
4119         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
4120         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4122 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
4124         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
4126 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4128         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
4129         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
4130         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4131         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
4132         * libio/vtables.c (_IO_vtable_check)
4133         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4134         * libio/libioP.h (IO_set_accept_foreign_vtables)
4135         [!PTR_MANGLE]: Do not call PTR_MANGLE.
4137 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
4139         [BZ #20314]
4140         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4141         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4142         $(common-objpfx)cmath.
4143         ($(common-objpfx)cstdlib): New target.
4144         ($(common-objpfx)cmath): Likewise.
4146 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
4148         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4150 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4152         [BZ #20327]
4153         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4154         are not part of the string.
4156 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4158         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4159         * nptl/tst-cancel4-common.h (fifoname): New variable.
4160         (fifofd): Likewise.
4161         (cl_fifo): New function.
4162         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4163         SIGINT.
4164         (tf_open): Add early cancel test.
4166 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4168         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
4170 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
4172         * sysdeps/generic/ldsodefs.h
4173         (dl_symbol_visibility_binds_local_p): New inline function.
4174         * elf/dl-addr.c (determine_info): Treat hidden and internal
4175         symbols as local.
4176         * elf/dl-lookup.c (do_lookup_x): Likewise.
4177         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4179 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4181         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4182         invalid exception for a sNaN input.
4183         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4184         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4185         (__nearbyint_vis3): Likewise
4186         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4187         (__nearbyintf_vis3): Likewise
4188         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4189         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4190         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4191         Likewise.
4192         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4193         Likewise.
4195 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4197         [BZ #20139]
4198         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4199         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4200         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4201         2.24 or above.
4202         (HAVE_AVX512_ASM_SUPPORT): Removed.
4203         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4204         * sysdeps/x86_64/configure: Regenerated.
4205         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4206         check unconditional.
4207         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4208         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4209         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4210         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4211         Likewise.
4212         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4213         Likewise.
4214         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4215         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4216         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4217         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4218         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4219         Likewise.
4220         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4221         Likewise.
4222         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4223         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4225         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4226         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4227         Likewise.
4228         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4229         Likewise.
4230         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4231         Likewise.
4232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4233         Likewise.
4234         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4235         Likewise.
4236         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4237         Likewise.
4238         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4239         Likewise.
4240         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4241         Likewise.
4242         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4243         Likewise.
4244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4245         Likewise.
4246         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4247         Likewise.
4249 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4251         [BZ #20024]
4252         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4253         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4254         of this implementation of vector function.
4255         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4256         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4257         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4258         Likewise.
4259         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4260         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4261         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4262         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4263         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4264         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4265         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4266         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4267         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4268         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4269         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4270         for testing vector sincos with fixed ABI.
4271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4272         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4273         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4274         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4275         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4276         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4277         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4278         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4279         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4280         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4281         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4282         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4283         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4284         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4285         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4286         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4288 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4290         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4292 2016-06-30  Anton Blanchard  <anton@samba.org>
4294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4295         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4296         s_sinf-ppc64.
4297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4300         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4302 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4306         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4307         e_expf-ppc64.
4308         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4309         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4310         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4311         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4313 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4315         [BZ #20277]
4316         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4317         when SHARED is defined.
4319 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4321         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4322         (index_arch_Prefer_ERMS): Likewise.
4323         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4324         __memcpy_erms for Prefer_ERMS.
4325         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4326         (__memmove_erms): Enabled for libc.a.
4327         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4328         __memmove_erms or Prefer_ERMS.
4329         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4330         __mempcpy_erms for Prefer_ERMS.
4331         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4332         __memset_erms for Prefer_ERMS.
4334 2016-06-30  Andreas Schwab  <schwab@suse.de>
4336         [BZ #20262]
4337         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4338         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4339         of memory.
4341 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4343         [BZ #18645]
4344         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4345         (test-extras): Add tst-cleanupx4aux.
4346         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4347         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4348         tst-cleanupx4aux.o.
4349         * nptl/tst-cleanupx4aux.c: New file.
4351 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4353         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4355 2016-06-29  Andreas Schwab  <schwab@suse.de>
4357         [BZ #20260]
4358         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4359         address before the beginning of the string as an integer to avoid
4360         array-bounds warning.
4362 2016-06-28  Richard Henderson  <rth@redhat.com>
4364         * elf/elf.h (EM_BPF): New.
4365         (EM_NUM): Update.
4366         (R_BPF_NONE, R_BPF_MAP_FD): New.
4368         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4369         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4370         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4371         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4372         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4373         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4374         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4375         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4376         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4377         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4378         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4379         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4380         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4381         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4382         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4383         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4384         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4385         (EM_NUM): Update.
4387 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4389         [BZ #18960]
4390         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4391         Set _nl_current_LC_CATEGORY_used to two instead of one.
4393 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4395         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4396         (do_test): ... this.
4397         (TEST_FUNCTION): New macro.
4398          Include test-skeleton.c.
4399         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4400         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4402 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4404         [BZ #15479]
4405         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4406         floating-point environment rather than just control word.
4407         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4408         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4409         floating-point environment, with "invalid" exceptions merged in,
4410         rather than just control word.
4411         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4412         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4413         "inexact" exceptions.
4415         [BZ #15479]
4416         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4417         floating-point environment rather than just control word.
4418         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4419         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4420         floating-point environment, with "invalid" exceptions merged in,
4421         rather than just control word.
4422         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4423         * math/libm-test.inc (floor_test_data): Do not allow spurious
4424         "inexact" exceptions.
4426         [BZ #15479]
4427         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4428         floating-point environment rather than just control word.
4429         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4430         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4431         floating-point environment, with "invalid" exceptions merged in,
4432         rather than just control word.
4433         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4434         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4435         "inexact" exceptions.
4437 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4439         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4440         __libc_vfork.
4441         (__vfork) [IS_IN (libc)]: Remove alias.
4442         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4443         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4444         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4446 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4448         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4449         of atomic_compare_and_exchange_bool_rel.
4450         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4451         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4452         catomic_compare_and_exchange_bool_rel): Remove.
4453         * sysdeps/aarch64/atomic-machine.h
4454         (atomic_compare_and_exchange_bool_rel): Likewise.
4455         * sysdeps/alpha/atomic-machine.h
4456         (atomic_compare_and_exchange_bool_rel): Likewise.
4457         * sysdeps/arm/atomic-machine.h
4458         (atomic_compare_and_exchange_bool_rel): Likewise.
4459         * sysdeps/mips/atomic-machine.h
4460         (atomic_compare_and_exchange_bool_rel): Likewise.
4461         * sysdeps/microblaze/atomic-machine.h
4462         ( __arch_compare_and_exchange_bool_8_rel,
4463         __arch_compare_and_exchange_bool_16_rel): Likewise.
4464         * sysdeps/powerpc/atomic-machine.h
4465         ( __arch_compare_and_exchange_bool_8_rel,
4466         __arch_compare_and_exchange_bool_16_rel): Likewise.
4467         * sysdeps/powerpc/powerpc32/atomic-machine.h
4468         ( __arch_compare_and_exchange_bool_32_rel,
4469         __arch_compare_and_exchange_bool_64_rel): Likewise.
4470         * sysdeps/powerpc/powerpc64/atomic-machine.h
4471         ( __arch_compare_and_exchange_bool_32_rel,
4472         __arch_compare_and_exchange_bool_64_rel): Likewise.
4473         * sysdeps/tile/atomic-machine.h
4474         (atomic_compare_and_exchange_bool_rel): Likewise.
4476 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4478         [BZ #20296]
4479         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4480         when either argument is a NaN.
4481         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4482         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4484         * math/libm-test.inc (snan_value_ld): New macro.
4485         (isgreater_test_data): Add sNaN tests.
4486         (isgreaterequal_test_data): Likewise.
4487         (isless_test_data): Likewise.
4488         (islessequal_test_data): Likewise.
4489         (islessgreater_test_data): Likewise.
4490         (isunordered_test_data): Likewise.
4491         (nextafter_test_data): Likewise.
4492         (nexttoward_test_data): Likewise.
4493         (remainder_test_data): Likewise.
4494         (remquo_test_data): Likewise.
4495         (significand_test_data): Likewise.
4496         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4498 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4500         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4501         environment macros are defined.
4502         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4504 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4506         [BZ #20191]
4507         Implement vtable verification in libio.
4508         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4509         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4510         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4511         _IO_new_file_init_internal instead of _IO_file_init.
4512         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4513         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4514         * libio/Makefile (routines): Add vtables.
4515         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4516         (_IO_init): Remove, not for internal use.
4517         (_IO_init_internal): Declare, internal replacement for _IO_init.
4518         (_IO_file_init): Remove, not for internal use.
4519         (_IO_new_file_init): Remove, not for internal use.
4520         (_IO_new_file_init_internal): Declare, internal replacement for
4521         _IO_new_file_init.
4522         (_IO_old_file_init): Remove, not for internal use.
4523         (_IO_old_file_init_internal): Declare, internal replacement for
4524         _IO_old_file_init.
4525         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4526         internal use.
4527         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4528         Declare.
4529         (libio_vtable): New macro.
4530         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4531         functions.
4532         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4533         _IO_new_file_init.
4534         (_IO_new_file_init): New externally visible wrapper which disables
4535         vtable verification.
4536         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4537         Define as vtables.
4538         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4539         (_IO_init): New externally visible wrapper which disables
4540         vtable verification.
4541         * libio/iofdopen.c (_IO_new_fdopen): Call
4542         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4543         comment.
4544         * libio/iofopen.c (__fopen_internal): Call
4545         _IO_new_file_init_internal instead of _IO_file_init.
4546         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4547         Define as vtables.
4548         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4549         _IO_new_file_init_internal instead of _IO_file_init.
4550         * libio/iopopen.c (_IO_new_popen): Likewise.
4551         (_IO_proc_jumps): Define as vtable.
4552         * libio/iovdprintf.c (_IO_vdprintf): Call
4553         _IO_new_file_init_internal instead of _IO_file_init.
4554         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4555         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4556         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4557         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4558         _IO_old_file_init.
4559         (_IO_old_file_init): New externally visible wrapper which disables
4560         vtable verification.
4561         (_IO_old_file_jumps): Define as vtable.
4562         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4563         _IO_old_file_init_internal instead of _IO_old_file_init.
4564         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4565         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4566         (_IO_old_proc_jumps): Define as vtable.
4567         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4568         Define as vtables.
4569         * libio/vtables.c: New file.
4570         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4571         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4572         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4573         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4574         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4575         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4576         instead of _IO_init.
4578 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4580         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4582 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4584         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4585         potentially unused.
4587 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4589         * test-skeleton.c (write_message): New function.
4590         * malloc/tst-mallocfork2.c (write_message): Remove.
4591         * debug/tst-longjmp_chk2.c (write_indented): New function.
4592         (write_message): Remove.
4593         (stackoverflow_handler): Call write_indented.
4595 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4597         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4598         "inexact" exceptions after fnstenv.
4599         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4600         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4601         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4603 2015-06-22  Zack Weinberg  <zackw@panix.com>
4605         * sysdeps/generic/bits/hwcap.h: Moved to ...
4606         * bits/hwcap.h: Here.
4608 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4610         * sysdeps/aarch64/memcpy.S (memcpy):
4611         Further tuning for performance.
4613 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4615         [BZ #20284]
4616         * malloc/arena.c (reused_arena): Do not return NULL if we start
4617         out with a non-corrupted arena.
4619 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4621         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4622         * misc/tst-preadvwritev.c: New file.
4623         * misc/tst-preadvwritev64.c: Likewise.
4624         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4625         usage.
4626         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4627         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4628         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4629         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4631 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4633         [BZ #19654]
4634         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4635         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4636         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4637         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4638         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4639         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4640         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4641         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4642         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4643         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4644         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4645         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4646         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4647         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4648         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4649         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4650         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4651         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4652         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4653         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4654         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4655         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4656         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4657         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4658         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4659         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4661 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4663         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4664         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4666 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4668         * sysdeps/aarch64/memcpy.S (memcpy):
4669         Rewrite of optimized memcpy and memmove.
4670         * sysdeps/aarch64/memmove.S (memmove): Remove
4671         memmove code (merged into memcpy.S).
4673 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4675         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4676         * sysdeps/generic/dl-dtv.h: New file.
4677         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4678         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4679         (dtv_t): Remove.
4680         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4681         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4682         (dtv_t): Remove.
4683         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4684         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4685         (dtv_t): Remove.
4686         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4687         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4688         (dtv_t): Remove.
4689         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4690         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4691         (dtv_t): Remove.
4692         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4693         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4694         (dtv_t): Remove.
4695         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4696         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4697         (dtv_t): Remove.
4698         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4699         (dtv_t): Remove.
4700         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4701         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4702         (dtv_t): Remove.
4703         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4704         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4705         (dtv_t): Remove.
4706         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4707         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4708         (dtv_t): Remove.
4709         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4710         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4711         (dtv_t): Remove.
4712         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4713         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4714         (dtv_t): Remove.
4715         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4716         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4717         (dtv_t): Remove.
4718         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4719         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4720         (dtv_t): Remove.
4721         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4722         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4723         (dtv_t): Remove.
4725 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4727         Revert symbol poisoning of  __malloc_initialize_hook.
4728         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4729         poisoning.
4730         * malloc/Makefile: Remove un-poisoning.
4731         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4732         instead of old__malloc_initialize_hook.
4733         * malloc/malloc-hooks.h: Likewise.
4734         * malloc/malloc.c: Likewise.
4735         * malloc/mcheck-init.c: Likewise.
4737 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4739         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4741 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4743         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4744         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4745         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4746         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4748 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4750         * NEWS: Mention addition of nextup and nextdown.
4751         * manual/arith.texi: Document nextup and nextdown.
4752         * manual/libm-err-tab.pl: Add nextup and nextdown.
4753         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4754         * math/Versions (libm): Add GLIBC_2.24.
4755         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4756         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4757         Add new test.
4758         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4759         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4760         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4761         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4762         (nextup_test_data): Likewise.
4763         (nextdown_test_data): Likewise.
4764         * math/s_nextdown.c: New file.
4765         * math/s_nextdownf.c: Likewise.
4766         * math/s_nextdownl.c: Likewise.
4767         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4768         F(nextup): New function.
4769         F(nextdown): Likewise.
4770         * math/tgmath.h: Add nextup and nextdown.
4771         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4772         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4773         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4774         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4775         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4776         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4777         Add nextup and nextdown.
4778         (CFLAGS-nldbl-nextup.c): New variable.
4779         (CFLAGS-nldbl-nextdown.c): Likewise.
4780         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4781         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4782         * sysdeps/nacl/libm.abilist: Update.
4783         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4784         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4785         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4786         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4787         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4788         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4789         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4790         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4791         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4792         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4793         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4794         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4797         Likewise.
4798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4800         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4801         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4802         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4803         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4804         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4807         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4808         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4809         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4810         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4812 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4814         * manual/pattern.texi: Fix typos & grammar errors.
4816 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4818         * manual/search.texi: Fix typos & grammar errors.
4820 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4822         * manual/message.texi: Fix typos & grammar errors.
4824 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4826         * manual/contrib.texi: Fix spelling typos.
4827         * manual/crypt.texi: Likewise.
4828         * manual/filesys.texi: Likewise.
4829         * manual/locale.texi: Likewise.
4830         * manual/message.texi: Likewise.
4831         * manual/nss.texi: Likewise.
4832         * manual/string.texi: Likewise.
4834 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4836         * manual/locale.texi: Fix typos & grammar errors.
4838 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4840         * manual/charset.texi: Fix typos & grammar errors.
4842 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4844         * manual/string.texi: Fix typos.
4846 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4848         * manual/ctype.texi: Fix typos.
4850 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4852         * manual/memory.texi: Fix various typos & grammar errors.
4854 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4856         [BZ #20255]
4857         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4858         * math/libm-test.inc (fdim_test_data): Add another test.
4860         [BZ #6796]
4861         [BZ #20255]
4862         [BZ #20256]
4863         * math/s_fdim.c: Include <math_private.h>.
4864         (__fdim): Use math_narrow_eval on result.
4865         * math/s_fdimf.c: Include <math_private.h>.
4866         (__fdimf): Use math_narrow_eval on result.
4867         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4868         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4869         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4870         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4871         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4872         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4873         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4874         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4875         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4876         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4877         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4878         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4879         overflow.  Add sNaN tests.
4881         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4882         fpclassify.
4883         * math/s_fdimf.c (__fdimf): Likewise.
4884         * math/s_fdiml.c (__fdiml): Likewise.
4886 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4888         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4889         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4891         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4892         ifunc'ed strcasecmp/strncasecmp.
4893         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4894         [EALIGN]: Removed.
4895         [END]: Likewise.
4896         [__strcasecmp]: Define instead of the above to control symbol name.
4897         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4898         for __strcasecmp_power8.
4899         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4900         for __strncasecmp_power8.
4901         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4902         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4903         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4904         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4905         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4906         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4908 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4910         [BZ #20252]
4911         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4912         arguments when second argument is a NaN.
4913         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4914         qNaN tests.
4916         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4917         (conj_test_data): Likewise.
4918         (copysign_test_data): Likewise.
4919         (creal_test_data): Likewise.
4920         (fma_test_data): Likewise.
4921         (fmod_test_data): Likewise.
4923         [BZ #20250]
4924         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4925         itself.
4926         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4927         zero input to itself.
4928         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4929         Likewise.
4930         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4931         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4932         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4933         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4934         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4936 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4938         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4939         * nptl/tst-cancel4-common.c: New file.
4940         * nptl/tst-cancel4-common.h: Likewise.
4941         * nptl/tst-cancel4.c: Move common definitions to
4942         tst-cancel4-common.{c,h} file.
4943         * nptl/tst-cancel4_1.c: New test.
4944         * nptl/tst-cancel4_2.c: New test.
4946 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4948         [BZ #20248]
4949         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4950         (write_message): New function.
4951         (stackoverflow_handler): Call it instead of printf, to avoid
4952         excessive stack usage by printf.
4953         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4955 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4957         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4958         (prio_inherit_missing): Remove define.
4959         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4960         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4961         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4962         Likewise.
4963         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4964         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4965         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4966         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4967         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4968         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4970 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4972         [BZ #19670]
4973         [BZ #19672]
4975         * io/test-lfs.c (do_prepare): Use xmalloc.
4976         * io/tst-fcntl.c (do_prepare): Likewise.
4977         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4978         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4979         * login/tst-utmp.c (do_prepare): Likewise.
4980         * posix/tst-exec.c (do_prepare): Likewise.
4981         * posix/tst-pathconf.c (prepare): Likewise.
4982         * posix/tst-spawn.c (do_prepare): Likewise.
4983         * posix/tst-truncate.c (do_prepare): Likewise.
4984         * rt/tst-aio.c (do_prepare): Likewise.
4985         * rt/tst-aio64.c (do_prepare): Likewise.
4987 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4989         [BZ #20237]
4990         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4991         (get*ent): Set entidx to NULL during initialization.  If entidx is
4992         NULL, start iteration from the beginning.
4994 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4996         * malloc/malloc.c (musable): Return correct size for dumped fake
4997         mmapped chunk.
4999 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5001         [BZ #20222]
5002         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
5003         (_IO_cookie_write): Likewise.
5004         (_IO_cookie_seek): Likewise.
5005         (_IO_cookie_close): Likewise.
5006         (_IO_old_cookie_seek): Likewise.
5007         (set_callbacks): New function.
5008         (_IO_cookie_init): Call set_callbacks to copy callbacks.
5010 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
5012         * locale/programs/localedef.c (oldstyle_tables): Remove.
5013         * locale/programs/localedef.h (oldstyle_tables): Likewise.
5015 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
5017         [BZ #20240]
5018         * math/Makefile (CFLAGS-s_modf.c): New variable.
5019         (CFLAGS-s_modff.c): Likewise.
5020         (CFLAGS-s_modfl.c): Likewise.
5021         * math/libm-test.inc (modf_test_data): Add sNaN tests.
5023 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
5025         [BZ #20215]
5026         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
5027         [!__GNUC_PREREQ (3,2)]: Likewise.
5029 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5031         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
5032         (msghdr.msg_controllen): Likewise.
5033         (cmsghdr.cmsg_len): Likewise.
5034         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
5035         ptw-oldsendmsg.
5036         (CFLAGS-oldrecvmsg.c): Remove rule.
5037         (CFLAGS-oldsendmsg.c): Likewise.
5038         (CFLAGS-recvmsg.c): Add rule.
5039         (CFLAGS-sendmsg.c): Likewise.
5040         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5041         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
5042         (CFLAGS-recvmsg.c): Remove rule.
5043         (CFLAGS-sendmsg.c): Likewise.
5044         (CFLAGS-oldrecvmsg.c): Likewise.
5045         (CFLAGS-oldsendmsg.c): Likewise.
5046         (CFLAGS-recvmmsg.c): Likewise.
5047         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
5048         to kernel defined interfaces.
5049         (msghdr.msg_controllen): Likewise.
5050         (cmsghdr.cmsg_len): Likewise.
5051         (msghdr.__glibc_reserved1): Remove member.
5052         (msghdr.__glibc_reserved2): Likewise.
5053         (cmsghdr.__glibc_reserved1): Likewise.
5054         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
5055         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
5056         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5057         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5058         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
5059         version.
5060         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5061         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
5062         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5063         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
5064         Remove recvmsg and sendmsg.
5065         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
5066         Likewise.
5067         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5068         Likewise.
5069         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5070         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5071         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5072         Likewise.
5073         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5074         Likewise.
5075         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
5076         [libc] (GLIBC_2.24): Likewise.
5077         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5078         Likewise.
5079         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5080         Likewise.
5081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5082         [libc] (GLIBC_2.24): Likewise.
5083         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5084         Likewise.
5085         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5086         Likewise.
5087         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5088         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5089         Likewise.
5090         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5091         Likewise.
5092         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5093         Likewise.
5094         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
5095         Likewise.
5096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
5097         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
5098         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
5099         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
5100         version for {recv,send,recm,sendm}msg.
5101         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5102         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5103         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5104         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5105         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5106         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5107         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5108         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5109         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5110         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5111         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5112         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5114         Likewise.
5115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5116         Likewise.
5117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5119         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5120         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5121         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5122         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5123         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5124         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5127         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5128         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5129         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5131 2016-06-10  Florian Weimer  <fweimer@redhat.com>
5133         [BZ #19564]
5134         Remove __malloc_initialize_hook from the API.
5135         * malloc/malloc.h (__malloc_initialize_hook): Remove.
5136         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
5137         #pragma GCC poison.
5138         * malloc/malloc-hooks.h: New file.
5139         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5140         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5141         (old__malloc_initialize_hook): Rename from
5142         __malloc_initialize_hook to evade poisoning.  Turn into compat
5143         symbol.
5144         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5145         __malloc_initialize_hook.
5146         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5147         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5148         * manual/memory.texi (Hooks for Malloc): Remove
5149         __malloc_initialize_hook.  Adjust hook example.
5151 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
5153         [BZ #20235]
5154         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5155         itself.
5156         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5157         * math/libm-test.inc (log2_test_data): Add sNaN tests.
5159         [BZ #20234]
5160         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5161         infinity or NaN input to itself.
5163         [BZ #20233]
5164         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
5165         to itself.
5167         [BZ #20232]
5168         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5169         itself.
5171 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5173         * sysdeps/x86_64/start.S (_start): Always indirect branch to
5174         __libc_start_main via GOT.
5176 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5178         * sysdeps/x86_64/memcopy.h: New file.
5179         * sysdeps/x86_64/wordcopy.c: Likewise.
5181 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5183         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5184         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5185         <cstdlib>.
5186         (optimization_barrier): New.
5187         (do_test): Use it.  Call quick_exit in the global namespace.
5188         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5189         instead of <cstdlib>, <thread>.
5190         (optimization_barrier): New.
5191         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5192         Call quick_exit in the global namespace.
5193         (do_test): Call optimization_barrier.  Use pthread_create,
5194         pthread_join instead of std::thread.
5196 2016-06-09  Andreas Schwab  <schwab@suse.de>
5198         [BZ #19755]
5199         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5200         new entries in auto-propagate mode.
5201         * nscd/grpcache.c (cache_addgr): Likewise.
5203 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5205         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5206         New functions.
5207         (add_temp_file): Use them.
5209 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5211         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5213 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5215         [BZ #20229]
5216         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5217         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5218         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5220         [BZ #20228]
5221         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5222         itself.
5223         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5224         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5226         [BZ #20227]
5227         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5228         itself.
5229         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5230         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5231         * math/libm-test.inc (log_test_data): Add sNaN tests.
5233         [BZ #20226]
5234         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5235         itself.
5236         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5237         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5238         (exp10_test_data): Likewise.
5239         (expm1_test_data): Likewise.
5241         [BZ #20225]
5242         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5243         itself.
5244         * math/s_ldexpf.c (__ldexpf): Likewise.
5245         * math/s_ldexpl.c (__ldexpl): Likewise.
5246         * math/w_scalbln.c (__w_scalbln): Likewise.
5247         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5248         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5249         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5250         (scalbln_test_data): Likewise.
5252         [BZ #20224]
5253         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5254         argument to itself.
5255         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5257 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5259         [BZ #19776]
5260         * sysdeps/x86_64/memcpy.S: Make it dummy.
5261         * sysdeps/x86_64/mempcpy.S: Likewise.
5262         * sysdeps/x86_64/memmove.S: New file.
5263         * sysdeps/x86_64/memmove_chk.S: Likewise.
5264         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5265         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5266         * sysdeps/x86_64/memmove.c: Removed.
5267         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5268         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5269         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5270         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5271         Likewise.
5272         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5273         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5275         memcpy-sse2-unaligned, memmove-avx-unaligned,
5276         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5278         (__libc_ifunc_impl_list): Replace
5279         __memmove_chk_avx512_unaligned_2 with
5280         __memmove_chk_avx512_unaligned.  Remove
5281         __memmove_chk_avx_unaligned_2.  Replace
5282         __memmove_chk_sse2_unaligned_2 with
5283         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5284         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5285         with __memmove_avx512_unaligned.  Replace
5286         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5287         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5288         with __memcpy_chk_avx512_unaligned.  Remove
5289         __memcpy_chk_avx_unaligned_2.  Replace
5290         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5291         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5292         Replace __memcpy_avx512_unaligned_2 with
5293         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5294         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5295         with __mempcpy_chk_avx512_unaligned.  Remove
5296         __mempcpy_chk_avx_unaligned_2.  Replace
5297         __mempcpy_chk_sse2_unaligned_2 with
5298         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5299         Replace __mempcpy_avx512_unaligned_2 with
5300         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5301         Replace __mempcpy_sse2_unaligned_2 with
5302         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5303         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5304         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5305         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5306         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5307         (ENTRY): Removed.
5308         (END): Likewise.
5309         (ENTRY_CHK): Likewise.
5310         (libc_hidden_builtin_def): Likewise.
5311         Don't include ../memcpy.S.
5312         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5313         __memcpy_chk_avx512_unaligned_erms and
5314         __memcpy_chk_avx512_unaligned.  Use
5315         __memcpy_chk_avx_unaligned_erms and
5316         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5317         Default to __memcpy_chk_sse2_unaligned.
5318         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5319         Change function suffix from unaligned_2 to unaligned.
5320         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5321         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5322         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5323         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5324         (ENTRY): Removed.
5325         (END): Likewise.
5326         (ENTRY_CHK): Likewise.
5327         (libc_hidden_builtin_def): Likewise.
5328         Don't include ../mempcpy.S.
5329         (mempcpy): New.  Add a weak alias.
5330         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5331         __mempcpy_chk_avx512_unaligned_erms and
5332         __mempcpy_chk_avx512_unaligned.  Use
5333         __mempcpy_chk_avx_unaligned_erms and
5334         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5335         Default to __mempcpy_chk_sse2_unaligned.
5337 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5339         [BZ #19881]
5340         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5341         into ...
5342         * sysdeps/x86_64/memset.S: This.
5343         (__bzero): Removed.
5344         (__memset_tail): Likewise.
5345         (__memset_chk): Likewise.
5346         (memset): Likewise.
5347         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5348         defined.
5349         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5350         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5351         (__memset_zero_constant_len_parameter): Check SHARED instead of
5352         PIC.
5353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5354         memset-avx2 and memset-sse2-unaligned-erms.
5355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5356         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5357         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5358         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5359         (__bzero): Enabled.
5360         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5361         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5362         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5363         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5364         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5365         (memset): Removed.
5366         (__memset_chk): Likewise.
5367         (MEMSET_SYMBOL): New.
5368         (libc_hidden_builtin_def): Replace __memset_sse2 with
5369         __memset_sse2_unaligned.
5370         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5371         __memset_chk_sse2 and __memset_chk_avx2 with
5372         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5373         Use __memset_chk_sse2_unaligned_erms or
5374         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5375         __memset_chk_avx512_unaligned_erms and
5376         __memset_chk_avx512_unaligned.
5378 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5380         * math/gen-auto-libm-test.c (fp_format_desc): remove
5381         suffix member.
5382         (output_generic_value): Remove usage of suffix member,
5383         and the resulting unuse of the fp_format argument.
5384         (output_for_one_input_case): Remove unused fp_format
5385         parameter.
5387         * math/auto-libm-test-out: Regenerate.
5389         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5390         usage with TEST_COND_ibm128.
5391         (TEST_COND_flt_32): Remove.
5392         (TEST_COND_dbl_64): Remove.
5393         (TEST_COND_ldbl_96_intel): Remove.
5394         (TEST_COND_ldbl_96_m68k): Remove.
5395         (TEST_COND_ldbl_128): Remove.
5397 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5399         * auto-libm-test-in:
5400         Replace flt-32 usage with binary32.
5401         Replace dbl-64 usage with binary64.
5402         Replace ldbl-intel-96 usage with intel96.
5403         Replace ldbl-m68k-96 usage with m68k96.
5404         Replace ldbl-128ibm usage with ibm128.
5405         Replace ldbl-128 usage with binary128.
5407         * auto-libm-test-out: Regenerate.
5409 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5411         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5412         (parse_ulps): Dynamically generate type name matching
5413         string from all_floats.
5414         (get_ulps): Generate the ulps as an array instead.
5415         (output_ulps): Dynamically compose the type based
5416         on the number of supported formats, and print
5417         the indices as type specific helper macros.
5419         * math/libm-test.inc: Remove comment about CHOOSE.
5420         (ulp_data): Generate the type in libm-test-ulps.h.
5421         (ULP_IDX): New macro.
5422         (find_ulps): Update usage of max_ulp.
5424         * math/test-double-vlen2.h (CHOOSE): Remove.
5425         * math/test-double-vlen4.h (CHOOSE): Likewise.
5426         * math/test-double-vlen8.h (CHOOSE): Likewise.
5427         * math/test-float.c (CHOOSE): Likewise.
5428         * math/test-float-finite.c (CHOOSE): Likewise.
5429         * math/test-double.c (CHOOSE): Likewise.
5430         * math/test-double-finite.c (CHOOSE): Likewise.
5431         * math/test-idouble.c (CHOOSE): Likewise.
5432         * math/test-ifloat.c (CHOOSE): Likewise.
5433         * math/test-ildoubl.c (CHOOSE): Likewise.
5434         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5435         * math/test-ldouble.c (CHOOSE): Likewise.
5437         * math/test-float.h (TEST_FLOAT): Remove.
5438         * math/test-double.h (TEST_DOUBLE): Likewise.
5439         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5441 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5443         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5444         (parse_args): Strip C suffix from floating point literals
5445         typed with 'f' and wrap them with LIT().
5447         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5448         (test_ff_f_data_nexttoward): Rename to
5449         (test_fj_f_data): New struct.
5450         (nexttoward_test_data): Relabel tests as
5451         TEST_fj_f instead of TEST_ff_f.
5453 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5455         Emacs bug 23726.
5456         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5457         (__libc_realloc): Correct size computation for dumped fake mmapped
5458         chunks.
5460 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5462         [BZ #20219]
5463         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5464         to itself.
5465         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5467         [BZ #20218]
5468         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5469         to itself.
5470         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5472 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5474         [BZ #20195]
5475         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5476         check to ...
5477         (init_cpu_features): Here.
5479 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5481         [BZ #20214]
5482         * sysdeps/unix/sysv/linux/bits/in.h
5483         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5484          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5485         Define to 1.
5486         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5487          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5488         Define to 0.
5489         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5490         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5492 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5494         [BZ #20198]
5495         * stdlib/Makefile (tests): Add tst-quick_exit, and
5496         tst-thread-quick_exit.
5497         [ifeq ($(have-cxx-thread_local),yes)]
5498         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5499         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5500         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5501         (LDLIBS-tst-thread-quick_exit): Likewise.
5502         [ifneq ($(have-cxx-thread_local),yes)]
5503         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5504         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5505         If run_dtors is true call __call_tls_dtors.
5506         (exit): Call __run_exit_handlers with run_dtors set to true.
5507         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5508         definition.
5509         * stdlib/quick_exit.c (quick_exit): Remove function.
5510         (__new_quick_exit): New function.
5511         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5512         function.
5513         * stdlib/tst-quick_exit.cc: New file.
5514         * stdlib/tst-thread-quick_exit.cc: New file.
5515         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5516         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5517         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5518         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5519         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5520         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5521         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5522         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5523         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5524         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5525         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5526         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5527         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5528         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5529         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5530         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5535         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5536         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5537         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5538         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5539         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5542         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5543         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5544         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5546 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5548         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5549         a typo in comments.
5551 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5553         [BZ #20213]
5554         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5555         argument to itself.
5556         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5558 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5560         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5561         required flags.
5562         (CFLAGS-pwritev64.c): Likewise.
5563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5565         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5566         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5567         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5568         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5569         syscall from auto-generation.
5570         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5571         [WORDSIZE == 64] (pwritev64): Remove macro.
5572         [!PWRITEV] (PWRITEV): Likewise.
5573         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5574         [!PWRITEV] (PWRITE): Likewise.
5575         [!PWRITEV] (OFF_T): Likewise.
5576         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5577         (LO_HI_LONG): Remove macro.
5578         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5579         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5580         (PWRITEV): Remove macro.
5581         (PWRITEV_REPLACEMENTE): Likewise.
5582         (PWRITE): Likewise.
5583         (OFF_T): Likewise.
5584         (pwritev64): New function.
5585         * nptl/tst-cancel4.c (tf_writev): Add test.
5587         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5588         required flags.
5589         (CFLAGS-preadv64.c): Likewise.
5590         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5591         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5592         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5593         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5594         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5595         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5596         syscall from auto-generation.
5597         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5598         [WORDSIZE == 64] (preadv64): Remove macro.
5599         [!PREADV] (PREADV): Likewise.
5600         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5601         [!PREADV] (PREAD): Likewise.
5602         [!PREADV] (OFF_T): Likewise.
5603         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5604         (LO_HI_LONG): Remove macro.
5605         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5606         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5607         (PREADV): Remove macro.
5608         (PREADV_REPLACEMENTE): Likewise.
5609         (PREAD): Likewise.
5610         (OFF_T): Likewise.
5611         (preadv64): New function.
5612         * nptl/tst-cancel4.c (tf_preadv): Add test.
5614 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5616         [BZ #20212]
5617         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5618         argument to itself.
5619         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5621 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5623         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5624         New symbol defined as libc_hidden_def.
5625         (strcasestr): Became a weak alias to __strcasestr.
5626         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5627         according to multi-arch support.  Move __stpncpy hidden
5628         definition from here to...
5629         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5630         symbol stpncpy.
5631         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5632         libc_hidden_builtin_def.
5633         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5634         memset symbol to use when multi-arch support is available.
5636 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5638         * dlfcn/tst-rec-dlopen.c: Include string.h.
5640 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5642         * manual/install.texi: Remove mention of --without-tls
5643         * INSTALL: Regenerate.
5645 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5647         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5648         Remove.
5649         (call_function, interposed_malloc_called): New variables.
5650         (malloc): New function.
5651         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5652         and clear call_function as needed.
5654 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5656         * include/wchar.h (__wmemset): Use __typeof.
5658 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5660         * include/wchar.h (__wmemset): Declare function without typeof.
5662 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5664         [BZ #20205]
5665         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5666         exponent when incrementing negative subnormal with low mantissa
5667         word zero.
5668         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5669         Add another test.
5671 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5673         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5674         __wmemset instead of wmemset.
5676 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5678         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5679         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5680         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5681         __USE_KERNEL_IPV6_DEFS to 0.
5682         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5683         Update comment.
5685 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5687         [BZ #19861]
5688         Do not use IFUNC resolver with potentially unrelocated symbol.
5689         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5690         (DEFINE_FORK): Remove macro and inline definition.
5691         (fork_alias): Renamed from fork_ifunc.
5692         (__fork_alias): Renamed from __fork_ifunc.
5694 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5696         [BZ 19653]
5697         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5698         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5700 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5702         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5703         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5704         i386-linux-gnu).
5705         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5706         Set to no.
5707         * sysdeps/mach/hurd/configure: Refresh.
5709 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5711         [BZ #20178]
5712         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5713         on failure instead of exit.
5715 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5717         [BZ #3629]
5718         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5719         of POSIX.1-2008.
5721 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5723         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5724           Use PLT entry for calling _hurd_self_sigstate.
5726 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5728         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5729         available logical processors with SMT level type sharing L2
5730         cache for Intel processors.
5732 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5734         [BZ #20160]
5735         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5736         argument to itself before returning the result.
5737         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5738         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5739         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5740         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5741         Likewise.
5742         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5743         Likewise.
5744         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5745         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5746         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5747         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5748         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5749         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5751         [BZ #20160]
5752         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5753         argument to itself before returning the result.
5754         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5755         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5756         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5757         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5758         Likewise.
5759         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5760         Likewise.
5761         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5762         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5763         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5764         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5765         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5766         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5768 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5770         * libm-test.inc: Replace usage of M_El with
5771         (lit_e): New macro.
5773 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5775         * libm-test.inc: Replace usage of M_PI_4l with
5776         (lit_pi_4_d): New macro.
5778 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5780         * libm-test.inc: Replace usage of M_PIl with
5781         (lit_pi): New macro.
5783 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5785         * libm-test.inc: Replace usage of M_PI2l with
5786         (lit_pi_2_d): New macro.
5788         * math/test-double.h (LITM): New macro.
5789         * math/test-float.h (LITM): Likewise.
5790         * math/test-ldouble.h (LITM): Likewise.
5792 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5794         * libm-test.inc (M_PI_34l): Rename to
5795         (lit_pi_3_m_4_d): New Macro.
5796         (M_PI_34_LOG10El): Rename to
5797         (lit_pi_3_m_4_ln10_m_d): New Macro.
5798         (M_PI2_LOG10El): Rename to
5799         (lit_pi_2_ln10_m_d):  New Macro.
5800         (M_PI4_LOG10El): Rename to
5801         (lit_pi_4_ln10_m_d):  New Macro.
5802         (M_PI_LOG10El): Rename to
5803         (lit_pi_ln10_d):  New Macro.
5805 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5807         [BZ #20157]
5808         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5809         determine whether to negate low half if [_ARCH_PPCGR], and integer
5810         comparison otherwise.
5811         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5812         determine whether to negate low half.
5814         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5815         (NO_TEST_INLINE_DOUBLE): Likewise.
5816         (TEST_COND_x86_64): Likewise.
5817         (TEST_COND_x86): Likewise.
5818         (M_PI_6l): Likewise.
5820 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5822         * math/libm-test.inc:
5823         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5824         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5825         (TEST_LDOUBLE): Update usage to evaluate as true if
5826         the guarded tests match the property being tested.
5827         (LDBL_MAX_EXP): Change to MAX_EXP.
5828         (LDBL_MIN_EXP): Change to MIN_EXP.
5829         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5830         nexttoward tests.
5832 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5834         * math/libm-test.inc:
5835         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5836         (TYPE_MIN): Likewise.
5837         (TYPE_TRUE_MIN): Likewise.
5838         (TYPE_MAX): Likewise.
5839         (MIN_EXP): Likewise.
5840         (MAX_EXP): Likewise.
5841         (MANT_DIG): Likewise.
5843         (FSTR_MAX): New macro.
5844         (__CONCATX): Likewise.
5845         (QTYPE_STR): Likewise.
5846         (TEST_COND_binary32): Likewise.
5847         (TEST_COND_binary64): Likewise.
5848         (TEST_COND_binary128): Likewise.
5849         (TEST_COND_ibm128): Likewise.
5850         (TEST_COND_intel96): Likewise.
5851         (TEST_COND_m68k96): Likewise.
5853         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5854         (TEST_COND_dbl_64): Likewise.
5855         (TEST_COND_ldbl_96_intel): Likewise.
5856         (TEST_COND_ldbl_96_m68k): Likewise.
5857         (TEST_COND_ldbl_128): Likewise.
5858         (TEST_COND_ldbl_128ibm): Likewise.
5860         (plus_zero): Redefine using LIT macro.
5861         (minus_zero): Likewise.
5862         (plus_infty): Redefine as (INF).
5863         (minux_infty): Redefine as (-INF).
5864         (max_value): Redefine as TYPE_MAX.
5865         (min_value): Redefine as TYPE_MIN.
5866         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5868         (print_float): Refactor to use snprintf to convert FLOAT values
5869         to string. This brings it closer to dropin replacement of strtof
5870         for the TS 18661 defined types.
5871         (update_stats): Likewise.
5872         (print_complex_function_ulps): Likewise.
5873         (print_max_error): Likewise.
5874         (print_complex_max_error): Likewise.
5875         (check_float_internal): Likewise.
5877         * math/test-float.h (PREFIX): New macro.
5878         (LIT): Likewise.
5879         (TYPE_STR): Likewise.
5880         (FTOSTR): Likewise.
5882         * math/test-double.h (PREFIX): New macro.
5883         (LIT): Likewise.
5884         (TYPE_STR): Likewise.
5885         (FTOSTR): Likewise.
5887         * math/test-ldouble.h (PREFIX): New macro.
5888         (LIT): Likewise.
5889         (TYPE_STR): Likewise.
5890         (FTOSTR): Likewise.
5892 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5894         [BZ #20156]
5895         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5896         to itself when zero or not finite.
5897         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5898         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5899         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5900         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5902 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5904         [BZ #20153]
5905         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5906         x * x + x for infinities and NaNs.
5908         [BZ #20151]
5909         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5910         argument to itself before returning result.
5911         (__ieee754_y0l): Likewise.
5912         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5913         (__ieee754_y1l).
5915         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5916         (atan_test_data): Likewise.
5917         (ceil_test_data): Likewise.
5918         (cos_test_data): Likewise.
5919         (cosh_test_data): Likewise.
5920         (erf_test_data): Likewise.
5921         (exp2_test_data): Likewise.
5922         (fabs_test_data): Likewise.
5923         (floor_test_data): Likewise.
5924         (ilogb_test_data): Likewise.
5925         (j0_test_data): Likewise.
5926         (j1_test_data): Likewise.
5927         (jn_test_data): Likewise.
5928         (lgamma_test_data): Likewise.
5929         (lrint_test_data): Likewise.
5930         (llrint_test_data): Likewise.
5931         (logb_test_data): Likewise.
5932         (lround_test_data): Likewise.
5933         (llround_test_data): Likewise.
5934         (nearbyint_test_data): Likewise.
5935         (rint_test_data): Likewise.
5936         (round_test_data): Likewise.
5937         (sin_test_data): Likewise.
5938         (sincos_test_data): Likewise.
5939         (sinh_test_data): Likewise.
5940         (sqrt_test_data): Likewise.
5941         (tan_test_data): Likewise.
5942         (tanh_test_data): Likewise.
5943         (tgamma_test_data): Likewise.
5944         (trunc_test_data): Likewise.
5945         (y0_test_data): Likewise.
5946         (y1_test_data): Likewise.
5947         (yn_test_data): Likewise.
5949         * math/libm-test.inc: Update comment about NaN testing.
5950         (TEST_SNAN): New macro.
5951         (snan_value): Likewise.
5952         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5953         (fpclassify_test_data): Add sNaN tests.
5954         (isfinite_test_data): Likewise.
5955         (isinf_test_data): Likewise.
5956         (isnan_test_data): Likewise.
5957         (isnormal_test_data): Likewise.
5958         (issignaling_test_data): Likewise.
5959         (signbit_test_data): Likewise.
5960         * math/gen-libm-test.pl (%beautify): Add snan_value.
5961         (show_exceptions): Add argument $test_snan.
5962         (parse_args): Handle snan_value as non-finite.  Update call to
5963         show_exceptions.
5964         * math/Makefile (libm-test-no-inline-cflags): Add
5965         -fsignaling-nans.
5967 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5969         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5970         (CFLAGS-oldsendmsg.c): Add rule.
5971         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5972         Correct recvmsg symbol name.
5973         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5974         Likewise.
5976 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5978         * sysdeps/unix/sysv/linux/Makefile
5979         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5980         oldsendmmsg.
5981         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5982         sendmmsg.
5983         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5984         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5985         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5986         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5988         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5989         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5991         Likewise.
5992         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5993         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5994         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5995         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5996         iovlen and controllen fields to adjust to POSIX specification.
5997         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5999         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
6000         and change to correct expected type.
6001         (msghdr.msg_controllen): Likewise.
6002         (cmsghdr.cmsg_len): Likewise.
6003         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
6004         expected POSIX assumption about the size.
6005         (msghdr.msg_controllen): Likewise.
6006         (msghdr.__glibc_reserved1): Likewise.
6007         (msghdr.__glibc_reserved2): Likewise.
6008         (cmsghdr.cmsg_len): Likewise.
6009         (cmsghdr.__glibc_reserved1): Likewise.
6010         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
6011         Add ptw-oldrecvmsg and ptw-oldsendmsg.
6012         (CFLAGS-sendmsg.c): Remove rule.
6013         (CFLAGS-recvmsg.c): Likewise.
6014         (CFLAGS-oldsendmsg.c): Add rule.
6015         (CFLAGS-oldrecvmsg.c): Likewise.
6016         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
6017         recvmsg and sendmsg.
6018         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
6019         Likewise.
6020         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
6021         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
6022         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6023         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
6024         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6025         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6026         Likewise.
6027         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6028         Likewise.
6029         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
6030         Likewise.
6031         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
6032         Likewise.
6033         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6034         Likewise.
6035         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6036         Likewise.
6037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
6038         (GLIBC_2.24): Likewise.
6039         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6040         Likewise.
6041         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6042         Likewise.
6043         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6044         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6045         Likewise.
6046         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6047         Likewise.
6048         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6049         Likewise.
6050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
6051         (GLIBC_2.24): Likewise.
6052         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
6053         Likewise.
6054         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
6055         Likewise.
6056         * sysdeps/unix/sysv/linux/Makefile
6057         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
6058         (CFLAGS-sendmsg.c): Add rule.
6059         (CFLAGS-recvmsg.c): Likewise.
6060         (CFLAGS-oldsendmsg.c): Likewise.
6061         (CFLAGS-oldrecvmsg.c): Likewise.
6062         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
6063         initialization.
6064         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6065         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6066         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
6067         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6068         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
6069         iovlen and controllen fields to adjust to POSIX specification.
6070         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
6071         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
6072         added recvmsg and sendmsg.
6073         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6074         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6075         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6076         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6077         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6078         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6079         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6080         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6081         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6082         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6083         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6084         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6086         Likewise.
6087         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6089         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6090         Likewise.
6091         Likewise.
6092         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6093         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6094         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6095         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6096         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6097         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6099         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6101         Likewise.
6102         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6103         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6105         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
6106         from auto-generation.
6107         (sendmsg): Likewise.
6108         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
6109         (sendmsg): Likewise.
6110         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
6111         (sendmsg): Likewise.
6112         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
6113         (sendmsg): Likewise.
6114         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
6115         (sendmsg): Likewise.
6116         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
6117         (sendmsg): Likewise.
6118         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
6119         Likewise.
6120         (sendmsg): Likewise.
6121         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
6122         (sendmsg): Likewise.
6123         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6124         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6125         Remove.
6126         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6127         Likewise.
6128         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6129         Undefine.
6130         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6131         Likewise.
6132         * sysdeps/unix/sysv/linux/kernel-features.h
6133         (__ASSUME_SENDMSG_SYSCALL): Define.
6134         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6135         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6136         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6137         Remove.
6138         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6139         Likewise.
6140         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6141         Undefine.
6142         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6143         Likewise.
6144         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6145         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6146         Remove.
6147         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6148         Likewise.
6149         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6150         Undefine.
6151         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6152         Likewise.
6153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6154         (__ASSUME_SENDMSG_SYSCALL): Undefine.
6155         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6156         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6157         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6158         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6159         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6160         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6161         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6163 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6165         * stdlib/gen-tst-strtod-round.c: Add backslash to
6166         compile command in comment.
6167         (printfp): Remove the literal suffix, and define an infinite
6168         value as INF to avoid expansion clash with INFINITY.
6169         (round_str): Remove the literal suffix.
6170         (round_for_all): Likewise, remove the now duplicate ldbl-64
6171         entry, and remove some magic constants.
6173         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6174         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
6175         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6176         (_CONCAT): New macro.
6177         (CONCAT): Likewise.
6178         (CHOOSE_ld): Likewise.
6179         (CHOOSE_f): Likewise.
6180         (CHOOSE_d): Likewise.
6181         (FTYPE_MEMBER): Likewise.
6182         (BOOL_MEMBER): Likewise.
6183         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6184         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6185         (_XNTRY): Likewise.
6186         (XNTRY): Likewise.
6187         (_ENTRY): Likewise.
6188         (ENTRY): Likewise.
6189         (test_exactness): Generate members via macro.
6190         (test_results): Likewise.
6191         (test): Update members.
6192         (TEST): Redefine using new macros.
6193         (INF): New macro.
6194         (fetestmodes): New structure.
6195         (do_test): Refactor to be type generic.
6196         (test_in_one_mode): Refactor duplicate code into
6197         (GEN_ONE_TEST): New macro.
6199         * stdlib/tst-strtod-round-data.h: Regenerate.
6201         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6202         Extend to pass additional arbitrary parameters to
6203         generators.
6205 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6207         [BZ #15479]
6208         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6209         floating-point state after first floating-point operation on
6210         input.  Restore full floating-point state instead of just rounding
6211         mode.
6212         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6213         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6214         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6215         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6216         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6218         [BZ #15479]
6219         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6220         floating-point state after first floating-point operation on
6221         input.  Restore full floating-point state instead of just rounding
6222         mode.
6223         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6224         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6225         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6226         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6227         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6229 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6231         [BZ #19727]
6232         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6233         valid high surrogate.
6234         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6235         of an utf16 surrogate.
6236         * iconv/gconv_simple.c (BODY): Likewise.
6237         * iconvdata/bug-iconv12.c: New file.
6238         * iconvdata/Makefile (tests): Add bug-iconv12.
6240 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6242         [BZ #19726]
6243         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6244         outptrp in case of an illegal input.
6245         * iconv/tst-iconv6.c: New file.
6246         * iconv/Makefile (tests): Add tst-iconv6.
6248 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6250         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6251         an error in case of a value in range of an utf16 low surrogate.
6253 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6255         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6256         an error in case of a value in range of an utf16 low surrogate.
6258 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6260         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6261         Move to ...
6262         * sysdeps/s390/Makefile: ... here.
6263         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6264         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6265         (BRANCH_ON_COUNT): New define.
6266         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6267         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6268         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6269         run on s390-32, too.
6270         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6271         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6272         run on s390-32, too.
6273         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6274         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6275         run on s390-32, too.
6277 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6279         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6280         etf3eh or new vector loop-variant.
6282 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6284         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6285         etf3eh or new vector loop-variant.
6287 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6289         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6290         or new vector loop-variant.
6292 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6294         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6295         Rename to TR_LOOP and usage of tr instead of troo instruction.
6297 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6299         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6300         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6302 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6304         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6305         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6306         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6307         New override define.
6308         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6310 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6312         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6313         * sysdeps/s390/configure.ac: Add test for S390 vector register
6314         support in gcc.
6315         * sysdeps/s390/configure: Regenerated.
6317 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6319         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6320         Install file from $(objpfx)gconv-modules.
6321         ($(objpfx)gconv-modules): Concatenate architecture specific file
6322         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6323         * sysdeps/s390/gconv-modules: New file.
6324         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6325         Deleted.
6326         ($(objpfx)gconv-modules-s390): Deleted.
6327         (sysdeps-gconv-modules): New variable.
6329 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6331         [BZ #15479]
6332         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6333         of immediate operand to rounding instruction.
6334         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6335         Likewise.
6336         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6337         Likewise.
6338         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6339         Likewise.
6341 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6343         * math/libm-test.inc (MIN_EXP): Directly define as
6344         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6346 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6348         * math/libm-test.inc (MANT_DIG): Directly define as
6349         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6351 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6353         * stdlib/gen-tst-strtod-round.c (main):
6354           Change usage to more closely match the generated
6355           output.  Add usage and compilation instructions.
6356           (string_to_fp): Add and use FILE* parameter as
6357           output target.
6358           (print_fp): Likewise.
6359           (round_str): Likewise.
6360           (round_for_all): Likewise.
6361         * stdlib/tst-strtod-round.c (tests): Move into
6362         * stdlib/tst-strtod-round-data.h: New file.
6364 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6366         [BZ #15479]
6367         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6368         (__round): Do not force "inexact" exception.
6369         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6370         variable.
6371         (__round): Do not force "inexact" exception.
6372         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6373         (__roundf): Do not force "inexact" exception.
6374         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6375         (__roundl): Do not force "inexact" exception.
6376         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6377         (__roundl): Do not force "inexact" exception.
6378         * math/libm-test.inc (round_test_data): Do not allow spurious
6379         "inexact" exceptions.
6381         [BZ #15479]
6382         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6383         exception in comment.
6384         (huge): Remove variable.
6385         (__floor): Do not force "inexact" exception.
6386         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6387         "inexact" exception in comment.
6388         (huge): Remove variable.
6389         (__floor): Do not force "inexact" exception.
6390         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6391         exception in comment.
6392         (huge): Remove variable.
6393         (__floorf): Do not force "inexact" exception.
6394         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6395         exception in comment.
6396         (huge): Remove variable.
6397         (__floorl): Do not force "inexact" exception.
6399         [BZ #15479]
6400         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6401         exception in comment.
6402         (huge): Remove variable.
6403         (__ceil): Do not force "inexact" exception.
6404         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6405         "inexact" exception in comment.
6406         (huge): Remove variable.
6407         (__ceil): Do not force "inexact" exception.
6408         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6409         (__ceilf): Do not force "inexact" exception.
6410         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6411         exception in comment.
6412         (huge): Remove variable.
6413         (__ceill): Do not force "inexact" exception.
6415 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6417         * config.h.in (BIND_NOW): New.
6418         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6419         * configure: Regenerated.
6420         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6421         indirect branch via the GOT slot.
6423 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6425         [BZ #19765]
6426         * sysdeps/s390/mempcpy.S: New File.
6427         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6428         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6429         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6430         Add mempcpy variants.
6431         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6432         (memcpy): Adjust to be usable from mempcpy entry point.
6433         (__memcpy_mvcle): Likewise.
6434         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6435         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6436         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6437         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6438         (__memcpy_z10): Likewise.
6439         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6441 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6443         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6444         Remove __GI_ symbol.
6445         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6446         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6447         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6448         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6449         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6450         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6452 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6454         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6455         Use cghi instead of chi to compare 64bit value.
6457 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6459         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6460         Jump to 1MB check before executing mvc-loop.
6462 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6464         [BZ #6527]
6465         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6466         unconditionally.
6467         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6469 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6471         * stdlib/tst-strtod6.c (do_test): Use new type generic
6472         invocation of the test function.
6473         (test): Refactor into ...
6474         (TEST_STRTOD): New macro base function.
6476 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6478         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6479         (TEST_STRTOD): New macro.
6480         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6482 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6484         * stdlib/tst-strtod6.c (do_test): Use new type generic
6485         invocation of the test function.
6486         (test): Refactor into ...
6487         (TEST_STRTOD): New macro base function.
6489 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6491         CVE-2016-4429
6492         [BZ #20112]
6493         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6494         payload.
6496 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6498         [BZ #20111]
6499         * bits/sockaddr.h (_SS_SIZE): Define.
6500         * bits/socket.h (_SS_SIZE): Remove.
6501         (_SS_PADSIZE): Adjust to account for all padding.
6502         (struct sockaddr_storage): Update comment.  Avoid implicit
6503         padding.
6504         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6505         (_SS_PADSIZE): Adjust to account for all padding.
6506         (struct sockaddr_storage): Update comment.  Avoid implicit
6507         padding.
6508         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6509         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6510         (_SS_PADSIZE): Adjust to account for all padding.
6511         (struct sockaddr_storage): Update comment.  Avoid implicit
6512         padding.
6513         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6514         __SS_SIZE is 126 in this version.
6515         * inet/tst-sockaddr.c: New file.
6516         * inet/Makefile (tests): Add tst-sockaddr.c
6517         (tst-sockaddr.c): Compile with non-strict aliasing.
6519 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6521         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6522         [XPG3 || XPG4].
6523         (NL_ARGMAX): Also expect for [XPG3].
6524         (NL_LANGMAX): Likewise.
6525         (NL_MSGMAX): Likewise.
6526         (NL_NMAX): Likewise.
6527         (NL_SETMAX): Likewise.
6528         (NL_TEXTMAX): Likewise.
6529         (NZERO): Likewise.
6530         (TMP_MAX): Likewise.
6531         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6532         variable.
6534         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6535         (PF_MAX): Update value.
6536         (AF_KCM): New macro.
6537         (SOL_NETBEUI): Likewise.
6538         (SOL_LLC): Likewise.
6539         (SOL_DCCP): Likewise.
6540         (SOL_NETLINK): Likewise.
6541         (SOL_TIPC): Likewise.
6542         (SOL_RXRPC): Likewise.
6543         (SOL_PPPOL2TP): Likewise.
6544         (SOL_BLUETOOTH): Likewise.
6545         (SOL_PNPIPE): Likewise.
6546         (SOL_RDS): Likewise.
6547         (SOL_IUCV): Likewise.
6548         (SOL_CAIF): Likewise.
6549         (SOL_ALG): Likewise.
6550         (SOL_NFC): Likewise.
6551         (SOL_KCM): Likewise.
6552         (MSG_BATCH): New enum value and macro.
6554 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6556         [BZ #18185]
6557         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6558         sharing L2 cache to 2 for Knights Landing.
6560 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6562         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6563         (FTW_DP): Do not expect for [XPG3 || XPG4].
6564         (FTW_SL): Do not expect for [XPG3].
6565         (FTW_SLN): Likewise.
6566         (FTW_PHYS): Likewise.
6567         (FTW_MOUNT): Likewise.
6568         (FTW_DEPTH): Likewise.
6569         (FTW_CHDIR): Likewise.
6570         (nftw): Likewise.
6571         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6572         variable.
6574 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6576         * manual/errno.texi: Fix various typos & grammar errors.
6578 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6580         * manual/intro.texi: Fix duplicated typo.
6582 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6584         [BZ #13304]
6585         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6586         <float.h>, <math_private.h> and <stdlib.h>.
6587         (add_split): New function.
6588         (mul_split): Likewise.
6589         (ext_val): New typedef.
6590         (store_ext_val): New function.
6591         (mul_ext_val): New function.
6592         (compare): New function.
6593         (add_split_ext): New function.
6594         (__fmal): After checking for Inf, NaN and zero, compute result as
6595         an exact sum of scaled double values in round-to-nearest before
6596         adding those up and adjusting for other rounding modes.
6597         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6598         tests of fma.
6599         * math/auto-libm-test-out: Regenerated.
6601 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6603         [BZ #20119]
6604         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6605         processor level type mask for CPUID with EAX == 11.
6607 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6609         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6610         logical threads if the HTT bit is 0.
6611         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6612         (index_cpu_HTT): Likewise.
6613         (reg_HTT): Likewise.
6615 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6617         [BZ #20115]
6618         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6619         Remove alignments on jump targets.
6621 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6623         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6624         (getpwent): Likewise.
6625         (setpwent): Likewise.
6626         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6627         variable.
6629         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6630         (remque): Likewise.
6631         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6632         variable.
6634 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6636         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6637         not being tested.
6639 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6641         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6642         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6643         call.
6644         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6645         (__condvar_cleanup1): Likewise.
6647 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6649         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6650         New
6651         (__pthread_unwind): Renamed to ...
6652         (PTHREAD_UNWIND): This.
6653         (__pthread_enable_asynccancel): Replace
6654         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6656 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6658         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6659         (CLONE_NEWCGROUP): New macro.
6661         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6662         (Q_GETNEXTQUOTA): New macro.
6664 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6666         [BZ #19907]
6667         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6668         buffer updated by the previous run.
6669         * string/test-memcpy.c (do_one_test): Likewise.
6670         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6671         * string/test-memmove.c (do_one_test): Likewise.
6673 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6675         [BZ #20094]
6676         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6677         not [__USE_XOPEN].
6678         (unlockpt): Likewise.
6679         (ptsname): Likewise.
6680         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6681         variable.
6683         [BZ #20076]
6684         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6685         instead of [__USE_UNIX98].
6686         (S_ISSOCK): Likewise.
6687         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6688         variable.
6690         [BZ #20074]
6691         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6692         [__USE_POSIX].
6693         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6694         variable.
6696         [BZ #20051]
6697         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6698         (ttyslot): Do not declare.
6699         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6700         (ttyslot): New prototype.
6701         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6702         variable.
6703         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6705 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6707         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6709 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6711         Fix race condition in tst-mallocfork2, use fewer resources.
6712         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6713         to current process group.
6714         (signal_sender): Yield in the non-sleeping case.
6716 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6718         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6719         (ecvt): Likewise.
6720         (fcvt): Likewise.
6721         (gcvt): Likewise.
6722         (getsubopt): Likewise.
6723         (grantpt): Likewise.
6724         (initstate): Likewise.
6725         (l64a): Likewise.
6726         (mktemp): Likewise.
6727         (mkstemp): Likewise.
6728         (ptsname): Likewise.
6729         (random): Likewise.
6730         (realpath): Likewise.
6731         (setstate): Likewise.
6732         (srandom): Likewise.
6733         (ttyslot): Likewise.
6734         (unlockpt): Likewise.
6735         (valloc): Likewise.
6737         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6738         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6739         variable.
6741 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6743         [BZ #20072]
6744         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6745         init_cpu_features only if SHARED is defined.
6746         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6748 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6750         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6751         non-inclusive caches on Intel processors.
6753 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6755         * malloc/malloc.c (dumped_main_arena_start)
6756         (dumped_main_arena_end): New variables.
6757         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6758         (do_check_chunk): Skip dumped fake mmapped chunks.
6759         (munmap_chunk): Likewise.
6760         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6761         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6762         mmapped chunks.
6763         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6764         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6765         and dumped_main_arena_end to cover the dumped heap.
6767 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6769         * conform/data/time.h-data (getdate_err): Do not expect for
6770         [XPG3].
6771         (getdate): Likewise.
6772         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6773         variable.
6775         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6776         (F_ULOCK): Likewise.
6777         (F_TEST): Likewise.
6778         (F_TLOCK): Likewise.
6779         (useconds_t): Likewise.
6780         (intptr_t): Do not expect for [XPG3] or [XPG4].
6781         (brk): Do not expect for [XPG3]
6782         (fchown): Likewise.
6783         (fchdir): Likewise.
6784         (ftruncate): Likewise.
6785         (getdtablesize): Likewise.
6786         (gethostid): Likewise.
6787         (getpagesize): Likewise.
6788         (getpgid): Likewise.
6789         (getsid): Likewise.
6790         (getwd): Likewise.
6791         (lchown): Likewise.
6792         (lockf): Likewise.
6793         (readlink): Likewise.
6794         (sbrk): Likewise.
6795         (setpgrp): Likewise.
6796         (setregid): Likewise.
6797         (setreuid): Likewise.
6798         (symlink): Likewise.
6799         (sync): Likewise.
6800         (truncate): Likewise.
6801         (ualarm): Likewise.
6802         (usleep): Likewise.
6803         (vfork): Likewise.
6804         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6805         variable.
6807         [BZ #20054]
6808         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6809         not [__USE_UNIX98].
6810         * conform/data/unistd.h-data (gethostname): Do not expect for
6811         [XPG3].
6813         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6814         [!POSIX] (S_IFBLK): Likewise.
6815         [!POSIX] (S_IFCHR): Likewise.
6816         [!POSIX] (S_IFIFO): Likewise.
6817         [!POSIX] (S_IFREG): Likewise.
6818         [!POSIX] (S_IFDIR): Likewise.
6819         [!POSIX] (S_IFLNK): Likewise.
6820         [!POSIX] (S_IFSOCK): Likewise.
6821         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6822         variable.
6823         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6825 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6827         * sysdeps/aarch64/memset.S (__memset):
6828         Rewrite of optimized memset.
6830 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6832         [BZ #19703]
6833         Partially async-signal-safe fork for single-threaded processes.
6834         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6835         variable.  Do not acquire and reset/release malloc and libio locks
6836         in single-threaded processes.
6837         * malloc/tst-mallocfork2.c: New file.
6838         * malloc/Makefile (tests): Add it.
6840 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6842         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6843         argument.  Use scratch buffer instead of extend_alloca.
6844         (gethosts): Use scratch buffer instead of extend_alloca.
6845         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6846         extend_alloca.
6847         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6849 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6851         [BZ #20055]
6852         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6853         instead of [__USE_UNIX98].
6854         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6855         [__USE_UNIX98].
6856         * conform/data/termios.h-data (tcgetsid): Do not expect for
6857         [XPG3].
6858         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6859         variable.
6860         (test-xfail-XPG4/termios.h/conform): Likewise.
6862 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6864         Do not use mcheck in localedef.
6865         * locale/programs/localedef.c (turn_on_mcheck)
6866         (__malloc_initialize_hook): Remove.
6868 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6870         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6871         * sysdeps/s390/s390-64/Makefile: Likewise.
6873 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6875         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6876         Remove ifunc-defines.sym.
6877         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6878         Likewise.
6879         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6880         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6881         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6882         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6883         rtld-global-offsets.sym.
6884         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6885         * sysdeps/x86/cpu-features-offsets.sym: This.
6886         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6887         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6889 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6891         [BZ #20073]
6892         * io/sys/stat.h (fchmod): Declare for
6893         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6894         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6895         variable.
6897         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6898         [XPG3] (S_IFSOCK): Likewise.
6899         [XPG3] (S_ISVTX): Likewise.
6900         [XPG3] (S_ISLNK): Likewise.
6901         [XPG3] (S_ISSOCK): Likewise.
6902         [XPG3] (fchmod): Likewise.
6903         [XPG3] (lstat): Likewise.
6904         [XPG3] (mknod): Likewise.
6906         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6907         [XPG3].  Expect type long and XFAIL for [XPG4].
6908         (st_blocks): Likewise.
6910         [BZ #20044]
6911         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6912         (pthread_atfork): New prototype.
6913         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6914         variable.
6916         [BZ #20043]
6917         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6918         prototype.
6920 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6922         [BZ #20017]
6923         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6924         gmtime.
6926 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6928         [BZ #19994]
6929         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6930         flag in _res.options.
6932 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6934         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6935         [XPG3 || XPG4].
6936         (blksize_t): Likewise.
6937         (clockid_t): Likewise.
6938         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6939         variable.
6940         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6942 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6944         * sysdeps/unix/sysv/linux/s390/init-first.c:
6945         Add VDSO_SYMBOL(getcpu).
6946         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6947         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6948         Add VDSO_SYMBOL(getcpu).
6949         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6950         New define HAVE_GETCPU_VSYSCALL.
6951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6953 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6955         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6956         instead of <sysdeps/x86_64/cacheinfo.c>.
6957         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6958         * sysdeps/x86/cacheinfo.c: Here.
6960 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6962         * malloc/malloc-internal.h: Adjust header file guard.
6964 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6966         [BZ #19787]
6967         * inet/getnameinfo.c (check_sprintf_result): New function.
6968         (CHECKED_SNPRINTF): New macro.
6969         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6970         to the host buffer.
6971         (gni_host_local): Use checked_copy to copy the host name.
6972         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6973         (gni_serv_local): Use checked_copy to copy the service name.
6974         (getnameinfo): Remove unnecessary truncation of result buffers.
6976 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6978         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6979         in case of inet_ntop failure.
6981 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6983         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6984         avoid long lines.
6985         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6986         variables.
6987         (gni_host_inet, gni_host_local): Add comment.
6988         (gni_host): Add comment.  Use temporary to avoid long lines.
6990 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6992         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6993         registers specifiers where general purpose registers specifiers should
6994         have been used.
6996 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6998         [BZ #19779]
6999         CVE-2016-1234
7000         Avoid copying names of directory entries.
7001         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
7002         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
7003         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
7004         (struct readdir_result): New type.
7005         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
7006         (GL_READDIR): New macros.
7007         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
7008         (convert_dirent, convert_dirent64): New functions.
7009         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
7010         convert_dirent64.  Adjust references to the readdir result.
7011         * sysdeps/unix/sysv/linux/i386/glob64.c:
7012         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
7013         * posix/bug-glob2.c (LONG_NAME): Define.
7014         (filesystem): Add LONG_NAME.
7015         (my_DIR): Increase the size of room_for_dirent.
7017 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
7019         [BZ #20041]
7020         * misc/sys/select.h (__need_timespec): Only define if
7021         [__USE_XOPEN2K].
7022         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
7023         variable.
7024         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7025         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7026         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7028 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7029             Segher Boessenkool  <segher@gcc.gnu.org>
7031         [BZ #20004]
7032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
7033         (__novec_swapcontext): Add missing load.
7035 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
7037         [BZ #20023]
7038         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
7039         <time.h>.
7040         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
7041         variable.
7042         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7044 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
7047         flags CLONE_VM compare.
7049 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7051         [BZ #20031]
7052         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
7053         completely empty.
7055 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7057         [BZ #19573]
7058         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
7059         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
7060         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
7061         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
7062         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
7063         (hesiod_free_list): Mark as hidden.
7064         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
7065         res_set, res_get.
7066         * hesiod/hesiod.c: Remove unnecessary forward declarations.
7067         (init, __hesiod_res_get, __hesiod_res_set): Remove.
7068         (hesiod_init): Remove obsolete res_ninit call.
7069         (hesiod_end): Do not free resolver state.  Do not invoke callback.
7070         (hesiod_bind): Do not call init.
7071         (get_txt_records): Use res_mkquery, res_send instead of
7072         res_nmkquery, res_nsend.
7073         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
7074         instead of _nss_hesiod_init.
7075         (_nss_hesiod_initgroups_dyn): Likewise.
7076         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
7077         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
7078         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
7080 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7082         * hesiod/hesiod_p.h (DEF_RHS): Remove.
7083         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
7085 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7087         * hesiod/hesiod.h: Remove RCS keyword.
7088         * hesiod/hesiod_p.h: Likewise.
7090         * hesiod/hesiod.c: Likewise.
7092 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
7094         [BZ #12450]
7095         * locale/iso-639.def: Add Samogitian/sgs.
7097 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7099         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
7101         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
7103 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
7104             Carlos O'Donell  <carlos@redhat.com>
7106         [BZ #19072]
7107         * grp/Makefile (headers): Add grp-merge.h
7108         (routines): Add grp-merge.
7109         * grp/getgrgid_r.c: Include grp-merge.h.
7110         (DEEPCOPY_FN): Define.
7111         (MERGE_FN): Define.
7112         * grp/getgrname_r.c: Include grp-merge.h.
7113         (DEEPCOPY_FN): Define.
7114         (MERGE_FN): Define.
7115         * grp/grp-merge.c: New file.
7116         * grp/grp-merge.h: New file.
7117         * include/grp-merge.h: New file.
7118         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
7119         __copy_grp@GLIBC_PRIVATE.
7120         * manual/nss.texi (Actions in the NSS configuration): Describe
7121         return, continue, and merge.
7122         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
7123         (DEEPCOPY_FN): Define.
7124         (MERGE_FN): Define.
7125         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
7126         (DEEPCOPY_FN): Define.
7127         (MERGE_FN): Define.
7128         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
7129         [!MERGE_FN]: Define __merge_einval.
7130         (CHECK_MERGE): Define.
7131         (REENTRANT_NAME): Process merge if do_merge is true.
7132         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
7133         (__nss_getent_r): Likewise.
7134         * nss/nsswitch.c (nss_parse_service_list): Likewise.
7135         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
7137 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7139         [BZ #20012]
7140         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7141         length to calculate the buffer to read.
7142         (fmemopen_write): Set the buffer position based on bytes written.
7143         (fmemopen_seek): Return EINVAL for invalid whence modes.
7145         [BZ #19957]
7146         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7147         tst-getpid2.
7148         (test): Add tst-clone2.
7149         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7150         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7151         pid/tid fields for CLONE_VM.
7152         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7153         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7154         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7155         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7156         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7157         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7158         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7159         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7161         Likewise.
7162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7163         Likewise.
7164         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7165         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7166         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7167         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7168         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7169         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7170         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7171         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7173 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7175         [BZ #19642]
7176         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7177         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7178         (gni_serv_local, gni_serv): New functions extracted from
7179         getnameinfo.
7180         (getnameinfo): Call gni_host and gni_serv to perform the
7181         processing.  Always free scratch buffer.
7183 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7185         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7186         remaining bytes in the dest string, with zeros.
7188 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7190         [BZ #20010]
7191         CVE-2016-3706
7192         * sysdeps/posix/getaddrinfo.c
7193         (convert_hostent_to_gaih_addrtuple): New function.
7194         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7195         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7196         AF_INET data.
7198 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7200         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7201         callback function gl_readdir.
7202         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7203         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7204         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7205         memcpy to copy the name.
7206         * manual/pattern.texi (Calling Glob): Document requirements for
7207         implementations of the gl_readdir callback function.
7208         * manual/examples/mkdirent.c: New example.
7209         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7210         per the manual guidance.
7211         * posix/tst-gnuglob.c (my_readdir): Likewise.
7213 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7215         [BZ #20014]
7216         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7217         not [__USE_POSIX].
7218         (getchar_unlocked): Likewise.
7219         (putc_unlocked): Likewise.
7220         (putchar_unlocked): Likewise.
7221         (flockfile): Likewise.
7222         (ftrylockfile): Likewise.
7223         (funlockfile): Likewise.
7224         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7225         variable.
7226         (test-xfail-XPG4/stdio.h/conform): Likewise.
7228         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7229         Expect constant.
7230         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7231         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7232         variable.
7233         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7234         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7236         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7237         [__USE_LARGEFILE64] (off64_t): Likewise.
7238         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7239         variable.
7241 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7243         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7245 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7247         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7248         * resolv/res_init.c: Likewise.
7249         * resolv/res_mkquery.c: Likewise.
7251 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7253         * resolv/res_init.c (isascii): Do not define.  Use definition in
7254         <ctype.h>.
7255         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7256         (LOG_AUTH): Remove.
7257         (SPRINTF): Remove, adjust caller.
7258         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7260 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7262         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7263         SUNSECURITY conditional.
7264         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7266 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7268         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7269         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7270         Remove BSD-related preprocessor conditionals.
7271         * conf/portability.h: Remove.
7273 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7275         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7276         * resolv/res_data.c: Likewise.
7278 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7280         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7281         * resolv/res_data.c: Remove code conditional on ultrix.
7283 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7285         * resolv/res_init.c (RFC1535): Do not define.  Remove
7286         RFC1535 preprocessor conditionals.
7287         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7288         because there configuration options which make the resolver
7289         behavior different.
7291 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7293         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7294         RESOLVSORT preprocessor conditionals.
7295         * resolv/nss_dns/dns-host.c: Likewise.
7296         * resolv/res_init.c: Likewise.
7298 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7300         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7301         is never defined.
7303 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7305         * inet/inet_lnaof.c: Remove SCSS keyword.
7306         * inet/inet_mkadr.c: Likewise.
7307         * inet/inet_net.c: Likewise.
7308         * inet/inet_netof.c: Likewise.
7309         * inet/rcmd.c: Likewise.
7310         * inet/rexec.c: Likewise.
7311         * inet/ruserpass.c: Likewise.
7313 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7315         * resolv/inet_addr.c: Remove _LIBC conditionals.
7316         * resolv/res_data.c: Likewise.
7317         * resolv/res_init.c: Likewise.
7318         * resolv/res_mkquery.c: Likewise.
7319         * resolv/res_libc.c: Update comment.
7320         * resolv/README: Update.
7322 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7324         * resolv/gethnamaddr.c: Remove SCSS keyword.
7325         * resolv/herror.c: Likewise.
7326         * resolv/inet_addr.c: Likewise.
7327         * resolv/inet_net_ntop.c: Likewise.
7328         * resolv/inet_net_pton.c: Likewise.
7329         * resolv/inet_neta.c: Likewise.
7330         * resolv/inet_ntop.c: Likewise.
7331         * resolv/inet_pton.c: Likewise.
7332         * resolv/ns_date.c: Remove RCS keyword.
7333         * resolv/ns_name.c: Likewise.
7334         * resolv/ns_netint.c: Likewise.
7335         * resolv/ns_parse.c: Likewise.
7336         * resolv/ns_print.c: Likewise.
7337         * resolv/ns_samedomain.c: Likewise.
7338         * resolv/ns_ttl.c: Likewise.
7339         * resolv/nsap_addr.c: Likewise.
7340         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7341         * resolv/res_data.c: Remove RCS keyword.
7342         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7343         * resolv/res_init.c: Likewise.
7344         * resolv/res_mkquery.c: Likewise.
7345         * resolv/res_query.c: Likewise.
7346         * resolv/res_send.c: Likewise.
7348 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7350         * conform/data/stdio.h-data (fdopen): Expect also for
7351         [XPG3 || XPG4].
7353         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7354         (fseeko): Likewise.
7355         (ftello): Likewise.
7356         (ftrylockfile): Likewise.
7357         (funlockfile): Likewise.
7358         (getc_unlocked): Likewise.
7359         (getchar_unlocked): Likewise.
7360         (putc_unlocked): Likewise.
7361         (putchar_unlocked): Likewise.
7363 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7365         [BZ #19868]
7366         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7367         DNS packet syntax checks (which were not needed before).  Skip
7368         over non-PTR records.
7370 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7372         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7373         definition.  Include <stddef.h> instead.
7375 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7377         [BZ #19831]
7378         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7379         function.
7380         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7381         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7383 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7385         [BZ #19862]
7386         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7387         (getanswer_r): Do not call syslog.
7388         (gaih_getanswer_slice): Likewise.
7389         * resolv/gethnamaddr.c (AskedForGot): Remove.
7390         (getanswer): Do not call syslog.
7391         (gethostbyaddr): Likewise.
7393 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7395         * conform/data/signal.h-data (union sigval): Expect also if
7396         [XOPEN2K].
7397         (struct sigevent): Likewise.
7398         (SIGEV_NONE): Likewise.
7399         (SIGEV_SIGNAL): Likewise.
7400         (SIGEV_THREAD): Likewise.
7401         (SIGRTMIN): Likewise.
7402         (SIGRTMAX): Likewise.
7403         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7404         variable.
7405         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7407 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7409         [BZ #19830]
7410         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7411         (gaih_getanswer_slice): Likewise.
7412         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7413         Also check for availability of RR metadata.
7415 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7417         [BZ #19825]
7418         * resolv/res_send.c (send_vc): Remove early *resplen2
7419         initialization.  Set *resplen2 on socket error.  Call
7420         close_and_return_error for other errors.
7422 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7424         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7425         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7426         (SCM_IUCV_TRGCLS): New define.
7428 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7430         [BZ #20005]
7431         * libio/fmemopen.c (fmemopen_write): Update internal position after
7432         write.
7433         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7434         * stdio-common/tst-fmemopen4.c: New file..
7436 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7438         [BZ #19996]
7439         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7440         not [__USE_XOPEN2K].
7441         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7442         variable.
7444         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7445         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7446         variable.
7448         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7449         [__USE_XOPEN2K8].
7450         [__USE_LARGEFILE64] (off64_t): Likewise.
7451         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7452         variable.
7454 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7456         [BZ #19989]
7457         * libio/stdio.h (cuserid): Do not declare if
7458         [__USE_XOPEN2K && !__USE_GNU].
7459         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7460         variable.
7462 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7464         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7465         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7467         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7468         ifunc'ed strcspn.
7469         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7470         [EALIGN]: Removed.
7471         [END]: Likewise
7472         [STRSPN]: Define instead of the above to control symbol name.
7473         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7474         New file.
7475         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7476         Likewise.
7477         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7478         Likewise.
7479         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7480         Likewise.
7481         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7482         [INITIAL_MASK]: New macro.
7483         [STRCSPN]: Likewise.
7484         [UPDATE_MASK]: Likewise.
7485         [USE_AS_STRCSPN]: Lisewise.
7487 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7489         [BZ #19931]
7490         * stdio-common/tst-vfprintf-width-prec.c: New file.
7491         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7492         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7493         (generated): Add mtrace-related files.
7494         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7495         (tst-%-mem.out): New pattern rule, replaces
7496         tst-printf-bz18872-mem.out.
7497         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7498         specifier, deallocate any previously allocated work buffer.
7500 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7502         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7503         Add nop before __startcontext, add explaining comments.
7505 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7507         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7508         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7509         completely different API.
7511         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7512         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7513         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7514         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7515         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7516         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7517         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7518         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7519         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7520         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7522 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7524         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7526 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7528         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7529         when it is the default of 0.
7531 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7533         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7534         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7535         (sysdep_routines): Add new strcasestr targets.
7536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7537         (__libc_ifunc_impl_list): Likewise.
7538         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7539         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7540         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7541         * sysdeps/powerpc/powerpc64/power8/Makefile:
7542         New file to add strcasestr-ppc64 to sysdep_routines.
7543         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7544         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7546 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7548         * benchtests/Makefile (wcsmbs-benchset): Include only for
7549         native builds and runs.
7550         (LOCALES): Likewise.
7551         (bench-build): Build timing-type here instead of the bench
7552         target.  Generate locale only for native builds.
7553         * benchtests/README: Add note for cross-building.
7555         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7557         * benchtests/README: Update README to include instructions on
7558         using bench-build.
7560         * Makefile.in (bench-build): New target.
7561         * Rules (PHONY): Add bench-build target.
7562         * benchtests/Makefile (bench): Depend on bench-build.
7563         (bench-build): New target.
7565 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7567         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7568         profil_reply_port.
7569         (profile_waiter): Do not initialize profil_reply_port.
7570         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7571         frequency instead of tick length in us.
7573 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7575         [BZ #18712]
7576         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7577         (__old_mempcpy_small): Likewise.
7578         (__old_strcpy_small): Likewise.
7579         (__old_stpcpy_small): Likewise.
7580         (__old_strpbrk_c2): Fix compat symbol name.
7581         (__old_strpbrk_c3): Likewise.
7582         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7583         (__mempcpy_small): Remove.
7584         (__strcpy_small): Remove.
7585         (__stpcpy_small): Remove.
7587 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7589         [BZ #19400]
7590         * locale/iso-639.def: Add the Talossan/tzl language.
7592 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7594         [BZ #16983]
7595         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7596         comment.  Add "ln" to strchr check on postal_fmt.
7598 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7600         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7601         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7602         tel_dom_fmt.
7604 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7606         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7607         (sysdep_routines): Added __strlen_power8.
7608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7609         __strlen_power8 entry.
7610         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7611         Implementation for POWER8.
7612         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7613         for __strlen_power8.
7614         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7615         Implementation for POWER8.
7617 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7619         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7621 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7623         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7624         Goldmont and Airmont processors.
7626 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7628         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7629         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7630         (__STRING2_SMALL_GET32): Remove.
7631         (memset): Remove.
7632         (__memset_1): Remove.
7633         (__memset_gc): Remove.
7634         (__mempcpy): Remove.
7635         (mempcpy): Remove.
7636         (__mempcpy_args): Remove.
7637         (strchr): Remove.
7638         (strcpy): Remove.
7639         (strcpy_args): Remove.
7640         (__stpcpy_args): Remove.
7641         (__strcmp_cc): Remove.
7642         (__strcmp_gc): Remove.
7643         (strstr): Remove.
7645 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7647         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7648         * nis/nis_call.c (nis_server_cache_add): Likewise.
7650 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7652         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7654 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7656         * malloc/arena.c (__malloc_fork_lock_parent)
7657         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7658         internal_function attribute.
7660 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7662         * stdio-common/printf_fp.c (__printf_fp_l):
7663         Rename ___printf_fp_l to __printf_fp_l and
7664         remove strong alias. Use libc_hidden_def instead
7665         of ldbl_hidden_def macro.
7667 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7669         Remove malloc hooks from fork handler.  They are no longer needed
7670         because malloc runs right before fork, and no malloc calls from
7671         other fork handlers are not possible anymore.
7672         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7673         declarations.
7674         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7675         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7676         (atfork_recursive_cntr): Remove.
7677         (__malloc_fork_lock_parent): Do not override malloc hooks and
7678         thread_arena.
7679         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7680         thread_arena.
7681         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7682         thread_arena instead of save_arena.
7684 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7686         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7687         (thread_atfork, thread_atfork_static): Remove.
7688         * sysdeps/mach/hurd/malloc-machine.h:
7689         (thread_atfork, thread_atfork_static): Remove.
7691 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7693         [BZ #19431]
7694         Run the malloc fork handler as late as possible to avoid deadlocks.
7695         * malloc/malloc-internal.h: New file.
7696         * malloc/malloc.c: Include it.
7697         * malloc/arena.c (ATFORK_MEM): Remove.
7698         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7699         Update comment.
7700         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7701         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7702         Remove outdated comment.
7703         (ptmalloc_init): Do not call thread_atfork.  Remove
7704         thread_atfork_static.
7705         * malloc/tst-malloc-fork-deadlock.c: New file.
7706         * Makefile (tests): Add tst-malloc-fork-deadlock.
7707         (tst-malloc-fork-deadlock): Link against libpthread.
7708         * manual/memory.texi (Aligned Memory Blocks): Update safety
7709         annotation comments.
7710         * sysdeps/nptl/fork.c (__libc_fork): Call
7711         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7712         __malloc_fork_unlock_child.
7713         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7715 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7717         [BZ #19613]
7718         Remove union wait.
7719         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7720         (w_stopsig, w_stopval): Remove.
7721         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7722         stat_loc argument.
7723         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7724         (__WAIT_STATUS_DEFN): Remove.
7725         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7726         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7727         (wait, wait3, wait4): Use int * for the stat_loc argument.
7728         * posix/wait.c (__wait): Likewise.
7729         * posix/wait3.c (__wait3): Likewise.
7730         * posix/wait4.c (__wait4): Likewise.
7731         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7732         (__WAIT_STATUS_DEFN): Remove.
7733         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7734         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7735         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7736         argument.
7737         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7738         * sysdeps/posix/wait3.c (__wait3): Likewise.
7739         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7740         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7741         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7742         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7743         stat_loc argument.
7744         * manual/process.texi (BSD Wait Functions): Remove union wait.
7746 2016-04-13  Andreas Schwab  <schwab@suse.de>
7748         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7749         (test-extras): Add tst-tlsalign-vars.
7750         * math/Makefile: Wrap long lines.
7751         (libm-vec-test-wrappers): Define.
7752         (test-extras): Add $(libm-vec-test-wrappers).
7753         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7754         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7755         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7756         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7757         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7758         (extra-test-objs): Add corresponding objects.
7760 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7762         [BZ #19928]
7763         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7764         New.
7765         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7766         times of shared cache size.
7767         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7768         (VMOVNT): New.
7769         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7770         (VMOVNT): Likewise.
7771         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7772         (VMOVNT): Likewise.
7773         (VMOVU): Changed to movups for smaller code sizes.
7774         (VMOVA): Changed to movaps for smaller code sizes.
7775         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7776         comments.
7777         (PREFETCH): New.
7778         (PREFETCH_SIZE): Likewise.
7779         (PREFETCHED_LOAD_SIZE): Likewise.
7780         (PREFETCH_ONE_SET): Likewise.
7781         Rewrite to use forward and backward loops, which move 4 vector
7782         registers at a time, to support overlapping addresses and use
7783         non temporal store if size is above the threshold and there is
7784         no overlap between destination and source.
7786 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7788         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7789         Include dl-vdso.
7790         * sysdeps/unix/sysv/linux/mips/Versions: Add
7791         __vdso_clock_gettime.
7792         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7793         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7794         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7795         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7796         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7797         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7798         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7799         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7800         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7802 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7804         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7805         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7806         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7807         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7808         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7809         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7812         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7814         syscalls generation.
7815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7816         [__NR_pwrite64] (__NR_write): Remove define.
7817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7818         [__NR_pwrite64] (__NR_write): Remove define.
7819         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7820         Remove define.
7821         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7822         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7823         Remove define.
7824         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7825         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7826         Linux implementation as base.
7827         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7829         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7830         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7831         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7832         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7835         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7837         syscall generation.
7838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7839         [__NR_pread64] (__NR_pread): Remove define.
7840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7841         [__NR_pread64] (__NR_pread): Likewise.
7842         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7843         define.
7844         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7845         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7846         Remove define.
7847         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7848         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7849         Linux implementation as base.
7850         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7851         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7852         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7854         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7855         definition.
7856         (__ALIGNMENT_COUNT): Likewise.
7857         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7858         (__ALIGNMENT_COUNT): Likewise.
7859         (SYSCALL_LL): New define.
7860         (SYSCALL_LL64): Likewise.
7861         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7862         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7863         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7864         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7866         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7867         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7868         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7869         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7870         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7871         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7873 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7875         [BZ #19865]
7876         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7877         original buffer before retry.
7879 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7881         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7882         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7883         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7884         GLRO(dl_auxv) list.
7885         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7886         including <ldsodefs.h>.
7887         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7889 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7891         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7892         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7893         $(CPPFLAGS).
7895 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7897         [BZ #17950]
7898         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7899         Add -mfpmath=387.
7901 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7903         * sysdeps/i386/configure.ac: Change == to = when calling test.
7904         * sysdeps/x86_64/configure.ac: Likewise.
7905         * sysdeps/i386/configure: Regenerated.
7906         * sysdeps/x86_64/configure: Likewise.
7908 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7910         [BZ #16137]
7911         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7912         * benchtests/bench-strcoll.c (input_files): Likewise.
7913         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7914         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7915         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7917 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7919         [BZ #19929]
7920         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7921         [__USE_XOPEN2K8 && !__USE_GNU].
7922         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7923         variable.
7925         [BZ #19925]
7926         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7927         define if [!__USE_MISC && __USE_XOPEN2K].
7928         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7929         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7930         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7931         Likewise.
7932         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7933         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7934         variable.
7935         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7937 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7939         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7940         (sysdep_routines): Add new strspn targets.
7941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7942         (__libc_ifunc_impl_list): Add strspn.
7943         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7944         New file.
7945         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7946         Likewise.
7947         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7948         Likewise.
7949         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7950         Likewise.
7952 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7954         * misc/hsearch_r.c: Include <limits.h>.
7956 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7958         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7960 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7962         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7963         (MEMCPY_SYMBOL): New.
7964         (MEMPCPY_SYMBOL): Likewise.
7965         (MEMMOVE_CHK_SYMBOL): Likewise.
7966         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7967         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7968         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7969         Provide alias for memcpy in libc.a and ld.so.
7971 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7973         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7974         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7975         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7976         Disabled fro now.
7977         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7978         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7980 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7982         * benchtests/Makefile (string-benchset): Add memcpy-large,
7983         memmove-large and memset-large.
7984         * benchtests/bench-memcpy-large.c: New file.
7985         * benchtests/bench-memmove-large.c: Likewise.
7986         * benchtests/bench-memmove-large.c: Likewise.
7987         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7989 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7991         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7992         32-bit displacement to avoid long nop between instructions.
7994 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7996         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7997         a comment on VMOVU and VMOVA.
7999 2016-04-04  Florian Weimer  <fweimer@redhat.com>
8001         [BZ #19633]
8002         Use specified locale for number formatting in strfmon_l.
8003         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
8004         (__nl_lookup_word): New inline functions.
8005         * include/printf.h (__print_fp_l): Declare.
8006         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
8007         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
8008         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
8009         (___printf_fp): New function.
8010         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
8011         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
8012         * stdlib/tst-strfmon_l.c (do_test): New test.
8013         * stdlib/Makefile (tests): Add kt.
8014         (LOCALES): Build additional locales.
8015         (tst-strfmon_l.out): Require locales.
8017 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8019         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
8020         if not in libc.
8021         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8022         Likewise.
8023         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
8024         Likewise.
8025         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8026         Likewise.
8028 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8030         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8031         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
8032         with unaligned_erms.
8033         (__memmove_erms): Skip if source == destination.
8034         (__memmove_unaligned_erms): Don't check source == destination
8035         first.
8037 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8039         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8040         bit_arch_Fast_Copy_Backward for Intel Core proessors.
8042 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8044         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
8045         * string/strspn.c (strspn): Likewise.
8047 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8049         * benchtests/bench-memset.c (do_test): Support 64-byte
8050         alignment.
8051         (test_main): Test 64-byte alignment.
8053 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8055         * benchtests/bench-memmove.c (test_main): Test 64-byte
8056         alignment.
8058 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8060         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
8062 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8064         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
8065         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
8066         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
8068         * string/strpbrk.c (strpbrk): Rewrite function.
8069         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
8070         (__strpbrk_c2): Likewise.
8071         (__strpbrk_c3): Likewise.
8072         * string/string-inlines.c
8073         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
8074         Likewise.
8075         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
8076         Likewise.
8078         * string/strspn.c (strcspn): Rewrite function.
8079         * string/bits/string2.h (strspn): Use __builtin_strcspn.
8080         (__strspn_c1): Remove inline function.
8081         (__strspn_c2): Likewise.
8082         (__strspn_c3): Likewise.
8083         * string/string-inlines.c
8084         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
8085         compatibility symbol.
8086         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
8087         Likewise.
8088         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
8089         Likewise.
8090         * string/string-inlines.c: Include generic version.
8092 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
8093             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8095         * string/Version (libc): Add GLIBC_2.24.
8096         * string/strcspn.c (strcspn): Rewrite function.
8097         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
8098         (__strcspn_c1): Remove inline function.
8099         (__strcspn_c2): Likewise.
8100         (__strcspn_c3): Likewise.
8101         * string/string-inline.c
8102         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
8103         compatibility symbol.
8104         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
8105         Likewise.
8106         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
8107         Likewise.
8108         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
8110 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8112         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8113         Use ahi instead of aghi to adjust stack pointer.
8115 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8117         [BZ #19853]
8118         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
8119         TEST to take significant digits as second parameter.
8120         [TEST]: Redefine in terms of TEST_N taking 30
8121         significant digits.
8122         (do_test): Add test case to demonstrate precision
8123         failure in the ldbl-128ibm printf.
8124         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
8125         (__mpn_extract_long_double): Carry 7 extra intermediate
8126         bits of precision to aide computing difference when
8127         signs differ.
8129 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8131         [BZ #19881]
8132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8133         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
8134         memset-avx512-unaligned-erms.
8135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8136         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
8137         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8138         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8139         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8140         __memset_sse2_unaligned_erms, __memset_erms,
8141         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8142         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8143         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8144         file.
8145         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8146         Likewise.
8147         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8148         Likewise.
8149         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8150         Likewise.
8152 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8154         [BZ #19776]
8155         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8156         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
8157         memmove-avx512-unaligned-erms.
8158         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8159         (__libc_ifunc_impl_list): Test
8160         __memmove_chk_avx512_unaligned_2,
8161         __memmove_chk_avx512_unaligned_erms,
8162         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8163         __memmove_chk_sse2_unaligned_2,
8164         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
8165         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
8166         __memmove_avx512_unaligned_erms, __memmove_erms,
8167         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
8168         __memcpy_chk_avx512_unaligned_2,
8169         __memcpy_chk_avx512_unaligned_erms,
8170         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8171         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8172         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8173         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8174         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8175         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8176         __mempcpy_chk_avx512_unaligned_erms,
8177         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8178         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8179         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8180         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8181         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8182         __mempcpy_erms.
8183         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8184         file.
8185         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8186         Likwise.
8187         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8188         Likwise.
8189         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8190         Likwise.
8192 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8194         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8195         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8196         (La_s390_64_regs): Likewise.
8197         (La_s390_32_retval): Append vector register lrv_v24.
8198         (La_s390_64_retval): Likeweise.
8199         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8200         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8201         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8202         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8204 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8206         [BZ #19916]
8207         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8208         to create a non-vector/vector version for _dl_runtime_resolve and
8209         _dl_runtime_profile. Move implementation to ...
8210         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8211         (_dl_runtime_resolve) Save and restore fpr/vrs.
8212         (_dl_runtime_profile) Save and restore vrs and fix some issues
8213         if _dl_call_pltexit is called.
8214         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8215         Choose the correct resolver function if running on a machine with vx.
8216         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8217         to create a non-vector/vector version for _dl_runtime_resolve and
8218         _dl_runtime_profile. Move implementation to ...
8219         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8220         (_dl_runtime_resolve) Save and restore fpr/vrs.
8221         (_dl_runtime_profile) Save and restore vrs and fix some issues
8222         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8223         Choose the correct resolver function if running on a machine with vx.
8225 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8227         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8229 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8231         [BZ #19509]
8232         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8233         skip_map != NULL.
8234         * elf/tst-dlsym-error.c: New file.
8235         * elf/Makefile (tests): Add tst-dlsym-error.
8236         (tst-dlsym-error): Link against libdl.
8238 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8240         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8241         (__ASSUME_FUTIMESAT): Remove macro.
8242         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8244 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8246         [BZ #19879]
8247         CVE-2016-3075
8248         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8249         copy name.
8251 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8253         [BZ #19837]
8254         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8255         error if parse_line fails.
8257 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8259         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8260         (index_cpu_ERMS): Likewise.
8261         (reg_ERMS): Likewise.
8263 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8265         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8266         PER_LINUX_FDPIC): Add.
8268 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8271         memcpy-avx512-no-vzeroupper.
8272         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8273         to ...
8274         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8275         (MEMCPY): Don't define.
8276         (MEMCPY_CHK): Likewise.
8277         (MEMPCPY): Likewise.
8278         (MEMPCPY_CHK): Likewise.
8279         (MEMPCPY_CHK): Renamed to ...
8280         (__mempcpy_chk_avx512_no_vzeroupper): This.
8281         (MEMPCPY_CHK): Renamed to ...
8282         (__mempcpy_chk_avx512_no_vzeroupper): This.
8283         (MEMCPY_CHK): Renamed to ...
8284         (__memmove_chk_avx512_no_vzeroupper): This.
8285         (MEMCPY): Renamed to ...
8286         (__memmove_avx512_no_vzeroupper): This.
8287         (__memcpy_avx512_no_vzeroupper): New alias.
8288         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8290 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8292         [BZ #18858]
8293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8294         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8295         and mempcpy-avx512-no-vzeroupper.
8296         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8297         New.
8298         (MEMPCPY): Likewise.
8299         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8300         (MEMPCPY_CHK): New.
8301         (MEMPCPY): Likewise.
8302         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8303         (MEMPCPY): Likewise.
8304         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8305         (MEMPCPY): Likewise.
8306         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8307         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8308         Likewise.
8309         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8310         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8312 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8313              Amit Pawar  <Amit.Pawar@amd.com>
8315         [BZ #19583]
8316         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8317         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8318         processors.  Set Fast_Copy_Backward for AMD Excavator
8319         processors.
8320         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8321         New.
8322         (index_arch_Fast_Unaligned_Copy): Likewise.
8323         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8324         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8326 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8328         [BZ #19791]
8329         * resolv/res_send.c (close_and_return_error): New function.
8330         (send_dg): Initialize *resplen2 after reopen failure.  Call
8331         close_and_return_error for error returns.  On error paths without
8332         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8333         successful return.
8335 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8337         [BZ# 19860]
8338         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8339         zero if the compiler does not provide the AVX512F bit.
8341 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8343         [BZ #19848]
8344         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8345         from 8 to 4.
8346         (__ieee754_powl): Compare integer exponent against 4 not 8.
8347         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8348         from 8 to 4.
8349         (__ieee754_powl): Compare integer exponent against 4 not 8.
8350         * math/auto-libm-test-in: Add more tests of pow.
8351         * math/auto-libm-test-out: Regenerated.
8352         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8355 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8357         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8358         Make code unconditional.
8359         [!__NR_utimensat]: Remove conditional code.
8360         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8361         Make code unconditional.
8362         [!__NR_utimensat]: Remove conditional code.
8363         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8364         Make code unconditional.
8365         [!__NR_utimensat]: Remove conditional code.
8367 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8369         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8370         Make code unconditional.
8372 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8374         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8375         call-clobbered %eax on retry path.
8376         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8378 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8380         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8381         Don't set %rcx twice before "rep movsb".
8383 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8385         [BZ #19583]
8386         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8387         inline.  Check family before setting family, model and
8388         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8389         bits here.
8390         (init_cpu_features): Replace HAS_CPU_FEATURE and
8391         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8392         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8393         for Intel processors with usable AVX2.  Call get_common_indeces
8394         for other processors with family == NULL.
8395         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8396         (CPU_FEATURES_ARCH_P): Likewise.
8397         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8398         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8400 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8402         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8403         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8404         $(shared-thread-library) instead of hardcoding the path to libpthread.
8406 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8408         * sysdeps/unix/sysv/linux/kernel-features.h
8409         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8410         * sysdeps/unix/sysv/linux/getdents.c
8411         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8412         [!have_no_getdents64_defined]: Likewise.
8413         (__GETDENTS): Remove __have_no_getdents64 conditional.
8415 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8417         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8418         Remove macro.
8419         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8420         <kernel-features.h>.
8421         (signalfd) [__NR_signalfd4]: Make code unconditional.
8422         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8424 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8426         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8427         style.
8429 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8431         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8432         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8433         __pthread_unwind.
8434         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8435         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8436         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8437         (__condvar_cleanup1): Likewise.
8439 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8441         [BZ #19822]
8442         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8443         move it to the final $@ location.
8445 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8447         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8448         access where posix_spawn success and pid argument is null.
8449         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8450         success case.
8452 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8454         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8456         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8458         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8459         and __fcntl.
8460         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8461         __fcntl only.
8462         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8463         adding attribute_hidden to __open and __fcntl.
8465         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8466         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8467         depend on libc-modules.h,
8468         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8470 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8472         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8473         Remove macro.
8474         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8475         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8476         entry.
8478         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8479         Remove macro.
8480         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8481         include <kernel-features.h>.
8482         [!__ASSUME_FALLOCATE]: Remove conditional code.
8483         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8485 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8487         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8488         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8489         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8490         (_ZGVdN4v_cos_avx2): Likewise.
8491         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8492         (_ZGVdN4v_cos): Likewise.
8493         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8494         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8495         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8496         (_ZGVdN4v_exp_avx2): Likewise.
8497         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8498         (_ZGVdN4v_exp): Likewise.
8499         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8500         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8501         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8502         (_ZGVdN4v_log_avx2): Likewise.
8503         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8504         (_ZGVdN4v_log): Likewise.
8505         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8506         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8507         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8508         (_ZGVdN4vv_pow_avx2): Likewise.
8509         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8510         (_ZGVdN4vv_pow): Likewise.
8511         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8512         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8513         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8514         (_ZGVdN4v_sin_avx2): Likewise.
8515         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8516         (_ZGVdN4v_sin): Likewise.
8517         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8518         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8519         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8520         (_ZGVdN4vvv_sincos_avx2): Likewise.
8521         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8522         (_ZGVdN4vvv_sincos): Likewise.
8523         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8524         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8525         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8526         (_ZGVbN4v_cosf_sse4): Likewise.
8527         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8528         (_ZGVdN8v_cosf_avx2): Likewise.
8529         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8530         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8531         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8532         (_ZGVbN4v_expf_sse4): Likewise.
8533         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8534         (_ZGVdN8v_expf_avx2): Likewise.
8535         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8536         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8537         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8538         (_ZGVbN4v_logf_sse4): Likewise.
8539         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8540         (_ZGVdN8v_logf_avx2): Likewise.
8541         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8542         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8543         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8544         (_ZGVbN4vv_powf_sse4): Likewise.
8545         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8546         (_ZGVdN8vv_powf_avx2): Likewise.
8547         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8548         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8549         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8550         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8552         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8553         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8554         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8555         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8556         (_ZGVbN4v_sinf_sse4): Likewise.
8557         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8558         (_ZGVdN8v_sinf_avx2): Likewise.
8559         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8560         Use JUMPTARGET to call callee.
8561         (WRAPPER_IMPL_SSE2_ff): Likewise.
8562         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8563         (WRAPPER_IMPL_AVX): Likewise.
8564         (WRAPPER_IMPL_AVX_ff): Likewise.
8565         (WRAPPER_IMPL_AVX_fFF): Likewise.
8566         (WRAPPER_IMPL_AVX512): Likewise.
8567         (WRAPPER_IMPL_AVX512_ff): Likewise.
8568         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8569         Likewise.
8570         (WRAPPER_IMPL_SSE2_ff): Likewise.
8571         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8572         (WRAPPER_IMPL_AVX): Likewise.
8573         (WRAPPER_IMPL_AVX_ff): Likewise.
8574         (WRAPPER_IMPL_AVX_fFF): Likewise.
8575         (WRAPPER_IMPL_AVX512): Likewise.
8576         (WRAPPER_IMPL_AVX512_ff): Likewise.
8577         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8579 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8581         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8582         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8583         qualifier.
8584         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8585         internal_function qualifiers.
8587 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8589         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8590         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8591         * math/atest-exp.c (exp_mpn): Mark chk unused.
8592         * math/atest-exp2.c (exp_mpn): Likwise.
8593         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8594         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8596 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8598         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8599         Remove macro.
8600         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8601         <kernel-features.h>.
8602         [__NR_ppoll]: Make code unconditional.
8603         [!__ASSUME_PPOLL]: Remove conditional code.
8605         * sysdeps/unix/sysv/linux/kernel-features.h
8606         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8607         (__ASSUME_ACCEPT4): Likewise.
8608         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8609         Define.
8610         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8611         Likewise.
8612         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8613         Likewise.
8614         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8615         Likewise.
8616         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8617         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8618         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8619         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8620         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8621         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8622         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8623         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8624         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8625         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8626         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8627         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8628         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8629         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8630         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8631         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8632         Likewise.
8633         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8634         Likewise.
8635         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8636         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8637         0x040300].
8638         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8639         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8640         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8641         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8642         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8643         0x030300].
8644         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8645         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8646         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8647         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8648         0x040300].
8649         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8650         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8652         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8653         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8654         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8655         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8656         0x030300].
8657         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8658         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8659         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8660         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8661         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8662         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8663         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8664         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8665         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8666         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8667         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8668         0x040300].
8669         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8670         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8671         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8672         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8673         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8674         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8675         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8676         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8677         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8678         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8679         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8680         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8682         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8683         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8684         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8685         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8686         Likewise.
8687         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8688         Likewise.
8690 2016-03-15  Andreas Schwab  <schwab@suse.de>
8692         [BZ #19257]
8693         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8694         statp->_u._ext.nscount as loop count.
8696 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8698         * math/test-signgam-finite-c99.c: Also #undef
8699         __LIBC_INTERNAL_MATH_INLINES.
8700         * math/test-signgam-main.c: Likewise.
8702 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8704         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8705         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8706         (MADV_FREE): Likewise.
8707         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8708         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8709         EPOLLEXCLUSIVE.
8711 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8713         * timezone/README: Remove mention of checktab.awk. Mention wiki
8714         SharedSourceFiles.
8716 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8718         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8719         WUNTRACED.
8721 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8723         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8724         order to match the type of p when calling atomic_exchange_acq().
8726 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8728         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8729         cfi_offset calls.
8730         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8731         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8732         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8733         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8734         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8736 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8738         * timezone/checktab.awk: Removed.
8740 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8742         * manual/math.texi (Errors in Math Functions): Document relaxed
8743         accuracy goals for IBM long double.
8744         * math/libm-test.inc (test_exceptions): Always allow spurious
8745         "underflow" and "inexact" exceptions for IBM long double.
8747 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8749         [BZ #19762]
8750         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8751         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8752         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8753         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8754         (bit_arch_*): This for feature array.
8755         (bit_*): Renamed to ...
8756         (bit_cpu_*): This for cpu array.
8757         (index_*): Renamed to ...
8758         (index_arch_*): This for feature array.
8759         (index_*): Renamed to ...
8760         (index_cpu_*): This for cpu array.
8761         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8762         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8763         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8764         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8765         bit_##name with index_cpu_##name and bit_cpu_##name.
8766         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8767         bit_##name with index_arch_##name and bit_arch_##name.
8769 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8771         [BZ #19792]
8772         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8773         Terminate FDE before return label.
8775 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8777         [BZ #19790]
8778         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8779         (rintl): Define as macro.
8780         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8781         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8782         of fesetround.  Ensure results are evaluated before end of scope.
8783         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8784         USE_AS_NEARBYINTL and include s_rintl.c.
8785         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8786         Disable exception traps in new environment.
8787         (libc_feholdsetround_ppc_ctx): Likewise.
8789 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8791         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8792         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8793         (tst_audit10_aux) [__AVX512F__]: ... here.
8795 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8797         * include/sys/auxv.h: New file.
8799 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8801         [BZ #19759]
8802         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8804 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8806         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8807         operand modifier.
8808         (feclearexcept): Likewise.
8810 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8812         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8813         to reflect the entire 32-bit HWCAP.
8814         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8815         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8817 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8819         [BZ #19783]
8820         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8821         $(test-via-rtld-prefix).
8822         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8824 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8826         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8827         union wait.  Report any non-zero exit status as error.
8829 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8831         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8832         configured with --enable-hardcoded-path-in-tests.
8834 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8836         [BZ #19677]
8837         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8838         (__ieee754_remainderl): Put zero low parts in canonical form.
8839         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8840         file.  Based on
8841         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8842         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8843         with wrapper round test-fmodrem-ldbl-128ibm.c.
8844         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8845         file.
8846         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8847         Likewise.
8848         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8849         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8851 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8853         [BZ #19610]
8854         * elf/ldconfig.c (opt_link): Update comment.
8855         (options): Update help string for option -X.
8856         (search_dir): Unlink stale symbolic link only if updating symbolic
8857         links.
8858         * elf/tst-ldconfig-X.sh: New file.
8859         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8860         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8862 2016-03-07  Andreas Schwab  <schwab@suse.de>
8864         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8865         needed arguments.
8867 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8869         [BZ #15333]
8870         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8871         to lstat64.
8873 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8875         * libio/filedoalloc.c (isatty): Remove.
8876         (local_isatty): Add comment.  Call __isatty directly.
8877         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8878         * libio/wfiledoalloc.c (isatty): Remove.
8879         (_IO_wfile_doallocate): Update comment.
8881 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8883         [BZ #19269]
8884         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8885         tst-audit4-aux.o.
8886         (tst-audit10): Depend on tst-audit10-aux.o.
8887         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8888         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8889         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8890         instead of inline AVX code.
8891         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8892         instead of inline AVX512 code.
8893         * sysdeps/x86_64/tst-audit4-aux.c: New file
8894         * sysdeps/x86_64/tst-audit10-aux.c: New file
8896         [BZ #19648]
8897         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8899 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8901         [BZ #14750]
8902         [BZ #10354]
8903         [BZ #18433]
8904         * include/sched.h (__clone): Add hidden prototype.
8905         (__clone2): Likewise.
8906         * include/unistd.h (__dup): Likewise.
8907         * posix/Makefile (tests): Add tst-spawn2.
8908         * posix/tst-spawn2.c: New file.
8909         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8910         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8911         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8912         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8913         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8914         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8915         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8916         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8917         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8918         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8919         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8921         Likewise.
8922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8923         Likewise.
8924         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8925         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8926         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8927         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8928         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8929         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8930         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8931         * sysdeps/unix/sysv/linux/nptl-signals.h
8932         (____nptl_is_internal_signal): New function.
8933         * sysdeps/unix/sysv/linux/spawni.c: New file.
8935         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8936         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8937         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8938         * posix/tst-execvp2.c (do_test): Likewise.
8939         * posix/tst-execvp3.c (do_test): Likewise.
8940         * posix/tst-execvp4.c (do_test): Likewise.
8941         * posix/tst-execvpe1.c: New file.
8942         * posix/tst-execvpe2.c: Likewise.
8943         * posix/tst-execvpe3.c: Likewise.
8944         * posix/tst-execvpe4.c: Likewise.
8945         * posix/tst-execvpe5.c: Likewise.
8946         * posix/tst-execvpe6.c: Likewise.
8948         [BZ #19534]
8949         * posix/execl.c (execl): Remove dynamic memory allocation.
8950         * posix/execle.c (execle): Likewise.
8951         * posix/execlp.c (execlp): Likewise.
8953 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8955         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8956         Replace .text with .text.avx512.
8957         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8958         Likewise.
8960 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8962         * sysdeps/generic/libnsl.abilist: New file.
8963         * sysdeps/generic/libutil.abilist: New file.
8965 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8967         [BZ #19762]
8968         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8969         HAS_ARCH_FEATURE with Fast_Rep_String.
8970         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8971         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8972         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8973         Likewise.
8974         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8975         Likewise.
8976         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8977         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8978         Likewise.
8979         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8980         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8981         Likewise.
8983 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8985         [BZ #19745]
8986         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8987         with *%rax in call.
8989 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8991         [BZ #19745]
8992         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8993         with *__libc_start_main@GOTPCREL(%rip) in call.
8995 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8997         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8998         inside conditional for nonempty $(CXX).
9000         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
9001         nonempty.
9003         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
9004         to test for empty $(CXX) rather than $(CXX) of "no".
9006 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9008         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
9010 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
9011             H.J. Lu  <hongjiu.lu@intel.com>
9013         [BZ #18880]
9014         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
9015         instead of Slow_BSF, and also check for Fast_Copy_Backward to
9016         enable __memcpy_ssse3_back.
9018 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9020         [BZ #19758]
9021         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9022         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
9024 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9026         [BZ #19490]
9027         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
9028         (__fentry__): Likewise.
9030 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9032         * gmon/Makefile (noprof): Add $(sysdep_noprof).
9033         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
9035 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9037         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
9038         __mcount_internal directly.
9039         (C_LABEL(__fentry__)): Likewise.
9040         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
9041         directly.
9043 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9045         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9046         (__start_context): Call __setcontext directly.
9048 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
9050         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9051         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9052         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
9053         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9054         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9055         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9056         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
9057         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9058         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9059         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
9060         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9061         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9062         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9063         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9064         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9065         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9066         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
9067         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9068         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9069         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9070         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
9071         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9072         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9073         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9074         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
9075         Remove conditional code.
9076         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9077         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
9078         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9079         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9080         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
9081         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9082         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9083         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9084         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9085         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9086         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9087         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9089 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
9091         * NEWS (2.23): Fix typo in bug 19048 text.
9093 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
9095         [BZ #14259]
9096         * Makeconfig: Rename msgcatdir to localedir.
9097         Rename inst_msgcatdir to inst_localedir.
9098         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
9099         * config.make.in: Add localedir.
9100         * elf/Makefile ($(objpfx)sotruss): Use localedir.
9101         (ldd-rewrite): Likewise.
9102         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
9103         (install-others): Use inst_localedir.
9104         (CPPFLAGS): Use localedir.
9105         * locale/Makefile (locale-CPPFLAGS): Likewise.
9106         * po/Makefile (mo-installed): Use inst_localedir.
9108         [BZ #19575]
9109         * localedata/charmaps/GB18030: Update comments regarding PAU to
9110         non-PUA mappings.
9112 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
9114         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
9115         test for header.
9116         * sysdeps/unix/sysv/linux/configure: Regenerated.
9117         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
9118         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
9119         Remove conditional code.
9120         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
9122         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9123         Define to 3.2.0.
9124         (arch_minimum_kernel): Likewise.
9125         * sysdeps/unix/sysv/linux/configure: Regenerated.
9126         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
9127         Define to 2.6.32.
9128         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
9129         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
9130         (arch_minimum_kernel): Define to 2.6.32.
9131         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
9132         * README: Document Linux 3.2 requirement.
9133         * manual/install.texi (Linux): Document Linux 3.2 headers
9134         requirement.
9135         * INSTALL: Regenerated.
9137 2016-02-24  Andreas Schwab  <schwab@suse.de>
9139         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9140         if !NO_LONG_DOUBLE.
9142 2016-02-22  Roland McGrath  <roland@hack.frob.com>
9144         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9145         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9147 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
9149         [BZ #19512]
9150         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9152 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9154         * posix/tst-dir.c: Include libc-internal.h.
9156 2016-02-20  Florian Weimer  <fweimer@redhat.com>
9158         [BZ #19056]
9159         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
9160         * manual/filesys.texi (Reading/Closing Directory): Mention
9161         deprecaion.
9162         * posix/tst-dir.c (main): Disable deprecation warning in test.
9164 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
9166         [BZ #19679]
9167         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
9168         Renamed to ...
9169         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
9170         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9171         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
9172         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9173         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9174         * sysdeps/x86_64/dl-trampoline.h
9175         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9176         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9178 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9180         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9182 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9184         * elf/elf.h (R_386_GOT32X): New.
9185         (R_386_NUM): Update.
9186         (R_X86_64_GOTPCRELX: New.
9187         (R_X86_64_REX_GOTPCRELX): New.
9188         (R_X86_64_NUM): Update.
9190 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9192         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9194 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9196         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9197         assign attr->stackaddr to it, and adjust it down when
9198         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9199         [_STACK_GROWS_UP]: Delete assert.
9200         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9201         Implement stack grows up logic.
9202         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9203         stack grows up logic.
9205 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9207         * NEWS: Update with 2.24 template.
9209 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9211         [BZ #19678]
9212         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9213         Ensure +0.0 is returned when taking the next value below the least
9214         positive value.
9216 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9218         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9219         available.  Do not define NO_THREADS.
9220         * malloc/malloc.c: Do not check NO_THREADS.
9221         * malloc/arena.c: Likewise.
9223 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9225         * malloc/malloc.c (__libc_mallinfo): Update comment.
9226         (struct malloc_par): Remove max_total_mem member, it was always 0.
9227         (int_mallinfo): Store 0 into usmblks (no functional change).
9228         * malloc/hooks.c (struct malloc_state): Document that
9229         max_total_mem is always 0.
9230         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9231         always 0.
9232         * manual/memory.texi (Statistics of Malloc): Likewise.
9234 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9236         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9237         * malloc/arena.c (arena_max): Remove.
9238         (heap_trim, _int_new_arena): Do not update arena_max.
9240 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9242         * resolv/res_init.c (res_ninit): Update comment.
9244 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9246         [BZ #19505]
9247         * posix/spawn_int.h: Add headers and include guard.
9248         (__spawn_valid_fd): New function.
9249         * posix/spawn_faction_addopen.c
9250         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9251         * posix/spawn_faction_addclose.c
9252         (posix_spawn_file_actions_addclose): Likewise.
9253         * posix/spawn_faction_adddup2.c
9254         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9255         second file descriptor.
9256         * posix/spawn_valid_fd.c: New file.
9257         * posix/tst-posix_spawn-fd.c: New file.
9258         * posix/Makefile (routines): Add spawn_valid_fd.
9259         (tests): Add tst-posix_spawn-fd.
9261 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9263         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9264         (do_test): Limit the number of arenas, so that we can use fewer
9265         outer threads.  Limit timeout to 3 seconds, in preparation for a
9266         larger TIMEOUT value.
9268 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9270         [BZ #19674]
9271         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9272         sign in overflowing and underflowing results when overflow or
9273         underflow is detected early.  Include sign in result before rather
9274         than after scaling.
9276         [BZ #19603]
9277         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9278         (__ieee754_remainderl): Adjust sign of integer version of low part
9279         when taking absolute value of high part.
9280         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9281         * math/libm-test.inc (remainder_test_data): Add another test.
9282         (remquo_test_data): Likewise.
9284 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9286         [BZ #19602]
9287         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9288         equal high parts and both low parts zero specially.
9289         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9290         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9291         Add test-fmodl-ldbl-128ibm.
9293         [BZ #19595]
9294         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9295         common logic for all cases of shifting subnormal results.  Do not
9296         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9297         exponent to ldbl_insert_mantissa in subnormal case.
9299         [BZ #19594]
9300         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9301         on high and low parts then adjust result and use
9302         ldbl_canonicalize_int if needed.
9304         [BZ #19593]
9305         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9306         on high part and __floor or __ceil on low part then use
9307         ldbl_canonicalize_int if needed.
9309         [BZ #19592]
9310         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9311         high and low parts then use ldbl_canonicalize_int if needed.
9313         [BZ #17899]
9314         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9315         New function.
9316         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9317         on high and low parts then use ldbl_canonicalize_int if needed.
9319 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9321         * configure: Regenerated.
9323         * po/libc.pot: Regenerated.
9325         * po/be.po: Updated translation.
9326         * po/bg.po: Likewise.
9327         * po/ca.po: Likewise.
9328         * po/cs.po: Likewise.
9329         * po/da.po: Likewise.
9330         * po/el.po: Likewise.
9331         * po/eo.po: Likewise.
9332         * po/es.po: Likewise.
9333         * po/fi.po: Likewise.
9334         * po/fr.po: Likewise.
9335         * po/gl.po: Likewise.
9336         * po/hr.po: Likewise.
9337         * po/hu.po: Likewise.
9338         * po/ia.po: Likewise.
9339         * po/id.po: Likewise.
9340         * po/it.po: Likewise.
9341         * po/ja.po: Likewise.
9342         * po/lt.po: Likewise.
9343         * po/nb.po: Likewise.
9344         * po/nl.po: Likewise.
9345         * po/pt_BR.po: Likewise.
9346         * po/rw.po: Likewise.
9347         * po/sk.po: Likewise.
9348         * po/sl.po: Likewise.
9349         * po/sv.po: Likewise.
9350         * po/tr.po: Likewise.
9351         * po/zh_CN.po: Likewise.
9352         * po/zh_TW.po: Likewise.
9354         * version.h (RELEAES): Set to "development".
9355         (VERSION): Set to 2.23.90.
9357         * version.h (RELEASE): Set to "stable".
9358         (VERSION): Set to 2.23.
9359         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9361         * NEWS: Updated fixed bugs.
9363 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9364             Wilco Dijkstra  <wdijkstr@arm.com>
9366         [BZ #19462]
9367         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9368         (_STRING_INLINE_unaligned): This.
9369         * include/string.h: Include <string_private.h>.
9370         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9371         _STRING_INLINE_unaligned.
9372         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9373         (_STRING_INLINE_unaligned): New.
9374         * sysdeps/aarch64/string_private.h: New file.
9375         * sysdeps/generic/string_private.h: Likewise.
9376         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9377         * sysdeps/s390/string_private.h: Likewise.
9378         * sysdeps/x86/string_private.h: Likewise.
9379         * sysdeps/m68k/m680x0/m68020/bits/string.h
9380         (_STRING_ARCH_unaligned): Renamed to ...
9381         (_STRING_INLINE_unaligned): This.
9382         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9383         to ...
9384         (_STRING_INLINE_unaligned): This.
9385         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9386         to ...
9387         (_STRING_INLINE_unaligned): This.
9388         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9389         to ...
9390         (_STRING_INLINE_unaligned): This.
9392 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9393             H.J. Lu  <hongjiu.lu@intel.com>
9395         [BZ #19590]
9396         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9397         relocation.
9399 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9401         [BZ #18665]
9402         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9403         *herrno_p.
9404         (gaih_getanswer): Document functional behviour. Return tryagain
9405         if any result is tryagain.
9406         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9407         when freed.
9408         * resolv/res_send.c: Add copyright text.
9409         (__libc_res_nsend): Document that MAXPACKET is expected.
9410         (send_vc): Document. Remove buffer reuse.
9411         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9412         size of the buffer. Add Dprint for truncated UDP buffer.
9414 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9416         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9417         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9418         * INSTALL: Regenerate.
9420 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9421             Jonathan Wakely  <jwakely@redhat.com>
9422             Carlos O'Donell  <carlos@redhat.com>
9424         [BZ 19439]
9425         * math/Makefile (tests): Add test-math-isinff.
9426         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9427         * math/bits/mathcalls.h [__USE_MISC]: Use
9428         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9429         functions not in C++11 and which don't conflict e.g. isinff,
9430         isinfl etc.
9431         * math/test-math-isinff.cc: New file.
9433 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9435         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9437 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9439         [BZ #19529]
9440         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9442 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9444         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9446 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9448         [BZ #19550]
9449         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9450         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9451         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9452         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9453         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9454         New syscall entry.
9455         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9456         New syscall entry.
9457         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9458         syscall entry.
9460 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9462         [BZ #18240]
9463         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9464         unsigned int wraparound.
9466 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9468         [BZ #18240]
9469         * misc/bug18240.c: New test.
9470         * misc/Makefile (tests): Add it.
9472 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9473             Joseph Myers  <joseph@codesourcery.com>
9475         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9476         load in branch delay slot when less than a word of input left.
9478 2016-01-27  Andreas Schwab  <schwab@suse.de>
9480         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9481         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9482         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9483         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9485 2016-01-26  David S. Miller  <davem@davemloft.net>
9487         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9489 2016-01-25  David S. Miller  <davem@davemloft.net>
9491         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9492         __sqrtl_finite.
9493         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9494         instead using versioned_symbol.
9495         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9496         of entries.
9498         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9499         __sqrtl_finite to GLIBC_2.23
9501 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9503         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9505 2016-01-25  Andreas Schwab  <schwab@suse.de>
9507         [BZ #17514]
9508         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9509         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9510         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9511         * nptl/tst-mutex-errorcheck.c: New file.
9513 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9515         [BZ #18560]
9516         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9517         (IPCOP_semop): Likewise.
9518         (IPCOP_semget): Likewise.
9519         (IPCOP_semctl): Likewise.
9520         (IPCOP_msgsnd): Likewise.
9521         (IPCOP_msgrcv): Likewise.
9522         (IPCOP_msgget): Likewise.
9523         (IPCOP_msgctl): Likewise.
9524         (IPCOP_shmat): Likewise.
9525         (IPCOP_shmdt): Likewise.
9526         (IPCOP_shmget): Likewise.
9527         (IPCOP_shmctl): Likewise.
9529 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9531         * string/tst-endian.c: Include <libc-internal.h>.
9532         (do_test): Ignore tautological-compare warnings around
9533         "htobeXX (beXXtoh (i)) != i" and
9534         "htoleXX (leXXtoh (i)) != i" if-statements.
9536 2016-01-24  David S. Miller  <davem@davemloft.net>
9538         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9539         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9540         alias.
9541         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9542         __sqrtl_finite.
9544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9546 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9548         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9549         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9550         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9552 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9554         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9555         (thread_func): Use new function to simplify barrier check.
9556         (do_test): Use new function to simplify checking barrier exit
9557         code, and actually join the child thread.
9559 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9561         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9562         semicolon.
9563         (__libc_tend): Likewise.
9564         (__libc_tabort): Likewise.
9566 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9568         * sysdeps/nios2/libm-test-ulps: Update.
9569         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9570         (__gtsf2): Likewise.
9571         (__unorddf2): Likewise.
9572         (__unordsf2): Likewise.
9573         (__ledf2): Likewise.
9575 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9577         * nis/nis_table.c (__follow_path): Disable diagnostic for
9578         uninitialized variable that is a false positive for gcc 4.7.
9579         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9581 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9583         * sysdeps/nacl/lowlevellock-futex.h
9584         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9585         Always evaluate PRIVATE argument.
9587 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9589         [BZ #19490]
9590         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9591         (pthread_cond_broadcast): Use ENTRY/END
9592         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9593         (pthread_cond_signal): Likewise.
9594         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9595         Likewise.
9596         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9597         Likewise.
9598         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9599         Likewise.
9601 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9603         * sysdeps/ieee754/dbl-64/s_finite.c
9604         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9605         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9606         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9607         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9608         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9611         (__gtsf2): Add as optional for libc.so.
9612         (__unordsf2): Likewise.
9613         (__signbit): Remove for libc.so.
9614         (__signbitl): Likewise.
9616 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9618         * iconvdata/bug-iconv11.c (test_ibm93x):
9619         Use %zu printf format specifier for size_t argument.
9621 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9623         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9624         already-recorded ulps.
9625         * sysdeps/arm/libm-test-ulps: Regenerated.
9626         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9627         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9628         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9630 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9631             Paul Pluzhnikov  <ppluzhnikov@google.com>
9633         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9634         assembler not supporting AVX-512.
9636 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9638         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9640 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9642         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9643         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9645         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9647         * sysdeps/arm/libm-test-ulps: Regenerated.
9649 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9651         [BZ #19451]
9652         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9654 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9656         [BZ #19486]
9657         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9658         * sysdeps/generic/fix-fp-int-convert-overflow.h
9659         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9660         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9661         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9662         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9663         Likewise.
9664         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9665         Avoid conversions to long int where inexact exceptions
9666         could be raised.
9667         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9668         Likewise.
9669         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9670         Avoid conversions to long long int where inexact exceptions
9671         could be raised.
9672         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9673         Likewise.
9675 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9677         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9678         * configure: Regenerated.
9680 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9682         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9684 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9686         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9687         outside of comment.
9689 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9691         * nptl/tst-barrier1.c: Add description on first line.
9692         * nptl/tst-barrier2.c: Likewise.
9693         * nptl/tst-barrier3.c: Likewise.
9694         * nptl/tst-barrier4.c: Likewise.
9695         * nptl/tst-barrier5.c: Likewise.
9697 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9699         [BZ #18868]
9700         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9702 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9705         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9706         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9707         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9708         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9709         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9710         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9711         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9712         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9713         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9714         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9716 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9718         [BZ #13065]
9719         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9720         new implementation.
9721         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9722         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9723         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9724         (BARRIER_IN_THRESHOLD): New macro.
9725         * nptl/pthread_barrierattr_setpshared.c
9726         (pthread_barrierattr_setpshared): Clean up.
9727         * nptl/tst-barrier4.c: Correct comment.
9728         * nptl/tst-barrier5.c: New file.
9729         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9730         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9731         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9732         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9733         * nptl/lowlevelbarrier.sym: Remove.
9734         * nptl/DESIGN-barrier.txt: Remove.
9735         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9736         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9737         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9738         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9739         error.
9740         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9741         implementation.
9743 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9745         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9746         (do_child): Mask SIGRTMIN while thr is running.
9748 2016-01-15  Martin Sebor  <msebor@redhat.com>
9750         [BZ #19432]
9751         * iconvdata/Makefile: Add bug-iconv11.
9752         * iconvdata/bug-iconv11.c: New test.
9753         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9754         * iconvdata/ibm933.c: Same.
9755         * iconvdata/ibm935.c: Same.
9756         * iconvdata/ibm937.c: Same.
9757         * iconvdata/ibm939.c: Same.
9759 2016-01-15  Martin Sebor  <msebor@redhat.com>
9761         [BZ #19443]
9762         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9763         [DEBUG] (_ufc_set_bits): Declare used.
9764         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9765         [DEBUG] (print_all): Declare used.
9766         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9767         operands of the ternary ?: expression to target type.
9768         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9769         calling the undeclared abort.
9770         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9772 2016-01-15  Martin Sebor  <msebor@redhat.com>
9774         [BZ #18755]
9775         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9776         warnings.
9777         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9778         (__gai_create_helper_thread): Same.
9779         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9780         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9781         to suppress -Wmaybe-uninitialized warnings.
9783 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9785         [BZ #19465]
9786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9787         inside if.
9788         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9789         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9790         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9792 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9794         [BZ #19466]
9795         * time/tst-mktime2.c (time_t_max): Removed.
9796         (time_t_min): Likewise.
9797         (TYPE_SIGNED): New.
9798         (TYPE_MINIMUM): Likewise.
9799         (TYPE_MAXIMUM): Likewise.
9800         (TIME_T_MIN): Likewise.
9801         (TIME_T_MAX): Likewise.
9802         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9803         and TIME_T_MIN.
9804         (do_test): Likewise.
9806 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9808         [BZ #19467]
9809         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9810         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9812 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9814         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9816 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9818         * benchtests/Makefile (PYTHON): Define.
9819         (bench-func): Use $(PYTHON) to run python scripts.
9820         ($(objpfx)bench-%.c): Likewise.
9822 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9824         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9825         leading slash when `file_name' is "/".
9827 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9829         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9830         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9831         Likewise.
9832         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9833         Likewise.
9834         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9835         Likewise.
9836         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9837         enum constant and macro.
9838         (PTRACE_SETSIGMASK): Likewise.
9839         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9840         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9841         (PTRACE_GETSIGMASK): Likewise.
9842         (PTRACE_SETSIGMASK): Likewise.
9843         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9844         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9845         Likewise.
9846         (PTRACE_SETSIGMASK): Likewise.
9847         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9848         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9849         (PTRACE_GETSIGMASK): Likewise.
9850         (PTRACE_SETSIGMASK): Likewise.
9851         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9852         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9853         Likewise.
9854         (PTRACE_SETSIGMASK): Likewise.
9855         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9856         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9857         Likewise.
9858         (PTRACE_SETSIGMASK): Likewise.
9859         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9860         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9861         Likewise.
9862         (PTRACE_SETSIGMASK): Likewise.
9863         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9865 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9866             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9868         [BZ #19439]
9869         * math/bits/mathcalls.h
9870         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9871         prototype.
9872         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9874 2016-01-11  Andreas Schwab  <schwab@suse.de>
9876         [BZ #19253]
9877         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9878         cache when TZDEFRULES was used.
9879         * time/tst-tzname.c: New file.
9880         * time/Makefile (test): Add tst-tzname.
9881         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9882         * timezone/Makefile (test-zones): Add $(posixrules-file).
9883         ($(testdata)/$(posixrules-file)): New rule.
9885 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9887         Fix doc quoting problems with Texinfo 5
9888         Without this change, in the info file output, Texinfo 5 quotes code
9889         in text with undirected single quotes 'like this' and generates
9890         code examples that with many PDF readers cannot be cut out of PDFs
9891         and pasted into code.
9892         * manual/libc.texinfo: Configure the libc manual like the GNU
9893         Emacs manual, by using @documentencoding and setting
9894         txicodequoteundirected and txicodequotebacktick.  This way,
9895         Texinfo 5 quotes code in text with directed single quotes ‘like
9896         this’ and produces examples that can be cut out of PDFs.  This
9897         change causes Texinfo 5 to generate info files that contain UTF-8
9898         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9899         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9901 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9903         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9904         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9905         barriers to their respective compiler built-ins.
9906         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9907         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9908         * sysdeps/powerpc/sysdep.h: Likewise.
9909         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9910         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9911         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9913 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9915         * scripts/config.guess: Revert previous shebang change.
9916         * scripts/config.sub: Likewise.
9917         * scripts/mkinstalldirs: Likewise.
9919 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9921         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9922         PPC_FEATURE2_HAS_IEEE128.
9923         * sysdeps/powerpc/dl-procinfo.c:
9924         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9926 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9928         [BZ #19415]
9929         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9930         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9931         (_dl_lookup_address): Rewrite using function resolver trampoline.
9932         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9933         two bits in address.
9935 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9937         * longlong.h: Change !__SHMEDIA__ to
9938         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9939         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9941 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9942             Joseph Myers  <joseph@codesourcery.com>
9943             Mark Shinwell  <shinwell@codesourcery.com>
9944             Andrew Stubbs  <ams@codesourcery.com>
9945             Rich Felker <dalias@libc.org>
9947         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9949 2016-01-07  Richard Henderson  <rth@redhat.com>
9951         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9953 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9955         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9956         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9957         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9958         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9959         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9961 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9962             Joseph Myers  <joseph@codesourcery.com>
9964         * timezone/private.h: Update from tzcode 2015g.
9965         * timezone/tzfile.h: Likewise.
9966         * timezone/tzselect.ksh: Likewise.
9967         * timezone/zdump.c: Likewise.
9968         * timezone/zic.c: Likewise.
9969         * timezone/ialloc.c: Remove file.
9970         * timezone/scheck.c: Likewise.
9971         * timezone/Makefile (extra-objs): Remove variable.
9972         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9973         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9974         -Wno-maybe-uninitialized.
9975         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9976         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9977         (CFLAGS-ialloc.c): Remove variable.
9978         (CFLAGS-scheck.c): Likewise.
9979         * timezone/README: Update list of files from tzcode.
9981 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9983         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9984         instead of __fxprintf when _LIBC is undefined.
9986 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9988         * catgets/test-gencat.sh: Remove space after shebang.
9989         * conform/GlibcConform.pm: Likewise.
9990         * conform/check-header-lists.sh: Likewise.
9991         * conform/conformtest.pl: Likewise.
9992         * conform/linknamespace.pl: Likewise.
9993         * conform/list-header-symbols.pl: Likewise.
9994         * debug/catchsegv.sh: Likewise.
9995         * elf/genrtldtbl.awk: Likewise.
9996         * elf/tst-pathopt.sh: Likewise.
9997         * elf/tst-rtld-load-self.sh: Likewise.
9998         * grp/tst_fgetgrent.sh: Likewise.
9999         * iconvdata/gen-8bit-gap-1.sh: Likewise.
10000         * iconvdata/gen-8bit-gap.sh: Likewise.
10001         * iconvdata/gen-8bit.sh: Likewise.
10002         * iconvdata/run-iconv-test.sh: Likewise.
10003         * intl/tst-gettext.sh: Likewise.
10004         * intl/tst-gettext2.sh: Likewise.
10005         * intl/tst-gettext4.sh: Likewise.
10006         * intl/tst-gettext6.sh: Likewise.
10007         * intl/tst-translit.sh: Likewise.
10008         * io/ftwtest-sh: Likewise.
10009         * libio/test-freopen.sh: Likewise.
10010         * locale/gen-translit.pl: Likewise.
10011         * malloc/tst-mtrace.sh: Likewise.
10012         * manual/check-safety.sh: Likewise.
10013         * manual/libc-texinfo.sh: Likewise.
10014         * manual/tsort.awk: Likewise.
10015         * manual/xtract-typefun.awk: Likewise.
10016         * nptl/tst-cancel-wrappers.sh: Likewise.
10017         * nptl/tst-tls6.sh: Likewise.
10018         * posix/globtest.sh: Likewise.
10019         * posix/tst-getconf.sh: Likewise.
10020         * posix/wordexp-tst.sh: Likewise.
10021         * scripts/check-c++-types.sh: Likewise.
10022         * scripts/check-local-headers.sh: Likewise.
10023         * scripts/config.guess: Likewise.
10024         * scripts/config.sub: Likewise.
10025         * scripts/cpp: Likewise.
10026         * scripts/cross-test-ssh.sh: Likewise.
10027         * scripts/documented.sh: Likewise.
10028         * scripts/evaluate-test.sh: Likewise.
10029         * scripts/gen-libc-abis: Likewise.
10030         * scripts/gen-sorted.awk: Likewise.
10031         * scripts/list-fixed-bugs.py: Likewise.
10032         * scripts/merge-test-results.sh: Likewise.
10033         * scripts/mkinstalldirs: Likewise.
10034         * scripts/rellns-sh: Likewise.
10035         * scripts/test-installation.pl: Likewise.
10036         * scripts/update-copyrights: Likewise.
10037         * stdio-common/tst-printf.sh: Likewise.
10038         * stdio-common/tst-unbputc.sh: Likewise.
10039         * stdlib/tst-fmtmsg.sh: Likewise.
10040         * stdlib/tst-setcontext3.sh: Likewise.
10041         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
10042         * sysdeps/unix/make-syscalls.sh: Likewise.
10044 2016-01-06  John David Anglin  <dave.anglin@bell.net>
10046         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
10047         asm stw with atomic_exchange_rel.  Add explanatory comment.
10048         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10049         Likewise.
10051 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10053         [BZ #19122]
10054         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
10055         * sysdeps/generic/dl-unistd.h: New file.
10056         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
10058 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10060          [BZ #19122]
10061          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
10062          * sysdeps/generic/dl-mman.h: New file.
10063          * sysdeps/mach/hurd/dl-mman.h: Likewise.
10065 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
10067         * manual/texinfo.tex: Update to version 2016-01-04.21 with
10068         trailing whitespace removed.
10069         * scripts/config.guess: Update to version 2016-01-01.
10070         * scripts/config.sub: Update to version 2016-01-01.
10071         * scripts/move-if-change: Update from gnulib.
10073 2016-01-04  Anton Blanchard  <anton@samba.org>
10075         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
10076         for array indices.
10077         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
10079 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
10081         * NEWS: Update copyright dates.
10082         * catgets/gencat.c (print_version): Likewise.
10083         * csu/version.c (banner): Likewise.
10084         * debug/catchsegv.sh: Likewise.
10085         * debug/pcprofiledump.c (print_version): Likewise.
10086         * debug/xtrace.sh (do_version): Likewise.
10087         * elf/ldconfig.c (print_version): Likewise.
10088         * elf/ldd.bash.in: Likewise.
10089         * elf/pldd.c (print_version): Likewise.
10090         * elf/sotruss.sh: Likewise.
10091         * elf/sprof.c (print_version): Likewise.
10092         * iconv/iconv_prog.c (print_version): Likewise.
10093         * iconv/iconvconfig.c (print_version): Likewise.
10094         * locale/programs/locale.c (print_version): Likewise.
10095         * locale/programs/localedef.c (print_version): Likewise.
10096         * login/programs/pt_chown.c (print_version): Likewise.
10097         * malloc/memusage.sh (do_version): Likewise.
10098         * malloc/memusagestat.c (print_version): Likewise.
10099         * malloc/mtrace.pl: Likewise.
10100         * manual/libc.texinfo: Likewise.
10101         * nptl/version.c (banner): Likewise.
10102         * nscd/nscd.c (print_version): Likewise.
10103         * nss/getent.c (print_version): Likewise.
10104         * nss/makedb.c (print_version): Likewise.
10105         * posix/getconf.c (main): Likewise.
10106         * scripts/test-installation.pl: Likewise.
10107         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10109         * All files with FSF copyright notices: Update copyright dates
10110         using scripts/update-copyrights.
10111         * intl/plural.c: Regenerated.
10112         * locale/programs/charmap-kw.h: Likewise.
10113         * locale/programs/locfile-kw.h: Likewise.
10115 2016-01-02  Helge Deller  <deller@gmx.de>
10117         [BZ #19285]
10118         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
10119         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
10120         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
10121         (MADV_xxK_PAGES): Remove.
10123 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
10125         [BZ #15421]
10126         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
10127         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
10128         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
10129         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
10131 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
10133         [BZ #19408]
10134         * sysdeps/unix/sysv/linux/personality.c: New file.
10135         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
10136         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
10137         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10138         (sysdep_routines): Add personality.
10139         (tests): Add tst-personality.
10140         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10141         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10142         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10143         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10144         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10145         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10146         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10147         Likewise.
10148         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10149         Likewise.
10150         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10151         Likewise.
10152         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10153         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10154         Likewise.
10156 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
10158         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
10159         (PATH_ARM_SYSTYPE): Remove.
10160         (PATH_CPUINFO): Likewise.
10161         (IO_BASE_FOOTBRIDGE): Likewise.
10162         (IO_SHIFT_FOOTBRIDGE): Likewise.
10163         (struct platform): Likewise.
10164         (init_iosys): Remove compatibility code for 2.4 kernels.
10165         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
10167 2015-12-29  Florian Weimer  <fweimer@redhat.com>
10169         * malloc/tst-malloc-thread-fail.c: New file.
10170         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10171         (tst-malloc-thread-fail): Link against libpthread.
10173 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
10175         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
10176         (get_parser): New function.
10177         (main): New function.
10179 2015-12-29  Rob Wu  <rob@robwu.nl>
10181         [BZ #19369]
10182         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10184 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10186         [BZ #19270]
10187         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10189 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10191         [BZ #15421]
10192         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10194 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10196         [BZ #13690]
10197         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10198         after releasing it.
10199         (__lll_robust_unlock): Likewise.
10200         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10201         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10202         (lll_robust_unlock): Likewise.
10203         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10204         Prevent warnings in callers.
10206 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10208         * malloc/arena.c (list_lock): Update comment.
10210 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10212         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10213         __parse_hwcap_and_convert_at_platform to libc.a.
10215 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10217         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10218         platform and feature support for POWER9.
10219         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10220         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10221         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10222         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10223         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10224         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10225         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10226         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10228 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10230         Harmonize generic stdio-lock support with nptl
10232         This fixes build when _IO_funlockfile is a macro, fixes build where
10233         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10234         stack unwind.
10236         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10237         _IO_release_lock ): Use cleanup attribute on new
10238         _IO_acquire_lock_file variable instead of assuming that
10239         _IO_release_lock will be called.
10240         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10241         _IO_acquire_lock_needs_exceptions_enabled.
10242         (_IO_acquire_lock_clear_flags2): New macro.
10244 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10246         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10248 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10250         [BZ #19182]
10251         * malloc/arena.c (list_lock): Document lock ordering requirements.
10252         (free_list_lock): New lock.
10253         (ptmalloc_lock_all): Comment on free_list_lock.
10254         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10255         (detach_arena): Update comment.  free_list_lock is now needed.
10256         (_int_new_arena): Use free_list_lock around detach_arena call.
10257         Acquire arena lock after list_lock.  Add comment, including FIXME
10258         about incorrect synchronization.
10259         (get_free_list): Switch to free_list_lock.
10260         (reused_arena): Acquire free_list_lock around detach_arena call
10261         and attached threads counter update.  Add two FIXMEs about
10262         incorrect synchronization.
10263         (arena_thread_freeres): Switch to free_list_lock.
10264         * malloc/malloc.c (struct malloc_state): Update comments to
10265         mention free_list_lock.
10267 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10269         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10270         Remove functions.
10271         (sloww, sloww1): Accept argument to offset quadrant.
10272         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10273         quadrant.
10274         (__sin, __cos): Consolidate common code into new functions.
10275         (reduce_sincos_1, do_sincos_1): New functions.
10276         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10278         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10279         code to new functions.
10280         (reduce_sincos_2, do_sincos_2): New functions.
10281         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10283         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10284         common code for sincos.
10285         (__cos) [!IN_SINCOS]: Likewise.
10286         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10287         New function.
10288         (__sincos): Use it.
10290 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10292         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10293         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10294         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10296 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10298         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10300         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10301         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10302         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10303         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10304         index_Prefer_No_VZEROUPPER): New feature.
10305         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10306         Prefer_No_VZEROUPPER for Knights Landing.
10308 015-12-18  Torvald Riegel  <triegel@redhat.com>
10310         * math/atest-exp2.c (mp_exp_m1): Remove.
10312 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10314         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10315         syscalls.
10316         (__SYSCALL0): New macro.
10317         (__SYSCALL1): Likewise.
10318         (__SYSCALL2): Likewise.
10319         (__SYSCALL3): Likewise.
10320         (__SYSCALL4): Likewise.
10321         (__SYSCALL5): Likewise.
10322         (__SYSCALL6): Likewise.
10323         (__SYSCALL_CONCAT_X): Likewise.
10324         (__SYSCALL_CONCAT): Likewise.
10325         (__SYSCALL_DIST): Likewise.
10326         (__SYSCALL_CALL): Likewise.
10328 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10330         [BZ #19363]
10331         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10333 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10335         [BZ #19375]
10336         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10337         negative subnormals.
10339 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10342         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10343         (INTERNAL_SYSCALL_NCS): Use it.
10344         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10346 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10348         [BZ #19243]
10349         * malloc/arena.c (get_free_list): Remove assert and adjust
10350         reference count handling.  Add comment about reused_arena
10351         interaction.
10352         (reused_arena): Add comments abount get_free_list interaction.
10353         * malloc/tst-malloc-thread-exit.c: New file.
10354         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10355         (tst-malloc-thread-exit): Link against libpthread.
10357 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10359         [BZ #19367]
10360         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10361         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10362         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10363         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10364         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10366 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10368         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10369         Silvermont optimizations for Knights Landing.
10371 2015-12-15  Andreas Schwab  <schwab@suse.de>
10373         [BZ #17197]
10374         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10375         immediately after emitting SI.
10376         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10377         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10378         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10379         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10380         * iconvdata/bug-iconv10.c: New file.
10381         * iconvdata/Makefile (tests): Add bug-iconv10.
10382         ($(objpfx)bug-iconv10.out): New rule.
10384 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10386         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10387         aliasing violation.
10389 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10391         [BZ #18472]
10392         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10393         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10394         conditionals for them.
10395         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10396         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10398         sys/kdaemon.h.
10399         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10400         compat-only syscall, obsoleted in glibc 2.23.
10401         (create_module): Likewise.
10402         (get_kernel_syms): Likewise.
10403         (query_module): Likewise.
10404         (uselib): Likewise.
10405         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10407 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10409         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10410         <linux/version.h>.
10411         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10412         conditional code.
10413         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10414         and ioshift_name initialization.
10416 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10418         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10419         Fix indentation.
10421 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10423         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10425 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10427         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10429 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10430             Jakub Wilk  <jwilk@debian.org>
10432         [BZ #19347]
10433         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10434         to change the group of the device to the tty group.
10436 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10438         Split large string section; add truncation advice
10439         * manual/examples/strncat.c: Remove.
10440         This example was misleading, as the code would have undefined
10441         behavior if "hello" was longer than SIZE.  Anyway, the manual
10442         shouldn't encourage strncpy+strncat for this sort of thing.
10443         * manual/string.texi (Copying Strings and Arrays): Split into
10444         three sections Copying Strings and Arrays, Concatenating Strings,
10445         and Truncating Strings, as this section was way too long.  All
10446         cross-referenced changed.  Add advice about string-truncation
10447         functions.  Remove misleading strncat example.
10449 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10451         * manual/nss.texi (NSS Modules Interface): Document
10452         NSS_STATUS_NOTFOUND and SUCCESS.
10454 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10456         [BZ 18568]
10457         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10458         201505L, for Unicode 8.
10460 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10462         * locale/C-translit.h: Regenerate.
10464 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10466         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10467         and U+0153.
10469 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10471         [BZ #19351]
10472         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10473         expanding log(1+z), compare z rather than its square with epsilon
10474         to determine when to avoid evaluating the expansion.
10476         [BZ #19350]
10477         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10478         Increase overflow threshold.
10480         [BZ #19349]
10481         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10482         when small.
10484         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10485         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10486         New macro.
10487         [__LINUX_KERNEL_VERSION >= 0x040300]
10488         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10489         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10490         Likewise.
10491         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10492         Likewise.
10493         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10494         Likewise.
10495         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10496         Likewise.
10497         [__LINUX_KERNEL_VERSION >= 0x040300]
10498         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10499         [__LINUX_KERNEL_VERSION >= 0x040300]
10500         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10501         [__LINUX_KERNEL_VERSION >= 0x040300]
10502         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10503         [__LINUX_KERNEL_VERSION >= 0x040300]
10504         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10505         [__LINUX_KERNEL_VERSION >= 0x040300]
10506         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10507         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10508         Likewise.
10509         [__LINUX_KERNEL_VERSION >= 0x040300]
10510         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10511         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10512         Likewise.
10513         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10514         Likewise.
10515         [__LINUX_KERNEL_VERSION >= 0x040300]
10516         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10518         Likewise.
10519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10520         Likewise.
10521         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10522         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10523         Likewise.
10524         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10525         Likewise.
10526         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10527         Likewise.
10528         [__LINUX_KERNEL_VERSION >= 0x040300]
10529         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10530         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10531         Likewise.
10532         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10533         Likewise.
10534         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10535         Likewise.
10536         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10537         Likewise.
10538         [__LINUX_KERNEL_VERSION >= 0x040300]
10539         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10540         [__LINUX_KERNEL_VERSION >= 0x040300]
10541         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10542         [__LINUX_KERNEL_VERSION >= 0x040300]
10543         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10544         [__LINUX_KERNEL_VERSION >= 0x040300]
10545         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10546         [__LINUX_KERNEL_VERSION >= 0x040300]
10547         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10548         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10549         Likewise.
10550         [__LINUX_KERNEL_VERSION >= 0x040300]
10551         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10552         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10553         Likewise.
10554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10555         Likewise.
10556         [__LINUX_KERNEL_VERSION >= 0x040300]
10557         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10559         Likewise.
10560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10561         Likewise.
10562         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10563         (__ASSUME_SOCKET_SYSCALL): Likewise.
10564         (__ASSUME_BIND_SYSCALL): Likewise.
10565         (__ASSUME_CONNECT_SYSCALL): Likewise.
10566         (__ASSUME_LISTEN_SYSCALL): Likewise.
10567         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10568         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10569         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10570         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10571         (__ASSUME_SEND_SYSCALL): Likewise.
10572         (__ASSUME_SENDTO_SYSCALL): Likewise.
10573         (__ASSUME_RECV_SYSCALL): Likewise.
10574         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10575         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10576         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10577         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10578         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10579         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10580         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10581         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10582         Likewise.
10583         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10584         Likewise.
10585         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10586         Likewise.
10587         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10588         Likewise.
10589         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10590         Likewise.
10591         [__LINUX_KERNEL_VERSION >= 0x020625]
10592         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10593         [__LINUX_KERNEL_VERSION >= 0x020625]
10594         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10595         [__LINUX_KERNEL_VERSION >= 0x020625]
10596         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10597         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10598         Likewise.
10599         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10600         Likewise.
10601         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10602         Likewise.
10603         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10604         Likewise.
10605         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10606         Likewise.
10607         [__LINUX_KERNEL_VERSION >= 0x020625]
10608         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10609         [__LINUX_KERNEL_VERSION >= 0x020625]
10610         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10611         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10612         Likewise.
10613         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10614         Likewise.
10616 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10618         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10619         record the current if the current ABI and CPU support the FP64
10620         extension.
10621         (has-modd-spreg): Define to record the current if the current ABI and
10622         CPU support 32-bit floating point values in odd FPU registers.
10623         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10624         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10625         $(has-modd-spreg) equals yes.
10626         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10627         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10628         $(has-modd-spreg) equal yes.
10630 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10632         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10633         basename.
10635 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10637         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10638         (bench-string): ... here.
10639         (bench): Add bench-string.
10640         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10641         to *-benchset to reflect what they are.
10642         (benchset): Adjust.
10644         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10645         cos-inputs.
10647 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10649         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10650         __attribute__ ((__simd__)) for vector math function declarations.
10652 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10654         Fix typo in strncat, wcsncat manual entries
10655         * manual/string.texi (Copying and Concatenation): Fix typos in
10656         sample implementations of strncat and wcsncat, by having them use
10657         the old value of the destination length, not the new one.
10659 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10661         [BZ #16961]
10662         [BZ #16962]
10663         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10664         string on the stack for strtod.
10665         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10666         a string on the stack for strtof.
10667         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10668         constructing a string on the stack for strtold.
10669         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10670         __strtold_nan to GLIBC_PRIVATE.
10671         * math/test-nan-overflow.c: New file.
10672         * math/test-nan-payload.c: Likewise.
10673         * math/Makefile (tests): Add test-nan-overflow and
10674         test-nan-payload.
10676 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10678         Consistency about byte vs character in string.texi
10679         * manual/string.texi (String and Array Utilities):
10680         Distinguish more carefully among bytes, multibyte characters,
10681         and wide characters.  Use "byte" when talking about C 'char',
10682         to distinguish it more clearly from multibyte characters.
10683         Say "wide character" or "multibyte character" instead of
10684         "character", when a wide or multibyte character is intended.
10685         Similarly for "multibyte string" versus "string".
10686         Define these terms more carefully.
10688 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10690         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10691         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10692         Likewise.
10693         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10694         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10695         * sysdeps/sh/math_private.h: New file.
10696         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10697         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10698         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10699         long double function name.
10700         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10701         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10702         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10703         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10704         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10706         Remove __finitel, __isinfl, and __isnanl.
10707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10708         Likewise.
10709         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10711         Remove __finitel.
10712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10713         Likewise.
10714         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10716 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10718         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10719         installed libmvec_nonshared.a.
10721 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10723         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10724         (sysdep_routines): Likewise.
10725         (sysdep-rtld-routines): Likewise.
10726         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10727         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10728         * sysdeps/powerpc/Versions: Added new
10729         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10730         * sysdeps/powerpc/hwcapinfo.c: New file.
10731         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10732         and parse hwcap, hwcap2 and platform number information.
10733         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10734         to store HWCAP+HWCAP2 and platform number.
10735         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10736         for HWCAP+HWCAP2 and platform number in the TCB.
10737         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10738         the HWCAP, HWCAP2 and platform number in the TCB.
10739         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10740         (TLS_INIT_TP): Included calls to add the hwcap and
10741         at_platform values in the TCB in TP initialization.
10742         (TLS_DEFINE_INIT_TP): Likewise.
10743         (THREAD_GET_HWCAP): New macro.
10744         (THREAD_SET_HWCAP): Likewise.
10745         (THREAD_GET_AT_PLATFORM): Likewise.
10746         (THREAD_SET_AT_PLATFORM): Likewise.
10747         * sysdeps/powerpc/powerpc32/dl-machine.h:
10748         (dl_platform_init): New function that calls
10749         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10750         powerpc32.
10751         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10752         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10753         this functionality, static linking case.
10754         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10755         linking case.
10756         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10757         __parse_hwcap_and_convert_at_platform for the static linking case.
10758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10759         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10760         ABI list for GLIBC 2.23.
10761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10762         Likewise.
10763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10764         Likewise.
10766 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10768         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10769         * configure: Regenerate.
10770         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10771         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10773 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10775         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10776         * iconvdata/ibm933.c: Likewise.
10777         * iconvdata/ibm935.c: Likewise.
10778         * iconvdata/ibm937.c: Likewise.
10779         * iconvdata/ibm939.c: Likewise.
10781 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10783         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10784         pthread_join.
10785         * nptl/tst-cancel21.c (tf): Likewise.
10787 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10789         [BZ #19313]
10790         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10791         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10792         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10793         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10794         Likewise.
10795         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10796         Likewise.
10797         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10798         Likewise.
10799         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10800         Likewise.
10801         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10802         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10803         unsigned long int with __CPU_MASK_TYPE.
10805 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10807         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10809 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10811         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10812         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10813         t512.x.
10814         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10816 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10818         [BZ #19214]
10819         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10820         argument to return extended model.  Update family and model
10821         with extended family and model when family == 0x0f.
10822         (init_cpu_features): Updated.
10824 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10826         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10827         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10829         * sysdeps/mach/hurd/mmap64.c: New file.
10831 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10833         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10834         rights for its main user thread in NEWTASK.
10836 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10838         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10839         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10841 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10843         [BZ #14259]
10844         * Makeconfig: Rename localedir to complocaledir.
10845         Rename inst_localedir to inst_complocaledir.
10846         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10847         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10848         * configure.ac: Use libc_cv_complocaledir.
10849         * configure: Regenerate.
10850         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10851         -DCOMPLOCALEDIR.
10852         * locale/findlocale.c: Use COMPLOCALEDIR.
10853         * locale/loadarchive.c: Likewise.
10854         * locale/programs/locale.c: Likewise.
10855         * locale/programs/localedef.c: Likewise.
10856         * locale/programs/locarchive.c: Likewise.
10857         * localedata/Makefile: Use inst_complocaledir.
10858         * sysdeps/gnu/configure: Regenerate.
10859         * sysdeps/hppa/configure: Regenerate.
10860         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10861         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10863         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10864         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10865         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10866         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10868 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10870         [BZ #19058]
10871         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10872         AS_NEEDED.
10873         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10874         workaround.
10875         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10876         libmvec-static-only-routines): Added new file.
10877         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10879 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10881         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10882         of interrupted RPC instead of restoring it.
10884         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10885         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10886         libc_hidden_def.
10887         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10888         into initialized data instead of common. Define rtld_hidden_data_def.
10889         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10890         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10891         libc_hidden_def.
10892         (if_freenameindex): Add libc_hidden_weak.
10893         (if_nameindex): Add libc_hidden_weak.
10894         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10895         __open64.
10896         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10897         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10898         * sysdeps/mach/nanosleep.c: Include <time.h>
10899         (__nanosleep): Rename to __libc_nanosleep.
10900         (__nanosleep): Add weak_alias.
10901         (nanosleep): Update alias.
10903 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10905         * stdlib/strtod_nan.c: New file.
10906         * stdlib/strtod_nan_double.h: Likewise.
10907         * stdlib/strtod_nan_float.h: Likewise.
10908         * stdlib/strtod_nan_main.c: Likewise.
10909         * stdlib/strtod_nan_narrow.h: Likewise.
10910         * stdlib/strtod_nan_wide.h: Likewise.
10911         * stdlib/strtof_nan.c: Likewise.
10912         * stdlib/strtold_nan.c: Likewise.
10913         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10914         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10915         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10916         * wcsmbs/wcstod_nan.c: Likewise.
10917         * wcsmbs/wcstof_nan.c: Likewise.
10918         * wcsmbs/wcstold_nan.c: Likewise.
10919         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10920         strtold_nan.
10921         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10922         wcstof_nan.
10923         * include/stdlib.h (__strtof_nan): Declare and use
10924         libc_hidden_proto.
10925         (__strtod_nan): Likewise.
10926         (__strtold_nan): Likewise.
10927         (__wcstof_nan): Likewise.
10928         (__wcstod_nan): Likewise.
10929         (__wcstold_nan): Likewise.
10930         * include/wchar.h (____wcstoull_l_internal): Declare.
10931         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10932         (____strtoull_l_internal): Remove declaration.
10933         (STRTOF_NAN): Define macro.
10934         (SET_MANTISSA): Remove macro.
10935         (STRTOULL): Likewise.
10936         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10937         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10938         (STRTOF_NAN): Define macro.
10939         (SET_MANTISSA): Remove macro.
10940         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10941         (SET_MANTISSA): Remove macro.
10942         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10943         macro.
10944         (SET_MANTISSA): Remove macro.
10945         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10946         macro.
10947         (SET_MANTISSA): Remove macro.
10948         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10949         (SET_MANTISSA): Remove macro.
10950         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10951         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10952         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10954         [BZ #19266]
10955         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10956         upper case and lower case letters inside NAN(), not using TOLOWER.
10957         * stdlib/tst-strtod-nan-locale-main.c: New file.
10958         * stdlib/tst-strtod-nan-locale.c: Likewise.
10959         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10960         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10961         Depend on $(gen-locales).
10962         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10963         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10964         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10965         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10966         Depend on $(gen-locales).
10967         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10969 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10971         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10973         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10975         __finitel, __isinfl, and __isnanl.
10976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10977         Likewise.
10978         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10980         __finitel.
10981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10982         Likewise.
10983         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10985 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10987         * malloc/memusage.c (me): Remove redundant getenv call.
10989 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10991         [BZ #19143]
10992         [BZ #19164]
10993         * nptl/check-cpuset.h: Remove.
10994         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10995         Remove CPU set size check.
10996         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10997         Likewise.
10998         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10999         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11000         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
11001         (__pthread_setaffinity_new): Remove CPU set size check.
11002         * sysdeps/unix/sysv/linux/sched_setaffinity.c
11003         (__kernel_cpumask_size): Remove.
11004         (__sched_setaffinity_new): Remove CPU set size check.
11005         * manual/threads.texi (Default Thread Attributes): Remove stale
11006         reference to check_cpuset_attr, determine_cpumask_size in comment.
11007         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
11008         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
11009         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
11010         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
11011         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
11012         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
11013         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
11014         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
11015         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
11016         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
11017         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
11018         skeleton test file.
11019         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
11020         tst-affinity-pid.
11022 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11024         * scripts/update-abilist.sh: New file.
11025         * Makefile (+subdir_targets): Add subdir_update-all-abi.
11026         * Makerules (update-all-abi-%, update-all-abi)
11027         (subdir_update-all-abi): New targets.
11028         * elf/Makefile (update-all-abi): New target.
11030 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11032         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
11033         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
11034         (__libc_lock_define_initialized): Use it.
11035         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
11036         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
11037         * malloc/malloc.c (main_arena): Likewise.
11038         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11039         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11041 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
11043         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11044         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
11045         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11046         (PTRACE_O_MASK): Update value.
11047         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
11048         New value in enum __ptrace_setoptions.
11049         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11050         (PTRACE_O_MASK): Update value.
11051         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11052         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11053         (PTRACE_O_MASK): Update value.
11054         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11055         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11056         (PTRACE_O_MASK): Update value.
11057         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11058         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11059         (PTRACE_O_MASK): Update value.
11060         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
11061         New value in enum __ptrace_setoptions.
11062         (PTRACE_O_MASK): Update value.
11063         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
11064         New value in enum __ptrace_setoptions.
11065         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11066         (PTRACE_O_MASK): Update value.
11068         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
11069         New macro.
11070         (PACKET_AUXDATA): Likewise.
11071         (PACKET_ORIGDEV): Likewise.
11072         (PACKET_VERSION): Likewise.
11073         (PACKET_HDRLEN): Likewise.
11074         (PACKET_RESERVE): Likewise.
11075         (PACKET_TX_RING): Likewise.
11076         (PACKET_LOSS): Likewise.
11077         (PACKET_VNET_HDR): Likewise.
11078         (PACKET_TX_TIMESTAMP): Likewise.
11079         (PACKET_TIMESTAMP): Likewise.
11080         (PACKET_FANOUT): Likewise.
11081         (PACKET_TX_HAS_OFF): Likewise.
11082         (PACKET_QDISC_BYPASS): Likewise.
11083         (PACKET_ROLLOVER_STATS): Likewise.
11084         (PACKET_FANOUT_DATA): Likewise.
11085         (PACKET_MR_UNICAST): Likewise.
11087         [BZ #19242]
11088         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
11089         (TOUPPER): Likewise.
11090         * stdlib/tst-strtol-locale-main.c: New file.
11091         * stdlib/tst-strtol-locale.c: Likewise.
11092         * stdlib/Makefile (tests): Add tst-strtol-locale.
11093         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
11094         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
11095         Depend on $(gen-locales).
11096         * wcsmbs/tst-wcstol-locale.c: New file.
11097         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
11098         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
11099         tr_TR.ISO-8859-9.
11100         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
11101         Depend on $(gen-locales).
11103 2015-11-20  Roland McGrath  <roland@hack.frob.com>
11105         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
11106         __glibc_likely instead of __builtin_expect.  After falling back to
11107         dyncode_create in a non-ET_DYN case, use the allocate_code_data
11108         system interface to register the code pages as occupied.
11110 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
11112         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11113         [!ARM_MATH_PRIVATE_H].
11114         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
11115         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11116         [!HPPA_MATH_PRIVATE_H].
11117         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
11118         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
11119         to [!I386_MATH_PRIVATE_H].
11120         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
11121         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
11122         Change guard to [!M68K_MATH_PRIVATE_H].
11123         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
11124         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
11125         guard to [!MICROBLAZE_MATH_PRIVATE_H].
11126         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
11127         macro.
11128         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11129         [!MIPS_MATH_PRIVATE_H].
11130         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
11131         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11132         [!NIO2_MATH_PRIVATE_H].
11133         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
11134         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11135         [!TILE_MATH_PRIVATE_H].
11136         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
11138         [BZ #15421]
11139         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11140         initialize with 0 and define as weak alias of __signgam.
11141         * include/math.h [!_ISOMAC] (__signgam): Declare.
11142         * math/Makefile (libm-calls): Add w_lgamma_compat.
11143         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11144         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11145         test-signgam-ullong-init.
11146         (tests-static): Add test-signgam-uchar-static,
11147         test-signgam-uchar-init-static, test-signgam-uint-static,
11148         test-signgam-uint-init-static, test-signgam-ullong-static and
11149         test-signgam-ullong-init-static.
11150         (CFLAGS-test-signgam-uchar.c): New variable.
11151         (CFLAGS-test-signgam-uchar-init.c): Likewise.
11152         (CFLAGS-test-signgam-uchar-static.c): Likewise.
11153         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11154         (CFLAGS-test-signgam-uint.c): Likewise.
11155         (CFLAGS-test-signgam-uint-init.c): Likewise.
11156         (CFLAGS-test-signgam-uint-static.c): Likewise.
11157         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11158         (CFLAGS-test-signgam-ullong.c): Likewise.
11159         (CFLAGS-test-signgam-ullong-init.c): Likewise.
11160         (CFLAGS-test-signgam-ullong-static.c): Likewise.
11161         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11162         * math/Versions (libm): Add GLIBC_2.23.
11163         * math/lgamma-compat.h: New file.
11164         * math/test-signgam-main.c: Likewise.
11165         * math/test-signgam-uchar-init-static.c: Likewise.
11166         * math/test-signgam-uchar-init.c: Likewise.
11167         * math/test-signgam-uchar-static.c: Likewise.
11168         * math/test-signgam-uchar.c: Likewise.
11169         * math/test-signgam-uint-init-static.c: Likewise.
11170         * math/test-signgam-uint-init.c: Likewise.
11171         * math/test-signgam-uint-static.c: Likewise.
11172         * math/test-signgam-uint.c: Likewise.
11173         * math/test-signgam-ullong-init-static.c: Likewise.
11174         * math/test-signgam-ullong-init.c: Likewise.
11175         * math/test-signgam-ullong-static.c: Likewise.
11176         * math/test-signgam-ullong.c: Likewise.
11177         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11178         wrapper of w_lgamma_main.c.
11179         * math/w_lgamma_compat.c: New file.
11180         * math/w_lgamma_compatf.c: Likewise.
11181         * math/w_lgamma_compatl.c: Likewise.
11182         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11183         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11184         defining compatibility symbols.
11185         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11186         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11187         wrapper of w_lgammaf_main.c.
11188         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11189         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11190         defining compatibility symbols.
11191         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11192         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11193         wrapper of w_lgammal_main.c.
11194         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11195         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11196         defining compatibility symbols.
11197         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11198         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11199         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11200         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11201         <lgamma-compat.h>.
11202         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11203         (__ieee754_gamma): Define as alias.
11204         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11205         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11206         <lgamma-compat.h>.
11207         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11208         (__ieee754_gammaf): Define as alias.
11209         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11210         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11211         <lgamma-compat.h>.
11212         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11213         (__ieee754_gammal): Define as alias.
11214         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11215         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11216         <math/w_lgamma_compat.c>.
11217         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11218         Define as alias of __lgamma_compat and use in defining lgammal.
11219         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11220         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11221         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11222         (USE_AS_COMPAT): New macro.
11223         (LGAMMA_OLD_VER): Undefine and redefine.
11224         (lgammal): Do not define here.
11225         (gammal): Only define here if [GAMMA_ALIAS].
11226         * conform/linknamespace.pl (@whitelist): Remove signgam.
11227         * sysdeps/nacl/libm.abilist: Update.
11228         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11229         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11230         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11231         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11232         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11233         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11234         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11235         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11236         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11237         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11238         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11239         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11241         Likewise.
11242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11243         Likewise.
11244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11245         Likewise.
11246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11247         Likewise.
11248         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11249         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11250         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11251         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11252         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11254         Likewise.
11255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11256         Likewise.
11257         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11258         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11259         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11261 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11263         [BZ #16364]
11264         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11265         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11267 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11269         * sysdeps/s390/fpu/bits/mathinline.h:
11270         Use __asm__ [__volatile__] instead of asm [volatile].
11271         * sysdeps/s390/abort-instr.h: Likewise.
11272         * sysdeps/s390/atomic-machine.h: Likewise.
11273         * sysdeps/s390/bits/string.h: Likewise.
11274         * sysdeps/s390/dl-tls.h: Likewise.
11275         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11276         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11277         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11278         * sysdeps/s390/fpu/fesetround.c: Likewise.
11279         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11280         * sysdeps/s390/fpu/s_fma.c: Likewise.
11281         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11282         * sysdeps/s390/memusage.h: Likewise.
11283         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11284         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11285         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11286         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11287         * sysdeps/s390/nptl/tls.h: Likewise.
11288         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11289         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11290         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11291         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11292         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11293         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11294         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11295         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11296         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11297         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11298         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11299         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11300         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11301         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11302         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11303         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11304         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11305         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11306         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11308         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11309         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11310         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11312 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11313             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11315         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11316         Add lwarx hint, and use macro for acquire instruction.
11317         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11318         Likewise.
11319         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11320         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11321         update to use new atomic macros.
11323 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11325         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11326         (__lll_trylock_elision): Fix setting of adapt_count.
11327         * sysdeps/unix/sysv/linux/powerpc/htm.h
11328         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11329         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11330         (_ABORT_SYSCALL): Renumber, and clarify definition.
11331         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11333 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11335         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11336         after system headers to prevent MIN/MAX redefinition.  Define
11337         HAVE_ALLOCA to preserve builtin alloca usage.
11339 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11341         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11342         static and don't set or restore rounding.
11343         (__cos)[IN_SINCOS]: Likewise.
11344         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11345         (__sincos): Set and restore rounding mode.  Remove check for infinite
11346         or NaN input.
11348         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11350         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11351         as used.
11353 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11355         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11357 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11359         * config.make.in (have-glob-dat-reloc): New.
11360         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11361         target supports GLOB_DAT relocaton. AC_SUBST.
11362         * configure: Regenerated.
11363         * elf/Makefile (tests): Add tst-prelink.
11364         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11365         (tst-prelink-ENV): New.
11366         ($(objpfx)tst-prelink-conflict.out): Likewise.
11367         ($(objpfx)tst-prelink-cmp.out): Likewise.
11368         * sysdeps/x86/tst-prelink.c: Moved to ...
11369         * elf/tst-prelink.c: Here.
11370         * sysdeps/x86/tst-prelink.exp: Moved to ...
11371         * elf/tst-prelink.exp: Here.
11372         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11373         (tst-prelink-ENV): Removed.
11374         ($(objpfx)tst-prelink-conflict.out): Likewise.
11375         ($(objpfx)tst-prelink-cmp.out): Likewise.
11376         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11378 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11380         [BZ #14551]
11381         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11382         (__mpn_construct_long_double): If high part overflows to infinity,
11383         set errno and recompute overflowed result of the correct sign.
11384         * sysdeps/ieee754/ldbl-128ibm/Makefile
11385         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11386         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11387         $(libm).
11388         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11390 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11392         [BZ #15479]
11393         [BZ #19238]
11394         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11395         floating-point state after first operation on input.  Restore full
11396         state rather than just rounding mode.
11397         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11398         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11399         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11401         [BZ #19235]
11402         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11403         add 0.5 to integer arguments.
11404         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11405         Likewise.
11406         (.LC2): New object.
11408 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11410         * scripts/pylintrc (reports): Set to no.
11412 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11414         * elf/dl-load.c (open_verify): Take new argument FD.
11415         Skip __open call if passed FD is not -1.
11416         (_dl_map_object, open_path): Update callers.
11417         * elf/dl-sysdep-open.h: New file.
11418         * elf/dl-load.c: Include it.
11419         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11420         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11421         * sysdeps/nacl/dl-sysdep-open.h: New file.
11422         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11423         from libc to rtld.
11425 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11427         [BZ #19228]
11428         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11429         and restore full floating-point state.
11430         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11431         Likewise.
11432         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11433         Likewise.
11434         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11435         Likewise.
11436         * math/test-nearbyint-except-2.c: New file.
11437         * math/Makefile (tests): Add test-nearbyint-except-2.
11439 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11441         [BZ #19178]
11442         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11443         (tst-prelink-ENV): New.
11444         ($(objpfx)tst-prelink-conflict.out): Likewise.
11445         ($(objpfx)tst-prelink-cmp.out): Likewise.
11446         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11447         * sysdeps/x86/tst-prelink.c: New file.
11448         * sysdeps/x86/tst-prelink.exp: Likewise.
11450 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11452         * math/auto-libm-test-in: Add another test of pow.
11453         * math/auto-libm-test-out: Regenerated.
11454         * math/libm-test.inc (pow_test_data): Add another test.
11456 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11458         [BZ #19219]
11459         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11460         weak_alias to nearbyintl.
11462 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11464         * sysdeps/aarch64/bits/string.h: New file.
11465         (_STRING_ARCH_unaligned): Define.
11467 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11469         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11470         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11471         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11472         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11475 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11477         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11478         for original name of the DSO.  Add it to the name list of the DSO
11479         if it is actually given.
11480         (_dl_map_object): Keep track of whether an audit module rewrote
11481         the file name.  If yes, pass the original name to
11482         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11483         debugging is enabled, log the change of the file name.
11484         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11485         _dl_map_object_from_fd.
11486         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11487         * elf/tst-audit11.c: New file
11488         * elf/tst-auditmod11.c: New file.
11489         * elf/tst-audit11mod1.c: New file.
11490         * elf/tst-audit11mod2.c: New file.
11491         * elf/tst-audit11mod2.map: New file.
11492         * elf/tst-audit12.c: New file
11493         * elf/tst-auditmod12.c: New file.
11494         * elf/tst-audit12mod1.c: New file.
11495         * elf/tst-audit12mod2.c: New file.
11496         * elf/tst-audit12mod2.map: New file.
11497         * elf/tst-audit12mod3.c: New file.
11499 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11501         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11502         Don't create weak aliases,
11503         because versioned symbols are created later.
11504         * sysdeps/s390/s390-32/setjmp.S
11505         (setjmp, _setjmp): Remove weak and rename to an unique name
11506         in SHARED case due to existing versioned symbols.
11507         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11508         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11509         (getcontext): Create weak alias only in non SHARED case.
11510         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11512 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11514         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11515         (__ASSUME_*_SYSCALL) Define new macros.
11516         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11517         Remove socketcall syscalls.
11518         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11519         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11520         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11521         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11522         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11523         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11525 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11527         [BZ #12926]
11528         Terminate process on invalid netlink response.
11529         * sysdeps/unix/sysv/linux/netlinkaccess.h
11530         (__netlink_assert_response): Declare.
11531         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11532         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11533         (sysdep_routines): Add netlink_assert_response.
11534         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11535         __netlink_assert_response.
11536         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11537         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11538         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11539         __netlink_assert_response.
11541 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11543         [BZ #19178]
11544         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11545         (RTYPE_CLASS_PLT): Likewise.
11546         (RTYPE_CLASS_COPY): Likewise.
11547         (RTYPE_CLASS_TLS): Likewise.
11548         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11549         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11550         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11551         DL_DEBUG_PRELINK.
11553 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11555         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11556         calls with argument -0.5.
11557         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11559         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11560         (libc_cv_z_nodlopen): Likewise.
11561         (libc_cv_z_initfirst): Likewise.
11562         * configure: Regenerated.
11564 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11566         Simplify abilist format to be line-based.
11567         * scripts/abilist.awk: Collect descriptors in the descs variable.
11568         (emit): Write descs variable and sort it
11569         externally, with sort.
11570         * sysdeps/**/*.abilist: Convert to new format.
11572 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11574         [BZ #11460]
11575         * io/Makefile (routines): Add fts64.
11576         (tests): Add tst-fts and tst-fts-lfs.
11577         (CFLAGS-fts64.c): New.
11578         * io/Versions (GLIBC_2.23): New.
11579         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11580         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11581         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11582         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11583         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11584         (FTSENT64): Likewise.
11585         (fts64_children): Likewise.
11586         (fts64_close): Likewise.
11587         (fts64_open): Likewise.
11588         (fts64_read): Likewise.
11589         (fts64_set): Likewise.
11590         * io/fts64.c: New file.
11591         * io/tst-fts.c: New test.
11592         * io/tst-fts-lfs.c: Likewise.
11593         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11594         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11595         fts64_set.
11596         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11597         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11598         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11599         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11600         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11601         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11602         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11603         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11604         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11605         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11606         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11607         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11608         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11610         Likewise.
11611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11612         Likewise.
11613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11615         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11616         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11617         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11618         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11619         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11622         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11623         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11624         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11625         * sysdeps/wordsize-64/fts.c: New file.
11626         * sysdeps/wordsize-64/fts64.c: Likewise.
11627         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11628         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11629         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11630         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11632 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11634         * math/libm-test.inc (NON_FINITE): New macro.
11635         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11636         * math/gen-libm-test.pl (show_exceptions): Add argument
11637         $non_finite.
11638         (parse_args): Update call to show_exceptions.
11639         * math/test-math-finite.h: New file.
11640         * math/test-math-no-finite.h: Likewise.
11641         * math/test-double-finite.c: Likewise.
11642         * math/test-float-finite.c: Likewise.
11643         * math/test-ldouble-finite.c: Likewise.
11644         * math/test-double.c: Include "test-math-no-finite.h".
11645         * math/test-float.c: Include "test-math-no-finite.h".
11646         * math/test-ldouble.c: Include "test-math-no-finite.h".
11647         * math/test-math-inline.h (TEST_FINITE): New macro.
11648         * math/test-math-vector.h (TEST_FINITE): Likewise.
11649         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11650         (libm-tests): Add test-float-finite and test-double-finite.
11651         ($(objpfx)test-float-finite.o): New dependency on
11652         $(objpfx)libm-test.stmp.
11653         ($(objpfx)test-double-finite.o): Likewise.
11654         ($(objpfx)test-ldouble-finite.o): Likewise.
11655         (libm-test-no-inline-cflags): New variable.
11656         (libm-test-finite-cflags): Likewise.
11657         (CFLAGS-test-float-finite.c): Likewise.
11658         (CFLAGS-test-double-finite.c): Likewise.
11659         (CFLAGS-test-ldouble-finite.c): Likewise.
11660         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11661         (CFLAGS-test-double.c): Likewise.
11662         (CFLAGS-test-ldouble.c): Likewise.
11664 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11666         * io/fcntl.c (__fcntl): Add ... to prototype.
11667         * misc/ioctl.c (__ioctl): Likewise.
11668         * misc/syscall.c (syscall): Likewise.
11670 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11672         * scripts/list-fixed-bugs.py: New file.
11674         [BZ #19213]
11675         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11676         returned for argument 1.
11677         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11678         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11679         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11680         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11681         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11682         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11684         [BZ #19211]
11685         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11686         __USE_XOPEN], not if [!__USE_ISOC99].
11687         (lgammaf): Likewise.
11688         (lgammal): Likewise.
11689         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11690         (gammaf): Likewise.
11691         (gammal): Likewise.
11692         * math/test-signgam-finite-c11.c: New file.
11693         * math/test-signgam-finite-c99.c: Likewise.
11694         * math/test-signgam-finite.c: Likewise.
11695         * math/Makefile (tests): Add test-signgam-finite,
11696         test-signgam-finite-c99 and test-signgam-finite-c11.
11697         (CFLAGS-test-signgam-finite.c): New variable.
11698         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11699         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11701         [BZ #19212]
11702         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11703         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11704         500].
11705         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11706         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11707         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11708         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11709         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11710         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11711         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11712         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11713         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11714         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11716         [BZ #19209]
11717         * math/bits/math-finite.h (ldexp): Remove declaration.
11718         (ldexpf): Likewise.
11719         (ldexpl): Likewise.
11721         [BZ #19205]
11722         * math/bits/math-finite.h (acosf): Condition declaration on
11723         [__USE_ISOC99].
11724         (acosl): Likewise.
11725         (acoshf): Likewise.
11726         (acoshl): Likewise.
11727         (asinf): Likewise.
11728         (asinl): Likewise.
11729         (atan2f): Likewise.
11730         (atan2l): Likewise.
11731         (atanhf): Likewise.
11732         (atanhl): Likewise.
11733         (coshf): Likewise.
11734         (coshl): Likewise.
11735         (expf): Likewise.
11736         (expl): Likewise.
11737         (fmodf): Likewise.
11738         (fmodl): Likewise.
11739         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11740         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11741         (j0l): Likewise.
11742         (y0f): Likewise.
11743         (y0l): Likewise.
11744         (j1f): Likewise.
11745         (j1l): Likewise.
11746         (y1f): Likewise.
11747         (y1l): Likewise.
11748         (jnf): Likewise.
11749         (jnl): Likewise.
11750         (ynf): Likewise.
11751         (ynl): Likewise.
11752         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11753         (lgammal_r): Likewise.
11754         (__lgamma_r_finite): New declaration.
11755         (__lgammaf_r_finite): Likewise.
11756         (__lgammal_r_finite): Likewise.
11757         (lgamma): Use __lgamma_r_finite.
11758         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11759         __lgammaf_r_finite.
11760         (lgammal): Condition definition on [__USE_ISOC99].  Use
11761         __lgammal_r_finite.
11762         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11763         __lgamma_r_finite.
11764         (gammaf): Condition definition on [__USE_ISOC99].  Use
11765         __lgammaf_r_finite.
11766         (gammal): Condition definition on [__USE_ISOC99].  Use
11767         __lgammal_r_finite.
11768         (logf): Condition declaration on [__USE_ISOC99].
11769         (logl): Likewise.
11770         (log10f): Likewise.
11771         (log10l): Likewise.
11772         (ldexpf): Likewise.
11773         (ldexpl): Likewise.
11774         (powf): Likewise.
11775         (powl): Likewise.
11776         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11777         __USE_ISOC99].
11778         (remainderf): Condition declaration on [__USE_ISOC99].
11779         (remainderl): Likewise.
11780         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11781         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11782         (scalbl): Likewise.
11783         (sinhf): Condition declaration on [__USE_ISOC99].
11784         (sinhl): Likewise.
11785         (sqrtf): Likewise.
11786         (sqrtl): Likewise.
11788 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11790         * sysdeps/arm/atomic-machine.h
11791         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11792         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11793         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11794         Remove conditional code.
11795         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11796         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11797         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11798         Change conditional to [__ASSEMBLER__].
11799         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11800         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11801         [!__ASSEMBLER__].
11802         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11803         code.
11804         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11805         conditional macro definitions.
11806         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11807         (__arch_compare_and_exchange_val_16_acq): Likewise.
11808         (__arch_compare_and_exchange_val_32_acq): Likewise.
11809         (atomic_exchange_and_add): Likewise.
11810         (atomic_add): Likewise.
11811         (atomic_add_negative): Likewise.
11812         (atomic_add_zero): Likewise.
11813         (atomic_bit_set): Likewise.
11814         (atomic_bit_test_set): Likewise.
11815         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11816         code unconditional.
11817         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11819         * math/test-math-errno.h: New file.
11820         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11821         empty.
11822         (TEST_ERRNO): New macro.
11823         (TEST_EXCEPTIONS): Likewise.
11824         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11825         (TEST_EXCEPTIONS): Likewise.
11826         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11827         * math/test-double.c: Include "test-math-errno.h".
11828         * math/test-float.c: Likewise.
11829         * math/test-ldouble.c: Likewise.
11830         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11831         code unconditional.
11832         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11833         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11834         unconditional.
11835         (test_errno): Only run code if TEST_ERRNO.
11836         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11838 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11840         * nptl/tst-once5.cc: Remove attribution.
11842 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11844         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11845         sqrt, tan, tanh, y0, y1 and yn.
11846         * math/auto-libm-test-out: Regenerated.
11847         * math/libm-test.inc (scalb_test_data): Add more tests.
11848         (scalbn_test_data): Likewise.
11849         (scalbln_test_data): Likewise.
11850         (signbit_test_data): Likewise.
11851         (sin_test_data): Likewise.
11852         (sincos_test_data): Likewise.
11853         (sinh_test_data): Likewise.
11854         (sqrt_test_data): Likewise.
11855         (tan_test_data): Likewise.
11856         (tanh_test_data): Likewise.
11857         (tgamma_test_data): Likewise.
11858         (y0_test_data): Likewise.
11859         (y1_test_data): Likewise.
11860         (yn_test_data): Likewise.
11861         (significand_test_data): Likewise.
11862         * sysdeps/i386/fpu/libm-test-ulps: Update.
11864 2015-11-03  David Kastrup  <dak@gnu.org>
11866         [BZ #18604]
11867         * assert/assert.h (assert): Don't macro-expand failed assertion
11868         expression in error message.
11869         * malloc/malloc.c (assert): Likewise.
11871 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11873         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11874         test.
11875         * configure: Regenerated.
11877 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11879         * math/libm-test.inc (modf_test_data): Add more tests.
11880         (nearbyint_test_data): Likewise.
11881         (nextafter_test_data): Likewise.
11882         (nexttoward_test_data): Likewise.
11883         (pow_test_data): Likewise.
11884         (remainder_test_data): Likewise.
11885         (remquo_test_data): Likewise.
11886         (rint_test_data): Likewise.
11888         [BZ #19201]
11889         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11890         Check for zero remainder in case of large exponents and ensure
11891         correct sign of result in that case.
11892         * math/libm-test.inc (remainder_test_data): Add more tests.
11894         [BZ #6799]
11895         * math/s_nextafter.c: Include <errno.h>.
11896         (__nextafter): Set errno on overflow and underflow.
11897         * math/s_nexttowardf.c: Include <errno.h>.
11898         (__nexttowardf): Set errno on overflow and underflow.
11899         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11900         (__nextafterl): Set errno on overflow and underflow.
11901         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11902         (__nexttoward): Set errno on overflow and underflow.
11903         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11904         (__nexttowardf): Set errno on overflow and underflow.
11905         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11906         (__nextafterf): Set errno on overflow and underflow.
11907         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11908         (__nextafterl): Set errno on overflow and underflow.
11909         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11910         (__nexttoward): Set errno on overflow and underflow.
11911         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11912         (__nexttowardf): Set errno on overflow and underflow.
11913         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11914         (__nextafterl): Set errno on overflow and underflow.
11915         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11916         (__nexttoward): Set errno on overflow and underflow.
11917         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11918         (__nexttowardf): Set errno on overflow and underflow.
11919         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11920         (__nexttoward): Set errno on overflow and underflow.
11921         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11922         (__nexttowardf): Set errno on overflow and underflow.
11923         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11924         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11925         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11926         (__nextafterl): Set errno on overflow and underflow.
11927         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11928         setting to be missing on overflow.  Add more tests.
11929         (nexttoward_test_data): Likewise.
11931         * configure.ac (libc_cv_initfini_array): Remove configure test.
11932         * configure: Regenerated.
11934 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11936         [BZ #19189]
11937         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11938         non-finite argument handle arguments with negative sign.
11940         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11941         result from infinite argument.
11942         (j1_test_data): Likewise.
11943         (jn_test_data): Likewise.
11944         (y0_test_data): Likewise.
11945         (y1_test_data): Likewise.
11946         (yn_test_data): Likewise.
11948         [BZ #16171]
11949         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11950         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11951         * math/w_remainderf.c (dremf): Define as weak alias of
11952         __remainderf.
11953         * math/w_remainderl.c (dreml): Define as weak alias of
11954         __remainderl.
11955         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11956         __remainder.
11957         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11958         __remainderf.
11959         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11960         __remainderl.
11961         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11962         weak alias of remainderl.
11963         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11964         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11965         alias of __remainder.
11966         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11967         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11968         strong alias of __remainderl.
11969         (dreml): Use long_double_symbol.
11970         * math/Makefile (libm-calls): Remove w_drem.
11971         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11972         (CFLAGS-nldbl-drem.c): Remove variable.
11973         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11974         * math/w_drem.c: Remove file.
11975         * math/w_dremf.c: Likewise.
11976         * math/w_dreml.c: Likewise.
11977         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11978         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11979         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11981         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11982         * sysdeps/i386/configure: Regenerated.
11983         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11984         * sysdeps/x86_64/configure: Regenerated.
11986         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11987         test.
11988         (libc_cv_visibility_attribute): Likewise.
11989         (libc_cv_protected_data): Test unconditionally.
11990         (libc_cv_broken_visibility_attribute): Remove configure test.
11991         (libc_cv_have_sdata_section): Test unconditionally.
11992         * configure: Regenerated.
11994         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11995         * include/scratch_buffer.h: Include <stddef.h> instead of
11996         <libc-internal.h>.
11997         (struct scratch_buffer): Use max_align_t instead of
11998         libc_max_align_t.
12000 2015-10-29  Florian Weimer  <fweimer@redhat.com>
12002         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
12003         instead of extend_alloca.  Change control flow to avoid a goto.
12004         Remove assert which is trivially always true.
12006 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12008         [BZ #16068]
12009         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
12010         (FE_ALL_EXCEPT_X86): New macro.
12011         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12012         FE_ALL_EXCEPT.  Ensure precision control is included in
12013         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12014         handle "denormal operand exception" and clear FZ and DAZ bits.
12015         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
12016         (FE_ALL_EXCEPT_X86): New macro.
12017         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12018         FE_ALL_EXCEPT.  Ensure precision control is included in
12019         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12020         handle "denormal operand exception" and clear FZ and DAZ bits.
12021         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
12022         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
12023         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12024         test-fenv-x87 and test-fenv-sse-2.
12025         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
12027         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
12028         * math/test-double.h (BUILD_COMPLEX): New macro.
12029         * math/test-float.h (BUILD_COMPLEX): Likewise.
12030         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
12032         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
12033         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
12034         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
12035         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
12036         instead of DBL_DENORM_MIN in comment.
12037         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
12038         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12039         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
12040         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
12041         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
12042         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12044 2015-10-28  Florian Weimer  <fweimer@redhat.com>
12046         [BZ# 19048]
12047         * malloc/malloc.c (struct malloc_state): Update comment.  Add
12048         attached_threads member.
12049         (main_arena): Initialize attached_threads.
12050         * malloc/arena.c (list_lock): Update comment.
12051         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
12052         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
12053         (deattach_arena): New function.
12054         (_int_new_arena): Initialize arena reference count and deattach
12055         replaced arena.
12056         (get_free_list, reused_arena): Update reference count and deattach
12057         replaced arena.
12058         (arena_thread_freeres): Update arena reference count and only put
12059         unreferenced arenas on the free list.
12061 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12063         [BZ #19181]
12064         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
12065         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
12066         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
12067         * math/test-fenv-clear-main.c: New file.
12068         * math/test-fenv-clear.c: Likewise.
12069         * math/Makefile (tests): Add test-fenv-clear.
12070         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
12071         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12072         test-fenv-clear-sse.
12073         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
12075         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
12076         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
12077         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
12079 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12081         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
12082         static libc.
12084 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12086         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
12087         test.
12088         * sysdeps/i386/configure: Regenerated.
12089         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
12090         test.
12091         * sysdeps/x86_64/configure: Regenerated.
12092         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
12093         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12094         memset-avx2 unconditionally instead of conditionally on
12095         [$(config-cflags-avx2) = yes].
12096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12097         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
12098         unconditional.
12099         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
12100         * sysdeps/x86_64/multiarch/memset_chk.S
12101         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
12102         to [IS_IN (libc) && SHARED].
12104 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12106         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
12107         configure test.
12108         * sysdeps/arm/configure: Regenerated.
12109         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
12110         Define variable if not already defined.
12112         [BZ #17404]
12113         * sysdeps/mips/atomic-machine.h
12114         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
12115         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
12116         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12118         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
12119         unconditional.
12120         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
12121         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12122         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
12123         unconditional.
12124         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12125         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
12126         unconditional.
12127         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12128         * stdlib/setenv.c
12129         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
12130         code unconditional.
12131         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
12132         Remove conditional code.
12133         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12134         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
12135         unconditional.
12136         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12137         code.
12138         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12139         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12140         unconditional.
12141         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12142         code.
12143         * sysdeps/ieee754/ldbl-128/k_tanl.c
12144         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12145         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12146         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12147         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12148         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12149         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12150         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12151         unconditional.
12152         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12153         code.
12154         * sysdeps/ieee754/ldbl-96/k_tanl.c
12155         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12156         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12158         * nptl/tst-initializers1-c11.c: New file.
12159         * nptl/tst-initializers1-gnu11.c: Likewise.
12160         * nptl/Makefile (tests): Add these new tests.
12161         (CFLAGS-tst-initializers1-c11.c): New variable.
12162         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
12164         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
12165         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
12166         instead of -std=gnu99.
12167         * configure.ac (systemtap): Test with -std=gnu11 instead of
12168         -std=gnu99.
12169         * configure: Regenerated.
12170         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12171         in compilation command in comment.
12173         * sysdeps/nptl/configure.ac: Remove file.
12174         * sysdeps/nptl/configure: Remove generated file.
12175         * configure.ac (libc_cv_forced_unwind): Do not substitute.
12176         * configure: Regenerated.
12177         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12178         * config.make.in (have-forced-unwind): Remove variable.
12179         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12180         unconditional.
12181         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12182         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12183         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12184         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12185         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12186         unconditional.
12188 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12190         [BZ #19174]
12191         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12192         .skip_lock_out_of_tbegin_retries.
12193         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12194         (__lll_lock_elision): Likewise, and respect a value of
12195         try_tbegin <= 0.
12197 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12199         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12200         statement.
12202 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12204         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12205         variable.
12206         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12207         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12209         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12210         of -std=c1x -D_ISOC11_SOURCE.
12212         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12213         * configure: Regenerated.
12214         * manual/install.texi (Tools for Compilation): Document
12215         requirement for GCC 4.7 or later.
12216         * INSTALL: Regenerated.
12218 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12220         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12221         on CNT to a conditional jump to 'puntdata'.
12223 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12225         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12226         (libc_cv_gcc_tls_model_attr): Likewise.
12227         * configure: Regenerated.
12229         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12230         * configure: Regenerated.
12231         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12233 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12235         * configure.ac (old_glibc_headers): Remove configure test.
12236         * configure: Regenerated.
12237         * config.make.in (old-glibc-headers): Remove variable.
12238         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12239         (install): Remove dependency on remove-old-headers.
12240         (headers2_0): Remove variable.
12241         (remove-old-headers): Remove rule.
12243         * configure.ac (libc_cv_dot_text): Remove configure test.
12244         (libc_cv_asm_set_directive): Use .text instead of
12245         ${libc_cv_dot_text} in configure test.
12246         * configure: Regenerated.
12248 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12250         [BZ #19168]
12251         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12253 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12255         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12256         not support static linking.
12257         * configure: Regenerate.
12259 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12261         * math/libm-test.inc (check_float_internal): Do not special-case
12262         errors up to 0.5 ulp.
12264         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12265         log2.
12266         * math/auto-libm-test-out: Regenerated.
12267         * math/libm-test.inc (MAX_EXP): New macro.
12268         (ilogb_test_data): Add more tests.
12269         (isfinite_test_data): Likewise.
12270         (isgreater_test_data): Likewise.
12271         (isgreaterequal_test_data): Likewise.
12272         (isinf_test_data): Likewise.
12273         (isless_test_data): Likewise.
12274         (islessequal_test_data): Likewise.
12275         (islessgreater_test_data): Likewise.
12276         (isnan_test_data): Likewise.
12277         (isnormal_test_data): Likewise.
12278         (issignaling_test_data): Likewise.
12279         (isunordered_test_data): Likewise.
12280         (j0_test_data): Likewise.
12281         (j1_test_data): Likewise.
12282         (jn_test_data): Likewise.
12283         (lgamma_test_data): Likewise.
12284         (log_test_data): Likewise.
12285         (log10_test_data): Likewise.
12286         (log1p_test_data): Likewise.
12287         (log2_test_data): Likewise.
12288         (logb_test_data): Likewise.
12289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12291         [BZ #18611]
12292         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12293         avoid excess range and precision on underflow.
12294         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12295         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12296         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12297         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12298         underflow.
12299         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12300         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12301         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12302         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12303         * math/auto-libm-test-in: Do not allow missing errno setting for
12304         tests of j1 and jn.
12305         * math/auto-libm-test-out: Regenerated.
12307 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12309         [BZ #15491]
12310         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12311         floating-point environment instead of clearing all exceptions.
12312         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12313         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12314         merging in "invalid" exceptions from frndint.
12315         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12316         * math/test-nearbyint-except.c: New file.
12317         * math/Makefile (tests): Add test-nearbyint-except.
12319 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12321         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12323         * sysdeps/tile/libm-test-ulps: Regenerated.
12325 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12328         (__NR_sync_file_range2): Assume it is always defined.
12329         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12330         (__NR_sync_file_range): Assume it is always defined.
12332 2015-10-22  Andreas Schwab  <schwab@suse.de>
12334         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12335         INTERNAL_SYSCALL_ERRNO.
12336         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12337         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12338         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12339         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12340         Likewise.
12341         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12343 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12345         * io/tst-fcntl.c (fd): New static variable.
12346         (do_prepare): Open temporary file here....
12347         (do_test): ...not here.
12349         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12351 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12353         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12354         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12355         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12356         Moved before "#ifdef __ASSEMBLER__".
12358 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12360         [BZ #19156]
12361         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12362         arguments very close to 0.
12364 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12366         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12367         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12369 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12371         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12372         New.  Defined for GCC 5 and above when not compiling for
12373         profiling.
12374         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12376         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12377         Renamed to ...
12378         (CFLAGS-epoll_pwait.o): This.
12379         (CFLAGS-mmap.c): Renamed to ...
12380         (CFLAGS-mmap.o): This.
12381         (CFLAGS-mmap64.c): Renamed to ...
12382         (CFLAGS-mmap64.o): This.
12383         (CFLAGS-epoll_pwait.os): New.
12384         (CFLAGS-mmap.os): Likewise.
12385         (CFLAGS-mmap64.os): Likewise.
12386         (CFLAGS-semtimedop.os): Likewise.
12387         (CFLAGS-semtimedop.c): Renamed to ...
12388         (CFLAGS-semtimedop.o): This.
12390 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12392         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12393         warning message.
12395 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12397         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12398         * Makefile ($(objpfx)c++-types-check.out): Filter out
12399         $(+gccwarn-c) instead of -Wstrict-prototypes.
12401         * io/fts.c (fts_open): Convert to prototype-style function
12402         definition.
12403         * malloc/mcheck.c (mcheck): Likewise.
12404         (mcheck_pedantic): Likewise.
12405         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12406         internal_function.
12407         (re_search_internal): Likewise.
12408         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12409         prototype-style function definition.
12410         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12411         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12412         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12413         (xdr_utmpptr): Likewise.
12414         (xdr_utmparr): Likewise.
12415         (xdr_utmpidle): Likewise.
12416         (xdr_utmpidleptr): Likewise.
12417         (xdr_utmpidlearr): Likewise.
12419         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12420         log, log10 and log2.
12421         * math/auto-libm-test-out: Regenerated.
12422         * math/libm-test.inc (fmod_test_data): Add more tests.
12423         (fpclassify_test_data): Likewise.
12424         (frexp_test_data): Likewise.
12425         (hypot_test_data): Likewise.
12426         (ilogb_test_data): Likewise.
12428 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12430         * debug/fortify_fail.c (__fortify_fail): Convert to
12431         prototype-style function definition.  Use internal_function.
12432         * libio/genops.c (save_for_backup): Convert to prototype-style
12433         function definition.
12434         * libio/wgenops.c (save_for_wbackup): Likewise.
12435         * login/grantpt.c (grantpt): Likewise.
12436         * login/ptsname.c (ptsname): Likewise.
12437         (__ptsname_r): Likewise.
12438         * login/unlockpt.c (unlockpt): Likewise.
12439         * mach/msgserver.c (__mach_msg_server): Likewise.
12440         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12441         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12442         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12443         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12444         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12445         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12446         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12447         Likewise.
12448         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12449         internal_function.
12450         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12451         prototype-style function definition.
12452         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12453         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12454         (__pthread_create_2_0): Likewise.
12455         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12456         * nptl/register-atfork.c (__register_atfork): Likewise.
12457         * posix/glob.c (glob): Likewise.
12458         * posix/regcomp.c (re_comp): Likewise.
12459         * posix/regexec.c (re_exec): Likewise.
12460         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12461         [!__STDC__]: Remove conditional code.
12462         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12463         [!__STDC__]: Remove conditional code.
12464         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12465         [!__STDC__]: Remove conditional code.
12466         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12467         [!__STDC__]: Remove conditional code.
12468         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12469         [!__STDC__]: Remove conditional code.
12470         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12471         [!__STDC__]: Remove conditional code.
12472         * stdlib/mul.c [__STDC__]: Make code unconditional.
12473         [!__STDC__]: Remove conditional code.
12474         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12475         [!__STDC__]: Remove conditional code.
12476         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12477         [!__STDC__]: Remove conditional code.
12478         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12479         function definition.
12480         (STRTOF): Likewise.
12481         * stdlib/strtod_l.c (__STRTOF): Likewise.
12482         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12483         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12484         (__strtol_l): Likewise.
12485         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12486         [!__STDC__]: Remove conditional code.
12487         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12488         definition.
12489         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12490         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12491         type.
12492         (__strcasecmp): Convert to prototype-style function definition.
12493         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12494         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12495         type.
12496         (__strncasecmp): Convert to prototype-style function definition.
12497         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12498         * sunrpc/xdr.c (xdr_union): Likewise.
12499         * sunrpc/xdr_array.c (xdr_array): Likewise.
12500         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12501         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12502         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12503         Likewise.
12504         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12505         Likewise.
12506         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12507         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12508         Likewise.
12509         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12510         (LOCALE_PARAM_PROTO): Likewise.
12511         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12512         argument type.
12513         (ut_argument_spec): Remove macro.
12514         (ut_argument_spec_iso): Rename to ut_argument_spec.
12515         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12516         prototype-style function definition.
12517         (memcpy_uppcase): Likewise.
12518         (__strftime_internal): Likewise.
12519         (my_strftime): Likewise.
12520         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12521         (LOCALE_PARAM_DECL): Likewise.
12522         [_LIBC] (LOCALE_PARAM): Include argument type.
12523         (__strptime_internal): Convert to prototype-style function
12524         definition.
12525         (strptime): Likewise.
12526         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12527         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12528         type.
12529         (__wcscasecmp): Convert to prototype-style function definition.
12530         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12531         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12532         type.
12533         (__wcsncasecmp): Convert to prototype-style function definition.
12535         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12536         function definition.
12537         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12538         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12539         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12540         * elf/dl-minimal.c (_itoa): Likewise.
12541         * hurd/hurdmalloc.c (malloc): Likewise.
12542         (free): Likewise.
12543         (realloc): Likewise.
12544         * inet/inet6_option.c (inet6_option_space): Likewise.
12545         (inet6_option_init): Likewise.
12546         (inet6_option_append): Likewise.
12547         (inet6_option_alloc): Likewise.
12548         (inet6_option_next): Likewise.
12549         (inet6_option_find): Likewise.
12550         * io/ftw.c (FTW_NAME): Likewise.
12551         (NFTW_NAME): Likewise.
12552         (NFTW_NEW_NAME): Likewise.
12553         (NFTW_OLD_NAME): Likewise.
12554         * libio/iofwide.c (_IO_fwide): Likewise.
12555         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12556         (_IO_str_init_static): Likewise.
12557         (_IO_str_init_readonly): Likewise.
12558         (_IO_str_overflow): Likewise.
12559         (_IO_str_underflow): Likewise.
12560         (_IO_str_count): Likewise.
12561         (_IO_str_seekoff): Likewise.
12562         (_IO_str_pbackfail): Likewise.
12563         (_IO_str_finish): Likewise.
12564         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12565         (_IO_wstr_overflow): Likewise.
12566         (_IO_wstr_underflow): Likewise.
12567         (_IO_wstr_count): Likewise.
12568         (_IO_wstr_seekoff): Likewise.
12569         (_IO_wstr_pbackfail): Likewise.
12570         (_IO_wstr_finish): Likewise.
12571         * locale/programs/localedef.c (normalize_codeset): Likewise.
12572         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12573         (add_locales_to_archive): Likewise.
12574         (delete_locales_from_archive): Likewise.
12575         * malloc/malloc.c (__libc_mallinfo): Likewise.
12576         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12577         * misc/tsearch.c (__tfind): Likewise.
12578         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12579         * nptl/pthread_attr_getdetachstate.c
12580         (__pthread_attr_getdetachstate): Likewise.
12581         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12582         Likewise.
12583         * nptl/pthread_attr_getinheritsched.c
12584         (__pthread_attr_getinheritsched): Likewise.
12585         * nptl/pthread_attr_getschedparam.c
12586         (__pthread_attr_getschedparam): Likewise.
12587         * nptl/pthread_attr_getschedpolicy.c
12588         (__pthread_attr_getschedpolicy): Likewise.
12589         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12590         Likewise.
12591         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12592         Likewise.
12593         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12594         Likewise.
12595         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12596         Likewise.
12597         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12598         (__pthread_attr_init_2_0): Likewise.
12599         * nptl/pthread_attr_setdetachstate.c
12600         (__pthread_attr_setdetachstate): Likewise.
12601         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12602         Likewise.
12603         * nptl/pthread_attr_setinheritsched.c
12604         (__pthread_attr_setinheritsched): Likewise.
12605         * nptl/pthread_attr_setschedparam.c
12606         (__pthread_attr_setschedparam): Likewise.
12607         * nptl/pthread_attr_setschedpolicy.c
12608         (__pthread_attr_setschedpolicy): Likewise.
12609         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12610         Likewise.
12611         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12612         Likewise.
12613         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12614         Likewise.
12615         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12616         Likewise.
12617         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12618         Likewise.
12619         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12620         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12621         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12622         use internal_function.
12623         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12624         prototype-style function definition.
12625         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12626         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12627         internal_function.
12628         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12629         Convert to prototype-style function definition.
12630         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12631         Likewise.
12632         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12633         Likewise.
12634         (__pthread_mutex_unlock): Likewise.
12635         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12636         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12637         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12638         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12639         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12640         * nss/makedb.c (process_input): Likewise.
12641         * posix/fnmatch.c (__strchrnul): Likewise.
12642         (__wcschrnul): Likewise.
12643         (fnmatch): Likewise.
12644         * posix/fnmatch_loop.c (FCT): Likewise.
12645         * posix/glob.c (globfree): Likewise.
12646         (__glob_pattern_type): Likewise.
12647         (__glob_pattern_p): Likewise.
12648         * posix/regcomp.c (re_compile_pattern): Likewise.
12649         (re_set_syntax): Likewise.
12650         (re_compile_fastmap): Likewise.
12651         (regcomp): Likewise.
12652         (regerror): Likewise.
12653         (regfree): Likewise.
12654         * posix/regexec.c (regexec): Likewise.
12655         (re_match): Likewise.
12656         (re_search): Likewise.
12657         (re_match_2): Likewise.
12658         (re_search_2): Likewise.
12659         (re_search_stub): Likewise.  Use internal_function
12660         (re_copy_regs): Likewise.
12661         (re_set_registers): Convert to prototype-style function
12662         definition.
12663         (prune_impossible_nodes): Likewise.  Use internal_function.
12664         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12665         prototype-style function definition.
12666         (inet_net_pton_ipv4): Likewise.
12667         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12668         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12669         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12670         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12671         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12672         Make variadic.
12673         * time/strptime_l.c (localtime_r): Convert to prototype-style
12674         function definition.
12675         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12676         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12677         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12678         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12680         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12681         definition.
12682         (_ufc_doit_r): Likewise.
12683         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12684         (_ufc_output_conversion_r): Likewise.
12685         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12686         * inet/rcmd.c (rcmd_af): Likewise.
12687         (rcmd): Likewise.
12688         (ruserok_af): Likewise.
12689         (ruserok): Likewise.
12690         (ruserok2_sa): Likewise.
12691         (ruserok_sa): Likewise.
12692         (iruserok_af): Likewise.
12693         (iruserok): Likewise.
12694         (__ivaliduser): Likewise.
12695         (__validuser2_sa): Likewise.
12696         * inet/rexec.c (rexec_af): Likewise.
12697         (rexec): Likewise.
12698         * inet/ruserpass.c (ruserpass): Likewise.
12699         * locale/programs/xmalloc.c (xcalloc): Likewise.
12700         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12701         * math/w_drem.c (__drem): Likewise.
12702         * math/w_dremf.c (__dremf): Likewise.
12703         * math/w_dreml.c (__dreml): Likewise.
12704         * misc/daemon.c (daemon): Likewise.
12705         * resolv/res_debug.c (p_fqnname): Likewise.
12706         * stdlib/div.c (div): Likewise.
12707         * string/memcmp.c (memcmp_bytes): Likewise.
12708         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12709         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12711         * crypt/cert.c (main): Convert to prototype-style function
12712         definition.
12713         * io/pipe.c (__pipe): Likewise.
12714         * io/pipe2.c (__pipe2): Likewise.
12715         * misc/futimesat.c (futimesat): Likewise.
12716         * misc/utimes.c (__utimes): Likewise.
12717         * posix/execve.c (__execve): Likewise.
12718         * posix/execvp.c (execvp): Likewise.
12719         * posix/execvpe.c (__execvpe): Likewise.
12720         * posix/fexecve.c (fexecve): Likewise.
12721         * socket/socketpair.c (socketpair): Likewise.
12722         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12723         * stdlib/erand48.c (erand48): Likewise.
12724         * stdlib/erand48_r.c (__erand48_r): Likewise.
12725         * stdlib/jrand48.c (jrand48): Likewise.
12726         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12727         * stdlib/lcong48.c (lcong48): Likewise.
12728         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12729         * stdlib/nrand48.c (nrand48): Likewise.
12730         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12731         * stdlib/seed48.c (seed48): Likewise.
12732         * stdlib/seed48_r.c (__seed48_r): Likewise.
12733         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12734         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12735         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12737 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12739         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12740         * configure: Regenerated.
12741         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12742         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12743         unconditional.
12744         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12745         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12746         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12747         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12748         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12749         unconditional.
12750         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12752         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12753         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12755         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12756         function definition.
12757         * crypt/crypt_util.c (__encrypt_r): Likewise.
12758         * libio/genops.c (_IO_no_init): Likewise.
12759         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12760         (_IO_old_fopencookie): Likewise.
12761         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12762         * libio/iogetline.c (_IO_getline): Likewise.
12763         (_IO_getline_info): Likewise.
12764         * libio/iogetwline.c (_IO_getwline): Likewise.
12765         (_IO_getwline_info): Likewise.
12766         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12767         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12768         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12769         (find_entry): Likewise.
12770         (iterate_table): Likewise.
12771         (lookup): Likewise.
12772         * login/forkpty.c (forkpty): Likewise.
12773         * misc/hsearch_r.c (__hsearch_r): Likewise.
12774         * misc/select.c (__select): Likewise.
12775         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12776         Likewise.
12777         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12778         Likewise.
12779         * nptl/old_pthread_cond_timedwait.c
12780         (__pthread_cond_timedwait_2_0): Likewise.
12781         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12782         * nptl/pthread_barrierattr_getpshared.c
12783         (pthread_barrierattr_getpshared): Likewise.
12784         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12785         Likewise.
12786         * nptl/pthread_mutex_setprioceiling.c
12787         (pthread_mutex_setprioceiling): Likewise.
12788         * nptl/pthread_mutexattr_getprioceiling.c
12789         (pthread_mutexattr_getprioceiling): Likewise.
12790         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12791         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12792         Likewise.
12793         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12794         Likewise.
12795         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12796         Likewise.
12797         * socket/recvfrom.c (__recvfrom): Likewise.
12798         * socket/sendto.c (__sendto): Likewise.
12799         * socket/setsockopt.c (__setsockopt): Likewise.
12800         * stdio-common/_itoa.c (_itoa): Likewise.
12801         * stdio-common/_itowa.c (_itowa): Likewise.
12802         * stdio-common/reg-printf.c (__register_printf_specifier):
12803         Likewise.
12804         (__register_printf_function): Likewise.
12805         * stdio-common/tempname.c (__path_search): Likewise.
12806         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12807         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12808         * stdlib/random_r.c (__initstate_r): Likewise.
12809         * stdlib/setenv.c (__add_to_environ): Likewise.
12810         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12811         * streams/getpmsg.c (getpmsg): Likewise.
12812         * streams/putmsg.c (putmsg): Likewise.
12813         * streams/putpmsg.c (putpmsg): Likewise.
12814         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12815         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12816         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12817         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12818         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12819         * sunrpc/svc_udp.c (cache_get): Likewise.
12820         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12821         * sysdeps/mach/hurd/getcwd.c
12822         (__canonicalize_directory_name_internal): Likewise.
12823         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12824         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12825         * sysdeps/mach/hurd/select.c (__select): Likewise.
12826         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12827         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12828         * sysdeps/sparc/nptl/pthread_barrier_init.c
12829         (__pthread_barrier_init): Likewise.
12830         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12831         (__pthread_cond_timedwait): Likewise.
12832         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12833         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12834         Likewise.
12835         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12836         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12837         Likewise.
12838         * sysvipc/semtimedop.c (semtimedop): Likewise.
12839         * time/setitimer.c (__setitimer): Likewise.
12840         * time/strftime_l.c (emacs_strftime): Likewise.
12842 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12844         * config.make.in (have-ssp): Delete.
12845         (stack-protector): New variable.
12846         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12847         cache test for -fstack-protector-strong.  Export stack_protector to
12848         the best ssp flag.
12849         * configure: Regenerated.
12850         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12851         * nscd/Makefile (CFLAGS-nscd): Likewise.
12852         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12854 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12856         [BZ #19122]
12857         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12858         attribute_hidden.
12860 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12862         [BZ #18743]
12863         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12864         code to...
12865         (ELIDE_LOCK): ...here.
12866         (__get_new_count): New function with part of the code from
12867         __elide_lock that updates the value of adapt_count after a
12868         transaction abort.
12869         (__elided_trylock): Moved this code to...
12870         (ELIDE_TRYLOCK): ...here.
12872 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12874         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12875         * configure: Regenerate.
12876         * INSTALL: Regenerate.
12877         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12878         and tweak grammar.
12880 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12882         * login/programs/pt_chown.c: Include signal.h
12883         (main): Clear any signal mask from the parent process.
12885 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12887         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12888         * configure: Regenerated.
12889         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12890         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12891         $(gnu89-inline-CFLAGS).
12893         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12894         test.
12895         (libc_cv_asm_weakext_directive): Likewise.
12896         * configure: Regenerated.
12897         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12898         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12899         * include/libc-symbols.h
12900         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12901         #error.
12902         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12903         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12905         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12906         prototype-style function definition.
12907         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12908         * sysdeps/i386/ffs.c (__ffs): Likewise.
12909         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12910         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12911         Likewise.
12912         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12913         Likewise.
12914         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12915         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12916         Likewise.
12917         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12918         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12919         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12920         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12921         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12922         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12923         * sysdeps/mach/hurd/access.c (__access): Likewise.
12924         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12925         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12926         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12927         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12928         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12929         (cthread_getspecific): Likewise.
12930         (cthread_setspecific): Likewise.
12931         (__libc_getspecific): Likewise.
12932         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12933         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12934         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12935         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12936         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12937         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12938         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12939         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12940         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12941         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12942         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12943         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12944         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12945         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12946         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12947         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12948         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12949         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12950         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12951         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12952         * sysdeps/mach/hurd/link.c (__link): Likewise.
12953         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12954         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12955         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12956         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12957         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12958         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12959         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12960         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12961         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12962         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12963         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12964         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12965         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12966         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12967         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12968         * sysdeps/mach/hurd/send.c (__send): Likewise.
12969         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12970         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12971         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12972         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12973         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12974         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12975         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12976         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12977         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12978         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12979         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12980         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12981         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12982         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12983         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12984         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12985         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12986         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12987         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12988         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12989         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12990         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12991         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12992         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12993         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12994         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12995         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12996         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12997         * sysdeps/posix/alarm.c (alarm): Likewise.
12998         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12999         * sysdeps/posix/dirfd.c (dirfd): Likewise.
13000         * sysdeps/posix/dup.c (__dup): Likewise.
13001         * sysdeps/posix/dup2.c (__dup2): Likewise.
13002         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
13003         (main): Likewise.
13004         * sysdeps/posix/flock.c (__flock): Likewise.
13005         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
13006         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13007         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
13008         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
13009         * sysdeps/posix/isatty.c (__isatty): Likewise.
13010         * sysdeps/posix/killpg.c (killpg): Likewise.
13011         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13012         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
13013         * sysdeps/posix/raise.c (raise): Likewise.
13014         * sysdeps/posix/remove.c (remove): Likewise.
13015         * sysdeps/posix/rename.c (rename): Likewise.
13016         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
13017         * sysdeps/posix/seekdir.c (seekdir): Likewise.
13018         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13019         * sysdeps/posix/sigignore.c (sigignore): Likewise.
13020         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
13021         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13022         * sysdeps/posix/sigset.c (sigset): Likewise.
13023         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
13024         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
13025         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
13026         * sysdeps/posix/time.c (time): Likewise.
13027         * sysdeps/posix/ttyname.c (getttyname): Likewise.
13028         (ttyname): Likewise.
13029         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
13030         * sysdeps/posix/utime.c (utime): Likewise.
13031         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
13032         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13033         Likewise.
13034         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
13035         (pthread_spin_trylock): Likewise.
13036         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
13037         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
13038         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
13039         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
13040         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
13041         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
13042         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
13043         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
13044         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
13045         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
13046         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
13047         * sysdeps/s390/ffs.c (__ffs): Likewise.
13048         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
13049         Likewise.
13050         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13051         Likewise.
13052         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
13053         Likewise.
13054         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
13055         (pthread_barrier_destroy): Likewise.
13056         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13057         (__pthread_barrier_wait): Likewise.
13058         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
13059         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13060         (__pthread_barrier_wait): Likewise.
13061         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
13062         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
13063         (memcmp_not_common_alignment): Likewise.
13064         (MEMCMP): Likewise.
13065         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
13066         (_wordcopy_fwd_dest_aligned): Likewise.
13067         (_wordcopy_bwd_aligned): Likewise.
13068         (_wordcopy_bwd_dest_aligned): Likewise.
13069         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
13070         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
13071         * sysdeps/unix/bsd/stty.c (stty): Likewise.
13072         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
13073         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
13074         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
13075         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
13076         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
13077         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
13078         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
13079         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
13080         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13081         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
13082         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
13083         * sysdeps/unix/stime.c (stime): Likewise.
13084         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
13085         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
13086         Likewise.  Use internal_function.
13087         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
13088         Convert to prototype-style function definition.
13089         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13090         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13091         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
13092         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13093         Likewise.  Use internal_function.
13094         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
13095         prototype-style function definition
13096         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13097         Likewise.
13098         (__getlogin_r): Likewise.
13099         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
13100         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
13101         (__pthread_cond_broadcast): Likewise.
13102         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
13103         (__pthread_cond_destroy): Likewise.
13104         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
13105         (__pthread_cond_init): Likewise.
13106         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
13107         (__pthread_cond_signal): Likewise.
13108         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
13109         (__pthread_cond_wait): Likewise.
13110         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
13111         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13112         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
13113         Likewise.
13114         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
13115         Likewise.
13116         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13117         Likewise.
13118         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
13119         Likewise.
13120         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
13121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
13122         (__ftruncate64): Likewise.
13123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
13124         (truncate64): Likewise.
13125         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
13126         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
13127         (pthread_getcpuclockid): Likewise.
13128         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13129         Likewise.
13130         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13131         Likewise.
13132         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
13133         Likewise.
13134         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13135         Likewise.
13136         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
13137         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13138         (__libc_sigaction): Likewise.
13139         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13140         Likewise.
13141         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13142         (__sigprocmask): Likewise.
13143         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13144         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13145         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13146         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13147         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13148         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13149         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13150         Likewise.
13151         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13152         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13153         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13154         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13155         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13156         Likewise.
13157         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13158         (__sigprocmask): Likewise.
13159         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
13160         (cfgetispeed): Likewise.
13161         (cfsetospeed): Likewise.
13162         (cfsetispeed): Likewise.
13163         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
13164         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
13165         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13166         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13167         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
13168         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
13169         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
13170         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13171         Likewise.
13172         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13175         Likewise.
13176         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13177         Likewise.
13178         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13180 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13182         sunrpc: Rewrite with explicit TLS access using __thread.
13183         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13184         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13185         directly.
13186         (__rpc_thread_variables): Access thread_rpc_vars directly.
13187         Eliminate redundant assignment of the tvp variable.
13189 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13191         malloc: Rewrite with explicit TLS access using __thread.
13192         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13193         (tsd_setspecific, tsd_getspecific): Remove.
13194         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13195         (tsd_setspecific, tsd_getspecific): Likewise.
13196         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13197         (tsd_setspecific, tsd_getspecific): Likewise.
13198         * malloc/arena.c (thread_arena): New TLS variable.
13199         (arena_key): Remove variable.
13200         (arena_get): Use thread_arena.
13201         (arena_lookup): Remove macro.
13202         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13203         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13204         (_int_new_arena, get_free_list, reused_arena)
13205         (arena_thread_freeres): Use thread_arena.
13206         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13207         tsd_getspecific, tsd_setspecific from safety annotations.
13208         (Allocating Cleared Space): Remove arena_lookup from safety
13209         annotations.
13211 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13213         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13214         struct scratch_buffer instead of extend_alloca.
13216 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13218         * sysdeps/unix/sysv/linux/kernel-features.h
13219         (__ASSUME_SOCK_CLOEXEC): Remove.
13220         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13221         (__have_paccept): Remove unused macro.
13222         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13223         * misc/syslog.c (openlog_internal): Remove fallback code for
13224         !__ASSUME_SOCK_CLOEXEC.
13225         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13226         missing SOCK_CLOEXEC.
13227         * nscd/connections.c (have_sock_cloexec): Remove definition.
13228         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13229         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13230         !__ASSUME_SOCK_CLOEXEC.
13231         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13232         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13233         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13234         definition.
13235         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13236         code for !__ASSUME_SOCK_CLOEXEC.
13238 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13240         [BZ #18982]
13241         * manual/stdio.texi (Variable Arguments Output): Add portability
13242         note, explaining that vfprintf clobbers the va_list pointer.
13244 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13246         * math/libm-test.inc (fabs_test_data): Add more tests.
13247         (fdim_test_data): Likewise.
13248         (fma_test_data): Likewise.
13249         (fmax_test_data): Likewise.
13250         (fmin_test_data): Likewise.
13251         (fmod_test_data): Likewise.
13253 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13255         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13256         data.
13258 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13260         * math/libm-test.inc (ceil_test_data): Add more tests and more
13261         expectations for "inexact".
13262         (floor_test_data): Add more tests.
13263         (round_test_data): Likewise.
13264         (trunc_test_data): Likewise.
13266         * crypt/cert.c (good_bye): Convert to prototype-style function
13267         definition.
13268         (get8): Likewise.
13269         (put8): Likewise.
13270         * crypt/crypt-entry.c (crypt): Likewise.
13271         (__fcrypt): Likewise.
13272         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13273         (_ufc_set_bits): Likewise.
13274         (_ufc_clearmem): Likewise.
13275         (__init_des_r): Likewise.
13276         (shuffle_sb): Likewise.
13277         (shuffle_sb): Likewise.
13278         (_ufc_setup_salt_r): Likewise.
13279         (_ufc_mk_keytab_r): Likewise.
13280         (_ufc_dofinalperm_r): Likewise.
13281         (encrypt): Likewise.
13282         (__setkey_r): Likewise.
13283         (setkey): Likewise.
13284         * crypt/md5.c (md5_init_ctx): Likewise.
13285         (md5_read_ctx): Likewise.
13286         (md5_finish_ctx): Likewise.
13287         (md5_stream): Likewise.
13288         (md5_buffer): Likewise.
13289         (md5_process_bytes): Likewise.
13290         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13291         (__sha256_finish_ctx): Likewise.
13292         (__sha256_process_bytes): Likewise.
13293         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13294         (__sha512_finish_ctx): Likewise.
13295         (__sha512_process_bytes): Likewise.
13296         * ctype/isctype.c (__isctype): Likewise.
13297         * debug/backtrace.c (__backtrace): Likewise.
13298         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13299         * debug/fgets_chk.c (__fgets_chk): Likewise.
13300         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13301         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13302         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13303         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13304         * debug/memset_chk.c (__memset_chk): Likewise.
13305         * debug/strcat_chk.c (__strcat_chk): Likewise.
13306         * debug/strncat_chk.c (__strncat_chk): Likewise.
13307         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13308         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13309         * dirent/dirfd.c (dirfd): Likewise.
13310         * dirent/getdents.c (__getdirentries): Likewise.
13311         * dirent/getdents64.c (getdirentries64): Likewise.
13312         * dirent/rewinddir.c (__rewinddir): Likewise.
13313         * dirent/seekdir.c (seekdir): Likewise.
13314         * dirent/telldir.c (telldir): Likewise.
13315         * elf/sln.c (makesymlinks): Likewise.
13316         (makesymlink): Likewise.
13317         * gmon/gmon.c (__moncontrol): Likewise.
13318         (__monstartup): Likewise.
13319         (write_hist): Likewise.
13320         (write_call_graph): Likewise.
13321         (write_bb_counts): Likewise.
13322         * grp/setgroups.c (setgroups): Likewise.
13323         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13324         * inet/inet_net.c (inet_network): Likewise.
13325         * inet/inet_netof.c (inet_netof): Likewise.
13326         * inet/rcmd.c (rresvport_af): Likewise.
13327         (rresvport): Likewise.
13328         * io/access.c (__access): Likewise.
13329         * io/chdir.c (__chdir): Likewise.
13330         * io/chmod.c (__chmod): Likewise.
13331         * io/chown.c (__chown): Likewise.
13332         * io/close.c (__close): Likewise.
13333         * io/creat.c (creat): Likewise.
13334         * io/creat64.c (creat64): Likewise.
13335         * io/dup.c (__dup): Likewise.
13336         * io/dup2.c (__dup2): Likewise.
13337         * io/dup3.c (__dup3): Likewise.
13338         * io/euidaccess.c (__euidaccess): Likewise.
13339         * io/faccessat.c (faccessat): Likewise.
13340         * io/fchmod.c (__fchmod): Likewise.
13341         * io/fchmodat.c (fchmodat): Likewise.
13342         * io/fchown.c (__fchown): Likewise.
13343         * io/fchownat.c (fchownat): Likewise.
13344         * io/fcntl.c (__fcntl): Likewise.
13345         * io/flock.c (__flock): Likewise.
13346         * io/fts.c (fts_load): Likewise.
13347         (fts_close): Likewise.
13348         (fts_read): Likewise.
13349         (fts_set): Likewise.
13350         (fts_children): Likewise.
13351         (fts_build): Likewise.
13352         (fts_stat): Likewise.
13353         (fts_sort): Likewise.
13354         (fts_alloc): Likewise.
13355         (fts_lfree): Likewise.
13356         (fts_palloc): Likewise.
13357         (fts_padjust): Likewise.
13358         (fts_maxarglen): Likewise.
13359         (fts_safe_changedir): Likewise.
13360         * io/getwd.c (getwd): Likewise.
13361         * io/isatty.c (__isatty): Likewise.
13362         * io/lchown.c (__lchown): Likewise.
13363         * io/link.c (__link): Likewise.
13364         * io/linkat.c (linkat): Likewise.
13365         * io/lseek.c (__libc_lseek): Likewise.
13366         * io/mkdir.c (__mkdir): Likewise.
13367         * io/mkdirat.c (mkdirat): Likewise.
13368         * io/mkfifo.c (mkfifo): Likewise.
13369         * io/mkfifoat.c (mkfifoat): Likewise.
13370         * io/open.c (__libc_open): Likewise.
13371         * io/open64.c (__libc_open64): Likewise.
13372         * io/readlink.c (__readlink): Likewise.
13373         * io/readlinkat.c (readlinkat): Likewise.
13374         * io/rmdir.c (__rmdir): Likewise.
13375         * io/symlink.c (__symlink): Likewise.
13376         * io/symlinkat.c (symlinkat): Likewise.
13377         * io/ttyname.c (ttyname): Likewise.
13378         * io/ttyname_r.c (__ttyname_r): Likewise.
13379         * io/umask.c (__umask): Likewise.
13380         * io/unlink.c (__unlink): Likewise.
13381         * io/unlinkat.c (unlinkat): Likewise.
13382         * io/utime.c (utime): Likewise.
13383         * libio/clearerr.c (clearerr): Likewise.
13384         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13385         * libio/feof.c (_IO_feof): Likewise.
13386         * libio/feof_u.c (feof_unlocked): Likewise.
13387         * libio/ferror.c (_IO_ferror): Likewise.
13388         * libio/ferror_u.c (ferror_unlocked): Likewise.
13389         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13390         * libio/fileno.c (__fileno): Likewise.
13391         * libio/fputc.c (fputc): Likewise.
13392         * libio/fputc_u.c (fputc_unlocked): Likewise.
13393         * libio/fputwc.c (fputwc): Likewise.
13394         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13395         * libio/freopen.c (freopen): Likewise.
13396         * libio/freopen64.c (freopen64): Likewise.
13397         * libio/fseek.c (fseek): Likewise.
13398         * libio/fseeko.c (fseeko): Likewise.
13399         * libio/fseeko64.c (fseeko64): Likewise.
13400         * libio/ftello.c (__ftello): Likewise.
13401         * libio/ftello64.c (ftello64): Likewise.
13402         * libio/fwide.c (fwide): Likewise.
13403         * libio/genops.c (_IO_un_link): Likewise.
13404         (_IO_link_in): Likewise.
13405         (_IO_least_marker): Likewise.
13406         (_IO_switch_to_main_get_area): Likewise.
13407         (_IO_switch_to_backup_area): Likewise.
13408         (_IO_switch_to_get_mode): Likewise.
13409         (_IO_free_backup_area): Likewise.
13410         (_IO_switch_to_put_mode): Likewise.
13411         (__overflow): Likewise.
13412         (__underflow): Likewise.
13413         (__uflow): Likewise.
13414         (_IO_setb): Likewise.
13415         (_IO_doallocbuf): Likewise.
13416         (_IO_default_underflow): Likewise.
13417         (_IO_default_uflow): Likewise.
13418         (_IO_default_xsputn): Likewise.
13419         (_IO_sgetn): Likewise.
13420         (_IO_default_xsgetn): Likewise.
13421         (_IO_sync): Likewise.
13422         (_IO_default_setbuf): Likewise.
13423         (_IO_default_seekpos): Likewise.
13424         (_IO_default_doallocate): Likewise.
13425         (_IO_init): Likewise.
13426         (_IO_old_init): Likewise.
13427         (_IO_default_sync): Likewise.
13428         (_IO_default_finish): Likewise.
13429         (_IO_default_seekoff): Likewise.
13430         (_IO_sputbackc): Likewise.
13431         (_IO_sungetc): Likewise.
13432         (_IO_set_column): Likewise.
13433         (_IO_set_column): Likewise.
13434         (_IO_adjust_column): Likewise.
13435         (_IO_get_column): Likewise.
13436         (_IO_init_marker): Likewise.
13437         (_IO_remove_marker): Likewise.
13438         (_IO_marker_difference): Likewise.
13439         (_IO_marker_delta): Likewise.
13440         (_IO_seekmark): Likewise.
13441         (_IO_unsave_markers): Likewise.
13442         (_IO_nobackup_pbackfail): Likewise.
13443         (_IO_default_pbackfail): Likewise.
13444         (_IO_default_seek): Likewise.
13445         (_IO_default_stat): Likewise.
13446         (_IO_default_read): Likewise.
13447         (_IO_default_write): Likewise.
13448         (_IO_default_showmanyc): Likewise.
13449         (_IO_default_imbue): Likewise.
13450         (_IO_iter_next): Likewise.
13451         (_IO_iter_file): Likewise.
13452         * libio/getc.c (_IO_getc): Likewise.
13453         * libio/getwc.c (_IO_getwc): Likewise.
13454         * libio/iofclose.c (_IO_new_fclose): Likewise.
13455         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13456         * libio/iofflush.c (_IO_fflush): Likewise.
13457         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13458         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13459         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13460         * libio/iofgets.c (_IO_fgets): Likewise.
13461         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13462         * libio/iofgetws.c (fgetws): Likewise.
13463         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13464         * libio/iofopen64.c (_IO_fopen64): Likewise.
13465         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13466         (_IO_cookie_write): Likewise.
13467         (_IO_cookie_seek): Likewise.
13468         (_IO_cookie_close): Likewise.
13469         (_IO_cookie_seekoff): Likewise.
13470         (_IO_old_cookie_seek): Likewise.
13471         * libio/iofputs.c (_IO_fputs): Likewise.
13472         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13473         * libio/iofputws.c (fputws): Likewise.
13474         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13475         * libio/iofread.c (_IO_fread): Likewise.
13476         * libio/iofread_u.c (__fread_unlocked): Likewise.
13477         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13478         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13479         * libio/ioftell.c (_IO_ftell): Likewise.
13480         * libio/iofwrite.c (_IO_fwrite): Likewise.
13481         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13482         * libio/iogets.c (_IO_gets): Likewise.
13483         * libio/iopadn.c (_IO_padn): Likewise.
13484         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13485         (_IO_new_popen): Likewise.
13486         (_IO_new_proc_close): Likewise.
13487         * libio/ioputs.c (_IO_puts): Likewise.
13488         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13489         (_IO_seekoff): Likewise.
13490         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13491         (_IO_seekpos): Likewise.
13492         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13493         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13494         * libio/ioungetc.c (_IO_ungetc): Likewise.
13495         * libio/ioungetwc.c (ungetwc): Likewise.
13496         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13497         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13498         * libio/iowpadn.c (_IO_wpadn): Likewise.
13499         * libio/libc_fatal.c (__libc_fatal): Likewise.
13500         * libio/memstream.c (__open_memstream): Likewise.
13501         (_IO_mem_sync): Likewise.
13502         (_IO_mem_finish): Likewise.
13503         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13504         (_IO_old_file_close_it): Likewise.
13505         (_IO_old_file_finish): Likewise.
13506         (_IO_old_file_fopen): Likewise.
13507         (_IO_old_file_attach): Likewise.
13508         (_IO_old_file_setbuf): Likewise.
13509         (_IO_old_do_write): Likewise.
13510         (old_do_write): Likewise.
13511         (_IO_old_file_underflow): Likewise.
13512         (_IO_old_file_overflow): Likewise.
13513         (_IO_old_file_sync): Likewise.
13514         (_IO_old_file_seekoff): Likewise.
13515         (_IO_old_file_write): Likewise.
13516         (_IO_old_file_xsputn): Likewise.
13517         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13518         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13519         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13520         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13521         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13522         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13523         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13524         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13525         (_IO_old_popen): Likewise.
13526         (_IO_old_proc_close): Likewise.
13527         * libio/oldpclose.c (__old_pclose): Likewise.
13528         * libio/pclose.c (__new_pclose): Likewise.
13529         * libio/peekc.c (_IO_peekc_locked): Likewise.
13530         * libio/putc.c (_IO_putc): Likewise.
13531         * libio/putc_u.c (putc_unlocked): Likewise.
13532         * libio/putchar.c (putchar): Likewise.
13533         * libio/putchar_u.c (putchar_unlocked): Likewise.
13534         * libio/putwc.c (putwc): Likewise.
13535         * libio/putwc_u.c (putwc_unlocked): Likewise.
13536         * libio/putwchar.c (putwchar): Likewise.
13537         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13538         * libio/rewind.c (rewind): Likewise.
13539         * libio/setbuf.c (setbuf): Likewise.
13540         * libio/setlinebuf.c (setlinebuf): Likewise.
13541         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13542         * libio/vscanf.c (_IO_vscanf): Likewise.
13543         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13544         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13545         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13546         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13547         (_IO_switch_to_main_wget_area): Likewise.
13548         (_IO_switch_to_wbackup_area): Likewise.
13549         (_IO_wsetb): Likewise.
13550         (_IO_wdefault_pbackfail): Likewise.
13551         (_IO_wdefault_finish): Likewise.
13552         (_IO_wdefault_uflow): Likewise.
13553         (__woverflow): Likewise.
13554         (__wuflow): Likewise.
13555         (__wunderflow): Likewise.
13556         (_IO_wdefault_xsputn): Likewise.
13557         (_IO_wdefault_xsgetn): Likewise.
13558         (_IO_wdoallocbuf): Likewise.
13559         (_IO_wdefault_doallocate): Likewise.
13560         (_IO_switch_to_wget_mode): Likewise.
13561         (_IO_free_wbackup_area): Likewise.
13562         (_IO_switch_to_wput_mode): Likewise.
13563         (_IO_sputbackwc): Likewise.
13564         (_IO_sungetwc): Likewise.
13565         (_IO_adjust_wcolumn): Likewise.
13566         (_IO_init_wmarker): Likewise.
13567         (_IO_wmarker_delta): Likewise.
13568         (_IO_seekwmark): Likewise.
13569         (_IO_unsave_wmarkers): Likewise.
13570         * libio/wmemstream.c (open_wmemstream): Likewise.
13571         (_IO_wmem_sync): Likewise.
13572         (_IO_wmem_finish): Likewise.
13573         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13574         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13575         * locale/programs/simple-hash.c (init_hash): Likewise.
13576         (delete_hash): Likewise.
13577         (insert_entry): Likewise.
13578         (set_entry): Likewise.
13579         (next_prime): Likewise.
13580         (is_prime): Likewise.
13581         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13582         (xmalloc): Likewise.
13583         (xrealloc): Likewise.
13584         * locale/programs/xstrdup.c (xstrdup): Likewise.
13585         * localedata/collate-test.c (xstrcoll): Likewise.
13586         * localedata/xfrm-test.c (xstrcmp): Likewise.
13587         * login/getlogin_r.c (__getlogin_r): Likewise.
13588         * login/getpt.c (__posix_openpt): Likewise.
13589         * login/login_tty.c (login_tty): Likewise.
13590         * login/setlogin.c (setlogin): Likewise.
13591         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13592         (mach_msg_destroy_port): Likewise.
13593         (mach_msg_destroy_memory): Likewise.
13594         * malloc/mcheck.c (flood): Likewise.
13595         * misc/acct.c (acct): Likewise.
13596         * misc/brk.c (__brk): Likewise.
13597         * misc/chflags.c (chflags): Likewise.
13598         * misc/chroot.c (chroot): Likewise.
13599         * misc/fchflags.c (fchflags): Likewise.
13600         * misc/fstab.c (getfsspec): Likewise.
13601         (getfsfile): Likewise.
13602         * misc/fsync.c (fsync): Likewise.
13603         * misc/ftruncate.c (__ftruncate): Likewise.
13604         * misc/ftruncate64.c (__ftruncate64): Likewise.
13605         * misc/getdomain.c (getdomainname): Likewise.
13606         (getdomainname): Likewise.
13607         * misc/gethostname.c (__gethostname): Likewise.
13608         * misc/getpass.c (getpass): Likewise.
13609         * misc/getttyent.c (skip): Likewise.
13610         (value): Likewise.
13611         * misc/gtty.c (gtty): Likewise.
13612         * misc/hsearch.c (hsearch): Likewise.
13613         (hcreate): Likewise.
13614         * misc/hsearch_r.c (__hcreate_r): Likewise.
13615         (__hdestroy_r): Likewise.
13616         * misc/ioctl.c (__ioctl): Likewise.
13617         * misc/mkdtemp.c (mkdtemp): Likewise.
13618         * misc/mkostemp.c (mkostemp): Likewise.
13619         * misc/mkostemp64.c (mkostemp64): Likewise.
13620         * misc/mkostemps.c (mkostemps): Likewise.
13621         * misc/mkostemps64.c (mkostemps64): Likewise.
13622         * misc/mkstemp.c (mkstemp): Likewise.
13623         * misc/mkstemp64.c (mkstemp64): Likewise.
13624         * misc/mkstemps.c (mkstemps): Likewise.
13625         * misc/mkstemps64.c (mkstemps64): Likewise.
13626         * misc/mktemp.c (__mktemp): Likewise.
13627         * misc/preadv.c (preadv): Likewise.
13628         * misc/preadv64.c (preadv64): Likewise.
13629         * misc/pwritev.c (pwritev): Likewise.
13630         * misc/pwritev64.c (pwritev64): Likewise.
13631         * misc/readv.c (__readv): Likewise.
13632         * misc/revoke.c (revoke): Likewise.
13633         * misc/setdomain.c (setdomainname): Likewise.
13634         * misc/setegid.c (setegid): Likewise.
13635         * misc/seteuid.c (seteuid): Likewise.
13636         * misc/sethostid.c (sethostid): Likewise.
13637         * misc/sethostname.c (sethostname): Likewise.
13638         * misc/setregid.c (__setregid): Likewise.
13639         * misc/setreuid.c (__setreuid): Likewise.
13640         * misc/sstk.c (sstk): Likewise.
13641         * misc/stty.c (stty): Likewise.
13642         * misc/syscall.c (syscall): Likewise.
13643         * misc/syslog.c (setlogmask): Likewise.
13644         * misc/truncate.c (__truncate): Likewise.
13645         * misc/truncate64.c (truncate64): Likewise.
13646         * misc/ualarm.c (ualarm): Likewise.
13647         * misc/usleep.c (usleep): Likewise.
13648         * misc/ustat.c (ustat): Likewise.
13649         * misc/writev.c (__writev): Likewise.
13650         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13651         * nptl/old_pthread_cond_broadcast.c
13652         (__pthread_cond_broadcast_2_0): Likewise.
13653         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13654         Likewise.
13655         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13656         Likewise.
13657         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13658         Likewise.
13659         * nptl/pt-raise.c (raise): Likewise.
13660         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13661         Likewise.
13662         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13663         * nptl/pthread_barrierattr_destroy.c
13664         (pthread_barrierattr_destroy): Likewise.
13665         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13666         Likewise.
13667         * nptl/pthread_barrierattr_setpshared.c
13668         (pthread_barrierattr_setpshared): Likewise.
13669         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13670         Likewise.
13671         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13672         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13673         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13674         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13675         Likewise.
13676         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13677         Likewise.
13678         * nptl/pthread_condattr_getpshared.c
13679         (pthread_condattr_getpshared): Likewise.
13680         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13681         Likewise.
13682         * nptl/pthread_condattr_setpshared.c
13683         (pthread_condattr_setpshared): Likewise.
13684         * nptl/pthread_detach.c (pthread_detach): Likewise.
13685         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13686         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13687         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13688         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13689         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13690         Likewise.
13691         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13692         Likewise.
13693         * nptl/pthread_mutex_getprioceiling.c
13694         (pthread_mutex_getprioceiling): Likewise.
13695         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13696         Likewise.
13697         * nptl/pthread_mutexattr_getprotocol.c
13698         (pthread_mutexattr_getprotocol): Likewise.
13699         * nptl/pthread_mutexattr_getpshared.c
13700         (pthread_mutexattr_getpshared): Likewise.
13701         * nptl/pthread_mutexattr_getrobust.c
13702         (pthread_mutexattr_getrobust): Likewise.
13703         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13704         Likewise.
13705         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13706         Likewise.
13707         * nptl/pthread_mutexattr_setprioceiling.c
13708         (pthread_mutexattr_setprioceiling): Likewise.
13709         * nptl/pthread_mutexattr_setprotocol.c
13710         (pthread_mutexattr_setprotocol): Likewise.
13711         * nptl/pthread_mutexattr_setpshared.c
13712         (pthread_mutexattr_setpshared): Likewise.
13713         * nptl/pthread_mutexattr_setrobust.c
13714         (pthread_mutexattr_setrobust): Likewise.
13715         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13716         Likewise.
13717         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13718         Likewise.
13719         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13720         Likewise.
13721         * nptl/pthread_rwlockattr_getkind_np.c
13722         (pthread_rwlockattr_getkind_np): Likewise.
13723         * nptl/pthread_rwlockattr_getpshared.c
13724         (pthread_rwlockattr_getpshared): Likewise.
13725         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13726         Likewise.
13727         * nptl/pthread_rwlockattr_setkind_np.c
13728         (pthread_rwlockattr_setkind_np): Likewise.
13729         * nptl/pthread_rwlockattr_setpshared.c
13730         (pthread_rwlockattr_setpshared): Likewise.
13731         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13732         Likewise.
13733         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13734         Likewise.
13735         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13736         Likewise.
13737         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13738         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13739         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13740         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13741         * nptl/sem_close.c (sem_close): Likewise.
13742         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13743         * nptl/sem_init.c (__old_sem_init): Likewise.
13744         * nptl/sigaction.c (__sigaction): Likewise.
13745         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13746         * posix/_exit.c (_exit): Likewise.
13747         * posix/alarm.c (alarm): Likewise.
13748         * posix/confstr.c (confstr): Likewise.
13749         * posix/fpathconf.c (__fpathconf): Likewise.
13750         * posix/getgroups.c (__getgroups): Likewise.
13751         * posix/getpgid.c (__getpgid): Likewise.
13752         * posix/group_member.c (__group_member): Likewise.
13753         * posix/pathconf.c (__pathconf): Likewise.
13754         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13755         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13756         * posix/setgid.c (__setgid): Likewise.
13757         * posix/setpgid.c (__setpgid): Likewise.
13758         * posix/setuid.c (__setuid): Likewise.
13759         * posix/sleep.c (__sleep): Likewise.
13760         * posix/sysconf.c (__sysconf): Likewise.
13761         * posix/times.c (__times): Likewise.
13762         * posix/uname.c (__uname): Likewise.
13763         * posix/waitid.c (__waitid): Likewise.
13764         * pwd/getpw.c (__getpw): Likewise.
13765         * resolv/base64.c (b64_pton): Likewise.
13766         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13767         * resolv/gethnamaddr.c (Dprintf): Likewise.
13768         (gethostbyname): Likewise.
13769         (gethostbyname2): Likewise.
13770         (gethostbyaddr): Likewise.
13771         (_sethtent): Likewise.
13772         (_gethtbyname): Likewise.
13773         (_gethtbyname2): Likewise.
13774         (_gethtbyaddr): Likewise.
13775         (map_v4v6_address): Likewise.
13776         (map_v4v6_hostent): Likewise.
13777         (addrsort): Likewise.
13778         (ht_sethostent): Likewise.
13779         (ht_gethostbyname): Likewise.
13780         (ht_gethostbyaddr): Likewise.
13781         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13782         (inet_net_ntop_ipv4): Likewise.
13783         * resolv/inet_neta.c (inet_neta): Likewise.
13784         * resolv/inet_ntop.c (inet_ntop): Likewise.
13785         (inet_ntop4): Likewise.
13786         (inet_ntop6): Likewise.
13787         * resolv/inet_pton.c (__inet_pton): Likewise.
13788         (inet_pton4): Likewise.
13789         (inet_pton6): Likewise.
13790         * resolv/res_debug.c (loc_aton): Likewise.
13791         (loc_ntoa): Likewise.
13792         * resource/getpriority.c (__getpriority): Likewise.
13793         * resource/getrusage.c (__getrusage): Likewise.
13794         * resource/nice.c (nice): Likewise.
13795         * resource/setpriority.c (__setpriority): Likewise.
13796         * resource/setrlimit64.c (setrlimit64): Likewise.
13797         * resource/vlimit.c (vlimit): Likewise.
13798         * resource/vtimes.c (vtimes): Likewise.
13799         * rt/aio_error.c (aio_error): Likewise.
13800         * rt/aio_return.c (aio_return): Likewise.
13801         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13802         * signal/kill.c (__kill): Likewise.
13803         * signal/killpg.c (killpg): Likewise.
13804         * signal/raise.c (raise): Likewise.
13805         * signal/sigaction.c (__sigaction): Likewise.
13806         * signal/sigaddset.c (sigaddset): Likewise.
13807         * signal/sigaltstack.c (sigaltstack): Likewise.
13808         * signal/sigandset.c (sigandset): Likewise.
13809         * signal/sigblock.c (__sigblock): Likewise.
13810         * signal/sigdelset.c (sigdelset): Likewise.
13811         * signal/sigempty.c (sigemptyset): Likewise.
13812         * signal/sigfillset.c (sigfillset): Likewise.
13813         * signal/sighold.c (sighold): Likewise.
13814         * signal/sigignore.c (sigignore): Likewise.
13815         * signal/sigintr.c (siginterrupt): Likewise.
13816         * signal/sigisempty.c (sigisemptyset): Likewise.
13817         * signal/sigismem.c (sigismember): Likewise.
13818         * signal/signal.c (signal): Likewise.
13819         * signal/sigorset.c (sigorset): Likewise.
13820         * signal/sigpause.c (__sigpause): Likewise.
13821         * signal/sigpending.c (sigpending): Likewise.
13822         * signal/sigprocmask.c (__sigprocmask): Likewise.
13823         * signal/sigrelse.c (sigrelse): Likewise.
13824         * signal/sigreturn.c (__sigreturn): Likewise.
13825         * signal/sigset.c (sigset): Likewise.
13826         * signal/sigsetmask.c (__sigsetmask): Likewise.
13827         * signal/sigstack.c (sigstack): Likewise.
13828         * signal/sigsuspend.c (__sigsuspend): Likewise.
13829         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13830         * signal/sysv_signal.c (__sysv_signal): Likewise.
13831         * socket/accept.c (accept): Likewise.
13832         * socket/accept4.c (__libc_accept4): Likewise.
13833         * socket/bind.c (__bind): Likewise.
13834         * socket/connect.c (__connect): Likewise.
13835         * socket/getpeername.c (getpeername): Likewise.
13836         * socket/getsockname.c (__getsockname): Likewise.
13837         * socket/getsockopt.c (getsockopt): Likewise.
13838         * socket/listen.c (__listen): Likewise.
13839         * socket/recv.c (__recv): Likewise.
13840         * socket/recvmsg.c (__recvmsg): Likewise.
13841         * socket/send.c (__send): Likewise.
13842         * socket/sendmsg.c (__sendmsg): Likewise.
13843         * socket/shutdown.c (shutdown): Likewise.
13844         * socket/sockatmark.c (sockatmark): Likewise.
13845         * socket/socket.c (__socket): Likewise.
13846         * stdio-common/ctermid.c (ctermid): Likewise.
13847         * stdio-common/cuserid.c (cuserid): Likewise.
13848         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13849         * stdio-common/remove.c (remove): Likewise.
13850         * stdio-common/rename.c (rename): Likewise.
13851         * stdio-common/renameat.c (renameat): Likewise.
13852         * stdio-common/tempname.c (__gen_tempname): Likewise.
13853         * stdio-common/xbug.c (InitBuffer): Likewise.
13854         (AppendToBuffer): Likewise.
13855         (ReadFile): Likewise.
13856         * stdlib/a64l.c (a64l): Likewise.
13857         * stdlib/drand48_r.c (drand48_r): Likewise.
13858         * stdlib/getcontext.c (getcontext): Likewise.
13859         * stdlib/getenv.c (getenv): Likewise.
13860         * stdlib/l64a.c (l64a): Likewise.
13861         * stdlib/llabs.c (llabs): Likewise.
13862         * stdlib/lldiv.c (lldiv): Likewise.
13863         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13864         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13865         * stdlib/putenv.c (putenv): Likewise.
13866         * stdlib/random.c (__srandom): Likewise.
13867         (__initstate): Likewise.
13868         (__setstate): Likewise.
13869         * stdlib/random_r.c (__srandom_r): Likewise.
13870         (__setstate_r): Likewise.
13871         (__random_r): Likewise.
13872         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13873         * stdlib/setcontext.c (setcontext): Likewise.
13874         * stdlib/setenv.c (setenv): Likewise.
13875         (unsetenv): Likewise.
13876         * stdlib/srand48.c (srand48): Likewise.
13877         * stdlib/srand48_r.c (__srand48_r): Likewise.
13878         * stdlib/swapcontext.c (swapcontext): Likewise.
13879         * stdlib/system.c (__libc_system): Likewise.
13880         * stdlib/tst-strtod.c (expand): Likewise.
13881         * stdlib/tst-strtol.c (expand): Likewise.
13882         * stdlib/tst-strtoll.c (expand): Likewise.
13883         * streams/fattach.c (fattach): Likewise.
13884         * streams/fdetach.c (fdetach): Likewise.
13885         * streams/getmsg.c (getmsg): Likewise.
13886         * streams/isastream.c (isastream): Likewise.
13887         * string/ffs.c (__ffs): Likewise.
13888         * string/ffsll.c (ffsll): Likewise.
13889         * string/memcmp.c (memcmp_common_alignment): Likewise.
13890         (memcmp_not_common_alignment): Likewise.
13891         (MEMCMP): Likewise.
13892         * string/memcpy.c (memcpy): Likewise.
13893         * string/memmove.c (MEMMOVE): Likewise.
13894         * string/memset.c (memset): Likewise.
13895         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13896         * string/strchrnul.c (STRCHRNUL): Likewise.
13897         * string/strerror.c (strerror): Likewise.
13898         * string/strndup.c (__strndup): Likewise.
13899         * string/strverscmp.c (__strverscmp): Likewise.
13900         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13901         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13902         (clnttcp_freeres): Likewise.
13903         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13904         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13905         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13906         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13907         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13908         (xdr_callhdr): Likewise.
13909         * sunrpc/rpcinfo.c (udpping): Likewise.
13910         (tcpping): Likewise.
13911         (pstatus): Likewise.
13912         (pmapdump): Likewise.
13913         (brdcst): Likewise.
13914         (deletereg): Likewise.
13915         (getprognum): Likewise.
13916         (getvers): Likewise.
13917         (get_inet_address): Likewise.
13918         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13919         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13920         (svcudp_stat): Likewise.
13921         (svcudp_recv): Likewise.
13922         (svcudp_reply): Likewise.
13923         (svcudp_getargs): Likewise.
13924         (svcudp_freeargs): Likewise.
13925         (svcudp_destroy): Likewise.
13926         * sunrpc/xdr.c (xdr_bytes): Likewise.
13927         (xdr_netobj): Likewise.
13928         (xdr_string): Likewise.
13929         (xdr_wrapstring): Likewise.
13930         * sunrpc/xdr_float.c (xdr_float): Likewise.
13931         (xdr_double): Likewise.
13932         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13933         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13934         * sysvipc/ftok.c (ftok): Likewise.
13935         * sysvipc/msgctl.c (msgctl): Likewise.
13936         * sysvipc/msgget.c (msgget): Likewise.
13937         * sysvipc/msgrcv.c (msgrcv): Likewise.
13938         * sysvipc/msgsnd.c (msgsnd): Likewise.
13939         * sysvipc/semget.c (semget): Likewise.
13940         * sysvipc/semop.c (semop): Likewise.
13941         * sysvipc/shmat.c (shmat): Likewise.
13942         * sysvipc/shmctl.c (shmctl): Likewise.
13943         * sysvipc/shmdt.c (shmdt): Likewise.
13944         * sysvipc/shmget.c (shmget): Likewise.
13945         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13946         * termios/speed.c (cfgetospeed): Likewise.
13947         (cfgetispeed): Likewise.
13948         (cfsetospeed): Likewise.
13949         (cfsetispeed): Likewise.
13950         * termios/tcflow.c (tcflow): Likewise.
13951         * termios/tcflush.c (tcflush): Likewise.
13952         * termios/tcgetattr.c (__tcgetattr): Likewise.
13953         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13954         * termios/tcgetsid.c (tcgetsid): Likewise.
13955         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13956         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13957         * time/adjtime.c (__adjtime): Likewise.
13958         * time/dysize.c (dysize): Likewise.
13959         * time/ftime.c (ftime): Likewise.
13960         * time/getitimer.c (__getitimer): Likewise.
13961         * time/gettimeofday.c (__gettimeofday): Likewise.
13962         * time/gmtime.c (__gmtime_r): Likewise.
13963         (gmtime): Likewise.
13964         * time/localtime.c (__localtime_r): Likewise.
13965         (localtime): Likewise.
13966         * time/offtime.c (__offtime): Likewise.
13967         * time/settimeofday.c (__settimeofday): Likewise.
13968         * time/stime.c (stime): Likewise.
13969         * time/strftime_l.c (tm_diff): Likewise.
13970         (iso_week_days): Likewise.
13971         * time/strptime.c (strptime): Likewise.
13972         * time/time.c (time): Likewise.
13973         * time/timespec_get.c (timespec_get): Likewise.
13974         * time/tzset.c (tzset_internal): Likewise.
13975         (compute_change): Likewise.
13976         (__tz_compute): Likewise.
13977         * wcsmbs/btowc.c (__btowc): Likewise.
13978         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13979         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13980         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13981         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13982         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13983         * wcsmbs/wcscat.c (__wcscat): Likewise.
13984         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13985         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13986         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13987         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13988         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13989         * wcsmbs/wcslen.c (__wcslen): Likewise.
13990         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13991         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13992         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13993         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13994         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13995         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13996         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13997         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13998         * wcsmbs/wcstok.c (wcstok): Likewise.
13999         * wcsmbs/wctob.c (wctob): Likewise.
14000         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
14001         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14002         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
14003         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
14004         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
14005         * wcsmbs/wmemset.c (__wmemset): Likewise.
14006         * wctype/wcfuncs.c (__towlower): Likewise.
14007         (__towupper): Likewise.
14009         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
14010         (lll_unlock_elision): Add adapt_count parameter.
14012 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14014         * sysdeps/nptl/configure.ac: Do not give errors based on the
14015         results of top-level configure tests.
14016         * sysdeps/nptl/configure: Regenerated.
14018         * configure.ac (libc_cv_Bgroup): Remove configure test.
14019         * configure: Regenerated.
14020         * config.make.in (have-Bgroup): Remove variable.
14022         * configure.ac (sizeof_long_double): Remove configure test.
14023         * configure: Regenerated.
14024         * config.make.in (sizeof-long-double): Remove variable.
14026         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
14027         * configure: Regenerated.
14028         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
14029         variable.
14030         (exceptions): Likewise.
14031         * sysdeps/arm/configure: Regenerated.
14032         * config.make.in (exceptions): Remove variable.
14033         * Makeconfig (uses-callbacks): Use -fexceptions instead of
14034         $(exceptions).
14035         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
14036         (CFLAGS-vdprintf_chk.c): Likewise.
14037         (CFLAGS-printf_chk.c): Likewise.
14038         (CFLAGS-fprintf_chk.c): Likewise.
14039         (CFLAGS-vprintf_chk.c): Likewise.
14040         (CFLAGS-vfprintf_chk.c): Likewise.
14041         (CFLAGS-gets_chk.c): Likewise.
14042         (CFLAGS-fgets_chk.c): Likewise.
14043         (CFLAGS-fgets_u_chk.c): Likewise.
14044         (CFLAGS-fread_chk.c): Likewise.
14045         (CFLAGS-fread_u_chk.c): Likewise.
14046         (CFLAGS-wprintf_chk.c): Likewise.
14047         (CFLAGS-fwprintf_chk.c): Likewise.
14048         (CFLAGS-vwprintf_chk.c): Likewise.
14049         (CFLAGS-vfwprintf_chk.c): Likewise.
14050         (CFLAGS-fgetws_chk.c): Likewise.
14051         (CFLAGS-fgetws_u_chk.c): Likewise.
14052         * libio/Makefile (CFLAGS-fileops.c): Likewise.
14053         (CFLAGS-fputc.c): Likewise.
14054         (CFLAGS-fputwc.c): Likewise.
14055         (CFLAGS-freopen64.c): Likewise.
14056         (CFLAGS-freopen.c): Likewise.
14057         (CFLAGS-fseek.c): Likewise.
14058         (CFLAGS-fseeko64.c): Likewise.
14059         (CFLAGS-fseeko.c): Likewise.
14060         (CFLAGS-ftello64.c): Likewise.
14061         (CFLAGS-ftello.c): Likewise.
14062         (CFLAGS-fwide.c): Likewise.
14063         (CFLAGS-genops.c): Likewise.
14064         (CFLAGS-getc.c): Likewise.
14065         (CFLAGS-getchar.c): Likewise.
14066         (CFLAGS-getwc.c): Likewise.
14067         (CFLAGS-getwchar.c): Likewise.
14068         (CFLAGS-iofclose.c): Likewise.
14069         (CFLAGS-iofflush.c): Likewise.
14070         (CFLAGS-iofgetpos64.c): Likewise.
14071         (CFLAGS-iofgetpos.c): Likewise.
14072         (CFLAGS-iofgets.c): Likewise.
14073         (CFLAGS-iofgetws.c): Likewise.
14074         (CFLAGS-iofputs.c): Likewise.
14075         (CFLAGS-iofputws.c): Likewise.
14076         (CFLAGS-iofread.c): Likewise.
14077         (CFLAGS-iofsetpos64.c): Likewise.
14078         (CFLAGS-iofsetpos.c): Likewise.
14079         (CFLAGS-ioftell.c): Likewise.
14080         (CFLAGS-iofwrite.c): Likewise.
14081         (CFLAGS-iogetdelim.c): Likewise.
14082         (CFLAGS-iogetline.c): Likewise.
14083         (CFLAGS-iogets.c): Likewise.
14084         (CFLAGS-iogetwline.c): Likewise.
14085         (CFLAGS-ioputs.c): Likewise.
14086         (CFLAGS-ioseekoff.c): Likewise.
14087         (CFLAGS-ioseekpos.c): Likewise.
14088         (CFLAGS-iosetbuffer.c): Likewise.
14089         (CFLAGS-iosetvbuf.c): Likewise.
14090         (CFLAGS-ioungetc.c): Likewise.
14091         (CFLAGS-ioungetwc.c): Likewise.
14092         (CFLAGS-oldfileops.c): Likewise.
14093         (CFLAGS-oldiofclose.c): Likewise.
14094         (CFLAGS-oldiofgetpos64.c): Likewise.
14095         (CFLAGS-oldiofgetpos.c): Likewise.
14096         (CFLAGS-oldiofsetpos64.c): Likewise.
14097         (CFLAGS-oldiofsetpos.c): Likewise.
14098         (CFLAGS-peekc.c): Likewise.
14099         (CFLAGS-putc.c): Likewise.
14100         (CFLAGS-putchar.c): Likewise.
14101         (CFLAGS-putwc.c): Likewise.
14102         (CFLAGS-putwchar.c): Likewise.
14103         (CFLAGS-rewind.c): Likewise.
14104         (CFLAGS-wfileops.c): Likewise.
14105         (CFLAGS-wgenops.c): Likewise.
14106         (CFLAGS-oldiofopen.c): Likewise.
14107         (CFLAGS-iofopen.c): Likewise.
14108         (CFLAGS-iofopen64.c): Likewise.
14109         (CFLAGS-oldtmpfile.c): Likewise.
14110         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
14111         (CFLAGS-fprintf.c): Likewise.
14112         (CFLAGS-printf.c): Likewise.
14113         (CFLAGS-vfwprintf.c): Likewise.
14114         (CFLAGS-vfscanf.c): Likewise.
14115         (CFLAGS-vfwscanf.c): Likewise.
14116         (CFLAGS-fscanf.c): Likewise.
14117         (CFLAGS-scanf.c): Likewise.
14118         (CFLAGS-isoc99_vfscanf.c): Likewise.
14119         (CFLAGS-isoc99_vscanf.c): Likewise.
14120         (CFLAGS-isoc99_fscanf.c): Likewise.
14121         (CFLAGS-isoc99_scanf.c): Likewise.
14122         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
14123         (CFLAGS-isoc99_fwscanf.c): Likewise.
14124         (CFLAGS-isoc99_vwscanf.c): Likewise.
14125         (CFLAGS-isoc99_vfwscanf.c): Likewise.
14127         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
14128         after mkstemp64.
14129         * login/tst-utmp.c (do_prepare): Likewise.
14130         * rt/tst-aio.c (do_prepare): Likewise.
14131         * rt/tst-aio64.c (do_prepare): Likewise.
14133 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14135         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14136         (__lll_lock_elision): Remove adapt_count decrement...
14137         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14138         (__lll_trylock_elision): Likewise.
14139         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14140         (__lll_unlock_elision): ... to here. And utilize
14141         new adapt_count parameter.
14142         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14143         (__lll_unlock_elision): Update to include adapt_count
14144         parameter.
14145         (lll_unlock_elision): Pass pointer to adapt_count
14146         variable.
14148 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14150         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14151         Add elision adapt_count parameter to list of arguments.
14152         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14153         (lll_unlock_elision): Update with new parameter list
14154         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14155         (lll_unlock_elision): Likewise.
14156         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
14157         (lll_unlock_elision): Likewise.
14159 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14161         [BZ #19122]
14162         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14163         attribute_hidden.
14165         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
14166         attribute_hidden.
14167         [IS_IN (rtld)] (__strdup): Likewise.
14168         [IS_IN (rtld)] (__strerror_r): Likewise.
14169         [IS_IN (rtld)] (__strsep_g): Likewise.
14170         [IS_IN (rtld)] (memchr): Likewise.
14171         [IS_IN (rtld)] (memcmp): Likewise.
14172         [IS_IN (rtld)] (memcpy): Likewise.
14173         [IS_IN (rtld)] (memmove): Likewise.
14174         [IS_IN (rtld)] (memset): Likewise.
14175         [IS_IN (rtld)] (rawmemchr): Likewise.
14176         [IS_IN (rtld)] (stpcpy): Likewise.
14177         [IS_IN (rtld)] (strchr): Likewise.
14178         [IS_IN (rtld)] (strcmp): Likewise.
14179         [IS_IN (rtld)] (strlen): Likewise.
14180         [IS_IN (rtld)] (strnlen): Likewise.
14181         [IS_IN (rtld)] (strsep): Likewise.
14183         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14184         attribute_hidden.
14185         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14187         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14188         attribute_hidden.
14189         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14191         * include/setjmp.h (__longjmp): Add attribute_hidden.
14192         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14194         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14195         Add attribute_hidden.
14197         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14198         [IS_IN (rtld)] (__open): Likewise.
14199         [IS_IN (rtld)] (__fcntl): Likewise.
14201         * include/dirent.h (__opendirat): Add attribute_hidden.
14202         (__getdents): Likewise.
14203         (__getdents64): Likewise.
14204         (__alloc_dir): Likewise.
14205         [IS_IN (rtld)] (__closedir): Likewise.
14206         [IS_IN (rtld)] (__fdopendir): Likewise.
14207         [IS_IN (rtld)] (__readdir): Likewise.
14208         [IS_IN (rtld)] (__readdir64): Likewise.
14209         [IS_IN (rtld)] (__rewinddir): Likewise.
14211         * include/dlfcn.h (_dl_catch_error): Moved to ...
14212         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14213         attribute_hidden.
14215         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14216         (_itoa_word): Likewise.
14218         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14219         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14220         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14221         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14222         (_dl_higher_prime_number): Likewise.
14223         (_dl_debug_printf_c): Likewise.
14224         (_dl_signal_cerror): Likewise.
14225         (_dl_receive_error): Likewise.
14226         (_dl_reloc_bad_type): Likewise.
14227         (_dl_resolve_conflicts): Likewise.
14228         (_dl_check_all_versions): Likewise.
14229         (_dl_check_map_versions): Likewise.
14230         (_dl_sort_fini): Likewise.
14231         (_dl_debug_initialize): Likewise.
14232         (_dl_init_paths): Likewise.
14233         (_dl_show_auxv): Likewise.
14234         (_dl_next_ld_env_entry): Likewise.
14235         (_dl_important_hwcaps): Likewise.
14236         (_dl_load_cache_lookup): Likewise.
14237         (_dl_update_slotinfo): Likewise.
14238         (_dl_show_scope): Likewise.
14240         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14241         attribute_hidden.
14242         (_wordcopy_fwd_dest_aligned): Likewise.
14243         (_wordcopy_bwd_aligned): Likewise.
14244         (_wordcopy_bwd_dest_aligned): Likewise.
14246         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14247         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14248         Likewise.
14249         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14250         Likewise.
14251         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14253 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14255         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14256         GCC 5 requirement.
14258 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14260         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14261         test.
14262         * sysdeps/i386/configure: Regenerated.
14263         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14264         code unconditional.
14266         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14267         test.
14268         (libc_cv_asm_popsection_directive): Likewise.
14269         * configure: Regenerated.
14270         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14271         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14272         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14273         (__make_section_unallocated): Make definition unconditional.
14274         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14275         Remove conditional definition.
14276         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14277         (__make_section_unallocated): Likewise.
14279         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14280         * configure: Regenerated.
14281         * config.make.in (static-libgcc): Remove variable.
14282         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14283         $(static-libgcc).
14284         (build-module-helper): Likewise.
14286         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14287         * configure: Regenerated.
14289 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14291         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14292         (struct char_buffer): New type.
14293         (char_buffer_start, char_buffer_size, char_buffer_error)
14294         (char_buffer_rewind, char_buffer_add): New functions.
14295         (ADDW): Remove macro, replaced by the char_buffer_add function.
14296         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14297         of extend_alloca.  Make control flow more explicit.
14299 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14301         [BZ #19137]
14302         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14303         Add -fomit-frame-pointer.
14304         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14306 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14308         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14309         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14311         only if !__GNUC_PREREQ (5,0).
14312         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14313         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14314         (INTERNAL_SYSCALL_NCS): Likewise.
14315         (LOADREGS_0): New macro for GCC 5.
14316         (ASMARGS_0): Likewise.
14317         (LOADREGS_1): Likewise.
14318         (ASMARGS_1): Likewise.
14319         (LOADREGS_2): Likewise.
14320         (ASMARGS_2): Likewise.
14321         (LOADREGS_3): Likewise.
14322         (ASMARGS_3): Likewise.
14323         (LOADREGS_4): Likewise.
14324         (ASMARGS_4): Likewise.
14325         (LOADREGS_5): Likewise.
14326         (ASMARGS_5): Likewise.
14327         (LOADREGS_6): Likewise.
14328         (ASMARGS_6): Likewise.
14330 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14332         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14333         -fomit-frame-pointer.
14334         (CFLAGS-mmap64.c): Likewise.
14335         (CFLAGS-semtimedop.c): Likewise.
14336         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14337         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14338         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14339         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14341 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14343         [BZ #18928]
14344         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14345         _dl_pointer_guard member.
14346         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14347         initializer.
14348         (security_init): Always set up pointer guard.
14349         (process_envvars): Do not process LD_POINTER_GUARD.
14351 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14353         [BZ #19134]
14354         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14355         (.LC2): Likewise.
14356         (.LC3): Likewise.
14357         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14359 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14361         [BZ #19129]
14362         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14363         r0 and r1.
14365 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14367         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14369 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14371         * include/stap-probe.h: Fix macro definition formatting.
14373 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14375         [BZ #19074]
14376         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14377         load and store num_ifs.
14379 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14381         [BZ #18822]
14382         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14383         (__sched_getaffinity_new): Add libc_hidden_proto and
14384         libc_hidden_def.
14386 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14388         [BZ #19007]
14389         * scripts/localplt.awk: Also allow GOT references.
14390         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14391         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14392         with "+ REL R_386_GLOB_DAT".
14393         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14394         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14396 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14398         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14399         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14400         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14401         Likewise.
14402         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14403         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14404         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14405         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14406         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14407         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14408         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14409         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14410         Likewise.
14411         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14413 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14415         [BZ #19125]
14416         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14417         <math_private.h> and <stdint.h>.
14418         (__llround): Avoid conversions to and from long long int, and
14419         subtractions, where those might raise spurious exceptions.
14420         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14421         <math_private.h> and <stdint.h>.
14422         (__llroundf): Avoid conversions to and from long long int, and
14423         subtractions, where those might raise spurious exceptions.
14425 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14427         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14428         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14429         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14430         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14431         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14432         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14433         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14434         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14435         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14436         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14437         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14438         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14439         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14440         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14441         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14442         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14443         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14444         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14445         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14446         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14447         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14448         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14449         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14450         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14451         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14452         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14453         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14454         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14455         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14456         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14457         (__xstat64_conv): Likewise.
14458         (__xstat32_conv): Likewise.
14460 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14462         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14463         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14464         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14465         <sysdeps/unix/sysv/linux/sysdep.h>.
14466         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14467         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14468         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14469         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14470         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14471         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14472         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14473         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14474         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14479         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14480         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14482         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14483         (sysdep-dl-routines): Add sysdep.
14484         [$(subdir) == nptl] (libpthread-routines): Likewise.
14485         [$(subdir) == rt] (librt-routines): Likewise.
14486         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14487         PIC when branching to SYSCALL_ERROR_LABEL.
14488         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14490         <sysdeps/unix/sysv/linux/sysdep.h>.
14491         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14492         (SYSCALL_ERROR_ERRNO): Removed.
14493         (SYSCALL_ERROR_HANDLER): Changed to empty.
14494         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14495         (__syscall_error): New prototype.
14496         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14497         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14499 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14501         [BZ #19124]
14502         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14503         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14504         _dl_runtime_resolve_avx.
14505         (_dl_runtime_profile_avx512): Make it a hidden alias of
14506         _dl_runtime_profile_avx.
14508 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14510         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14511         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14512         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14513         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14515         [BZ #16422]
14516         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14517         New configure test.
14518         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14519         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14520         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14521         <math_private.h> and <stdint.h>.
14522         (__llrint): Avoid conversions to long long int where those might
14523         raise spurious exceptions.
14524         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14525         <math_private.h> and <stdint.h>.
14526         (__llrintf): Avoid conversions to long long int where those might
14527         raise spurious exceptions.
14529 2015-10-12  Andreas Schwab  <schwab@suse.de>
14531         [BZ #18969]
14532         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14533         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14534         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14535         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14536         $(gen-locales).
14537         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14538         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14539         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14540         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14541         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14542         $(gen-locales).
14543         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14544         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14545         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14546         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14547         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14548         ($(objpfx)tst-ftell-active-handler.out)
14549         ($(objpfx)tst-ftell-append.out)
14550         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14551         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14552         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14553         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14554         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14555         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14556         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14557         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14558         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14559         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14560         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14561         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14562         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14563         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14564         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14565         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14566         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14567         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14568         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14569         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14570         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14571         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14572         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14573         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14574         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14575         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14576         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14577         $(gen-locales).
14578         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14579         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14580         $(gen-locales).
14581         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14582         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14583         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14584         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14585         $(gen-locales).
14586         * libio/tst_wprintf2.c (main): Use explicit locale.
14587         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14589 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14591         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14592         __msg_sig_post.
14593         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14595 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14597         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14598         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14600         * sysdeps/arm/libm-test-ulps: Regenerated.
14602         [BZ #15470]
14603         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14605         [BZ #16399]
14606         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14607         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14608         and <fix-fp-int-convert-overflow.h>.
14609         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14610         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14611         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14612         and <fix-fp-int-convert-overflow.h>.
14613         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14614         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14615         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14616         <fix-fp-int-convert-overflow.h>.
14617         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14618         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14619         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14620         <fix-fp-int-convert-overflow.h>.
14621         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14622         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14623         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14624         and <fix-fp-int-convert-overflow.h>.
14625         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14626         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14627         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14628         <limits.h> and <fix-fp-int-convert-overflow.h>.
14629         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14630         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14631         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14632         and <fix-fp-int-convert-overflow.h>.
14633         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14634         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14635         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14636         and <fix-fp-int-convert-overflow.h>.
14637         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14638         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14639         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14641 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14643         [BZ #18589]
14644         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14645         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14646         $(gen-locales).
14648 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14649             Phil Blundell <pb@pbcl.net>
14651         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14652         * nptl/tst-cancel26.c: New file.
14653         * nptl/tst-cancel27.c: Likewise.
14655 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14657         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14658         __ILP32__ isn't defined.
14659         (lrint): Likewise.
14660         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14661         (lrintf): Likewise.
14662         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14663         (lrintl): Likewise.
14664         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14665         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14666         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14668 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14670         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14671         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14673         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14674         file.
14675         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14676         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14678 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14680         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14681         configure test.
14682         * sysdeps/i386/configure: Regenerated.
14683         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14684         configure test.
14685         * sysdeps/x86_64/configure: Regenerated.
14686         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14687         Make code unconditional.
14689         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14690         test.
14691         * sysdeps/i386/configure: Regenerated.
14692         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14693         test.
14694         * sysdeps/x86_64/configure: Regenerated.
14695         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14696         Make code unconditional.
14697         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14698         Likewise.
14699         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14700         Likewise.
14701         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14702         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14703         code unconditional.
14704         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14705         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14706         code unconditional.
14707         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14708         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14709         code unconditional.
14710         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14711         code unconditional.
14712         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14713         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14714         code unconditional.
14715         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14716         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14717         code unconditional.
14718         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14719         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14720         code unconditional.
14721         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14722         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14723         code unconditional.
14724         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14725         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14727         [BZ #19095]
14728         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14729         mantissa to long int before shifting left.
14731 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14733         [BZ #19094]
14734         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14735         <limits.h>.
14736         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14737         when result overflows but exception would not result from cast.
14738         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14739         <limits.h>.
14740         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14741         when result overflows but exception would not result from cast.
14742         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14743         <limits.h>.
14744         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14745         when result overflows but exception would not result from cast.
14746         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14747         <limits.h>.
14748         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14749         when result overflows but exception would not result from cast.
14750         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14751         <limits.h>.
14752         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14753         when result overflows but exception would not result from cast.
14754         * math/libm-test.inc (lrint_test_data): Add more tests.
14755         (llrint_test_data): Likewise.
14757 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14759         [BZ #18872]
14760         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14761         Move out from under [$(run-built-tests) = yes] conditional.
14762         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14763         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14765 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14767         [BZ #18589]
14768         * string/Makefile (tests): Add bug-strcoll2.
14769         (LOCALES): Add cs_CZ.UTF-8.
14770         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14772         [BZ #18589]
14773         * string/bug-strcoll2.c: New file.
14774         * locale/categories.def: Revert commit
14775         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14776         * locale/langinfo.h: Likewise.
14777         * locale/localeinfo.h: Likewise.
14778         * locale/C-collate.c: Likewise.
14779         * locale/programs/ld-collate.c (collate_output): Likewise.
14780         * string/strcoll_l.c (STRDIFF): Likewise.
14781         (STRCOLL): Likewise.
14782         * wcsmbs/wcscoll_l.c: Likewise.
14784 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14786         * math/libm-test.inc (lround_test_data): Do not expect the absence
14787         of "inexact" for some tests with non-integer arguments.
14788         (llround_test_data): Likewise.
14790         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14791         test.
14792         (libc_cv_cc_sse2avx): Likewise.
14793         * sysdeps/i386/configure: Regenerated.
14794         * sysdeps/i386/i686/multiarch/Makefile
14795         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14796         [$(subdir) = math].
14797         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14798         code unconditional.
14799         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14800         Likewise.
14801         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14802         Likewise.
14803         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14804         Likewise.
14805         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14806         test.
14807         (libc_cv_cc_sse2avx): Likewise.
14808         * sysdeps/x86_64/configure: Regenerated.
14809         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14810         unconditional.
14811         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14812         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14813         unconditional.
14814         (_dl_runtime_profile)
14815         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14816         conditional code.
14817         * sysdeps/x86_64/fpu/multiarch/Makefile
14818         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14819         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14820         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14821         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14822         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14823         * sysdeps/x86_64/fpu/multiarch/e_log.c
14824         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14825         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14826         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14827         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14828         Likewise.
14829         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14830         Likewise.
14831         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14832         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14833         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14834         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14835         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14836         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14837         (HAVE_SSE2AVX_SUPPORT): Likewise.
14839 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14841         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14842         instead of #pragma optimize.
14844 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14846         [BZ #17195]
14847         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14848         as is similarly done in systrim and _int_free already.
14850 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14852         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14854 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14856         [BZ #19088]
14857         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14858         <limits.h>.
14859         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14860         overflows but exception would not result from cast.
14861         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14862         and <limits.h>.
14863         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14864         overflows but exception would not result from cast.
14865         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14866         <limits.h>.
14867         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14868         overflows but exception would not result from cast.
14869         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14870         <limits.h>.
14871         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14872         overflows but exception would not result from cast.
14873         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14874         <limits.h>.
14875         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14876         overflows but exception would not result from cast.
14877         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14878         <limits.h>.
14879         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14880         overflows but exception would not result from cast.
14881         * math/libm-test.inc (lround_test_data): Add more tests.
14882         (llround_test_data): Likewise.
14884 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14886         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14887         (CFLAGS-ialloc.c): Ditto.
14888         (CFLAGS-scheck.c): Ditto.
14890 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14892         [BZ #19086]
14893         * manual/filesys.texi (Storage Allocation): Fix argument order for
14894         posix_fallocate64.
14896 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14898         [BZ #19085]
14899         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14900         exponent below 48 inside case for non-overflowing exponent.
14901         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14903 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14905         * iconvdata/cp737.h (from_idx): Add const.
14906         * iconvdata/cp775.h (from_idx): Likewise.
14908 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14910         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14911         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14912         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14914         [BZ #19079]
14915         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14916         file, conditioned on [!_LP64].
14917         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14918         [!_LP64] (__lround): Do not define as function or alias.
14919         [!_LP64] (lround): Likewise.
14920         [!_LP64] (__lroundl): Likewise.
14921         [!_LP64] (lroundl): Likewise.
14922         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14923         macro.
14924         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14925         Likewise.
14927 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14929         * math/libm-test.inc (lrint_test_data): Add more tests.
14930         (llrint_test_data): Likewise.
14931         (lround_test_data): Likewise.
14932         (llround_test_data): Likewise.
14934         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14935         (llrint_test_data): Add tests used for lrint.
14937         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14938         test.
14939         * sysdeps/i386/configure: Regenerated.
14940         * sysdeps/i386/i686/multiarch/Makefile
14941         [$(config-cflags-sse4) = yes]: Make code unconditional.
14942         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14943         Likewise.
14944         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14945         Likewise.
14946         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14947         test.
14948         * sysdeps/x86_64/configure: Regenerated.
14949         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14950         Make code unconditional.
14951         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14952         Likewise.
14953         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14954         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14956         * scripts/rpm2dynsym.sh: Remove file.
14958 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14960         * configure.ac (libc_cv_cxx_thread_local): Define.
14961         * configure: Regenerate.
14962         * config.make.in (have-cxx-thread_local): Define.
14963         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14964         (LDLIBS-tst-thread_local1): Define.
14965         (tests): Add tst-thread_local1.
14966         [have-cxx-thread_local != yes] (tests-unsupported): Add
14967         tst-thread_local1.
14968         * nptl/tst-thread_local1.cc: New file.
14970 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14972         [BZ #19078]
14973         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14974         (u_thres): Likewise.
14975         (__expl): Determine whether to call __kernel_standard_l based on
14976         value of result, not argument.
14978         * math/libm-test.inc (scalb_test_data): Add more expectations for
14979         the "inexact" exception.
14981         [BZ #19077]
14982         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14983         0.0L for argument 1.0L.
14985         [BZ #19076]
14986         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14987         constant 0.0L when computing infinite result.
14989 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14991         [BZ #10432]
14992         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14993         malloc_usable_size.
14995 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14997         [BZ #19018]
14998         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14999         Mangle function pointer before storing it.
15000         (__call_tls_dtors): Demangle function pointer before calling it.
15002 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15004         [BZ #19012]
15005         * iconv/gconv_db.c (gen_steps): Check for additional errors.
15006         Clean up on failure.
15008 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
15010         [BZ #19071]
15011         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
15012         long int variable to store possibly incremented high part of
15013         mantissa.
15014         * math/libm-test.inc (lround_test_data): Add tests used for
15015         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
15016         for tests requiring 64-bit long.  Do not condition tests on
15017         [TEST_FLOAT] unnecessarily.
15018         (llround_test_data): Add tests used for lround.  Add another
15019         expectation for the "inexact" exception.  Do not condition tests
15020         on [TEST_FLOAT] unnecessarily.
15022         [BZ #887]
15023         [BZ #19049]
15024         [BZ #19050]
15025         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
15026         * sysdeps/ieee754/dbl-64/e_log10.c: Include
15027         <fix-int-fp-convert-zero.h>.
15028         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15029         * sysdeps/ieee754/dbl-64/e_log2.c: Include
15030         <fix-int-fp-convert-zero.h>.
15031         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15032         * sysdeps/ieee754/dbl-64/s_erf.c: Include
15033         <fix-int-fp-convert-zero.h>.
15034         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15035         * sysdeps/ieee754/dbl-64/s_logb.c: Include
15036         <fix-int-fp-convert-zero.h>.
15037         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15038         * sysdeps/ieee754/flt-32/e_log10f.c: Include
15039         <fix-int-fp-convert-zero.h>.
15040         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15041         * sysdeps/ieee754/flt-32/e_log2f.c: Include
15042         <fix-int-fp-convert-zero.h>.
15043         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15044         * sysdeps/ieee754/flt-32/s_erff.c: Include
15045         <fix-int-fp-convert-zero.h>.
15046         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15047         * sysdeps/ieee754/flt-32/s_logbf.c: Include
15048         <fix-int-fp-convert-zero.h>.
15049         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
15051         <fix-int-fp-convert-zero.h>.
15052         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15053         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
15054         <fix-int-fp-convert-zero.h>.
15055         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15056         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
15057         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
15058         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
15059         file.
15060         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
15062 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15064         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15066 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
15068         [BZ #19059]
15069         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
15070         overflowing computation.
15071         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15072         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15073         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15074         Likewise.
15075         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15076         Likewise.
15077         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15078         Likewise.
15079         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15080         Likewise.
15081         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15082         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15083         Likewise.
15084         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15085         Likewise.
15086         * math/libm-test.inc (nexttoward_test_data): Add more tests.
15088         * nss/rewrite_field.c (__nss_rewrite_field): Use
15089         internal_function.
15090         * nss/valid_field.c (__nss_valid_field): Likewise.
15091         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15093 2015-10-02  Florian Weimer  <fweimer@redhat.com>
15095         [BZ #18724]
15096         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
15097         (__nss_invalid_field_characters, __nss_valid_field)
15098         (__nss_valid_list_field, __nss_rewrite_field): Declare.
15099         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
15100         tst-field.c: New file.
15101         * nss/Makefile (routines): Add valid_field, rewrite_field.
15102         (tests-static): Define unconditionally.
15103         (tests): Include tests-static.
15104         [build-static-nss] (tests-static): Use append.
15105         [build-static-nss] (tests): Remove modification.
15106         * nss/getent.c (print_group): Call putgrent.  Report error.
15107         (print_gshadow): Call putsgent.  Report error.
15108         (print_passwd): Call putpwent.  Report error.
15109         (print_shadow): Call putspent.  Report error.
15110         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
15111         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
15112         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
15113         name, password, directory, shell fields for valid syntax.  Rewrite
15114         GECOS field to match syntax.
15115         * pwd/Makefile (tests): Add tst-putpwent.
15116         * pwd/tst-putpwent.c: New file.
15117         * grp/putgrent.c (putgrent): Convert to ISO function definition.
15118         Check grName, grpasswd, gr_mem fields for valid syntax.
15119         Change loop variable i to size_t.
15120         * grp/Makefile (tests): Add tst-putgrent.
15121         * grp/tst-putgrent.c: New file.
15122         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
15123         valid syntax.
15124         * shadow/Makefile (tests): Add tst-putspent.
15125         * shadow/tst-putspent.c: New file.
15126         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
15127         sg_mem fields for valid syntax.
15128         * gshadow/Makefile (tests): Add tst-putsgent.
15129         * gshadow/tst-putsgent.c: New file.
15131 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15133         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
15134         assembly instructions.
15136 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15138         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15139         prefix from operands.
15141 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
15143         [BZ #16347]
15144         [BZ #19046]
15145         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15146         <libc-internal.h>.
15147         (MAXLGM): Do not use diagnostic control macros.
15148         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15149         threshold for ldbl-128ibm.
15150         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15151         instead of multiplying by log then subtracting.
15152         * math/auto-libm-test-in: Add more tests of lgamma.
15153         * math/auto-libm-test-out: Regenerated.
15155         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15156         (TYPE_HEX_DIG): Likewise.
15157         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
15158         precisions when printing floating-point numbers.
15159         (check_float_internal): Likewise.
15161 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15163         [BZ #16620]
15164         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
15165         of log (10) rounded downward to 48 bits.
15166         (log10_low): Use corresponding low part of log (10).
15168         [BZ #19032]
15169         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
15170         compute result as (x - x) / (x - x) not as 0 / 0.
15171         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15172         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15174         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15175         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15176         and expm1.
15177         * math/auto-libm-test-out: Regenerated.
15178         * math/libm-test.inc (acos_test_data): Add more tests.
15179         (asin_test_data): Likewise.
15180         (asinh_test_data): Likewise.
15181         (atan_test_data): Likewise.
15182         (atanh_test_data): Likewise.
15183         (atan2_test_data): Likewise.
15184         (cbrt_test_data): Likewise.
15185         (ceil_test_data): Likewise.
15186         (copysign_test_data): Likewise.
15187         (cos_test_data): Likewise.
15188         (cosh_test_data): Likewise.
15189         (erf_test_data): Likewise.
15190         (erfc_test_data): Likewise.
15191         (exp_test_data): Likewise.
15192         (exp10_test_data): Likewise.
15193         (exp2_test_data): Likewise.
15194         (expm1_test_data): Likewise.
15195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15197 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15199         [BZ #19006]
15200         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15201         to ...
15202         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15203         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15204         to ...
15205         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15206         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15207         to ...
15208         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15209         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15210         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15211         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15212         to ...
15213         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15214         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15215         Moved to ...
15216         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15217         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15218         Moved to ...
15219         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15220         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15221         to ...
15222         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15223         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15224         Moved to ...
15225         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15226         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15227         to ...
15228         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15229         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15230         Removed.
15231         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15232         Likewise.
15233         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15234         Likewise.
15235         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15236         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15237         Likewise.
15238         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15239         Likewise.
15240         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15241         Likewise.
15242         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15243         Likewise.
15244         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15245         Likewise.
15246         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15247         Likewise.
15248         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15249         Likewise.
15250         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15251         Likewise.
15252         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15253         Likewise.
15254         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15255         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15256         Likewise.
15257         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15258         Likewise.
15259         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15260         Likewise.
15261         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15262         Likewise.
15263         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15264         Likewise.
15265         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15266         Replace ../i486/pthread_cond_timedwait.S with
15267         ../pthread_cond_timedwait.S.
15269 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15271         * math/libm-test.inc (acos_test_data): Refine expectations for
15272         errno and "inexact" exceptions.
15273         (acosh_test_data): Likewise.
15274         (asin_test_data): Likewise.
15275         (asinh_test_data): Likewise.
15276         (atan_test_data): Likewise.
15277         (atanh_test_data): Likewise.
15278         (atan2_test_data): Likewise.
15279         (cbrt_test_data): Likewise.
15280         (ceil_test_data): Likewise.
15281         (copysign_test_data): Likewise.
15282         (cosh_test_data): Likewise.
15283         (erf_test_data): Likewise.
15284         (erfc_test_data): Likewise.
15285         (exp_test_data): Likewise.
15286         (exp10_test_data): Likewise.
15287         (exp2_test_data): Likewise.
15288         (expm1_test_data): Likewise.
15289         (fabs_test_data): Likewise.
15290         (floor_test_data): Likewise.
15291         (fma_test_data): Likewise.
15292         (fmax_test_data): Likewise.
15293         (fmin_test_data): Likewise.
15294         (fmod_test_data): Likewise.
15295         (fpclassify_test_data): Likewise.
15296         (frexp_test_data): Likewise.
15297         (hypot_test_data): Likewise.
15298         (ilogb_test_data): Likewise.
15299         (isgreater_test_data): Likewise.
15300         (isgreaterequal_test_data): Likewise.
15301         (isinf_test_data): Likewise.
15302         (isless_test_data): Likewise.
15303         (islessequal_test_data): Likewise.
15304         (islessgreater_test_data): Likewise.
15305         (isnan_test_data): Likewise.
15306         (isnormal_test_data): Likewise.
15307         (issignaling_test_data): Likewise.
15308         (isunordered_test_data): Likewise.
15309         (j0_test_data): Likewise.
15310         (j1_test_data): Likewise.
15311         (jn_test_data): Likewise.
15312         (lgamma_test_data): Likewise.
15313         (lrint_test_data): Likewise.
15314         (llrint_test_data): Likewise.
15315         (log_test_data): Likewise.
15316         (log10_test_data): Likewise.
15317         (log1p_test_data): Likewise.
15318         (log2_test_data): Likewise.
15319         (logb_test_data): Likewise.
15320         (lround_test_data): Likewise.
15321         (llround_test_data): Likewise.
15322         (modf_test_data): Likewise.
15323         (nearbyint_test_data): Likewise.
15324         (nextafter_test_data): Likewise.
15325         (nexttoward_test_data): Likewise.
15326         (pow_test_data): Likewise.
15327         (remainder_test_data): Likewise.
15328         (remquo_test_data): Likewise.
15329         (rint_test_data): Likewise.
15330         (round_test_data): Likewise.
15331         (signbit_test_data): Likewise.
15332         (sinh_test_data): Likewise.
15333         (sqrt_test_data): Likewise.
15334         (tanh_test_data): Likewise.
15335         (tgamma_test_data): Likewise.
15336         (trunc_test_data): Likewise.
15337         (y0_test_data): Likewise.
15338         (y1_test_data): Likewise.
15339         (yn_test_data): Likewise.
15340         (significand_test_data): Likewise.
15342 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15344         * manual/filesys.texi (Storage Allocation): Document that
15345         posix_fallocate emulation fails when fd is open with O_WRONLY.
15347 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15349         [BZ #19016]
15350         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15351         allow more cases with X^2 + Y^2 >= 0.5.
15352         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15353         normal element in sum instead of special-casing based on values of
15354         arguments.
15355         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15356         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15357         -1 as normal element in sum instead of special-casing based on
15358         values of arguments.
15359         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15360         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15361         (__x2y2m1): Update comment.
15362         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15363         as normal element in sum instead of special-casing based on values
15364         of arguments.
15365         * math/s_clog.c (__clog): Handle more cases using log1p without
15366         hypot.
15367         * math/s_clog10.c (__clog10): Likewise.
15368         * math/s_clog10f.c (__clog10f): Likewise.
15369         * math/s_clog10l.c (__clog10l): Likewise.
15370         * math/s_clogf.c (__clogf): Likewise.
15371         * math/s_clogl.c (__clogl): Likewise.
15372         * math/auto-libm-test-in: Add more tests of clog and clog10.
15373         * math/auto-libm-test-out: Regenerated.
15374         * sysdeps/i386/fpu/libm-test-ulps: Update.
15375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15377 2015-09-28  Martin Sebor  <msebor@redhat.com>
15379         [BZ #18969]
15380         * string/Makefile (LOCALES): Define.
15381         (gen-locales.mk): Include.
15382         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15383         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15384         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15385         on setlocale failure.
15387 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15389         [BZ #18985]
15390         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15391         (__strftime_internal): Likewise.
15392         * time/tst-strftime.c (do_bz18985): New test.
15393         (do_test): Call it.
15395 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15397         [BZ #18956]
15398         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15399         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15400         extracting high part.
15401         * math/auto-libm-test-in: Add another test of pow.
15402         * math/auto-libm-test-out: Regenerated.
15403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15405 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15407         [BZ #18825]
15408         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15409         New macro.
15410         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15411         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15412         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15413         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15414         DBL_NARROW_EVAL, reloading the PIC register as needed.
15415         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15416         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15417         FLT_NARROW_EVAL.  Use separate return path for case when first
15418         argument is NaN.
15419         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15420         DEFINE_LDBL_MIN.
15421         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15422         PIC register.
15423         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15424         math_check_force_underflow_nonneg.
15425         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15426         underflow for subnormal result.
15427         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15428         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15429         math_check_force_underflow_nonneg.
15430         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15431         math_check_force_underflow.
15432         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15433         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15434         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15435         DEFINE_LDBL_MIN.
15436         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15437         * math/auto-libm-test-in: Add more tests of pow.
15438         * math/auto-libm-test-out: Regenerated.
15440 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15442         * nss/bug17079.c (init_test_items): Add diagnostic for
15443         inconsistent entries.
15444         (test_buffer_size): Skip inconsistent entries.
15446 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15448         [BZ #13304]
15449         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15450         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15451         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15453         [BZ #13304]
15454         * sysdeps/microblaze/s_fma.c: New file.
15455         * sysdeps/microblaze/s_fmaf.c: Likewise.
15456         * sysdeps/microblaze/sfp-machine.h: Likewise.
15458 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15460         [BZ #17250]
15461         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15462         member.
15464 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15466         [BZ #18803]
15467         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15468         (MO): New macro.
15469         (__ieee754_hypot) [PIC]: Load PIC register.
15470         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15471         DBL_NARROW_EVAL.
15472         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15473         math_check_force_underflow_nonneg in case where result might be
15474         tiny.
15475         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15476         Likewise.
15477         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15478         Likewise.
15479         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15480         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15481         * math/auto-libm-test-in: Add more tests of hypot.
15482         * math/auto-libm-test-out: Regenerated.
15484 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15486         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15488 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15490         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15491         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15492         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15493         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15494         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15495         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15496         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15498         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15499         LOAD_PIC_REG.
15501         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15502         (FLT_CHECK_FORCE_UFLOW): Likewise.
15503         (DBL_CHECK_FORCE_UFLOW): Likewise.
15504         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15505         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15506         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15507         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15508         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15509         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15510         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15511         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15512         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15513         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15514         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15515         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15516         (flt_min): Replace with use of DEFINE_FLT_MIN.
15517         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15518         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15519         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15520         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15521         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15522         (flt_min): Replace with use of DEFINE_FLT_MIN.
15523         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15524         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15525         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15526         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15527         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15528         (flt_min): Replace with use of DEFINE_FLT_MIN.
15529         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15530         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15531         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15532         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15533         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15534         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15535         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15536         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15537         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15538         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15539         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15540         (flt_min): Replace with use of DEFINE_FLT_MIN.
15541         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15542         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15543         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15544         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15545         main computation.
15546         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15547         (flt_min): Replace with use of DEFINE_FLT_MIN.
15548         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15549         main computation.
15550         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15551         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15552         (MO): New macro.
15553         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15554         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15555         (flt_min): Replace with use of DEFINE_FLT_MIN.
15556         (MO): New macro.
15557         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15558         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15559         (__log1pl): Use MO.
15561         [BZ #19003]
15562         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15563         $(config-cflags-nofma).
15565 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15567         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15569 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15571         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15572         (TWO127): Likewise.
15574         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15575         (min_of_type): Likewise.
15576         (math_check_force_underflow): Likewise.
15577         (math_check_force_underflow_nonneg): Likewise.
15578         (math_check_force_underflow_complex): Likewise.
15579         * math/e_exp2l.c (__ieee754_exp2l): Use
15580         math_check_force_underflow_nonneg.
15581         * math/k_casinh.c (__kernel_casinh): Likewise.
15582         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15583         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15584         * math/s_catan.c (__catan): Use
15585         math_check_force_underflow_complex.
15586         * math/s_catanf.c (__catanf): Likewise.
15587         * math/s_catanh.c (__catanh): Likewise.
15588         * math/s_catanhf.c (__catanhf): Likewise.
15589         * math/s_catanhl.c (__catanhl): Likewise.
15590         * math/s_catanl.c (__catanl): Likewise.
15591         * math/s_ccosh.c (__ccosh): Likewise.
15592         * math/s_ccoshf.c (__ccoshf): Likewise.
15593         * math/s_ccoshl.c (__ccoshl): Likewise.
15594         * math/s_cexp.c (__cexp): Likewise.
15595         * math/s_cexpf.c (__cexpf): Likewise.
15596         * math/s_cexpl.c (__cexpl): Likewise.
15597         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15598         * math/s_clog10.c (__clog10): Likewise.
15599         * math/s_clog10f.c (__clog10f): Likewise.
15600         * math/s_clog10l.c (__clog10l): Likewise.
15601         * math/s_clogf.c (__clogf): Likewise.
15602         * math/s_clogl.c (__clogl): Likewise.
15603         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15604         * math/s_csinf.c (__csinf): Likewise.
15605         * math/s_csinh.c (__csinh): Likewise.
15606         * math/s_csinhf.c (__csinhf): Likewise.
15607         * math/s_csinhl.c (__csinhl): Likewise.
15608         * math/s_csinl.c (__csinl): Likewise.
15609         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15610         * math/s_csqrtf.c (__csqrtf): Likewise.
15611         * math/s_csqrtl.c (__csqrtl): Likewise.
15612         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15613         * math/s_ctanf.c (__ctanf): Likewise.
15614         * math/s_ctanh.c (__ctanh): Likewise.
15615         * math/s_ctanhf.c (__ctanhf): Likewise.
15616         * math/s_ctanhl.c (__ctanhl): Likewise.
15617         * math/s_ctanl.c (__ctanl): Likewise.
15618         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15619         instead of volatile.
15620         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15621         math_check_force_underflow.
15622         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15623         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15624         volatile when forcing underflow.
15625         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15626         math_check_force_underflow_nonneg.
15627         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15628         Likewise.
15629         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15630         math_check_force_underflow.
15631         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15632         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15633         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15634         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15635         math_check_force_underflow_nonneg.
15636         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15637         math_check_force_underflow.
15638         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15639         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15640         instead of volatile.
15641         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15642         math_check_force_underflow.
15643         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15644         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15645         math_check_force_underflow_nonneg.
15646         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15647         math_check_force_underflow.
15648         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15649         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15650         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15651         math_check_force_underflow_nonneg.
15652         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15653         Likewise.
15654         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15655         math_check_force_underflow.
15656         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15657         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15658         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15659         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15660         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15661         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15662         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15663         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15664         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15665         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15666         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15667         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15668         Likewise.
15669         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15670         math_check_force_underflow_nonneg.
15671         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15672         Likewise.
15673         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15674         math_check_force_underflow.
15675         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15676         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15677         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15678         Likewise.
15679         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15680         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15681         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15682         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15683         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15684         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15685         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15686         instead of volatile.
15687         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15688         math_check_force_underflow.
15689         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15690         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15691         math_check_force_underflow.
15692         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15693         Likewise.
15694         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15695         Use math_check_force_underflow_nonneg.
15696         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15697         math_check_force_underflow.
15698         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15699         Likewise.
15700         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15701         Likewise.
15702         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15703         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15704         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15705         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15706         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15707         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15708         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15709         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15710         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15711         math_check_force_underflow_nonneg.
15712         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15713         math_check_force_underflow.
15714         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15715         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15716         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15717         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15718         math_check_force_underflow_nonneg.
15719         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15720         math_check_force_underflow.
15721         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15722         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15723         instead of volatile.
15724         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15725         math_check_force_underflow.
15727         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15728         * stdlib/strtod_l.c: Include <math_private.h>.
15729         (overflow_value): Use math_narrow_eval.
15730         (underflow_value): Likewise.
15731         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15732         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15733         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15734         (__ieee754_gamma_r): Likewise.
15735         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15736         Likewise.
15737         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15738         Likewise.
15739         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15740         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15741         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15742         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15743         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15744         (__ieee754_gammaf_r): Likewise.
15745         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15746         Likewise.
15747         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15748         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15749         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15750         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15751         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15752         volatile.
15753         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15754         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15755         math_narrow_eval.
15756         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15757         Likewise.
15758         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15759         Likewise.
15760         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15761         Likewise.
15762         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15763         volatile.
15764         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15765         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15766         math_narrow_eval.
15767         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15768         Likewise.
15769         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15770         Likewise.
15772 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15774         * nptl/Versions: Remove ignored symbols.
15776 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15778         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15779         * nss/Makefile (tests): Update.
15781 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15783         * nss/bug18287.c: New file.
15784         * nss/Makefile (tests): Add bug18287.
15786 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15788         * mach/Versions (__mach_host_self_): Add symbol.
15790 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15792         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15793         vm_page_size.
15795 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15797         Really fix sysdeps/i386/fpu/s_scalbn.S build
15799         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15800         (libc: GLIBC_2_22): Remove unused version set.
15802 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15804         * config.make.in (enable-timezone-tools): New variable.
15805         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15806         (enable_timezone_tools): Export to generated files.
15807         * configure: Regenerate.
15808         * INSTALL: Regenerate.
15809         * manual/install.texi (--disable-timezone-tools): Document new flag.
15810         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15811         ifeq ($(enable-timezone-tools),yes) check.
15813 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15815         * timezone/Makefile: Revert previous change.
15817         [BZ #18980]
15818         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15819         (DEFINE_DBL_MIN): Likewise.
15820         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15821         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15822         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15823         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15824         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15825         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15826         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15827         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15828         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15829         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15830         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15831         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15832         (flt_min): Replace with use of DEFINE_FLT_MIN.
15833         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15834         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15835         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15836         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15837         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15838         (flt_min): Replace with use of DEFINE_FLT_MIN.
15839         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15840         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15841         (flt_min): Replace with use of DEFINE_FLT_MIN.
15842         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15843         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15844         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15845         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15846         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15847         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15848         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15849         (__ieee754_pow): Use DBL_NARROW_EVAL.
15850         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15851         (__ieee754_powf): Use FLT_NARROW_EVAL.
15852         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15853         (__ieee754_expf_sse2): Convert double-precision result to single
15854         precision.
15855         * sysdeps/i386/fpu/libm-test-ulps: Update.
15857 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15859         * timezone/Makefile: Ignore unused variable errors due to private.h
15860         (time_t_min) and (time_t_max).
15861         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15862         Likewise.
15864 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15866         [BZ #18981]
15867         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15868         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15869         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15870         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15871         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15872         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15873         (__scalbn): Use DBL_NARROW_EVAL.
15874         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15875         (__scalbnf): Use FLT_NARROW_EVAL.
15877 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15879         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15880         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15881         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15882         * stdio-common/printf_fp.c (___printf_fp):
15883         Use signbit to get the sign. Use isinf macro to allow inlining.
15884         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15885         * stdio-common/printf_size.c (__printf_size): Likewise.
15887 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15889         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15891 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15893         [BZ #18980]
15894         * sysdeps/generic/math_private.h: Include <float.h>.
15895         (math_narrow_eval): New macro.
15896         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15897         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15898         math_narrow_eval on overflowing return value.
15899         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15900         Likewise.
15901         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15902         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15903         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15904         Likewise.
15905         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15907 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15909         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15910         * math/Makefile: Remove isinf_ns.c.
15911         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15912         * math/multc3.c (__multc3): Likewise.
15913         * math/s_casin.c (__casin): Likewise.
15914         * math/s_casinf.c (__casinf): Likewise.
15915         * math/s_casinl.c (__casinl): Likewise.
15916         * math/s_cproj.c (__cproj): Likewise.
15917         * math/s_cprojf.c (__cprojf): Likewise.
15918         * math/s_cprojl.c (__cprofl): Likewise.
15919         * math/s_ctan.c (__ctan): Likewise.
15920         * math/s_ctanf.c (__ctanf): Likewise.
15921         * math/s_ctanh.c (__ctanh): Likewise.
15922         * math/s_ctanhf.c (__ctanhf): Likewise.
15923         * math/s_ctanhl.c (__ctanhl): Likewise.
15924         * math/s_ctanl.c (__ctanl): Likewise.
15925         * math/w_fmod.c (__fmod): Likewise.
15926         * math/w_fmodf.c (__fmodf): Likewise.
15927         * math/w_fmodl.c (_fmodl): Likewise.
15928         * math/w_remainder.c (__remainder): Likewise.
15929         * math/w_remainderf.c (__remainderf): Likewise.
15930         * math/w_remainderl.c (__remainderl): Likewise.
15931         * math/w_scalb.c (__scalb): Likewise.
15932         * math/w_scalbf.c (__scalbf): Likewise.
15933         * math/w_scalbl.c (__scalbl): Likewise.
15934         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15935         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15936         with isinf.
15937         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15938         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15939         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15940         __isinf_nsf with isinf.
15941         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15942         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15943         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15944         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15945         with isinf.
15946         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15947         __isinf_nsl with isinf.
15948         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15949         with isinf.
15950         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15951         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15952         __isinf_nsl with isinf.
15953         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15954         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15955         with isinf.
15957 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15959         * resolv/base64.c (rcsid): Remove unused static.
15960         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15961         static.  (tqpi1): Likewise.
15962         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15963         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15964         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15965         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15967         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15968         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15969         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15970         Likewise.
15972 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15974         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15975         <nptl/pthreadP.h>.
15976         (_longjmp_unwind): Use __libc_ptf_call.
15977         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15979 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15981         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15982         * sysdeps/arm/__longjmp.S: Likewise.
15984 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15986         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15987         Use __builtin_signbit.
15988         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15989         Use __builtin_signbitf.
15990         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15991         Use __builtin_signbitl.
15992         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15993         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15995 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15997         [BZ #15367]
15998         [BZ #17441]
16000         * math/Makefile: Build test-snan.c with -fsignaling-nans.
16001         * math/math.h (fpclassify): Use __builtin_fpclassify when
16002         available.  (signbit): Use __builtin_signbit(f/l).
16003         (isfinite): Use__builtin_isfinite.  (isnormal): Use
16004         __builtin_isnormal.  (isnan): Use __builtin_isnan.
16005         (isinf): Use __builtin_isinf_sign.
16007 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16009         * benchtests/Makefile: Add bench-math-inlines, link with libm.
16010         * benchtests/bench-math-inlines.c: New benchmark.
16011         * benchtests/bench-util.h: New file.
16012         * benchtests/bench-util.c: New file.
16013         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
16015 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
16017         * elf/tst-dlmopen1.c: Define TEST_SO.
16018         (do_test): Use TEST_SO.
16020         * elf/dl-load.c: Include libc-internal.h.
16021         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16023 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16025         [BZ #17887]
16026         * time/strptime_l.c (__strptime_internal): Make %z accept
16027         [+-]HH:MM time zones.
16029 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16031         [BZ #17886]
16032         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16033         valid time zone.
16035 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
16037         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
16038         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
16039         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16040         (__ASSUME_FDATASYNC): Delete.
16042 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16044         * conform/linknamespace.pl: Require weak undefined symbols to be
16045         in the standard namespace.
16046         (%strong_syms): Rename to %seen_syms.
16047         (%strong_seen): Rename to %seen_where.
16049 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
16051         [BZ #18970]
16052         * misc/error.c (error): Replace pthread_setcancelstate with
16053         __pthread_setcancelstate.
16054         (error_at_line): Likewise.
16055         * posix/wordexp.c (parse_comm): Likewise.
16056         * stdlib/fmtmsg.c (fmtmsg): Likewise.
16057         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
16058         (__pthread_setcancelstate): This.
16059         (pthread_setcancelstate): Add an alias.
16060         * nptl/nptl-init.c (pthread_functions): Replace
16061         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
16062         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
16063         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
16064         hidden_proto.
16065         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
16066         it with hidden_def.
16067         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
16068         (pthread_setcancelstate): Renamed to ...
16069         (__pthread_setcancelstate): This.
16070         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
16071         __libc_ptf_call with __pthread_setcancelstate.
16073 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16074             Andreas Schwab  <schwab@suse.de>
16076         [BZ #17118]
16077         * math/s_ctan.c (__ctan): Determine sign of zero real part of
16078         result when imaginary part of argument is infinite using sine and
16079         cosine.
16080         * math/s_ctanf.c (__ctanf): Likewise.
16081         * math/s_ctanl.c (__ctanl): Likewise.
16082         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
16083         of result when real part of argument is infinite using sine and
16084         cosine.
16085         * math/s_ctanhf.c (__ctanhf): Likewise.
16086         * math/s_ctanhl.c (__ctanhl): Likewise.
16087         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
16088         (ctanh_test_data): Add more tests of ctanh.
16090 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16092         [BZ #15384]
16093         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
16094         bit-mask as in subtraction.
16095         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
16096         Likewise.
16097         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16098         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16099         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
16101         [BZ #18951]
16102         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
16103         underflow exception for small results.
16104         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16105         Likewise.
16106         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16107         Likewise.
16108         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16109         Likewise.
16110         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16111         Likewise.
16112         * math/auto-libm-test-in: Add more tests of tgamma.
16113         * math/auto-libm-test-out: Regenerated.
16115 2015-09-17  Andreas Schwab  <schwab@suse.de>
16117         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
16119 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16121         [BZ #18977]
16122         * math/bits/mathcalls.h
16123         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
16124         not declare.
16125         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
16126         Likewise.
16127         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
16128         Likewise.
16129         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16130         Likewise.
16131         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
16132         Likewise.
16133         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16134         Likewise.
16135         * conform/data/math.h-data
16136         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
16137         function.
16138         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16139         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16140         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16141         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16142         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16143         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16144         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16145         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16146         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16147         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16148         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16150         [BZ #6803]
16151         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16152         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16153         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16154         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16155         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16156         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
16157         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
16158         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
16159         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16160         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
16161         Likewise.
16162         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16163         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
16164         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
16165         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
16166         long_double_symbol calls.
16167         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
16168         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
16169         strong alias of __ldexpl.
16170         (scalbnl): Define using long_double_symbol.
16171         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16172         Remove alias.
16173         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16174         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16175         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16176         (scalbln_test_data): Add more errno expectations.
16178 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16180         Cache the host port like we cache the task port.  This way we do not
16181         need to call the kernel just to get the port.  Furthermore, we no
16182         longer increase the reference count on every invocation of
16183         `mach_host_self'.
16185         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16186         Protect declarations against the macro expansion.
16187         * mach/mach_init.c (__mach_host_self_): New variable.
16188         (mach_init): Initialize `__mach_host_self_'.
16189         * mach/mach_init.h (__mach_host_self_): New declaration.
16190         (__mach_host_self, mach_host_self): New macros.
16191         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16192         Release reference.
16194 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16196         [BZ #4404]
16197         * po/de.po: Update from Translation Project.
16199         [BZ #16415]
16200         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16201         (__expm1l): Remove code to handle positive infinity and overflow.
16202         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16203         variable.
16204         (__expm1l): Remove code to handle positive infinity and overflow.
16206 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16207             Paul Pluzhnikov  <ppluzhnikov@google.com>
16209         [BZ #18872]
16210         * stdio-common/Makefile (tst-printf-bz18872): New test.
16211         (tst-printf-bz18872-mem.out): Likewise.
16212         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16213         * stdio-common/vfprintf.c: Fix memory leaks.
16215 2015-09-16  Andreas Schwab  <schwab@suse.de>
16217         [BZ #17244]
16218         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16219         Remove extra va_start/va_end calls.
16221         [BZ #17243]
16222         * posix/execl.c (execl): Add missing va_end.
16223         * posix/execle.c (execle): Likewise.
16224         * posix/execlp.c (execlp): Likewise.
16226 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16228         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16229         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16231 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16233         [BZ #18967]
16234         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16235         undefine around includes of <bits/mathcalls.h>.
16236         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16237         not declare function.
16238         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16239         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16240         (scalb): Likewise.
16241         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16242         not define macro.
16243         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16244         variable.
16245         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16246         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16247         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16249         [BZ #18857]
16250         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16251         return non-finite argument without doing ordered comparisons on
16252         it.
16254         [BZ #16296]
16255         * math/fenv.h (fegetround): Use __attribute_pure__.
16256         * include/fenv.h (__fegetround): Likewise.
16258         [BZ #18595]
16259         * math/s_ctan.c (__ctan): Force underflow exception for results
16260         whose real or imaginary part has small absolute value.
16261         * math/s_ctanf.c (__ctanf): Likewise.
16262         * math/s_ctanh.c (__ctanh): Likewise.
16263         * math/s_ctanhf.c (__ctanhf): Likewise.
16264         * math/s_ctanhl.c (__ctanhl): Likewise.
16265         * math/s_ctanl.c (__ctanl): Likewise.
16266         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16267         and ctanh.  Add more tests of ctan and ctanh.
16269         [BZ #15918]
16270         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16271         handling of cases where one argument is an infinity.
16273         [BZ #18875]
16274         [BZ #18966]
16275         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16276         (MO): New macro.
16277         (__ieee754_exp10): For small results, force underflow exception
16278         and remove excess range and precision from return value.
16279         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16280         (MO): New macro.
16281         (__ieee754_exp10f): For small results, force underflow exception
16282         and remove excess range and precision from return value.
16283         * math/auto-libm-test-in: Add more tests of exp10.
16284         * math/auto-libm-test-out: Regenerated.
16286 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16288         [BZ #18875]
16289         [BZ #18961]
16290         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16291         (MO): New macro.
16292         (__ieee754_exp): For small results, force underflow exception and
16293         remove excess range and precision from return value.
16294         (__exp_finite): Likewise.
16295         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16296         (MO): New macro.
16297         (__ieee754_expf): For small results, force underflow exception and
16298         remove excess range and precision from return value.
16299         (__expf_finite): Likewise.
16300         * math/auto-libm-test-in: Add more tests of exp.
16301         * math/auto-libm-test-out: Regenerated.
16303         [BZ #16521]
16304         [BZ #18875]
16305         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16306         small results.
16307         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16308         (MO): New macro.
16309         (__ieee754_exp2): For small results, force underflow exception and
16310         remove excess range and precision from return value.
16311         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16312         (MO): New macro.
16313         (__ieee754_exp2f): For small results, force underflow exception
16314         and remove excess range and precision from return value.
16315         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16316         (MO): New macro.
16317         (__ieee754_exp2l): Force underflow exception for small results.
16318         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16319         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16320         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16321         (MO): New macro.
16322         (__ieee754_exp2l): Force underflow exception for small results.
16323         * math/auto-libm-test-in: Add more tests or exp2.
16324         * math/auto-libm-test-out: Regenerated.
16326 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16328         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16330         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16331         /dev/null.
16333 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16335         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16336         io fs process)): Drop spurious backslash.
16338 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16340         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16341         Use sysinfo system call instead of parsing /proc/meminfo.
16342         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16343         Likewise.
16345 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16347         [BZ #16985]
16348         * programs/localedef.c (main): Display argv[remaining] when
16349         output_path is NULL.
16351 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16353         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16354         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16355         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16356         tanh.
16357         * math/auto-libm-test-out: Regenerated.
16358         * sysdeps/i386/fpu/libm-test-ulps: Update.
16359         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16360         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16363 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16365         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16366         Use 'override' keyword to freeze the value here, preventing
16367         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16369 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16371         [BZ #14912]
16372         * sysdeps/aarch64/bits/atomic.h: Move to ...
16373         * sysdeps/aarch64/atomic-machine.h: ...here.
16374         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16375         _AARCH64_ATOMIC_MACHINE_H.
16376         * sysdeps/alpha/bits/atomic.h: Move to ...
16377         * sysdeps/alpha/atomic-machine.h: ...here.
16378         * sysdeps/arm/bits/atomic.h: Move to ...
16379         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16380         * bits/atomic.h: Move to ...
16381         * sysdeps/generic/atomic-machine.h: ...here.
16382         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16383         * sysdeps/i386/bits/atomic.h: Move to ...
16384         * sysdeps/i386/atomic-machine.h: ...here.
16385         * sysdeps/ia64/bits/atomic.h: Move to ...
16386         * sysdeps/ia64/atomic-machine.h: ...here.
16387         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16388         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16389         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16390         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16391         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16392         * sysdeps/microblaze/bits/atomic.h: Move to ...
16393         * sysdeps/microblaze/atomic-machine.h: ...here.
16394         * sysdeps/mips/bits/atomic.h: Move to ...
16395         * sysdeps/mips/atomic-machine.h: ...here.
16396         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16397         * sysdeps/powerpc/bits/atomic.h: Move to ...
16398         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16399         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16400         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16401         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16402         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16403         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16404         <atomic-machine.h> instead of <bits/atomic.h>.
16405         * sysdeps/s390/bits/atomic.h: Move to ...
16406         * sysdeps/s390/atomic-machine.h: ...here.
16407         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16408         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16409         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16410         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16411         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16412         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16413         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16414         * sysdeps/tile/bits/atomic.h: Move to ...
16415         * sysdeps/tile/atomic-machine.h: ...here.
16416         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16417         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16418         <sysdeps/tile/atomic-machine.h> instead of
16419         <sysdeps/tile/bits/atomic.h>.
16420         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16421         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16422         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16423         <sysdeps/tile/atomic-machine.h> instead of
16424         <sysdeps/tile/bits/atomic.h>.
16425         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16426         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16427         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16428         <sysdeps/arm/atomic-machine.h> instead of
16429         <sysdeps/arm/bits/atomic.h>.
16430         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16431         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16432         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16433         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16434         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16435         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16436         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16437         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16438         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16439         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16440         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16441         * sysdeps/x86_64/bits/atomic.h: Move to ...
16442         * sysdeps/x86_64/atomic-machine.h: ...here.
16443         * include/atomic.h: Include <atomic-machine.h> instead of
16444         <bits/atomic.h>.
16446         * sysdeps/mips/mips32/libm-test-ulps: Update.
16447         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16449         [BZ #18952]
16450         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16451         not convert non-integer negative arguments to int to determine the
16452         value of signgam.
16453         * math/auto-libm-test-in: Add more tests of lgamma.
16454         * math/auto-libm-test-out: Regenerated.
16456         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16457         cosh, csqrt, erfc, expm1 and lgamma.
16458         * math/auto-libm-test-out: Regenerated.
16459         * sysdeps/i386/fpu/libm-test-ulps: Update.
16460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16462 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16464         [BZ #2542]
16465         [BZ #2543]
16466         [BZ #2558]
16467         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16468         __lgamma_neg for arguments from -28.0 to -2.0.
16469         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16470         __lgamma_negf for arguments from -15.0 to -2.0.
16471         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16472         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16473         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16474         Call __lgamma_negl for arguments from -33.0 to -2.0.
16475         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16476         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16477         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16478         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16479         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16480         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16481         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16482         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16483         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16484         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16485         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16486         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16487         (__lgamma_neg): Likewise.
16488         (__lgamma_negl): Likewise.
16489         (__lgamma_product): Likewise.
16490         (__lgamma_productl): Likewise.
16491         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16492         * math/auto-libm-test-in: Add more tests of lgamma.
16493         * math/auto-libm-test-out: Regenerated.
16494         * sysdeps/i386/fpu/libm-test-ulps: Update.
16495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16497 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16499         [BZ #18675]
16500         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16502 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16504         [BZ #14912]
16505         * bits/libc-lock.h: Move to ...
16506         * sysdeps/generic/libc-lock.h: ...here.
16507         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16508         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16509         * sysdeps/mach/hurd/libc-lock.h: ...here.
16510         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16511         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16512         * sysdeps/mach/bits/libc-lock.h: Move to ...
16513         * sysdeps/mach/libc-lock.h: ...here.
16514         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16515         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16516         * sysdeps/nptl/libc-lock.h: ...here.
16517         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16518         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16519         * sysdeps/nptl/libc-lockP.h: ...here.
16520         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16521         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16522         <bits/libc-lock.h>.
16523         * dirent/scandir-tail.c: Likewise.
16524         * dlfcn/dlerror.c: Likewise.
16525         * elf/dl-close.c: Likewise.
16526         * elf/dl-iteratephdr.c: Likewise.
16527         * elf/dl-lookup.c: Likewise.
16528         * elf/dl-open.c: Likewise.
16529         * elf/dl-support.c: Likewise.
16530         * elf/dl-writev.h: Likewise.
16531         * elf/rtld.c: Likewise.
16532         * grp/fgetgrent.c: Likewise.
16533         * gshadow/fgetsgent.c: Likewise.
16534         * gshadow/sgetsgent.c: Likewise.
16535         * iconv/gconv_conf.c: Likewise.
16536         * iconv/gconv_db.c: Likewise.
16537         * iconv/gconv_dl.c: Likewise.
16538         * iconv/gconv_int.h: Likewise.
16539         * iconv/gconv_trans.c: Likewise.
16540         * include/link.h: Likewise.
16541         * inet/getnameinfo.c: Likewise.
16542         * inet/getnetgrent.c: Likewise.
16543         * inet/getnetgrent_r.c: Likewise.
16544         * intl/bindtextdom.c: Likewise.
16545         * intl/dcigettext.c: Likewise.
16546         * intl/finddomain.c: Likewise.
16547         * intl/gettextP.h: Likewise.
16548         * intl/loadmsgcat.c: Likewise.
16549         * intl/localealias.c: Likewise.
16550         * intl/textdomain.c: Likewise.
16551         * libidn/idn-stub.c: Likewise.
16552         * libio/libioP.h: Likewise.
16553         * locale/duplocale.c: Likewise.
16554         * locale/freelocale.c: Likewise.
16555         * locale/newlocale.c: Likewise.
16556         * locale/setlocale.c: Likewise.
16557         * login/getutent_r.c: Likewise.
16558         * login/getutid_r.c: Likewise.
16559         * login/getutline_r.c: Likewise.
16560         * login/utmp-private.h: Likewise.
16561         * login/utmpname.c: Likewise.
16562         * malloc/mtrace.c: Likewise.
16563         * misc/efgcvt.c: Likewise.
16564         * misc/error.c: Likewise.
16565         * misc/fstab.c: Likewise.
16566         * misc/getpass.c: Likewise.
16567         * misc/mntent.c: Likewise.
16568         * misc/syslog.c: Likewise.
16569         * nis/nis_call.c: Likewise.
16570         * nis/nis_callback.c: Likewise.
16571         * nis/nss-default.c: Likewise.
16572         * nis/nss_compat/compat-grp.c: Likewise.
16573         * nis/nss_compat/compat-initgroups.c: Likewise.
16574         * nis/nss_compat/compat-pwd.c: Likewise.
16575         * nis/nss_compat/compat-spwd.c: Likewise.
16576         * nis/nss_nis/nis-alias.c: Likewise.
16577         * nis/nss_nis/nis-ethers.c: Likewise.
16578         * nis/nss_nis/nis-grp.c: Likewise.
16579         * nis/nss_nis/nis-hosts.c: Likewise.
16580         * nis/nss_nis/nis-network.c: Likewise.
16581         * nis/nss_nis/nis-proto.c: Likewise.
16582         * nis/nss_nis/nis-pwd.c: Likewise.
16583         * nis/nss_nis/nis-rpc.c: Likewise.
16584         * nis/nss_nis/nis-service.c: Likewise.
16585         * nis/nss_nis/nis-spwd.c: Likewise.
16586         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16587         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16588         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16589         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16590         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16591         * nis/nss_nisplus/nisplus-network.c: Likewise.
16592         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16593         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16594         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16595         * nis/nss_nisplus/nisplus-service.c: Likewise.
16596         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16597         * nis/ypclnt.c: Likewise.
16598         * nptl/libc_pthread_init.c: Likewise.
16599         * nss/getXXbyYY.c: Likewise.
16600         * nss/getXXent.c: Likewise.
16601         * nss/getXXent_r.c: Likewise.
16602         * nss/nss_db/db-XXX.c: Likewise.
16603         * nss/nss_db/db-netgrp.c: Likewise.
16604         * nss/nss_db/nss_db.h: Likewise.
16605         * nss/nss_files/files-XXX.c: Likewise.
16606         * nss/nss_files/files-alias.c: Likewise.
16607         * nss/nsswitch.c: Likewise.
16608         * posix/regex_internal.h: Likewise.
16609         * posix/wordexp.c: Likewise.
16610         * pwd/fgetpwent.c: Likewise.
16611         * resolv/res_hconf.c: Likewise.
16612         * resolv/res_libc.c: Likewise.
16613         * shadow/fgetspent.c: Likewise.
16614         * shadow/lckpwdf.c: Likewise.
16615         * shadow/sgetspent.c: Likewise.
16616         * socket/opensock.c: Likewise.
16617         * stdio-common/reg-modifier.c: Likewise.
16618         * stdio-common/reg-printf.c: Likewise.
16619         * stdio-common/reg-type.c: Likewise.
16620         * stdio-common/vfprintf.c: Likewise.
16621         * stdio-common/vfscanf.c: Likewise.
16622         * stdlib/abort.c: Likewise.
16623         * stdlib/cxa_atexit.c: Likewise.
16624         * stdlib/fmtmsg.c: Likewise.
16625         * stdlib/random.c: Likewise.
16626         * stdlib/setenv.c: Likewise.
16627         * string/strsignal.c: Likewise.
16628         * sunrpc/auth_none.c: Likewise.
16629         * sunrpc/bindrsvprt.c: Likewise.
16630         * sunrpc/create_xid.c: Likewise.
16631         * sunrpc/key_call.c: Likewise.
16632         * sunrpc/rpc_thread.c: Likewise.
16633         * sysdeps/arm/backtrace.c: Likewise.
16634         * sysdeps/generic/ldsodefs.h: Likewise.
16635         * sysdeps/generic/stdio-lock.h: Likewise.
16636         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16637         * sysdeps/i386/backtrace.c: Likewise.
16638         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16639         * sysdeps/m68k/backtrace.c: Likewise.
16640         * sysdeps/mach/hurd/cthreads.c: Likewise.
16641         * sysdeps/mach/hurd/dirstream.h: Likewise.
16642         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16643         * sysdeps/nptl/malloc-machine.h: Likewise.
16644         * sysdeps/nptl/stdio-lock.h: Likewise.
16645         * sysdeps/posix/dirstream.h: Likewise.
16646         * sysdeps/posix/getaddrinfo.c: Likewise.
16647         * sysdeps/posix/system.c: Likewise.
16648         * sysdeps/pthread/aio_suspend.c: Likewise.
16649         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16650         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16651         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16652         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16653         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16654         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16655         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16656         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16657         * sysdeps/unix/sysv/linux/system.c: Likewise.
16658         * sysdeps/x86_64/backtrace.c: Likewise.
16659         * time/alt_digit.c: Likewise.
16660         * time/era.c: Likewise.
16661         * time/tzset.c: Likewise.
16662         * wcsmbs/wcsmbsload.c: Likewise.
16663         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16664         instead of <bits/libc-lock.h> in comment.
16666 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16668         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16669         Only use .set mips2 if the current ISA is below mips2.
16670         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16671         Likewise.
16672         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16673         mips32r2 if the current ISA is below mips32r2.
16674         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16675         (TLS_IE): Updated to use the TLD_RDHWR macro.
16676         (TLS_LE): Likewise.
16677         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16678         __ASSEMBLER__ condition.
16680 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16682         Fix parallel build of before-compile targets.
16684         * sysdeps/mach/Makefile ($(patsubst
16685         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16686         mach-before-compile target.
16687         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16688         io fs process)): Move rule to dedicated hurd-before-compile target.
16690 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16692         Fix rules generating headers in hurd/ and mach/ when initial make call
16693         has subdir= explicitly set.
16695         * sysdeps/mach/Makefile ($(patsubst
16696         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16697         calling $(MAKE).
16698         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16699         io fs process)): Force subdir to hurd when calling $(MAKE).
16700         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16701         subdir to mach when calling $(MAKE).
16703 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16705         Check sysheaders when looking for Mach and Hurd headers
16707         * sysdeps/mach/configure.ac: Add sysheaders check.
16708         * sysdeps/mach/configure: Regenerate.
16709         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16710         * sysdeps/mach/hurd/configure: Regenerate.
16712 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16714         [BZ #18921]
16715         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16716         Fix inverted sense of test of 'o_directory_works' value.
16717         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16718         Bernhard Voelker <mail@bernhard-voelker.de>.
16720 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16722         [BZ #14912]
16723         * bits/linkmap.h: Move to ...
16724         * sysdeps/generic/linkmap.h: ...here.
16725         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16726         * sysdeps/aarch64/linkmap.h: ...here.
16727         * sysdeps/arm/bits/linkmap.h: Move to ...
16728         * sysdeps/arm/linkmap.h: ...here.
16729         * sysdeps/hppa/bits/linkmap.h: Move to ...
16730         * sysdeps/hppa/linkmap.h: ...here.
16731         * sysdeps/ia64/bits/linkmap.h: Move to ...
16732         * sysdeps/ia64/linkmap.h: ...here.
16733         * sysdeps/mips/bits/linkmap.h: Move to ...
16734         * sysdeps/mips/linkmap.h: ...here.
16735         * sysdeps/s390/bits/linkmap.h: Move to ...
16736         * sysdeps/s390/linkmap.h: ...here.
16737         * sysdeps/sh/bits/linkmap.h: Move to ...
16738         * sysdeps/sh/linkmap.h: ...here.
16739         * sysdeps/x86/bits/linkmap.h: Move to ...
16740         * sysdeps/x86/linkmap.h: ...here.
16741         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16743 2015-09-04  Andreas Schwab  <schwab@suse.de>
16745         [BZ #18635]
16746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16747         (__makecontext): Terminate FDE before return label.
16748         (__novec_makecontext): Likewise.
16750 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16752         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16753         first member of struct sv in syscall macro.
16755 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16757         [BZ #14912]
16758         * bits/stdio-lock.h: Move to ...
16759         * sysdeps/generic/stdio-lock.h: ...here.
16760         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16761         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16762         * sysdeps/nptl/stdio-lock.h: ...here.
16763         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16764         * include/libio.h: Include <stdio-lock.h> instead of
16765         <bits/stdio-lock.h>.
16766         * sysdeps/nptl/fork.c: Likewise.
16767         * sysdeps/pthread/flockfile.c: Likewise.
16768         * sysdeps/pthread/ftrylockfile.c: Likewise.
16769         * sysdeps/pthread/funlockfile.c: Likewise.
16771         [BZ #14912]
16772         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16773         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16774         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16775         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16776         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16777         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16778         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16780 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16782         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16783         (test-xfail-tst-protected1b): New variable.
16785 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16787         [BZ #14912]
16788         * bits/libc-tsd.h: Move to ...
16789         * sysdeps/generic/libc-tsd.h: ...here.
16790         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16791         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16792         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16793         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16794         * include/ctype.h: Include <libc-tsd.h> instead of
16795         <bits/libc-tsd.h>.
16796         * include/rpc/rpc.h: Likewise.
16797         * locale/localeinfo.h: Likewise.
16798         * sunrpc/rpc_thread.c: Likewise.
16799         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16800         * sysdeps/nptl/malloc-machine.h: Likewise.
16802         * Makefile (headers): Remove bits/libc-lock.h.
16803         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16805         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16806         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16807         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16808         <bits/stdio-lock.h>.
16809         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16810         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16812 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16814         [BZ #18757]
16815         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16816         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16817         BZ #18757.
16819 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16821         * malloc/mtrace.pl: Filter out NULL entries.
16823 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16825         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16826         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16827         macro.
16829         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16830         (TCP_CC_INFO): Likewise.
16831         (TCP_SAVE_SYN): Likewise.
16832         (TCP_SAVED_SYN): Likewise.
16834 2015-08-31  Brett Neumeier <brett@neumeier.us>
16836         [BZ #18870]
16837         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16839 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16841         [BZ #18873]
16842         Fix broken overflow check in posix_fallocate
16843         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16844         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16845         Fix parenthesization typo.
16847 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16849         [BZ #18887]
16850         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16851         tst-mntent-blank-passno.
16852         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16853         * misc/tst-mntent-blank-corrupt.c: New test.
16854         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16855         * misc/tst-mntent.c (do_test): ... here.
16857 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16859         [BZ #4404]
16860         * po/de.po: Fix SIGALRM typo.
16862 2015-08-28  James Perkins  <james@loowit.net>
16864         * time/tst-strptime2.c (tests): Replace short list of test
16865         strings for strptime %z specifier with code which exhaustively
16866         tests every combination of sign and 0 to 5 digits. Tests for
16867         rejection of invalid strings.
16869 2015-08-28  James Perkins  <james@loowit.net>
16871         [BZ #16141]
16872         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16873         calculation, removing incorrect decimal time rounding, so that
16874         all minute values result in a valid seconds value.
16875         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16876         offset range limits to UTC-99:59 through UTC+99:59 to parse
16877         current and historical use cases.
16878         * time/tst-strptime2.c (tests): Modify and add tests for the
16879         strptime %z input field descriptor, specifically conversion of
16880         minutes to seconds and validating an offset range of -9959 to
16881         +9959.
16883 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16884             Dmitry V. Levin  <ldv@altlinux.org>
16886         [BZ #18877]
16887         * posix/Makefile (tests): Add tst-mmap-offset.
16888         * posix/tst-mmap.c: New file.
16889         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16890         offset calculation for negative values.
16892 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16894         * sysdeps/i386/init-arch.h: New file.
16895         * sysdeps/i386/i586/init-arch.h: Likewise.
16896         * sysdeps/i386/i686/init-arch.h: Likewise.
16897         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16898         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16899         * sysdeps/x86/cpu-features.h (bit_I586): New.
16900         (bit_I686): Likewise.
16901         (bit_CX8): Likewise.
16902         (bit_CMOV): Likewise.
16903         (index_CX8): Likewise.
16904         (index_CMOV): Likewise.
16905         (index_I586): Likewise.
16906         (index_I686): Likewise.
16907         (reg_CX8): Likewise.
16908         (reg_CMOV): Likewise.
16909         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16910         available at compile-time.
16911         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16912         available at compile-time.
16913         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16914         (USE_I686): Likewise.
16916 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16918         * sysdeps/i386/bcopy.S: New file.
16919         * sysdeps/i386/bzero.S: Likewise.
16920         * sysdeps/i386/memcpy.S: Likewise.
16921         * sysdeps/i386/memmove.S: Likewise.
16922         * sysdeps/i386/mempcpy.S: Likewise.
16923         * sysdeps/i386/memset.S: Likewise.
16924         * sysdeps/i386/bzero.c: Removed.
16925         * sysdeps/i386/memset.c: Likewise.
16926         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16927         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16928         * sysdeps/i386/i586/memset_chk.S: Likewise.
16929         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16930         * sysdeps/i386/memcpy_chk.S: Here.
16931         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16932         * sysdeps/i386/memmove_chk.S: Here.
16933         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16934         * sysdeps/i386/mempcpy_chk.S: Likewise.
16935         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16936         * sysdeps/i386/memset_chk.S: Likewise.
16938 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16940         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16941         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16942         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16943         * soft-fp/fmadf4.c: Ditto.
16944         * soft-fp/fmatf4.c: Ditto.
16946 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16948         * sysdeps/i386/i586/Implies: Removed.
16949         * sysdeps/i386/i686/Implies: Likewise.
16951 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16953         * sysdeps/i386/i486/strlen.S: Moved to ...
16954         * sysdeps/i386/strlen.S: Here.
16956 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16958         * sysdeps/i386/i486/strcat.S: Moved to ...
16959         * sysdeps/i386/strcat.S: Here.
16961 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16963         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16964         * sysdeps/i386/pthread_spin_trylock.S: Here.
16965         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16966         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16968 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16970         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16971         * sysdeps/i386/string-inlines.c: Here.
16973 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16975         * sysdeps/i386/i486/htonl.S: Moved ...
16976         * sysdeps/i386/htonl.S: here.
16978 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16980         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16981         * sysdeps/i386/bits/atomic.h: Here.
16983 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16985         * sysdeps/i386/i486/Versions: Removed.
16987 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16989         [BZ #2898]
16990         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16991         Based on patch by Aurelien Jarno.
16993 2015-08-26  Stan Shebs  <stanshebs@google.com>
16995         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16996         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16998 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17000         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
17001         * sysdeps/powerpc/dl-procinfo.c:
17002         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
17003         feature so it shows when LD_SHOW_AUXV=1.
17005 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17007         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17008         (__arch_compare_and_exchange_val_32_acq): Remove and use common
17009         definition.  ISA 2.07B no longer requires full sync.
17011 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
17013         [BZ #18863]
17014         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
17015         (si_call_addr): Define.
17016         (si_syscall): Define.
17017         (si_arch): Define.
17019 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17021         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
17022         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
17023         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
17024         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17025         (__memset_zero_constant_len_parameter): New.
17026         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17027         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17028         (__memset_zero_constant_len_parameter): Don't define if
17029         __memset_chk or USE_AS_BZERO are defined.
17031         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
17032         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
17033         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
17035         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
17036         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
17037         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
17038         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
17039         comments.
17040         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
17041         -mno-mmx for $(all-rtld-routines).
17042         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
17043         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
17044         i386.
17046 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17048         * sysdeps/generic/unwind.h
17049         (_Unwind_Word): Use __mode__(__unwind_word__)
17050         instead of __mode__(__word__).
17051         (_Unwind_Sword): Likewise.
17053         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17054         (MAX_NEEDED_INPUT): New define.
17055         (MAX_NEEDED_OUTPUT): New define.
17057         * NEWS: New item for IBM z13 string optimizations.
17059         * sysdeps/s390/multiarch/memrchr-c.c: New File.
17060         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
17061         * sysdeps/s390/multiarch/memrchr.c: Likewise.
17062         * sysdeps/s390/multiarch/Makefile
17063         (sysdep_routines): Add memrchr functions.
17064         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17065         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
17067         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
17068         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
17069         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
17070         * sysdeps/s390/multiarch/Makefile
17071         (sysdep_routines): Add wmemcmp functions.
17072         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17073         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
17074         * benchtests/bench-wmemcmp.c: New File.
17075         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
17077         * sysdeps/s390/multiarch/wmemset-c.c: New File.
17078         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17079         * sysdeps/s390/multiarch/wmemset.c: Likewise.
17080         * sysdeps/s390/multiarch/Makefile
17081         (sysdep_routines): Add wmemset functions.
17082         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17083         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
17084         * wcsmbs/wmemset.c: Use WMEMSET if defined.
17085         * string/test-memset.c: Add wmemset support.
17086         * wcsmbs/test-wmemset.c: New File.
17087         * wcsmbs/Makefile (strop-tests): Add wmemset.
17088         * benchtests/bench-memset.c: Add wmemset support.
17089         * benchtests/bench-wmemset.c: New File.
17090         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
17092         * sysdeps/s390/multiarch/memccpy-c.c: New File.
17093         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
17094         * sysdeps/s390/multiarch/memccpy.c: Likewise.
17095         * sysdeps/s390/multiarch/Makefile
17096         (sysdep_routines): Add memccpy functions.
17097         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17098         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
17099         * string/memccpy.c: Use MEMCCPY if defined.
17101         * sysdeps/s390/multiarch/memchr-vx.S: New File.
17102         * sysdeps/s390/multiarch/memchr.c: Likewise.
17103         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
17104         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
17105         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
17106         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
17107         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
17108         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
17109         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
17110         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
17111         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
17112         and rawmemchr functions.
17113         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17114         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
17115         and wmemchr.
17116         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
17117         * string/test-memchr.c: Add wmemchr support.
17118         * wcsmbs/test-wmemchr.c: New File.
17119         * wcsmbs/Makefile (strop-tests): Add wmemchr.
17120         * benchtests/bench-memchr.c: Add wmemchr support.
17121         * benchtests/bench-wmemchr.c: New File.
17122         * benchtests/Makefile (wcsmbs-bench): wmemchr.
17124         * sysdeps/s390/multiarch/strcspn-c.c: New File.
17125         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
17126         * sysdeps/s390/multiarch/strcspn.c: Likewise.
17127         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
17128         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
17129         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
17130         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
17131         wcscspn functions.
17132         * sysdeps/s390/multiarch/ifunc-impl-list.c
17133         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
17134         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
17135         * string/test-strcspn.c: Add wcscspn support.
17136         * wcsmbs/test-wcscspn.c: New File.
17137         * wcsmbs/Makefile (strop-tests): Add wcscspn.
17138         * benchtests/bench-strcspn.c: Add wcscspn support.
17139         * benchtests/bench-wcscspn.c: New File.
17140         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17142         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17143         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17144         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17145         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17146         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17147         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17148         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17149         wcspbrk functions.
17150         * sysdeps/s390/multiarch/ifunc-impl-list.c
17151         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17152         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17153         * string/test-strpbrk.c: Add wcspbrk support.
17154         * wcsmbs/test-wcspbrk.c: New File.
17155         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17156         * benchtests/bench-strpbrk.c: Add wcspbrk support.
17157         * benchtests/bench-wcspbrk.c: New File.
17158         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
17160         * sysdeps/s390/multiarch/strspn-c.c: New File.
17161         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17162         * sysdeps/s390/multiarch/strspn.c: Likewise.
17163         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
17164         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
17165         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
17166         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
17167         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
17168         wcsspn functions.
17169         * sysdeps/s390/multiarch/ifunc-impl-list.c
17170         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17171         * string/test-strspn.c: Add wcsspn support.
17172         * wcsmbs/test-wcsspn.c: New File.
17173         * wcsmbs/Makefile (strop-tests): Add wcsspn.
17174         * benchtests/bench-strspn.c: Add wcsspn support.
17175         * benchtests/bench-wcsspn.c: New File.
17176         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17178         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17179         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17180         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17181         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17182         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17183         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17184         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17185         wcsrchr functions.
17186         * sysdeps/s390/multiarch/ifunc-impl-list.c
17187         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17188         * benchtests/bench-wcsrchr.c: New File.
17189         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17191         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17192         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17193         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17194         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17195         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17196         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17197         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17198         wcschrnul functions.
17199         * sysdeps/s390/multiarch/ifunc-impl-list.c
17200         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17201         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17202         * string/test-strchr.c: Add wcschrnul support.
17203         * wcsmbs/test-wcschrnul.c: New File.
17204         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17205         * benchtests/bench-strchr.c: Add wcschrnul support.
17206         * benchtests/bench-wcschrnul.c: New File.
17207         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17209         * sysdeps/s390/multiarch/strchr-c.c: New File.
17210         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17211         * sysdeps/s390/multiarch/strchr.c: Likewise.
17212         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17213         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17214         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17215         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17216         wcschr functions.
17217         * sysdeps/s390/multiarch/ifunc-impl-list.c
17218         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17219         * string/strchr.c (STRCHR): Define and use macro.
17220         * benchtests/bench-wcschr.c: New File.
17221         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17223         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17224         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17225         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17226         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17227         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17228         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17229         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17230         wcsncmp functions.
17231         * sysdeps/s390/multiarch/ifunc-impl-list.c
17232         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17233         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17234         * benchtests/bench-strncmp.c: Add wcsncmp support.
17235         * benchtests/bench-wcsncmp.c: New File.
17236         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17238         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17239         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17240         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17241         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17242         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17243         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17244         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17245         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17246         wcscmp functions.
17247         * sysdeps/s390/multiarch/ifunc-impl-list.c
17248         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17249         * string/strcmp.c (STRCMP): Define and use macro.
17250         * benchtests/bench-wcscmp.c: New File.
17251         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17252         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17253         instead of _HAVE_STRING_ARCH_memchr.
17255         * sysdeps/s390/multiarch/strncat-c.c: New File.
17256         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17257         * sysdeps/s390/multiarch/strncat.c: Likewise.
17258         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17259         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17260         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17261         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17262         wcsncat functions.
17263         * sysdeps/s390/multiarch/ifunc-impl-list.c
17264         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17265         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17266         * string/test-strncat.c: Add wcsncat support.
17267         * wcsmbs/test-wcsncat.c: New File.
17268         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17269         * benchtests/bench-strncat.c: Add wcsncat support.
17270         * benchtests/bench-wcsncat.c: New File.
17271         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17273         * sysdeps/s390/multiarch/strcat-c.c: New File.
17274         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17275         * sysdeps/s390/multiarch/strcat.c: Likewise.
17276         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17277         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17278         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17279         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17280         wcscat functions.
17281         * sysdeps/s390/multiarch/ifunc-impl-list.c
17282         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17283         * string/strcat.c (STRCAT): Define and use macro.
17284         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17285         * string/test-strcat.c: Add wcscat support.
17286         * wcsmbs/test-wcscat.c: New File.
17287         * wcsmbs/Makefile (strop-tests): Add wcscat.
17288         * benchtests/bench-strcat.c: Add wcscat support.
17289         * benchtests/bench-wcscat.c: New File.
17290         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17292         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17293         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17294         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17295         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17296         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17297         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17298         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17299         wcpncpy functions.
17300         * sysdeps/s390/multiarch/ifunc-impl-list.c
17301         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17302         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17303         * string/test-stpncpy.c: Add wcpncpy support.
17304         * wcsmbs/test-wcpncpy.c: New File.
17305         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17306         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17307         * benchtests/bench-wcpncpy.c: New File.
17308         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17310         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17311         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17312         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17313         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17314         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17315         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17316         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17317         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17318         wcsncpy functions.
17319         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17320         * sysdeps/s390/multiarch/ifunc-impl-list.c
17321         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17322         * string/test-strncpy.c: Add wcsncpy support.
17323         * wcsmbs/test-wcsncpy.c: New File.
17324         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17325         * benchtests/bench-strncpy.c: Add wcsncpy support.
17326         * benchtests/bench-wcsncpy.c: New File.
17327         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17329         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17330         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17331         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17332         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17333         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17334         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17335         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17336         wcpcpy functions.
17337         * string/stpcpy.c: Use STPCPY if defined.
17338         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17339         * sysdeps/s390/multiarch/ifunc-impl-list.c
17340         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17341         * string/test-stpcpy.c: Add wcpcpy support.
17342         * wcsmbs/test-wcpcpy.c: New File.
17343         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17344         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17345         * benchtests/bench-wcpcpy.c: New File.
17346         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17348         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17349         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17350         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17351         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17352         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17353         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17354         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17355         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17356         wcscpy functions.
17357         * sysdeps/s390/multiarch/ifunc-impl-list.c
17358         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17359         * benchtests/bench-wcscpy.c: New File.
17360         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17362         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17363         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17364         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17365         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17366         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17367         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17368         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17369         wcsnlen functions.
17370         * sysdeps/s390/multiarch/ifunc-impl-list.c
17371         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17372         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17373         * string/test-strnlen.c: Add wcsnlen support.
17374         * wcsmbs/test-wcsnlen.c: New File.
17375         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17376         * benchtests/bench-strnlen.c: Add wcsnlen support.
17377         * benchtests/bench-wcsnlen.c: New File.
17378         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17380         * sysdeps/s390/multiarch/Makefile: New File.
17381         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17382         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17383         * sysdeps/s390/multiarch/strlen.c: Likewise.
17384         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17385         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17386         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17387         * string/strlen.c (STRLEN): Define and use macro.
17388         * sysdeps/s390/multiarch/ifunc-impl-list.c
17389         (IFUNC_VX_IMPL): New macro function.
17390         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17391         * benchtests/Makefile (wcsmbs-bench): New variable.
17392         (string-bench-all): Added wcsmbs-bench.
17393         * benchtests/bench-wcslen.c: New File.
17395         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17396         s390_vx_libc_ifunc2): New macro function.
17398         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17399         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17400         assembler support.
17401         * sysdeps/s390/configure: Regenerated.
17403         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17404         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17406         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17407         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17408         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17410         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17411         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17412         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17413         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17414         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17415         (memcmp, bcmp): Use __memcmp_default as alias source.
17416         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17417         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17418         Rename to __memcmp_default.
17419         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17420         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17421         (memcpy): Use __memcpy_default as alias source.
17422         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17423         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17424         Rename to __memcpy_default.
17425         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17426         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17427         (memset): Use __memset_default as alias source.
17428         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17429         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17430         Rename to __memset_default.
17431         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17432         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17433         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17434         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17435         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17436         (memcmp, bcmp): Use __memcmp_default as alias source.
17437         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17438         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17439         Rename to __memcmp_default.
17440         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17441         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17442         (memcpy): Use __memcpy_default as alias source.
17443         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17444         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17445         Rename to __memcpy_default.
17446         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17447         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17448         (memset): Use __memset_default as alias source.
17449         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17450         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17451         Rename to __memset_default.
17452         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17453         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17455         [BZ #18610]
17456         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17457         __ieee_instruction_pointer to __unused.
17458         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17459         __ieee_instruction_pointer.
17460         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17461         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17462         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17463         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17464         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17465         Mark dxc-field as reserved.
17467 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17469         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17470         if the weak reference is not null.
17472 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17474         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17476         [BZ #11214]
17477         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17479 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17481         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17482         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17483         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17484         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17485         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17486         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17487         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17488         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17489         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17490         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17491         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17492         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17493         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17494         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17495         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17496         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17497         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17498         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17500 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17502         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17503         register other than r0 for tabort, it has special meaning.
17504         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17505         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17506         transaction before starting syscall.
17508 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17510         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17512 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17514         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17516         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17517         * sysdeps/x86_64/rtld-memset.S: Likewise.
17518         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17519         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17520         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17521         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17523         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17525 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17527         * debug/strcpy_chk.c: Improve performance.
17528         * debug/stpcpy_chk.c: Likewise.
17529         * sysdeps/x86_64/strcpy_chk.S: Remove.
17530         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17532         [BZ #18240]
17533         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17535 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17537         [BZ #15128]
17538         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17539         ifuncmain8.
17540         (modules-names): Add ifuncmod8.
17541         ($(objpfx)ifuncmain8): New rule.
17542         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17543         <cpuid.h>.
17544         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17545         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17546         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17547         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17548         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17549         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17550         * sysdeps/x86_64/ifuncmain8.c: New file.
17551         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17552         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17553         Removed.
17554         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17555         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17556         Change rtld_savespace_sse to __glibc_unused2.
17557         (RTLD_CHECK_FOREIGN_CALL): Removed.
17558         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17559         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17560         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17562 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17564         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17566 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17568         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17569         Unconditionally set __fpcr to avoid uninialized warning.
17570         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17572 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17574         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17575         is corrupt.
17577         * malloc/arena.c (arena_get2): Drop unused argument.
17578         (arena_lock): Adjust.
17579         (arena_get_retry): Likewise.
17581 2015-08-24  Andreas Schwab  <schwab@suse.de>
17583         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17584         Don't define.
17585         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17586         (__ASSUME_IPC64): Don't undef.
17587         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17588         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17589         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17590         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17591         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17592         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17593         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17594         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17595         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17596         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17597         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17598         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17599         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17600         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17601         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17602         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17603         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17604         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17605         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17606         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17607         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17609 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17611         * manual/Makefile (install): Only build manual when perl is available.
17613 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17615         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17616         '#undef memcpy' by '#undef memchr'.
17618 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17620         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17621         memchr not point to the internal __GI_memchr implementation.
17623 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17625         * timezone/Makefile (CFLAGS-zdump.c): Remove
17626         -Wno-strict-prototypes.
17627         (CFLAGS-zic.c): Likewise.
17628         (CFLAGS-ialloc.c): Likewise.
17629         (CFLAGS-scheck.c): Likewise.
17631         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17632         -Wno-error=undef.
17634 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17636         * i386/i686/multiarch/strcasestr-c.c: Removed.
17637         * x86_64/multiarch/strcasestr.c: Likewise.
17638         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17639         Remove strcasestr.
17641 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17643         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17645         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17646         variables for high and low parts before possibly modifying them.
17648 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17650         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17651         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17652         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17653         of "multiarch/init-arch.h".
17654         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17655         * sysdeps/x86/init-arch.h: This.
17657 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17659         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17660         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17662 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17664         [BZ #17787]
17665         * manual/macros.texi: Add twoexp macro.
17666         * manual/filesys.texi: Fix exponents.
17667         * manual/llio.texi: Likewise.
17668         * manual/stdio.texi: Likewise.
17670 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17672         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17673         incorrect use.
17675 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17677         [BZ #18370]
17678         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17679         whose real or imaginary part has small absolute value.
17680         * math/s_csqrtf.c (__csqrtf): Likewise.
17681         * math/s_csqrtl.c (__csqrtl): Likewise.
17682         * math/auto-libm-test-in: Add more tests of csqrt.
17683         * math/auto-libm-test-out: Regenerated.
17684         * sysdeps/i386/fpu/libm-test-ulps: Update.
17686 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17688         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17689         __ppc_set_ppr_very_low): New functions.
17690         * manual/platform.texi: Add documentation about
17691         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17693 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17695         * string/stpncpy.c (stpncpy): Improve performance using
17696         __strnlen/memcpy/memset.
17698 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17700         [BZ #18796]
17701         * scripts/test-installation.pl: Don't add -lmvec to build options if
17702         libmvec wasn't built.
17704 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17706         [BZ #14341]
17707         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17708         case when there is a gap between DT_REL and DT_JMPREL sections.
17709         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17710         (LDFLAGS-tst-split-dynreloc): New.
17711         (tst-split-dynreloc-ENV): Likewise.
17712         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17713         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17715 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17717         [BZ #18822]
17718         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17719         attribute_hidden.
17720         (__xstat64_conv): Likewise.
17721         (__xstat32_conv): Likewise.
17723 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17725         [BZ #18822]
17726         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17727         Don't load %ebx when calling __setcontext.  Call __setcontext
17728         with HIDDEN_JUMPTARGET.
17729         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17730         libc_hidden_def.
17732 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17734         * sysdeps/i386/i686/Makefile
17735         [$(subdir) == string] (sysdep_routines): Moved to ...
17736         * sysdeps/i386/Makefile: Here.
17737         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17738         * sysdeps/i386/cacheinfo.c: Here.
17739         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17740         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17741         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17742         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17744 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17746         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17747         __i586__ is defined.
17748         (HAS_I686): Defined to 1 if __i686__ is defined.
17750 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17752         * elf/Makefile [$(have-z-execstack) = yes]
17753         (CPPFLAGS-tst-execstack.c): New variable.
17755         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17756         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17757         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17758         UTMPX || _HAVE_UT_TV].
17759         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17760         UTMPX || _HAVE_UT_TV - 0].
17762 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17764         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17765         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17766         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17768 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17770         * sysdeps/powerpc/dl-procinfo.c:
17771         (_dl_powerpc_cap_flags): Added missing strings for some
17772         hwcap features.
17773         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17775 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17777         Port the 0x7efe...feff pattern to GCC 6.
17778         See Steve Ellcey's bug report in:
17779         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17780         * string/memrchr.c (MEMRCHR):
17781         * string/rawmemchr.c (RAWMEMCHR):
17782         * string/strchr.c (strchr):
17783         * string/strchrnul.c (STRCHRNUL):
17784         Rewrite code to avoid issues with signed shift overflow.
17786 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17788         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17789         whether cpuid is available only if HAS_CPUID is 0.
17790         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17791         (HAS_I586): Likewise.
17792         (HAS_I686): Likewise.
17794 2015-08-18  Zack Weinberg  <zackw@panix.com>
17796         * misc/Versions (libc): Add GLIBC_2.23.
17798 2015-08-18  Alan Modra  <amodra@gmail.com>
17800         [BZ #18421]
17801         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17802         .Lp__global.
17803         (_start): Load %dp via .Lp__global.
17804         [!SHARED]: Use .section .rodata.
17806 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17808         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17809         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17811 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17813         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17814         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17816 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17818         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17819         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17821 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17823         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17824         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17826 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17828         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17829         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17831 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17833         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17834         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17836 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17838         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17840 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17842         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17843         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17844         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17845         (__ASSUME_LWS_CAS): Delete.
17847 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17849         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17850         * sysdeps/hppa/configure: Regenerated.
17851         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17852         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17853         * sysdeps/hppa/nptl/tls.h: Likewise.
17855 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17857         [BZ #18823]
17858         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17859         for scaling up small arguments.
17860         * math/s_csqrtf.c (__csqrtf): Likewise.
17861         * math/s_csqrtl.c (__csqrtl): Likewise.
17862         * math/auto-libm-test-in: Add more tests of csqrt.
17863         * math/auto-libm-test-out: Regenerated.
17865 2015-08-17  Andreas Schwab  <schwab@suse.de>
17867         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17868         version set GLIBC_2.19.
17870 2015-08-16  Zack Weinberg  <zackw@panix.com>
17872         [BZ #18681]
17873         * misc/regexp.h: This interface is no longer supported.
17874         Remove all contents, leaving only an #error directive.
17875         * misc/regexp.c (loc1, loc2, locs, step, advance):
17876         Demote to compatibility symbols.
17878 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17880         [BZ #18084]
17881         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17882         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17883         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17884         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17885         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17886         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17887         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17888         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17889         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17891 2015-08-15  Zack Weinberg  <zackw@panix.com>
17893         [BZ #18795]
17894         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17895         buffer length is known to be too large, not if it's known to be
17896         small enough.
17897         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17898         overflow at runtime, involving a length parameter, twice: once
17899         with a compile-time constant length parameter, once without.
17901 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17903         [BZ #18824]
17904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17905         scaling x * y up instead of down.
17906         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17907         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17908         * math/auto-libm-test-in: Add more tests of fma.
17909         * math/auto-libm-test-out: Regenerated.
17911 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17913         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17915 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17917         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17918         unnecessary movq.
17919         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17920         Likewise.
17922 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17924         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17925         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17926         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17927         and tgamma.
17928         * math/auto-libm-test-out: Regenerated.
17929         * sysdeps/i386/fpu/libm-test-ulps: Update.
17930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17932         [BZ #16520]
17933         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17934         (__tanh): Force underflow exception for arguments with small
17935         absolute value.
17936         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17937         (__tanhf): Force underflow exception for arguments with small
17938         absolute value.
17939         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17940         (__tanhl): Force underflow exception for arguments with small
17941         absolute value.
17942         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17943         (__tanhl): Force underflow exception for arguments with small
17944         absolute value.
17945         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17946         (__tanhl): Force underflow exception for arguments with small
17947         absolute value.
17948         * math/auto-libm-test-in: Add more tests of tanh.
17949         * math/auto-libm-test-out: Regenerated.
17950         * sysdeps/i386/fpu/libm-test-ulps: Update.
17952 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17954         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17955         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17957 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17959         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17960         <cpuid.h>.
17962 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17964         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17965         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17967 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17969         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17970         Remove $(objpfx)init-arch.o.
17971         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17972         init-arch.
17973         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17974         (INIT_ARCH_EXT): Defined as empty.
17975         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17976         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17977         __init_cpu_features call.  Replace HAS_XXX with
17978         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17979         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17980         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17981         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17982         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17983         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17984         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17985         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17986         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17987         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17988         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17989         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17990         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17991         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17992         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17993         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17994         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17995         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17996         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17997         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17998         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17999         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18000         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
18001         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
18002         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18003         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
18004         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
18005         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18006         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
18007         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
18008         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18009         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
18010         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
18011         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18012         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
18013         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
18015 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18017         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
18018         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18019         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18020         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18021         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
18022         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
18023         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
18024         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
18025         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
18026         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
18027         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
18028         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
18029         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18030         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18031         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18032         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18033         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18034         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18035         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18036         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18037         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18038         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18039         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18040         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18041         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18042         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18043         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18044         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18045         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18046         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18047         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18048         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18049         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18050         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18051         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18052         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18053         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18054         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18055         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18056         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18057         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18058         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18059         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18061 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18063         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
18064         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18065         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18066         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18067         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18068         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18069         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18070         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
18071         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18072         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18073         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18074         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
18075         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
18076         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
18077         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18078         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
18079         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
18080         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
18081         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
18082         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
18083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18084         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
18085         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
18086         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18087         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18088         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
18089         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
18090         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
18091         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18092         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18093         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18094         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18095         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18096         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18097         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18098         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18099         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18100         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18101         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18102         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18103         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18104         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18105         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18107 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18109         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
18110         (dl_platform_init): Call init_cpu_features.
18111         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
18112         * sysdeps/i386/i686/cacheinfo.c
18113         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
18114         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
18115         * sysdeps/i386/i686/multiarch/Versions: Removed.
18116         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
18117         Removed.
18118         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
18119         * sysdeps/unix/sysv/linux/x86/Makefile
18120         (libpthread-sysdep_routines): Remove init-arch.
18121         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
18122         <sysdeps/x86_64/dl-procinfo.c> instead of
18123         sysdeps/generic/dl-procinfo.c>.
18124         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
18125         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
18126         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
18127         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
18128         [$(subdir) == elf] (tests-static): Add
18129         tst-get-cpu-features-static.
18130         * sysdeps/x86/Versions: New file.
18131         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
18132         * sysdeps/x86/cpu-features.c: Likewise.
18133         * sysdeps/x86/cpu-features.h: Likewise.
18134         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
18135         * sysdeps/x86/libc-start.c: Likewise.
18136         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18137         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18138         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18139         * sysdeps/x86_64/dl-procinfo.c: Likewise.
18140         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18141         Assume USE_MULTIARCH is defined and don't check it.
18142         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18143         (is_amd): Likewise.
18144         (max_cpuid): Likewise.
18145         (intel_check_word): Likewise.
18146         (__cache_sysconf): Don't call __init_cpu_features.
18147         (__x86_preferred_memory_instruction): Removed.
18148         (init_cacheinfo): Don't call __init_cpu_features. Replace
18149         __cpu_features with GLRO(dl_x86_cpu_features).
18150         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18151         (dl_platform_init): Call init_cpu_features.
18152         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18153         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18154         * sysdeps/x86_64/multiarch/Versions: Removed.
18155         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18156         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
18157         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
18158         Removed.
18159         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
18161 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18163         [BZ #18820]
18164         * libio/Makefile (test-fmemopen-mem): New test.
18165         * libio/test-fmemopen.c (do_bz18820): New test.
18166         * libio/fmemopen.c (__fmemopen): Fix memory leak.
18167         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
18169 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18171         [BZ #16734]
18172         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18173         (FREE_BUF): Delete.
18174         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18175         * libio/genops.c (_IO_setb): Use malloc and free directly.
18176         (_IO_default_doallocate, _IO_default_finish): Likewise.
18177         ( _IO_unbuffer_all): Likewise.
18178         ( libc_freeres_fn): Likewise.
18179         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18180         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18181         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18182         (_IO_wdefault_doallocate): Likewise.
18184 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18186         [BZ #18086]
18187         * sysdeps/posix/nice.c (nice): Restore old errno.
18188         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18190 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18192         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18194 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18196         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18197         __bcopy and add a weak_alias to bcopy.
18198         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18199         for static build.
18201         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18202         cleanup macro usage.
18203         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18204         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18205         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18206         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18207         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18208         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18209         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18210         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18211         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18212         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18213         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18214         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18215         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18216         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18217         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18218         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18219         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18220         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18221         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18223         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18224         libc_hidden_def.
18225         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18227         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18228         (sysdep_routines): Add strstr-ppc64.
18229         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18231 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18233         [BZ #18778]
18234         * elf/Makefile (tests): Add Add tst-nodelete2.
18235         (modules-names): Add tst-nodelete2mod.
18236         (tst-nodelete2mod.so-no-z-defs): New.
18237         ($(objpfx)tst-nodelete2): Likewise.
18238         ($(objpfx)tst-nodelete2.out): Likewise.
18239         (LDFLAGS-tst-nodelete2): Likewise.
18240         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18241         out of loop through all loaded libraries.
18242         * elf/tst-nodelete2.c: New file.
18243         * elf/tst-nodelete2mod.c: Likewise.
18244         * elf/tst-znodelete-zlib.cc: Delete.
18246 2015-08-11  Andreas Schwab  <schwab@suse.de>
18248         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18249         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18250         (__openat64_nocancel): Likewise.
18252 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18254         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18255         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18256         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18257         * math/auto-libm-test-out: Regenerated.
18258         * sysdeps/i386/fpu/libm-test-ulps: Update.
18259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18261 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18263         [BZ #18790]
18264         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18265         threshold for returning +/- 1.
18266         * math/auto-libm-test-in: Add more tests of tanh.
18267         * math/auto-libm-test-out: Regenerated.
18268         * sysdeps/i386/fpu/libm-test-ulps: Update.
18270 2015-08-10  Andreas Schwab  <schwab@suse.de>
18272         [BZ #18781]
18273         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18274         MORE_OFLAGS to oflag.
18275         * io/test-lfs.c (do_test): Test openat64.
18277 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18279         [BZ #18789]
18280         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18281         smaller threshold for returning the argument.
18282         * math/auto-libm-test-in: Add more tests of sinh.
18283         * math/auto-libm-test-out: Regenerated.
18284         * sysdeps/i386/fpu/libm-test-ulps: Update.
18286 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18288         [BZ #18674]
18289         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18290         break.
18292 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18294         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18295         (generated): Don't add $(addprefix z.,$(tzfiles)).
18297 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18299         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18300         * scripts/sysd-rules.awk: Likewise.
18302 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18304         * iconvdata/tst-tables.sh: Change echo -n to printf.
18305         * nss/db-Makefile: Likewise.
18306         * posix/tst-getconf.sh: Likewise.
18307         * stdio-common/tst-unbputc.sh: Likewise.
18309 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18311         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18312         MADV_*_PAGES defines behind this feature check.
18314 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18316         [BZ #18480]
18317         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18318         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18319         Define.
18320         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18321         LOAD_REGS_5, LOAD_REGS_6): Update.
18322         (INTERNAL_SYSCALL): Update using new LOAD defines.
18323         (INTERNAL_SYSCALL_NCS): Likewise.
18324         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18326 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18328         [BZ #16734]
18329         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18331 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18333         [BZ #17905]
18334         * catgets/Makefile (tst-catgets-mem): New test.
18335         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18336         * catgets/open_catalog.c (__open_catalog): Likewise.
18337         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18339 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18341         [BZ #18787]
18342         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18343         clobber registers.
18344         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18345         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18346         Cast return to __typeof (oldval).
18348 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18350         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18351         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18352         and delete sys/syscall.h include.
18354 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18356         [BZ #16517]
18357         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18358         (tan): Force underflow exception for arguments with small absolute
18359         value.
18360         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18361         (__kernel_tanf): Force underflow exception for arguments with
18362         small absolute value.
18363         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18364         (__kernel_tanl): Force underflow exception for arguments with
18365         small absolute value.
18366         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18367         (__kernel_tanl): Force underflow exception for arguments with
18368         small absolute value.
18369         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18370         (__kernel_tanl): Force underflow exception for arguments with
18371         small absolute value.
18372         * math/auto-libm-test-in: Add more tests of tan.
18373         * math/auto-libm-test-out: Regenerated.
18375 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18377         Fix sysdeps/i386/fpu/s_scalbn.S build
18379         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18381 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18383         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18385 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18387         Fix gcrt0.o compilation
18389         When static-start-installed-name is different from
18390         start-installed-name, we must not use the shared objects.
18392         * csu/Makefile
18393         (extra-objs): Add gmon-start.o when building shared library and
18394         $(static-start-installed-name) is different from
18395         $(start-installed-name).
18396         $(objpfx)g$(static-start-installed-name): When building shared
18397         library and $(static-start-installed-name) is different from
18398         $(static-start-installed-name), revert to non-shared rule,
18399         i.e. using $(objpfx)% and gmon-start.o.
18401 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18403         [BZ #16519]
18404         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18405         (__ieee754_sinh): Force underflow exception for arguments with
18406         small absolute value.
18407         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18408         (__ieee754_sinhf): Force underflow exception for arguments with
18409         small absolute value.
18410         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18411         (__ieee754_sinhl): Force underflow exception for arguments with
18412         small absolute value.
18413         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18414         (__ieee754_sinhl): Force underflow exception for arguments with
18415         small absolute value.
18416         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18417         (__ieee754_sinhl): Force underflow exception for arguments with
18418         small absolute value.
18419         * math/auto-libm-test-in: Add more tests of sinh.
18420         * math/auto-libm-test-out: Regenerated.
18421         * sysdeps/i386/fpu/libm-test-ulps: Update.
18423 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18425         * libio/oldfileops.c: Include unistd.h.
18427 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18429         * stdlib/isomac.c: Include ctype.h.
18431 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18433         * dirent/tst-seekdir.c (main): Converted to ...
18434         (do_test): ... this.
18435         (TEST_FUNCTION): New macro.
18436         Include test-skeleton.c.
18437         * elf/tst-dlmodcount.c (main): Converted to ...
18438         (do_test): ... this.
18439         (TEST_FUNCTION): New macro.
18440         Include test-skeleton.c.
18441         * elf/tst-order-main.c (main): Converted to ...
18442         (do_test): ... this.
18443         (TEST_FUNCTION): New macro.
18444         Include test-skeleton.c.
18445         * elf/tst-pie2.c (main): Converted to ...
18446         (do_test): ... this.
18447         (TEST_FUNCTION): New macro.
18448         Include test-skeleton.c.
18449         * inet/tst-ether_aton.c (main): Converted to ...
18450         (do_test): ... this.
18451         (TEST_FUNCTION): New macro.
18452         Include test-skeleton.c.
18453         * misc/tst-mntent.c (main): Converted to ...
18454         (do_test): ... this.
18455         (TEST_FUNCTION): New macro.
18456         Include test-skeleton.c.
18457         * misc/tst-tsearch.c (main): Converted to ...
18458         (do_test): ... this.
18459         (TEST_FUNCTION): New macro.
18460         Include test-skeleton.c.
18461         * posix/tst-regexloc.c (main): Converted to ...
18462         (do_test): ... this.
18463         (TEST_FUNCTION): New macro.
18464         Include test-skeleton.c.
18465         * resolv/tst-aton.c (main): Converted to ...
18466         (do_test): ... this.
18467         (TEST_FUNCTION): New macro.
18468         Include test-skeleton.c.
18469         * stdio-common/test-fwrite.c (main): Converted to ...
18470         (do_test): ... this.
18471         (TEST_FUNCTION): New macro.
18472         Include test-skeleton.c.
18473         * stdio-common/tst-ferror.c (main): Converted to ...
18474         (do_test): ... this.
18475         (TEST_FUNCTION): New macro.
18476         Include test-skeleton.c.
18477         * stdio-common/tst-printf.c (main): Converted to ...
18478         (do_test): ... this.
18479         (TEST_FUNCTION): New macro.
18480         Include test-skeleton.c.
18481         * stdio-common/tst-printfsz.c (main): Converted to ...
18482         (do_test): ... this.
18483         (TEST_FUNCTION): New macro.
18484         Include test-skeleton.c.
18485         * stdlib/tst-strtod.c (main): Converted to ...
18486         (do_test): ... this.
18487         (TEST_FUNCTION): New macro.
18488         Include test-skeleton.c.
18489         * string/tst-strlen.c (main): Converted to ...
18490         (do_test): ... this.
18491         (TEST_FUNCTION): New macro.
18492         Include test-skeleton.c.
18493         * string/tst-svc.c (main): Converted to ...
18494         (do_test): ... this.
18495         (TEST_FUNCTION): New macro.
18496         Include test-skeleton.c.
18497         * time/tst-strptime.c (main): Converted to ...
18498         (do_test): ... this.
18499         (TEST_FUNCTION): New macro.
18500         Include test-skeleton.c.
18501         * timezone/tst-timezone.c (main): Converted to ...
18502         (do_test): ... this.
18503         (TEST_FUNCTION): New macro.
18504         Include test-skeleton.c.
18506 2015-08-05  Zack Weinberg  <zackw@panix.com>
18508         * misc/regexp.h: Update comments.
18510 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18512         [BZ #18635]
18513         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18514         before return label.
18516 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18518         [BZ #18661]
18519         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18520         when calling __errno_location.
18521         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18522         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18524 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18526         [BZ #18661]
18527         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18528         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18529         __gettimeofday.
18531 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18533         [BZ #18661]
18534         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18535         (__start_context): Don't use pop to restore %rdi so that stack
18536         is aligned to 16 bytes when calling __setcontext.
18538 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18540         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18541         only for libc.
18542         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18544 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18546         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18547         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18548         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18550 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18552         * string/memccpy.c (memccpy):
18553         Improve performance by using memchr/memcpy/__mempcpy.
18555 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18557         * string/strncpy.c (strncpy):
18558         Improve performance by using __strnlen/memcpy.
18560 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18562         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18563         Optimize to avoid an unnecessary FPCR read.
18565 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18567         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18568         Optimize to reduce FPCR/FPSR accesses.
18570 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18572         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18573         dead->data[category] != NULL.
18575 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18577         [BZ #18647]
18578         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18579         and |x| close to 1, use absolute value of x when computing log.
18580         * math/auto-libm-test-in: Add more tests of pow.
18581         * math/auto-libm-test-out: Regenerated.
18583 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18585         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18586         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18587         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18589 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18591         [BZ #18525]
18592         * locales/km_KH: Remove timezone definition.
18593         * locales/lo_LA: Likewise.
18594         * locales/my_MM: Likewise.
18595         * locales/nan_TW@latin: Likewise.
18596         * locales/th_TH: Likewise.
18597         * locales/uk_UA: Likewise.
18599 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18601         [BZ #18265]
18602         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18603         (wcsncat): Likewise.
18604         (wcscmp): Likewise.
18605         (wcsncmp): Likewise.
18607 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18609         * test-skeleton.c (usage): New function.
18610         (main): Call usage when opt is '?'.
18612 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18614         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18615         before first use.
18617 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18619         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18620         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18621         in there too.
18623 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18625         * version.h (RELEASE): Set to "development".
18626         (VERSION): Set to "2.22.90"
18628         * version.h (RELEASE): Set to "stable".
18629         (VERSION): Set to "2.22"
18630         * include/features.h (__GLIBC_MINOR__): Set to 22.
18632 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18634         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18635         Restructure macro to avoid "value computed is not used" warning.
18636         (atomic_compare_and_exchange_val_acq): Likewise.
18638 2015-08-04  Andreas Schwab  <schwab@suse.de>
18640         [BZ #18635]
18641         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18642         ret.
18643         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18645 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18647         * po/pl.po: Updated translation.
18648         * po/uk.po: Likewise.
18649         * po/fi.po: Likewise.
18650         * po/ko.po: Likewise.
18651         * po/ru.po: Likewise.
18652         * po/vi.po: Likewise.
18654 2015-07-31  Zack Weinberg  <zackw@panix.com>
18656         [BZ #18681]
18657         * regexp.h: Add unconditional #warning stating that this header
18658         will be removed soon.  Revise banner comment to match.
18659         (compile): Consistently use ERROR instead of RETURN to report
18660         errors (partial fix for bz#18681).
18661         * regexp.c: Don't include regexp.h. Remove some unnecessary
18662         declarations.
18664 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18666         * po/libc.pot: Regenerated.
18668 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18670         [BZ #18740]
18671         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18672         float-vlen4-arch-ext-cflags): Removed.
18673         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18674         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18676 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18678         [BZ #14113]
18679         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18680         aligned to __aligned__.
18681         (pthread_cond_t, pthread_rwlock_t): Likewise.
18683 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18685         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18687 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18689         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18690         (struct sigaction): Change sa_flags from a long to an int, and add
18691         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18693 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18695         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18696         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18697         sysdeps/generic/sysdep.h include.
18698         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18699         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18700         sysdeps/hppa/sysdep.h.
18701         (ENTRY, PSEUDO): Undefine before defining.
18703 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18705         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18706         from scratch to use INTERNAL_SYSCALL.
18708 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18710         [BZ #18078]
18711         * scripts/check-localplt.awk: Support alternate relocations.
18712         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18713         sections.
18714         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18715         malloc entries with + REL R_386_GLOB_DAT.
18716         * sysdeps/x86_64/localplt.data: New file.
18718 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18720         [BZ #18731]
18721         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18722         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18723         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18725 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18727         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18729 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18731         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18732         directly in terms of __sync_fetch_and_add and delete (int) cast.
18734 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18736         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18737         the -D_ASM_IA64_CURRENT_H flag.
18739 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18741         [BZ #18641]
18742         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18744 2015-07-27  Andreas Schwab  <schwab@suse.de>
18746         * conform/conformtest.pl (checknamespace): Filter out string
18747         literals while tokenizing.
18749 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18751         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18752         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18753         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18755 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18757         * nptl/tst-join7mod.c: Add #include <string.h>.
18759 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18761         * sysdeps/nios2/libm-test-ulps: Update.
18763 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18765         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18766         Fix order of arguments to the rt_sigprocmask syscall.
18767         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18768         Likewise.
18770 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18772         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18774 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18776         [BZ #18457]
18777         * nptl/Makefile (tests): New test case tst-join7.
18778         (modules-names): New test case module tst-join7mod.
18779         * nptl/tst-join7.c: New file.
18780         * nptl/tst-join7mod.c: New file.
18781         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18782         all translation units in libc.so, libpthread.so and rtld.
18784 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18788 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18790         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18791         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18792         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18793         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18794         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18795         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18796         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18797         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18798         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18799         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18800         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18801         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18802         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18803         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18805         implementation.
18807 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18809         [BZ #17711]
18810         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18811         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18812         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18813         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18814         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18815         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18817 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18819         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18820         instead of just saying load lock in the comments.
18822 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18824         * sysdeps/unix/Subdirs: Moved ...
18825         * sysdeps/posix/Subdirs: ... here.
18826         * login/pty.h (struct termios, struct winsize): Add forward decls.
18827         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18828         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18829         * sysdeps/arm/nacl/libc.abilist: Updated.
18830         * sysdeps/nacl/libutil.abilist: New file.
18832         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18833         (SIGWINCH): New macro.
18835         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18836         * sysdeps/arm/nacl/libc.abilist: Add it.
18838 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18840         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18842 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18844         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18845         Swap __glibc_reserved0 and sa_flags order.
18847 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18849         [BZ #18657]
18850         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18851         are pending TLS destructor calls.
18852         * include/link.h (struct link_map): Add concurrency note for
18853         L_TLS_DTOR_COUNT.
18854         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18855         Don't touch the link map flag.  Atomically increment
18856         l_tls_dtor_count.
18857         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18858         Avoid taking the load lock and don't touch the link map flag.
18859         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18860         * stdlib/Makefile (tests): Use it.
18861         * stdlib/tst-tls-atexit.c (do_test): dlopen
18862         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18863         to allow tst-tls-atexit-nodelete test case to use it.
18865 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18867         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18868         to bits/types.h.
18869         (msgqnum_t): New typedef.
18870         (msglen_t): Likewise.
18871         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18872         and msg_qbytes type to msglen_t.
18874 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18876         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18877         pad0 to __glibc_reserved0.
18878         (struct stat64): Likewise.
18880 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18882         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18883         Change sa_flags from a long to an int and add __glibc_reserved0 before
18884         it for padding.
18886 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18888         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18889         anonymous by deleting "siginfo" name.
18891 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18893         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18894         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18895         rather than __nacl_irt_filename.
18896         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18898         * NEWS: New item for arm-nacl port.
18899         * sysdeps/arm/nacl/libc.abilist: New file.
18900         * sysdeps/nacl/ld.abilist: New file.
18901         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18902         * sysdeps/nacl/libanl.abilist: New file.
18903         * sysdeps/nacl/libcrypt.abilist: New file.
18904         * sysdeps/nacl/libdl.abilist: New file.
18905         * sysdeps/nacl/libm.abilist: New file.
18906         * sysdeps/nacl/libpthread.abilist: New file.
18907         * sysdeps/nacl/libresolv.abilist: New file.
18908         * sysdeps/nacl/librt.abilist: New file.
18910 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18912         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18913         __startcontext to initialize the new context.
18914         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18915         up CFI directive to forbid further backtracing.
18917 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18919         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18920         reference.
18921         * charmaps/ANSI_X3.4-1968: Likewise.
18922         * charmaps/BS_4730: Likewise.
18923         * charmaps/BS_VIEWDATA: Likewise.
18924         * charmaps/CP1250: Likewise.
18925         * charmaps/CP1251: Likewise.
18926         * charmaps/CP1252: Likewise.
18927         * charmaps/CP1253: Likewise.
18928         * charmaps/CP1254: Likewise.
18929         * charmaps/CP1255: Likewise.
18930         * charmaps/CP1256: Likewise.
18931         * charmaps/CSN_369103: Likewise.
18932         * charmaps/EBCDIC-DK-NO: Likewise.
18933         * charmaps/GB_1988-80: Likewise.
18934         * charmaps/GREEK-CCITT: Likewise.
18935         * charmaps/GREEK7: Likewise.
18936         * charmaps/INIS-8: Likewise.
18937         * charmaps/ISIRI-3342: Likewise.
18938         * charmaps/ISO_2033-1983: Likewise.
18939         * charmaps/ISO_5427-EXT: Likewise.
18940         * locales/POSIX: Likewise.
18941         * locales/ar_SA: Likewise.
18942         * locales/be_BY: Likewise.
18943         * locales/be_BY@latin: Likewise.
18944         * locales/ca_ES: Likewise.
18945         * locales/cs_CZ: Likewise.
18946         * locales/da_DK: Likewise.
18947         * locales/de_BE: Likewise.
18948         * locales/de_CH: Likewise.
18949         * locales/de_LU: Likewise.
18950         * locales/en_AU: Likewise.
18951         * locales/en_BW: Likewise.
18952         * locales/en_CA: Likewise.
18953         * locales/en_DK: Likewise.
18954         * locales/en_GB: Likewise.
18955         * locales/en_IE: Likewise.
18956         * locales/en_NZ: Likewise.
18957         * locales/en_ZA: Likewise.
18958         * locales/en_ZW: Likewise.
18959         * locales/es_AR: Likewise.
18960         * locales/es_BO: Likewise.
18961         * locales/es_CL: Likewise.
18962         * locales/es_CO: Likewise.
18963         * locales/es_DO: Likewise.
18964         * locales/es_EC: Likewise.
18965         * locales/es_ES: Likewise.
18966         * locales/es_HN: Likewise.
18967         * locales/es_MX: Likewise.
18968         * locales/es_PA: Likewise.
18969         * locales/es_PE: Likewise.
18970         * locales/es_PY: Likewise.
18971         * locales/es_SV: Likewise.
18972         * locales/es_US: Likewise.
18973         * locales/es_UY: Likewise.
18974         * locales/es_VE: Likewise.
18975         * locales/et_EE: Likewise.
18976         * locales/fa_IR: Likewise.
18977         * locales/fo_FO: Likewise.
18978         * locales/fr_CA: Likewise.
18979         * locales/fr_CH: Likewise.
18980         * locales/gv_GB: Likewise.
18981         * locales/he_IL: Likewise.
18982         * locales/hr_HR: Likewise.
18983         * locales/id_ID: Likewise.
18984         * locales/is_IS: Likewise.
18985         * locales/it_CH: Likewise.
18986         * locales/iw_IL: Likewise.
18987         * locales/kl_GL: Likewise.
18988         * locales/ko_KR: Likewise.
18989         * locales/kw_GB: Likewise.
18990         * locales/lg_UG: Likewise.
18991         * locales/lt_LT: Likewise.
18992         * locales/lv_LV: Likewise.
18993         * locales/mi_NZ: Likewise.
18994         * locales/nhn_MX: Likewise.
18995         * locales/nl_BE: Likewise.
18996         * locales/pl_PL: Likewise.
18997         * locales/sk_SK: Likewise.
18998         * locales/sl_SI: Likewise.
18999         * locales/sv_FI: Likewise.
19000         * locales/tl_PH: Likewise.
19001         * locales/tr_TR: Likewise.
19002         * locales/vi_VN: Likewise.
19004 2015-07-21  Khem Raj  <raj.khem@gmail.com>
19006         [BZ #17475]
19007         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
19008         of tu_IN and bh_IN.
19010 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
19012         [BZ #18694]
19013         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
19014         bits/wordsize.h.
19015         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
19017 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19019         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
19020         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
19021         (spawn_thread): New function.
19022         (load): Rename to reg_dtor_and_close.  Move dlopen to...
19023         (do_test): ... here.  Use IS_LOADED to test for its
19024         availability.
19026 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
19028         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19030 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
19032         [BZ #18696]
19033         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
19034         si_addr_bnd.
19035         (si_lower): New.
19036         (si_upper): Likewise.
19038 2015-07-16  David S. Miller  <davem@davemloft.net>
19040         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
19042 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19044         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
19045         buffer.
19046         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
19047         fail output information.
19049 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
19052         and strstr-ppc64..
19053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19054         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
19055         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
19056         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
19057         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
19059 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19061         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19062         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19063         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19064         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19066 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19068         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19069         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
19070         rtld_hidden_proto.
19071         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
19073 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19075         * tst-nodelete-opened.c (do_test): Add comment to clarify how
19076         the test can fail.
19078         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
19080         [BZ #18676]
19081         * elf/tst-nodelete-opened.c: New test case.
19082         * elf/tst-nodelete-opened-lib.c: New test case module.
19083         * elf/Makefile (tests, modules-names): Use them.
19084         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
19085         early.
19087 2015-07-15  David S. Miller  <davem@davemloft.net>
19089         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
19090         futex-intenal.h
19091         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
19092         * sysdeps/sparc/sparc64/Makefile: Likewise.
19093         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19094         Remove space from macro define.
19095         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
19097 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
19099         [BZ #17475]
19100         * locale/iso-639.def: Update Bhili and Tulu language codes as
19101         per iso639-3.
19103 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
19105         * elf/tst-leaks1.c (main): Converted to ...
19106         (do_test): ... this.
19107         (TEST_FUNCTION): New macro.
19108         Include test-skeleton.c.
19109         * localedata/tst-langinfo.c (main): Converted to ...
19110         (do_test): ... this.
19111         (TEST_FUNCTION): New macro.
19112         Include test-skeleton.c.
19113         * math/test-fpucw.c (main): Converted to ...
19114         (do_test): ... this.
19115         (TEST_FUNCTION): New macro.
19116         Include test-skeleton.c.
19117         * math/test-tgmath.c (main): Converted to ...
19118         (do_test): ... this.
19119         (TEST_FUNCTION): New macro.
19120         Include test-skeleton.c.
19121         * math/test-tgmath2.c (main): Converted to ...
19122         (do_test): ... this.
19123         (TEST_FUNCTION): New macro.
19124         Include test-skeleton.c.
19125         * setjmp/tst-setjmp.c (main): Converted to ...
19126         (do_test): ... this.
19127         (TEST_FUNCTION): New macro.
19128         Include test-skeleton.c.
19129         * stdio-common/tst-sscanf.c (main): Converted to ...
19130         (do_test): ... this.
19131         (TEST_FUNCTION): New macro.
19132         Include test-skeleton.c.
19133         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
19134         (do_test): ... this.
19135         (TEST_FUNCTION): New macro.
19136         Include test-skeleton.c.
19138         * elf/tst-audit9.c (main): Converted to ...
19139         (do_test): ... this.
19140         (TEST_FUNCTION): New macro.
19141         Include test-skeleton.c.
19143 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
19145         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19147 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19149         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19150         New variable.
19152 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19154         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19156 2015-07-14  Roland McGrath  <roland@hack.frob.com>
19158         * sysdeps/generic/dl-fileid.h: New file.
19159         * sysdeps/posix/dl-fileid.h: New file.
19160         * sysdeps/nacl/dl-fileid.h: New file.
19161         * include/link.h: Include <dl-fileid.h>.
19162         (struct link_map): Replace l_dev and l_ino with l_file_id.
19163         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
19164         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
19165         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
19167 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19169         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19171 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19173         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19174         Add iff $CXX is set.
19175         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19176         Likewise.
19177         (tst-nodelete-zmodiff): Likewise.
19178         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19180 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19182         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19184 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19186         * sysdeps/aarch64/fpu/math_private.h
19187         (define math_opt_barrier): Add AArch64 version.
19188         (math_force_eval): Likewise.
19190 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19192         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19194 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19196         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19197         %ld with %jd and cast to intmax_t.
19198         (do_test_length_zero): Likewise.
19200 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19202         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19204 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19206         * sysdeps/tile/libm-test-ulps: Regenerated.
19208         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19209         Comment out the whole function, not just its body.
19211 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19213         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19214         locks.
19216         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19218 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19220         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19221         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19223 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19225         * sysdeps/nptl/futex-internal.h: New file.
19226         * sysdeps/nacl/futex-internal.h: New file.
19227         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19228         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19229         error checking.
19230         (setxid_unmark_thread): Likewise.
19231         (__nptl_setxid): Likewise.
19232         (__wait_lookup_done): Likewise.
19233         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19234         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19235         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19236         * nptl/pthread_once.c (clear_once_control): Likewise.
19237         (__pthread_once_slow): Likewise.
19238         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19239         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19240         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19241         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19242         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19243         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19244         Likewise.
19245         (__pthread_rwlock_rdlock): Likewise.
19246         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19247         Likewise.
19248         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19249         Likewise.
19250         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19251         Likewise.
19252         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19253         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19254         Likewise.
19255         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19256         __ASSUME_PRIVATE_FUTEX check.
19257         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19258         Check that shared futexes are supported.
19259         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19260         wrappers with error checking.
19261         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19262         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19263         * nptl/pthread_barrierattr_setpshared.c
19264         (pthread_barrierattr_setpshared): Check that shared futexes are
19265         supported.
19266         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19267         Likewise.
19268         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19269         Likewise.
19270         * nptl/sem_init.c (futex_private_if_supported): Remove.
19271         (__new_sem_init): Adapt and check that shared futexes are supported.
19272         * nptl/sem_open.c (sem_open): Likewise.
19273         * nptl/sem_post.c (futex_wake): Remove.
19274         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19275         (do_futex_wait): Use futex wrappers with error checking.
19276         * nptl/sem_wait.c: Include lowlevellock.h.
19277         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19278         Use futex_supports_pshared.
19279         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19280         Use futex wrappers with error checking.
19281         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19282         Likewise.
19283         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19284         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19285         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19286         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19287         (futex_wake): Likewise.
19288         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19289         (do_futex_wait): Use futex wrappers with error checking.
19290         (__new_sem_wait_slow): Update EINTR handling.
19291         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19293 2015-07-09  Martin Sebor  <msebor@redhat.com>
19295         [BZ #18435]
19296         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19297         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19298         * nptl/Makefile (test-xfail-tst-once5): Define.
19300 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19302         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19303         * elf/dl-minimal.c: For readability, reorder some definitions and
19304         introduce more page breaks.  Include <stdio.h>.
19305         (__libc_fatal): New function.
19307         * include/unistd.h: Add rtld_hidden_proto for _exit.
19308         * posix/_exit.c: Add rtld_hidden_def.
19309         * sysdeps/mach/hurd/_exit.c: Likewise.
19310         * sysdeps/nacl/_exit.c: Likewise.
19311         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19312         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19314 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19316         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19317         bndmov encoding with zero displacement.
19319 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19320             H.J. Lu  <hongjiu.lu@intel.com>
19322         [BZ #18134]
19323         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19324         * sysdeps/i386/configure: Regenerated.
19325         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19326         (_dl_runtime_profile): Save and restore Intel MPX return bound
19327         registers when calling _dl_call_pltexit.  Add
19328         PRESERVE_BND_REGS_PREFIX before return.
19329         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19330         (LRV_BND1_OFFSET): Likewise.
19331         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19332         lrv_bnd1.
19333         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19334         typo in bndmov encoding.
19335         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19336         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19337         branch instructions to preserve bounds.
19339 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19342         [GLIBC_2.22]: Add fmemopen.
19344 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19346         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19347         returns an error, also try to use host port from __mach_host_self for
19348         the __vm_wire call.
19349         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19351 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19353         [BZ #18400]
19354         [BZ #18648]
19355         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19356         Fix pr_uid and pr_gid members.
19357         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19358         definition to elf_greg_t.
19360 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19362         [BZ #18383]
19363         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19364         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19365         * sysdeps/arm/configure: Regenerated.
19366         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19367         (test-xfail-tst-tlsalign-static): Variable removed.
19369         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19370         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19371         rather than explicit 'ln -s'.
19373         * resolv/rpc/netdb.h: New file.
19374         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19376 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19378         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19379         length buffers.
19380         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19381         test-skeleton.c.
19383         [BZ #6544]
19384         [BZ #11216]
19385         [BZ #12836]
19386         [BZ #13151]
19387         [BZ #13152]
19388         [BZ #14292]
19389         * include/stdio.h (fmemopen): Remove hidden prototype.
19390         (__fmemopen): Add new hidden prototype.
19391         * libio/Makefile: Add oldfmemopen object.
19392         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19393         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19394         compliance.
19395         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19396         symbol compatibility.
19397         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19398         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19399         fmemopen.
19400         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19401         on append and read mode.
19402         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19403         fmemopen.
19404         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19405         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19406         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19407         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19408         Likewise.
19409         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19410         [GLIBC_2.22]: Likewise.
19411         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19412         Likewise.
19413         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19414         Likewise.
19415         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19416         [GLIBC_2.22]: Likewise.
19417         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19418         [GLIBC_2.22]: Likewise.
19419         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19420         [GLIBC_2.22]: Likewise.
19421         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19422         [GLIBC_2.22]: Likewise.
19423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19424         [GLIBC_2.22]: Likewise.
19425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19426         [GLIBC_2.22]: Likewise.
19427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19428         [GLIBC_2.22]: Likewise.
19429         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19430         Likewise.
19431         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19432         Likewise.
19433         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19434         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19435         [GLIBC_2.22]: Likewise.
19436         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19437         [GLIBC_2.22]: Likewise.
19438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19439         [GLIBC_2.22]: Likewise.
19440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19441         [GLIBC_2.22]: Likewise.
19442         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19443         Likewise.
19444         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19445         Likewise.
19446         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19447         Likewise.
19448         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19449         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19451 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19453         [BZ #18643]
19454         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19455         IPV6_PATHMTU, and IPV6_DONTFRAG.
19457 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19459         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19460         and _IO_UNBUFFERED.
19461         * libio/oldfileops.c: Likewise.
19462         * libio/wfileops.c: Likewise.
19464 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19466         * nscd/selinux.c: Delete selinux/flask.h include.
19468 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19470         [BZ #18641]
19471         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19472         (putpwent): Likewise.
19473         (getpwnam): Likewise.
19474         (getpwent_r): Likewise.
19475         (getpwuid_r): Likewise.
19476         (getpwnam_r): Likewise.
19477         (fgetpwent_r): Likewise.
19479 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19481         [BZ #18557]
19482         * inet/rcmd.c (__validuser2_sa): Check user first to
19483         short-circuit host check.
19485 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19486             Mikhail Ilin  <m.ilin@samsung.com>
19488         [BZ #17833]
19489         * elf/Makefile (tests): Add tst-nodelete.
19490         (modules-names): Add tst-nodelete-uniquemod.
19491         (tst-nodelete-uniquemod.so-no-z-defs): New.
19492         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19493         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19494         ($(objpfx)tst-nodelete): Likewise.
19495         ($(objpfx)tst-nodelete.out): Likewise.
19496         (LDFLAGS-tst-nodelete): Likewise.
19497         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19498         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19499         implement forced object deletion.
19500         (_dl_close): Pass false to _dl_close_worker.
19501         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19502         * elf/tst-nodelete.cc: New file.
19503         * elf/tst-nodeletelib.cc: Likewise.
19504         * elf/tst-znodeletelib.cc: Likewise.
19505         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19507 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19509         [BZ #18508]
19510         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19511         Depend on $(libdl).
19512         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19513         is not called infinitely times.
19514         (backtrace_helper): New function.
19515         (trace_arg): New struct.
19516         (st1): Enlarge stack size.
19517         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19518         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19519         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19520         Likewise.
19522 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19524         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19526 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19528         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19529         Include sys/types.h instead of bits/types.h.
19530         Remove inclusion of bits/wordsize.h.
19532 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19534         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19535         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19536         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19537         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19538         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19539         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19541 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19543         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19544         link-defines.sym.
19545         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19546         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19547         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19548         and LR_SIZE.
19549         * sysdeps/i386/link-defines.sym: New file.
19551 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19553         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19554         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19555         ($(objpfx)tst-audit3): New rule.
19556         ($(objpfx)tst-audit3.out): Likewise.
19557         * sysdeps/i386/tst-audit3.c: New file.
19558         * sysdeps/i386/tst-audit3.h: Likewise.
19559         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19560         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19562 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19564         [BZ #18633]
19565         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19566         pointer in C code.
19567         (__strcat_c): Likewise.
19568         (__strcat_g): Likewise.
19570 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19572         [BZ #18592]
19573         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19575 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19577         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19578         New function.  (__ieee754_sqrtf): New function.
19579         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19580         New function.
19581         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19582         New function.
19584 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19586         * sysdeps/ieee754/support.c: Remove unused file.
19588 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19590         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19591         registers instead of d ones so the layout is kernel abi compatible.
19592         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19593         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19594         Likewise.
19596 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19598         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19600 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19602         [BZ #18619]
19603         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19604         and return argument in case of subnormal argument.
19606 2015-07-01  Martin Sebor  <msebor@redhat.com>
19608         [BZ #18435]
19609         * nptl/Makefile: Add tst-once5.cc.
19610         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19611         Remove macro redefinitions.
19612         * nptl/tst-once5.cc: New test.
19614 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19616         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19618         * sysdeps/arm/libm-test-ulps: Regenerated.
19620         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19621         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19623 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19625         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19626         lll_lock_wait_private and lll_futex_wake probes.
19628         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19629         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19630         Likewise.
19631         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19632         atomic_spin_nop.
19633         * sysdeps/x86_64/bits/atomic.h: Likewise.
19634         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19635         to atomic_spin_nop and move ...
19636         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19637         ... here and ...
19638         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19639         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19640         atomic_spin_nop instead of BUSY_WAIT_NOP.
19641         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19642         Likewise.
19643         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19644         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19645         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19646         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19647         instead of atomic_delay.
19649 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19651         [BZ #18613]
19652         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19653         X_ADJ not X when adjusting exponent.
19654         (__ieee754_gamma_r): Do intermediate computations in
19655         round-to-nearest then adjust overflowing and underflowing results
19656         as needed.
19657         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19658         of X_ADJ not X when adjusting exponent.
19659         (__ieee754_gammaf_r): Do intermediate computations in
19660         round-to-nearest then adjust overflowing and underflowing results
19661         as needed.
19662         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19663         log of X_ADJ not X when adjusting exponent.
19664         (__ieee754_gammal_r): Do intermediate computations in
19665         round-to-nearest then adjust overflowing and underflowing results
19666         as needed.  Use 1.0L not 1.0f as numerator of division.
19667         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19668         log of X_ADJ not X when adjusting exponent.
19669         (__ieee754_gammal_r): Do intermediate computations in
19670         round-to-nearest then adjust overflowing and underflowing results
19671         as needed.  Use 1.0L not 1.0f as numerator of division.
19672         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19673         of X_ADJ not X when adjusting exponent.
19674         (__ieee754_gammal_r): Do intermediate computations in
19675         round-to-nearest then adjust overflowing and underflowing results
19676         as needed.  Use 1.0L not 1.0f as numerator of division.
19677         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19678         to auto-libm-test-in.
19679         (tgamma_test): Use ALL_RM_TEST.
19680         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19681         tests of tgamma with spurious-overflow.
19682         * math/auto-libm-test-out: Regenerated.
19683         * math/gen-libm-have-vector-test.sh: Do not check for START.
19684         * sysdeps/i386/fpu/libm-test-ulps: Update.
19685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19687         [BZ #18612]
19688         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19689         arguments, just return 0.5 times the argument, with underflow
19690         forced as needed.
19691         * math/auto-libm-test-in: Add more tests of j1.
19692         * math/auto-libm-test-out: Regenerated.
19694         [BZ #16559]
19695         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19696         (__ieee754_j1): Force underflow exception for small results.
19697         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19698         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19699         (__ieee754_j1f): Force underflow exception for small results.
19700         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19701         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19702         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19703         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19704         (__ieee754_j1l): Force underflow exception for small results.
19705         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19706         * math/auto-libm-test-in: Add more tests of j1 and jn.
19707         * math/auto-libm-test-out: Regenerated.
19709         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19710         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19711         (PF_MPLS): Likewise.
19712         (AF_IB): Likewise.
19713         (AF_MPLS): Likewise.
19714         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19715         value and macro.
19716         (MS_RMT_MASK): Include MS_LAZYTIME.
19718 2015-06-26  Mel Gorman  <mgorman@suse.de>
19720         [BZ #18502]
19721         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19722         already minimal.
19724 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19726         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19727         (DT_MIPS_NUM): Update.
19728         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19729         DT_MIPS_RLD_MAP_REL.
19731 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19733         [BZ #16559]
19734         [BZ #18602]
19735         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19736         round-to-nearest internally then recompute results that
19737         underflowed to zero in the original rounding mode.
19738         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19739         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19740         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19741         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19742         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19743         * sysdeps/i386/fpu/libm-test-ulps: Update.
19744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19746 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19748         * NEWS: Fixed description of link with vector math library.
19750 2015-06-25  Andreas Schwab  <schwab@suse.de>
19752         [BZ #18549]
19753         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19754         * libio/test-fmemopen.c (do_test): Add test for it.
19756 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19758         [BZ #17841]
19759         * Makeconfig (no-pie-ldflag): New.
19760         (+link): Set to $(+link-pie) if default to PIE.
19761         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19762         * config.make.in (build-pie-default): New.
19763         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19764         is default.  AC_SUBST.
19765         * configure: Regenerated.
19766         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19768 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19770         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19771         to 'unsigned int'.
19773         * resolv/gai_misc.h (struct waitlist): Change type of field
19774         counterp to 'volatile unsigned int *'.
19775         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19776         FUTEXADDR and OLDVAL.
19777         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19778         Give local variable TOTAL type 'volatile unsigned int'.
19779         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19780         * resolv/gai_suspend.c (gai_suspend):
19781         Give local variable CNTR type 'unsigned int'.
19783         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19784         counterp to 'volatile unsigned int *'.
19785         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19786         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19787         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19788         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19789         Give local variable TOTAL type 'volatile unsigned int'.
19790         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19792 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19794         [BZ #18383]
19795         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19796         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19797         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19798         comment for i386/x86-64.
19799         (test-xfail-tst-tlsalign-extern-static): Removed.
19801 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19803         * math/test-double.h: New file.
19804         * math/test-float.h: Likewise.
19805         * math/test-ldouble.h: Likewise.
19806         * math/test-math-inline.h: Likewise.
19807         * math/test-math-no-inline.h: Likewise.
19808         * math/test-math-scalar.h: Likewise.
19809         * math/test-math-vector.h: Likewise.
19810         * math/test-vec-loop.h: Remove file.  Contents moved into
19811         test-math-vector.h.
19812         * math/libm-test.inc (MATHCONST): Do not document macro.
19813         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19814         and test-math-scalar.h.
19815         (FUNC): Remove macro.
19816         (FUNC_TEST): Likewise.
19817         (FLOAT): Likewise.
19818         (MATHCONST): Likewise.
19819         (PRINTF_EXPR): Likewise.
19820         (PRINTF_XEXPR): Likewise.
19821         (PRINTF_NEXPR): Likewise.
19822         (TEST_DOUBLE): Likewise.
19823         (TEST_MATHVEC): Likewise.
19824         (__NO_MATH_INLINES): Likewise.
19825         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19826         and test-math-scalar.h.
19827         (FUNC): Remove macro.
19828         (FUNC_TEST): Likewise.
19829         (FLOAT): Likewise.
19830         (MATHCONST): Likewise.
19831         (PRINTF_EXPR): Likewise.
19832         (PRINTF_XEXPR): Likewise.
19833         (PRINTF_NEXPR): Likewise.
19834         (TEST_FLOAT): Likewise.
19835         (TEST_MATHVEC): Likewise.
19836         (__NO_MATH_INLINES): Likewise.
19837         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19838         and test-math-scalar.h.
19839         (FUNC): Remove macro.
19840         (FUNC_TEST): Likewise.
19841         (FLOAT): Likewise.
19842         (MATHCONST): Likewise.
19843         (PRINTF_EXPR): Likewise.
19844         (PRINTF_XEXPR): Likewise.
19845         (PRINTF_NEXPR): Likewise.
19846         (TEST_DOUBLE): Likewise.
19847         (TEST_MATHVEC): Likewise.
19848         (TEST_INLINE): Likewise.
19849         (__NO_MATH_INLINES): Likewise.
19850         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19851         test-math-scalar.h.
19852         (FUNC): Remove macro.
19853         (FUNC_TEST): Likewise.
19854         (FLOAT): Likewise.
19855         (MATHCONST): Likewise.
19856         (PRINTF_EXPR): Likewise.
19857         (PRINTF_XEXPR): Likewise.
19858         (PRINTF_NEXPR): Likewise.
19859         (TEST_FLOAT): Likewise.
19860         (TEST_MATHVEC): Likewise.
19861         (TEST_INLINE): Likewise.
19862         (__NO_MATH_INLINES): Likewise.
19863         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19864         and test-math-scalar.h.
19865         (FUNC): Remove macro.
19866         (FUNC_TEST): Likewise.
19867         (FLOAT): Likewise.
19868         (MATHCONST): Likewise.
19869         (PRINTF_EXPR): Likewise.
19870         (PRINTF_XEXPR): Likewise.
19871         (PRINTF_NEXPR): Likewise.
19872         (TEST_LDOUBLE): Likewise.
19873         (TEST_MATHVEC): Likewise.
19874         (TEST_INLINE): Likewise.
19875         (__NO_MATH_INLINES): Likewise.
19876         * math/test-ldouble.c: Include test-ldouble.h,
19877         test-math-no-inline.h and test-math-scalar.h.
19878         (FUNC): Remove macro.
19879         (FUNC_TEST): Likewise.
19880         (FLOAT): Likewise.
19881         (MATHCONST): Likewise.
19882         (PRINTF_EXPR): Likewise.
19883         (PRINTF_XEXPR): Likewise.
19884         (PRINTF_NEXPR): Likewise.
19885         (TEST_LDOUBLE): Likewise.
19886         (TEST_MATHVEC): Likewise.
19887         (__NO_MATH_INLINES): Likewise.
19888         * math/test-double-vlen2.h: Include test-double.h,
19889         test-math-no-inline.h and test-math-vector.h.
19890         (FLOAT): Remove macro.
19891         (FUNC): Likewise.
19892         (MATHCONST): Likewise.
19893         (PRINTF_EXPR): Likewise.
19894         (PRINTF_XEXPR): Likewise.
19895         (PRINTF_NEXPR): Likewise.
19896         (TEST_DOUBLE): Likewise.
19897         (TEST_MATHVEC): Likewise.
19898         (__NO_MATH_INLINES): Likewise.
19899         (CNCT): Likewise.
19900         (CONCAT): Likewise.
19901         (WRAPPER_NAME): Likewise.
19902         (WRAPPER_DECL): Likewise.
19903         (WRAPPER_DECL_ff): Likewise.
19904         (WRAPPER_DECL_fFF): Likewise.
19905         (VECTOR_WRAPPER): Likewise.
19906         (VECTOR_WRAPPER_ff): Likewise.
19907         (VECTOR_WRAPPER_fFF): Likewise.
19908         (VEC_LEN): New macro.
19909         * math/test-double-vlen4.h: Include test-double.h,
19910         test-math-no-inline.h and test-math-vector.h.
19911         (FLOAT): Remove macro.
19912         (FUNC): Likewise.
19913         (MATHCONST): Likewise.
19914         (PRINTF_EXPR): Likewise.
19915         (PRINTF_XEXPR): Likewise.
19916         (PRINTF_NEXPR): Likewise.
19917         (TEST_DOUBLE): Likewise.
19918         (TEST_MATHVEC): Likewise.
19919         (__NO_MATH_INLINES): Likewise.
19920         (CNCT): Likewise.
19921         (CONCAT): Likewise.
19922         (WRAPPER_NAME): Likewise.
19923         (WRAPPER_DECL): Likewise.
19924         (WRAPPER_DECL_ff): Likewise.
19925         (WRAPPER_DECL_fFF): Likewise.
19926         (VECTOR_WRAPPER): Likewise.
19927         (VECTOR_WRAPPER_ff): Likewise.
19928         (VECTOR_WRAPPER_fFF): Likewise.
19929         (VEC_LEN): New macro.
19930         * math/test-double-vlen8.h: Include test-double.h,
19931         test-math-no-inline.h and test-math-vector.h.
19932         (FLOAT): Remove macro.
19933         (FUNC): Likewise.
19934         (MATHCONST): Likewise.
19935         (PRINTF_EXPR): Likewise.
19936         (PRINTF_XEXPR): Likewise.
19937         (PRINTF_NEXPR): Likewise.
19938         (TEST_DOUBLE): Likewise.
19939         (TEST_MATHVEC): Likewise.
19940         (__NO_MATH_INLINES): Likewise.
19941         (CNCT): Likewise.
19942         (CONCAT): Likewise.
19943         (WRAPPER_NAME): Likewise.
19944         (WRAPPER_DECL): Likewise.
19945         (WRAPPER_DECL_ff): Likewise.
19946         (WRAPPER_DECL_fFF): Likewise.
19947         (VECTOR_WRAPPER): Likewise.
19948         (VECTOR_WRAPPER_ff): Likewise.
19949         (VECTOR_WRAPPER_fFF): Likewise.
19950         (VEC_LEN): New macro.
19951         * math/test-float-vlen4.h: Include test-float.h,
19952         test-math-no-inline.h and test-math-vector.h.
19953         (FLOAT): Remove macro.
19954         (FUNC): Likewise.
19955         (MATHCONST): Likewise.
19956         (PRINTF_EXPR): Likewise.
19957         (PRINTF_XEXPR): Likewise.
19958         (PRINTF_NEXPR): Likewise.
19959         (TEST_FLOAT): Likewise.
19960         (TEST_MATHVEC): Likewise.
19961         (__NO_MATH_INLINES): Likewise.
19962         (CNCT): Likewise.
19963         (CONCAT): Likewise.
19964         (WRAPPER_NAME): Likewise.
19965         (WRAPPER_DECL): Likewise.
19966         (WRAPPER_DECL_ff): Likewise.
19967         (WRAPPER_DECL_fFF): Likewise.
19968         (VECTOR_WRAPPER): Likewise.
19969         (VECTOR_WRAPPER_ff): Likewise.
19970         (VECTOR_WRAPPER_fFF): Likewise.
19971         (VEC_LEN): New macro.
19972         * math/test-float-vlen8.h: Include test-float.h,
19973         test-math-no-inline.h and test-math-vector.h.
19974         (FLOAT): Remove macro.
19975         (FUNC): Likewise.
19976         (MATHCONST): Likewise.
19977         (PRINTF_EXPR): Likewise.
19978         (PRINTF_XEXPR): Likewise.
19979         (PRINTF_NEXPR): Likewise.
19980         (TEST_FLOAT): Likewise.
19981         (TEST_MATHVEC): Likewise.
19982         (__NO_MATH_INLINES): Likewise.
19983         (CNCT): Likewise.
19984         (CONCAT): Likewise.
19985         (WRAPPER_NAME): Likewise.
19986         (WRAPPER_DECL): Likewise.
19987         (WRAPPER_DECL_ff): Likewise.
19988         (WRAPPER_DECL_fFF): Likewise.
19989         (VECTOR_WRAPPER): Likewise.
19990         (VECTOR_WRAPPER_ff): Likewise.
19991         (VECTOR_WRAPPER_fFF): Likewise.
19992         (VEC_LEN): New macro.
19993         * math/test-float-vlen16.h: Include test-float.h,
19994         test-math-no-inline.h and test-math-vector.h.
19995         (FLOAT): Remove macro.
19996         (FUNC): Likewise.
19997         (MATHCONST): Likewise.
19998         (PRINTF_EXPR): Likewise.
19999         (PRINTF_XEXPR): Likewise.
20000         (PRINTF_NEXPR): Likewise.
20001         (TEST_FLOAT): Likewise.
20002         (TEST_MATHVEC): Likewise.
20003         (__NO_MATH_INLINES): Likewise.
20004         (CNCT): Likewise.
20005         (CONCAT): Likewise.
20006         (WRAPPER_NAME): Likewise.
20007         (WRAPPER_DECL): Likewise.
20008         (WRAPPER_DECL_ff): Likewise.
20009         (WRAPPER_DECL_fFF): Likewise.
20010         (VECTOR_WRAPPER): Likewise.
20011         (VECTOR_WRAPPER_ff): Likewise.
20012         (VECTOR_WRAPPER_fFF): Likewise.
20013         (VEC_LEN): New macro.
20014         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
20015         test-vec-loop.h.
20016         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20017         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20018         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20019         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20020         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20021         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20022         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20024 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20026         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
20027         (__getlogin_r): ... this.
20029 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20031         [BZ #18594]
20032         * math/s_ccosh.c (__ccosh): Compare with least normal value
20033         instead of comparing class with FP_SUBNORMAL.
20034         * math/s_ccoshf.c (__ccoshf): Likewise.
20035         * math/s_ccoshl.c (__ccoshl): Likewise.
20036         * math/s_cexp.c (__cexp): Likewise.
20037         * math/s_cexpf.c (__cexpf): Likewise.
20038         * math/s_cexpl.c (__cexpl): Likewise.
20039         * math/s_csin.c (__csin): Likewise.
20040         * math/s_csinf.c (__csinf): Likewise.
20041         * math/s_csinh.c (__csinh): Likewise.
20042         * math/s_csinhf.c (__csinhf): Likewise.
20043         * math/s_csinhl.c (__csinhl): Likewise.
20044         * math/s_csinl.c (__csinl): Likewise.
20045         * math/s_ctan.c (__ctan): Likewise.
20046         * math/s_ctanf.c (__ctanf): Likewise.
20047         * math/s_ctanh.c (__ctanh): Likewise.
20048         * math/s_ctanhf.c (__ctanhf): Likewise.
20049         * math/s_ctanhl.c (__ctanhl): Likewise.
20050         * math/s_ctanl.c (__ctanl): Likewise.
20051         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
20052         csin, csinh, ctan and ctanh.
20053         * math/auto-libm-test-out: Regenerated.
20054         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
20055         * sysdeps/i386/fpu/libm-test-ulps: Update.
20056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20058 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20060         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
20061         return value is wrong, print the expected value too.
20063 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20065         [BZ #18585]
20066         * elf/readlib.c (is_gdb_python_file): New.
20067         (process_file): Don't issue errors on filenames with -gdb.py
20068         suffix.
20070 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20072         * math/auto-libm-test-in: Add more tests of csin and csinh.
20073         * math/auto-libm-test-out: Regenerated.
20074         * math/libm-test.inc (csin_test_data): Remove tests moved to
20075         auto-libm-test-in.
20076         (csinh_test_data): Likewise.
20078         [BZ #18593]
20079         * math/s_csin.c (__csin): Negate before rather than after possibly
20080         overflowing multiplication.
20081         * math/s_csinf.c (__csinf): Likewise.
20082         * math/s_csinh.c (__csinh): Likewise.
20083         * math/s_csinhf.c (__csinhf): Likewise.
20084         * math/s_csinhl.c (__csinhl): Likewise.
20085         * math/s_csinl.c (__csinl): Likewise.
20086         * math/auto-libm-test-in: Add some tests of csin and csinh.
20087         * math/auto-libm-test-out: Regenerated.
20088         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
20089         (csinh_test_data): Likewise.
20090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20092         [BZ #18586]
20093         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
20094         underflow exception for small results.
20096 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20098         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20099         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
20100         variable and included header.
20101         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
20102         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
20103         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
20104         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
20105         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
20106         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
20107         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
20108         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
20109         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
20110         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
20111         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
20112         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
20113         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
20114         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
20115         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
20116         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
20118 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20120         [BZ #16526]
20121         [BZ #16538]
20122         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
20123         (__sin): Force underflow exception for arguments with small
20124         absolute value.
20125         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
20126         (__kernel_sinf): Force underflow exception for arguments with
20127         small absolute value.
20128         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
20129         (__kernel_sincosl): Force underflow exception for arguments with
20130         small absolute value.
20131         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
20132         (__kernel_sinl): Force underflow exception for arguments with
20133         small absolute value.
20134         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
20135         (__kernel_sincosl): Force underflow exception for arguments with
20136         small absolute value.
20137         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20138         (__kernel_sinl): Force underflow exception for arguments with
20139         small absolute value.
20140         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20141         (__kernel_sinl): Force underflow exception for arguments with
20142         small absolute value.
20143         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20144         (__kernel_sinf): Force underflow exception for arguments with
20145         small absolute value.
20146         * math/auto-libm-test-in: Add more tests of sin and sincos.
20147         * math/auto-libm-test-out: Regenerated.
20149         [BZ #18245]
20150         [BZ #18583]
20151         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20152         (__kernel_standard_l): Use feholdexcept and fesetenv around
20153         conversion to double instead of special-casing overflow and
20154         underflow.
20155         * math/libm-test.inc (fmod_test_data): Add more tests.
20156         (remainder_test_data): Likewise.
20157         (sqrt_test_data): Likewise.
20159 2015-06-23  Torvald Riegel  <triegel@redhat.com>
20161         [BZ #17403]
20162         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20163         atomic_read_barrier, atomic_write_barrier): Define.
20164         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
20165         atomic_read_barrier, atomic_write_barrier): Define.
20167 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20169         * math/Makefile [$(PERL) != no]
20170         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20171         dependency on libm-test.stmp below the inclusion of Rules.
20173 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
20175         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20176         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20177         and included header.
20178         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20179         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20180         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20181         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20182         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20183         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20184         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20185         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20186         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20187         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20188         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20189         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20190         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20191         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20192         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20193         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20194         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20195         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20196         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20198 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20200         [BZ #18371]
20201         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20202         intermediate but not final result might underflow.
20203         * math/s_csqrtf.c (__csqrtf): Likewise.
20204         * math/s_csqrtl.c (__csqrtl): Likewise.
20205         * math/auto-libm-test-in: Add more tests of csqrt.
20206         * math/auto-libm-test-out: Regenerated.
20207         * sysdeps/i386/fpu/libm-test-ulps: Update.
20209         [BZ #18219]
20210         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20211         threshold on absolute value of exponent for which scaling is used.
20212         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20213         * math/auto-libm-test-in: Add more tests of exp2.
20214         * math/auto-libm-test-out: Regenerated.
20216 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20218         [BZ #17977]
20219         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20220         when initializing interface list, based on the bug analysis
20221         and the patch proposed by Eric Newton.
20222         * resolv/tst-res_hconf_reorder.c: New test.
20223         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20224         tst-res_hconf_reorder.
20225         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20226         and $(shared-thread-library).
20227         (tst-res_hconf_reorder-ENV): New variable.
20229         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20230         in comment.
20232 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20234         [BZ #16353]
20235         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20236         (__expm1): Force underflow exception for arguments with small
20237         absolute value.
20238         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20239         (__expm1f): Force underflow exception for arguments with small
20240         absolute value.
20241         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20242         (__expm1): Force underflow exception for arguments with small
20243         absolute value.
20244         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20245         (__expm1f): Force underflow exception for arguments with small
20246         absolute value.
20247         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20248         Check for small arguments before calling __expm1.
20249         * math/auto-libm-test-in: Do not mark underflow exceptions as
20250         possibly missing for bug 16353.
20251         * math/auto-libm-test-out: Regenerated.
20253 2015-06-22  Andreas Schwab  <schwab@suse.de>
20255         [BZ #18513]
20256         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20257         PTR queries.
20259 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20261         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20263         * string/strcoll_l.c: Remove unused struct element idxnow.
20265 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20267         [BZ #18569]
20268         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20269         underflow and return argument in case of subnormal argument.
20270         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20271         Likewise.
20272         * math/auto-libm-test-in: Add more tests of expm1.
20273         * math/auto-libm-test-out: Regenerated.
20275         [BZ #16361]
20276         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20277         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20278         tiny results.
20279         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20280         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20281         tiny results.
20282         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20283         mark underflow exceptions as possibly missing for bug 16361.
20284         * math/auto-libm-test-out: Regenerated.
20286 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20288         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20289         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20290         Remove variable.
20291         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20292         (test-xfail-XOPEN2K8/utmpx.h/conform).
20294         * conform/conformtest.pl ($xerrors): New variable.
20295         (note_error): New function.
20296         (compiletest): New argument $xfail.  Use not_error.
20297         (runtest): Likewise.
20298         (top level): Handle xfail- lines.  Update calls to compiletest and
20299         runtest.  Handle xfail- and optional- in headers listed with
20300         allow-header.
20301         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20302         (O_EXEC): Likewise.
20303         (O_SEARCH): Likewise.
20304         * conform/data/stropts.h-data (ioctl): Likewise.
20305         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20306         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20307         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20308         (msghdr.msg_controllen): Likewise.
20309         (cmsghdr.cmsg_len): Likewise.
20310         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20311         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20312         variable.
20313         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20314         (test-xfail-XPG4/stropts.h/conform): Likewise.
20315         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20316         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20317         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20318         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20319         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20320         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20321         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20322         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20323         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20324         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20325         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20326         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20327         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20328         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20329         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20330         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20331         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20332         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20333         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20335 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20337         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20338         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20339         definitions for proper unfolding of __MATHDECL_VEC.
20341 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20343         * benchtests/bench-strcoll.c:
20344         Include string.h.
20345         (main): Remove unused variable res.
20347 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20349         * timezone/Makefile (%/UTC %/Universal):
20350         Generate test-result files for UTC and Universal.
20352 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20354         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20356 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20358         [BZ #16350]
20359         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20360         for arguments with small absolute value.
20361         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20362         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20363         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20364         (__asinh): Force underflow exception for arguments with small
20365         absolute value.
20366         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20367         (__asinhf): Force underflow exception for arguments with small
20368         absolute value.
20369         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20370         (__asinhl): Force underflow exception for arguments with small
20371         absolute value.
20372         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20373         (__asinhl): Force underflow exception for arguments with small
20374         absolute value.
20375         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20376         (__asinhl): Force underflow exception for arguments with small
20377         absolute value.
20378         * math/auto-libm-test-in: Do not mark underflow exceptions as
20379         possibly missing for bug 16350.
20380         * math/auto-libm-test-out: Regenerated.
20382         * include/bits/ipc.h: Remove file.
20383         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20384         variable.
20385         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20386         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20387         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20388         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20389         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20390         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20391         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20392         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20393         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20395         * math/auto-libm-test-in: Remove spurious underflow allowance for
20396         tests of cexp.
20397         * math/auto-libm-test-out: Regenerated.
20399         [BZ #18558]
20400         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20401         unconditional definition.
20402         (MCAST_BLOCK_SOURCE): Likewise.
20403         (MCAST_UNBLOCK_SOURCE): Likewise.
20404         (MCAST_LEAVE_GROUP): Likewise.
20405         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20406         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20407         (MCAST_MSFILTER): Likewise.
20408         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20409         Remove variable.
20410         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20411         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20412         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20413         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20414         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20416 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20418         * NEWS: Mention addition of x86_64 vector sincosf.
20419         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20420         * math/test-float-vlen4.h: Likewise.
20421         * math/test-float-vlen8.h: Likewise.
20422         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20423         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20424         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20425         * sysdeps/x86_64/fpu/Versions: New versions added.
20426         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20427         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20428         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20429         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20430         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20431         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20432         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20433         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20434         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20435         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20436         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20437         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20438         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20439         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20440         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20441         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20442         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20443         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20444         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20445         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20446         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20447         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20448         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20449         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20451         * NEWS: Mention addition of x86_64 vector sincos.
20452         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20453         * math/math.h (__MATHDECL_VEC): New macro.
20454         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20455         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20456         declaration under condition.
20457         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20458         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20459         TEST_VEC_LOOP change.
20460         * math/test-double-vlen4.h: Likewise.
20461         * math/test-double-vlen8.h: Likewise.
20462         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20463         * math/test-float-vlen4.h: Likewise.
20464         * math/test-float-vlen8.h: Likewise.
20465         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20466         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20467         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20468         * sysdeps/x86_64/fpu/Versions: New versions added.
20469         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20470         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20471         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20472         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20473         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20474         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20475         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20476         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20477         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20478         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20479         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20480         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20481         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20482         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20483         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20484         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20485         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20486         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20487         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20488         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20489         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20490         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20491         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20492         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20494         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20495         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20496         redirections for powf.
20497         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20498         * sysdeps/x86_64/fpu/Versions: New versions added.
20499         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20500         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20501         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20502         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20503         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20504         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20505         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20506         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20507         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20508         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20509         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20510         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20511         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20512         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20513         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20514         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20515         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20516         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20517         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20518         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20519         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20520         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20521         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20522         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20523         * math/test-float-vlen16.h: Fixed 2 argument macro.
20524         * math/test-float-vlen4.h: Likewise.
20525         * math/test-float-vlen8.h: Likewise.
20526         * NEWS: Mention addition of x86_64 vector powf.
20528 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20530         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20531         and redefine.
20532         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20533         and redefine.
20534         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20535         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20536         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20538         [BZ #18553]
20539         * resource/getpriority.c (getpriority): Rename to __getpriority
20540         and define as weak alias of __getpriority.
20541         * resource/setpriority.c (setpriority): Rename to __setpriority
20542         and define as weak alias of __setpriority.
20543         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20544         __getpriority and define as weak alias of __getpriority.
20545         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20546         __setpriority and define as weak alias of __setpriority.
20547         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20548         strong name.
20549         (setpriority): Use __setpriority as strong name.
20550         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20551         __getpriority and define as weak alias of __getpriority.
20552         * include/sys/resource.h (__getpriority): Declare.  Use
20553         libc_hidden_proto.
20554         (__setpriority): Likewise.
20555         (getpriority): Don't use libc_hidden_proto.
20556         (setpriority): Likewise.
20557         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20558         getpriority.  Call __setpriority instead of setpriority.
20559         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20560         Remove variable.
20562         [BZ #18547]
20563         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20564         as weak alias of __getttynam.  Use prototype function definition.
20565         Call __setttyent, __getttyent and __endttyent instead of
20566         setttyent, getttyent and endttyent.
20567         (getttyent): Rename to __getttyent and define as weak alias of
20568         __getttyent.  Call __setttyent instead of setttyent.  Call
20569         __fgets_unlocked instead of fgets_unlocked.
20570         (setttyent): Rename to __setttyent and define as weak alias of
20571         __setttyent.
20572         (endttyent): Rename to __endttyent and define as weak alias of
20573         __endttyent.
20574         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20575         (__setttyent): Likewise.
20576         (__endttyent): Likewise.
20577         (getttyent): Don't use libc_hidden_proto.
20578         (setttyent): Likewise.
20579         (endttyent): Likewise.
20580         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20581         __endttyent instead of setttyent, getttyent and endttyent.
20582         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20583         Remove variable.
20585         [BZ #18546]
20586         * socket/recv.c (__recv): Use libc_hidden_def.
20587         * socket/socket.c (__socket): Likewise.
20588         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20589         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20590         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20591         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20592         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20593         libc_hidden_def.
20594         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20595         libc_hidden_weak.
20596         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20597         Use libc_hidden_proto.
20598         (__recv): Likewise.
20599         * socket/Versions (libc): Export __recv and __socket at version
20600         GLIBC_PRIVATE.
20601         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20602         instead of recv.
20603         (init_mq_netlink): Call __socket instead of socket.
20604         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20605         Remove variable.
20607         [BZ #18545]
20608         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20609         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20610         hidden_weak.
20611         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20612         define as alias of __mq_timedsend.  Use hidden_weak.
20613         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20614         __mq_timedsend as strong name.
20615         (mq_timedreceive): Use __mq_timedreceive as strong name.
20616         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20617         (__mq_timedreceive): Likewise.
20618         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20619         __mq_timedreceive instead of mq_timedreceive.
20620         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20621         instead of mq_timedsend.
20622         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20623         Remove variable.
20625         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20626         hidden_def and hidden_weak instead of libc_hidden_def and
20627         libc_hidden_weak.
20628         (top level): Refer to hidden_def in comment.
20629         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20630         macro.  Use it instead of libc_hidden_def.
20631         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20632         specify __GI_* name explicitly.
20633         (mq_timedreceive): Likewise.
20634         (mq_setattr): Likewise.
20636         [BZ #18544]
20637         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20638         __pthread_barrier_init and define as weak alias of
20639         __pthread_barrier_init.
20640         * sysdeps/sparc/nptl/pthread_barrier_init.c
20641         (pthread_barrier_init): Likewise.
20642         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20643         __pthread_barrier_wait and define as weak alias of
20644         __pthread_barrier_wait.
20645         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20646         (pthread_barrier_wait): Likewise.
20647         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20648         (pthread_barrier_wait): Likewise.
20649         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20650         (pthread_barrier_wait): Likewise.
20651         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20652         (pthread_barrier_wait): Likewise.
20653         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20654         __pthread_barrier_wait at version GLIBC_PRIVATE.
20655         * include/pthread.h (__pthread_barrier_init): Declare.
20656         (__pthread_barrier_wait): Likewise.
20657         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20658         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20659         (helper_thread): Likewise.
20660         (init_mq_netlink): Call __pthread_barrier_init instead of
20661         pthread_barrier_init.
20663         [BZ #18542]
20664         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20665         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20666         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20667         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20668         vswscanf.
20669         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20670         Remove variable.
20672         [BZ #18540]
20673         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20674         strong alias of _IO_fflush.  Use libc_hidden_def.
20675         * libio/iofflush_u.c (fflush_unlocked): Rename to
20676         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20677         Use libc_hidden_weak.
20678         * include/stdio.h (__fflush_unlocked): Declare.  Use
20679         libc_hidden_proto.
20680         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20681         fflush_unlocked.
20682         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20683         Remove variable.
20685         [BZ #18539]
20686         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20687         define as weak alias of __addseverity.
20688         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20689         Remove variable.
20690         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20691         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20692         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20694         [BZ #18536]
20695         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20696         (__tfind): Likewise.
20697         (__tdelete): Likewise.
20698         (__twalk): Likewise.
20699         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20700         __twalk to GLIBC_PRIVATE.
20701         * include/search.h (__tsearch): Use libc_hidden_proto.
20702         (__tfind): Likewise.
20703         (__tdelete): Likewise.
20704         (__twalk): Likewise.
20705         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20706         Call __tdelete instead of tdelete.
20707         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20708         tfind.  Call __tsearch instead of tsearch.
20709         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20710         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20711         Remove variable.
20712         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20714         [BZ #18534]
20715         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20716         (dprintf): Define as a weak alias of __dprintf, not a strong
20717         alias.
20718         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20719         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20720         dprintf.
20721         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20722         Remove variable.
20723         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20724         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20726         [BZ #18533]
20727         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20728         not a strong alias.
20729         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20730         Remove variable.
20732         [BZ #18532]
20733         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20734         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20735         (in6addr_loopback): Rename to __in6addr_loopback and define as
20736         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20737         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20738         libc_hidden_proto.
20739         (__in6addr_any): Likewise.
20740         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20741         in6addr_any.
20742         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20743         variable.
20744         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20746 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20748         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20749         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20750         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20751         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20752         redirections for pow.
20753         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20754         * sysdeps/x86_64/fpu/Versions: New versions added.
20755         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20756         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20757         build of SSE, AVX2 and AVX512 IFUNC versions.
20758         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20759         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20760         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20761         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20762         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20763         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20764         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20765         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20766         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20767         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20768         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20769         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20770         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20771         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20772         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20773         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20774         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20775         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20776         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20777         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20778         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20779         * NEWS: Mention addition of x86_64 vector pow.
20781         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20782         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20783         redirections for expf.
20784         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20785         * sysdeps/x86_64/fpu/Versions: New versions added.
20786         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20787         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20788         build of SSE, AVX2 and AVX512 IFUNC versions.
20789         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20790         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20791         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20792         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20793         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20794         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20795         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20796         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20797         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20798         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20799         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20800         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20801         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20802         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20803         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20804         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20805         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20806         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20807         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20808         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20809         * NEWS: Mention addition of x86_64 vector expf.
20811         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20812         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20813         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20814         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20815         redirections for exp.
20816         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20817         * sysdeps/x86_64/fpu/Versions: New versions added.
20818         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20819         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20820         build of SSE, AVX2 and AVX512 IFUNC versions.
20821         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20822         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20823         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20824         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20825         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20826         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20827         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20828         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20829         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20830         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20831         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20832         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20833         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20834         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20835         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20836         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20837         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20838         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20839         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20840         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20841         * NEWS: Mention addition of x86_64 vector exp.
20843         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20844         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20845         redirections for logf.
20846         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20847         * sysdeps/x86_64/fpu/Versions: New versions added.
20848         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20849         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20850         build of SSE, AVX2 and AVX512 IFUNC versions.
20851         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20852         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20853         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20854         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20855         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20856         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20857         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20858         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20859         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20860         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20861         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20862         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20863         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20864         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20865         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20866         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20867         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20868         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20869         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20870         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20871         * NEWS: Mention addition of x86_64 vector logf.
20873         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20874         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20875         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20876         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20877         redirections for log.
20878         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20879         * sysdeps/x86_64/fpu/Versions: New versions added.
20880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20881         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20882         build of SSE, AVX2 and AVX512 IFUNC versions.
20883         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20884         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20885         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20886         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20887         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20888         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20889         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20890         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20891         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20892         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20893         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20894         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20895         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20896         test.
20897         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20898         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20899         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20900         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20901         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20902         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20903         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20904         * NEWS: Mention addition of x86_64 vector log.
20906 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20908         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20909         cfi_adjust_cfa_offset argument.
20910         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20911         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20913         [BZ #18034]
20914         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20915         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20916         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20917         ordering using ldar.
20918         (_dl_tlsdesc_dynamic): Likewise.
20919         (_dl_tlsdesc_return_lazy): Likewise.
20920         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20921         relaxed atomics instead of volatile and synchronize with release store.
20922         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20923         volatile.
20924         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20926 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20928         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20929         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20930         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20931         * sysdeps/x86_64/fpu/Versions: New versions added.
20932         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20933         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20934         build of SSE, AVX2 and AVX512 IFUNC versions.
20935         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20936         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20937         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20938         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20939         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20940         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20941         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20942         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20943         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20944         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20945         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20946         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20947         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20948         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20949         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20950         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20951         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20952         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20953         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20954         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20955         * NEWS: Mention addition of x86_64 vector sinf.
20957 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20959         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20960         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20961         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20962         Remove variable.
20963         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20964         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20966 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20968         [BZ #18530]
20969         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20970         strong alias of _IO_fputs.  Use libc_hidden_def.
20971         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20972         and define as weak alias of __fputs_unlocked.  Use
20973         libc_hidden_weak.
20974         * include/stdio.h (__fputs_unlocked): Declare.  Use
20975         libc_hidden_proto.
20976         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20977         fputs_unlocked.
20979         [BZ #18529]
20980         * resolv/netdb.h [__USE_POSIX]: Change condition to
20981         [__USE_XOPEN2K].
20982         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20983         not expect.
20984         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20985         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20986         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20987         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20988         [XPG4 || UNIX98] (AI_ALL): Likewise.
20989         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20990         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20991         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20992         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20993         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20994         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20995         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20996         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20997         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20998         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20999         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
21000         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
21001         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
21002         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
21003         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
21004         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21005         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21006         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
21007         [XPG4 || UNIX98] (gai_strerror): Likewise.
21008         [XPG4 || UNIX98] (getaddrinfo): Likewise.
21009         [XPG4 || UNIX98] (getnameinfo): Likewise.
21011         [BZ #18528]
21012         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
21013         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
21014         __USE_XOPEN2K8].
21015         (getgrent): Likewise.
21016         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
21017         expect.
21018         [XPG3 || POSIX2008] (endgrent): Likewise.
21019         [XPG3] (setgrent): Likewise.
21020         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
21021         variable.
21022         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21024         [BZ #18527]
21025         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
21026         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
21027         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
21028         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21029         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
21030         * include/unistd.h (__getlogin_r): Declare.  Use
21031         libc_hidden_proto.
21032         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
21033         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
21034         variable.
21035         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21036         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21037         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21039 2015-06-12  Martin Sebor  <msebor@redhat.com>
21041         [BZ #18512]
21042         * Makerules (check-install-supported): New target.
21043         (install): Add check-install-supported as a dependency.
21044         * manual/install.texi (Installing the C Library): Document
21045         that overriding prefix and exec_prefix is not supported.
21046         Mention DESTDIR.
21047         * INSTALL: Regenerate from the above.
21049 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21051         [BZ #18519]
21052         * posix/Versions (libc): Export __libc_pread at version
21053         GLIBC_PRIVATE.
21054         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
21055         instead of pread.
21056         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
21057         variable.
21059         [BZ #18522]
21060         * misc/efgcvt_r.c
21061         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
21062         (cvt_symbol): Use weak_alias instead of strong_alias.
21063         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
21064         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
21065         Remove variable.
21066         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21067         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21069         [BZ #18520]
21070         * inet/herrno.c (h_errno): Rename to __h_errno.
21071         (__libc_h_errno): Define as alias of __h_errno not h_errno.
21072         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
21073         to __h_errno instead of h_errno.
21074         * nptl/herrno.c (h_errno): Rename to __h_errno.
21075         (__h_errno_location): Refer to __h_errno not h_errno.
21076         * resolv/Versions (h_errno): Rename to __h_errno.
21077         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
21078         Remove variable.
21079         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21081 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
21083         * configure.ac: More strict check for AVX512 assembler support.
21084         * configure: Regenerated.
21086         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
21087         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
21088         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21089         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
21090         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21091         * sysdeps/x86_64/fpu/Versions: New versions added.
21092         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21093         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21094         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21095         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
21096         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
21097         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
21098         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
21099         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
21100         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
21101         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
21102         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
21103         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
21104         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
21105         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
21106         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
21107         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
21108         test.
21109         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21110         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21111         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21112         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21113         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21114         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21115         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21116         * NEWS: Mention addition of x86_64 vector sin.
21118 2015-06-11  Florian Weimer  <fweimer@redhat.com>
21120         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
21121         comment.
21123 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21125         [BZ #18479]
21126         * nptl/pt-interp.c: New file.
21127         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
21128         Add pt-interp.
21129         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
21130         $(common-objpfx)runtime-linker.h.
21132 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
21134         * Makeconfig (+interp): Remove unused variable.
21135         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
21136         only.  Depend on $(common-objpfx)runtime-linker.h instead of
21137         $(elf-objpfx)runtime-linker.h.
21138         ($(elf-objpfx)runtime-linker.h): Rename to
21139         $(common-objpfx)runtime-linker.h and move ...
21140         * Makerules [$(build-shared) = yes]: ... here.
21141         * elf/interp.c: Include <runtime-linker.h> instead of
21142         <elf/runtime-linker.h>.
21144 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21146         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21147         (__gettimeofday_syscall): Remove vsyscall fallback.
21148         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21149         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21150         Add syscall fallback function.
21151         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21152         if vDSO is not present.
21153         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21154         fallback function.
21155         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21156         present.
21157         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
21158         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21160 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
21162         [BZ #18497]
21163         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
21164         of wcscmp.
21165         (wcscmp): Define as weak alias of WCSCMP.
21166         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
21167         wcscoll.
21168         (USE_HIDDEN_DEF): Define.
21169         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
21170         __wcscoll.  Don't use libc_hidden_weak.
21171         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21172         wcscmp.
21173         * sysdeps/i386/i686/multiarch/wcscmp-c.c
21174         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21175         __GI_wcscmp.
21176         (weak_alias): Undefine and redefine.
21177         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21178         __wcscmp and define as weak alias of __wcscmp.
21179         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21180         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21181         (__wcscoll): Likewise.
21182         (wcscmp): Don't use libc_hidden_proto.
21183         (wcscoll): Likewise.
21184         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21185         wcscoll.
21186         * posix/regexec.c (check_node_accept_bytes): Likewise.
21187         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21188         variable.
21189         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21190         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21192         [BZ #18507]
21193         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21194         __fstatvfs and define as weak alias of __fstatvfs.  Use
21195         libc_hidden_weak.
21196         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21197         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21198         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21199         Define as alias of __fstatvfs, not fstatvfs.
21200         (fstatvfs64): Likewise.
21201         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21202         Define as alias of __statvfs, not statvfs.
21203         (statvfs64): Likewise.
21204         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21205         Remove variable.
21207 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21210         (HAVE_GETCPU_VSYSCALL): Define.
21211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21212         (HAVE_GETCPU_VSYSCALL): Likewise.
21213         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21214         * sysdeps/unix/sysv/linux/sched_getcpu.c
21215         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21216         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21217         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21218         prototype.
21219         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21220         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21221         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21223         Define.
21224         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21225         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21226         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21227         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21229 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21231         * sysdeps/x86_64/fpu/Makefile: New file.
21232         * sysdeps/x86_64/fpu/Versions: New file.
21233         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21234         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21235         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21236         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21237         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21238         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21239         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21240         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21241         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21242         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21243         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21244         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21245         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21246         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21247         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21248         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21249         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21250         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21251         * sysdeps/x86_64/configure: Regenerated.
21252         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21253         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21254         * manual/install.texi (Configuring and compiling): Document
21255         --disable-mathvec.
21256         * INSTALL: Regenerated.
21257         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21259         * math/Makefile: Added rules for vector tests.
21260         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21261         declaration under condition.
21262         * math/test-double-vlen2.h: New file.
21263         * math/test-double-vlen4.h: New file.
21264         * math/test-double-vlen8.h: New file.
21265         * math/test-vec-loop.h: Added initialization macro.
21266         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21267         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21268         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21269         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21270         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21272         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21273         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21274         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21275         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21276         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21278         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21279         * sysdeps/x86_64/fpu/Versions: New versions added.
21280         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21281         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21282         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21283         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21284         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21285         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21286         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21287         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21288         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21289         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21290         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21291         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21292         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21293         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21294         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21295         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21296         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21297         * NEWS: Mention addition of x86_64 vector cosf.
21299         * math/Makefile: Added CFLAGS for new tests.
21300         * math/test-float-vlen16.h: New file.
21301         * math/test-float-vlen4.h: New file.
21302         * math/test-float-vlen8.h: New file.
21303         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21304         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21306         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21307         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21308         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21309         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21310         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21311         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21312         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21313         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21315 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21317         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21318         * locale/programs/ld-ctype.c: Likewise.
21320 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21322         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21323         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21324         bit_ZMM16_31_state): New macro.
21325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21326         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21328 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21330         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21332 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21334         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21336 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21338         [BZ #18498]
21339         * libio/memstream.c (open_memstream): Rename to __open_memstream
21340         and define as weak alias of __open_memstream.
21341         * include/stdio.h (__open_memstream): Declare.  Use
21342         libc_hidden_proto.
21343         (open_memstream): Don't use libc_hidden_proto.
21344         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21345         open_memstream.
21346         * posix/getopt.c (_getopt_internal_r): Likewise.
21347         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21348         variable.
21349         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21350         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21351         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21353         [BZ #18496]
21354         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21355         instead of wcrtomb.
21357         [BZ #18483]
21358         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21359         [__USE_XOPEN2K8].  Remove redundant #endif.
21360         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21361         Remove redundant #if.
21362         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21363         Remove variable.
21364         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21365         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21367         [BZ #18495]
21368         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21369         (__iswlower): Likewise.
21370         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21371         (__iswlower): Likewise.
21372         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21373         instead of towlower.
21374         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21375         instead of iswlower.  Call __towupper instead of towupper.
21376         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21377         instead of iswalnum.
21379 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21381         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21382         errors to stderr.
21384 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21386         [BZ #15661]
21387         [BZ #17322]
21388         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21389         Check for overflow properly.  Check for O_APPEND.  Ignore large
21390         file system block sizes.  Add comments about problems.
21391         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21392         * manual/filesys.texi (Storage Allocation): New node.
21394 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21396         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21397         cancellable syscalls.
21398         (SYS_ify): Add guard to no redefine it.
21399         (INLINE_SYSCALL): Likewise.
21400         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21401         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21402         SYSCALL_CANCEL instead.
21403         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21404         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21405         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21406         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21407         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21408         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21409         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21410         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21411         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21412         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21413         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21414         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21415         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21416         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21417         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21418         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21419         Likewise.
21420         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21421         (__libc_pread64): Likewise.
21422         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21423         (__libc_preadv): Likewise.
21424         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21425         (__libc_readv64): Likewise.
21426         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21427         (__libc_pwrite): Likewise.
21428         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21429         (__libc_pwrite64): Likewise.
21430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21431         (__libc_pwritev): Likewise.
21432         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21433         (__libc_pwritev64): Likewise.
21434         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21435         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21436         (sync_file_range): Likewise.
21437         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21438         Likewise.
21439         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21440         Likewise.
21441         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21442         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21443         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21444         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21445         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21446         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21447         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21448         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21450         Likewise.
21451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21452         (__libc_read64): Likewise.
21453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21454         Likewise.
21455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21456         Likewise.
21457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21458         Likewise.
21459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21460         Likewise.
21461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21462         (__libc_pread64): Likewise.
21463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21464         Likewise.
21465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21466         (__libc_pwrite64): Likewise.
21467         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21468         (sync_file_range): Likewise.
21469         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21470         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21471         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21472         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21473         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21474         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21475         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21476         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21477         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21478         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21479         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21480         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21481         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21482         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21483         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21484         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21485         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21486         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21487         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21488         Likewise.
21489         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21490         Likewise.
21491         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21492         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21493         Likewise.
21494         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21495         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21496         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21497         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21498         Likewise.
21499         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21500         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21501         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21502         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21503         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21505 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21507         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21508         Include dl-vdso.
21509         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21510         Use VDSO routines for gettimeofday, clock_gettime if
21511         available.
21512         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21513         Declare VDSO symbols.
21514         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21515         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21516         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21517         * sysdeps/unix/sysv/linux/arm/Versions: Add
21518         __vdso_clock_gettime.
21520 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21522         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21523         be an inline implementation regardless of library is built within.
21524         (open_not_cancel_2): Likewise.
21525         (__read_nocancel): Likewise.
21526         (__write_nocancel): Likewise.
21527         (openat_not_cancel): Likewise.
21528         (openat_not_cancel_3): Likewise.
21529         (openat64_not_cancel): Likewise.
21530         (openat64_not_cancel_3): Likewise.
21531         (__close_nocancel): Likewise.
21532         (pause_not_cancel): Likewise.
21533         (nanosleep_not_cancel): Likewise.
21534         (sigsuspend_not_cancel): Likewise.
21536 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21538         [BZ #14958]
21539         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21540         wake-up.
21541         (__pthread_rwlock_rdlock_slow): Likewise.
21542         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21543         Likewise.
21544         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21545         Likewise.
21546         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21547         * nptl/tst-rwlock16.c: New file.
21548         * nptl/Makefile (tests): Add new test.
21550 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21552         [BZ #18324]
21553         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21554         missing wake-up of readers.
21555         * nptl/tst-rwlock15.c: New file.
21556         * nptl/Makefile (tests): Add new test.
21558 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21560         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21561         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21562         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21563         and __nacl_supply_interface_rtld.
21564         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21565         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21566         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21567         Add __nacl_supply_interface_rtld.
21568         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21570 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21572         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21573         isfinite.
21574         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21575         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21577 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21579         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21580         __signbit* with standard C99 macros.
21581         * math/e_exp10l.c: Likewise.
21582         * math/e_exp2l.c: Likewise.
21583         * math/e_scalb.c: Likewise.
21584         * math/e_scalbf.c: Likewise.
21585         * math/e_scalbl.c: Likewise.
21586         * math/s_ldexp.c: Likewise.
21587         * math/s_ldexpf.c: Likewise.
21588         * math/s_ldexpl.c: Likewise.
21589         * math/w_atan2.c: Likewise.
21590         * math/w_atan2f.c: Likewise.
21591         * math/w_atan2l.c: Likewise.
21592         * math/w_cosh.c: Likewise.
21593         * math/w_coshf.c: Likewise.
21594         * math/w_coshl.c: Likewise.
21595         * math/w_exp10.c: Likewise.
21596         * math/w_exp10f.c: Likewise.
21597         * math/w_exp10l.c: Likewise.
21598         * math/w_exp2.c: Likewise.
21599         * math/w_exp2f.c: Likewise.
21600         * math/w_exp2l.c: Likewise.
21601         * math/w_fmod.c: Likewise.
21602         * math/w_fmodf.c: Likewise.
21603         * math/w_fmodl.c: Likewise.
21604         * math/w_hypot.c: Likewise.
21605         * math/w_hypotf.c: Likewise.
21606         * math/w_hypotl.c: Likewise.
21607         * math/w_jnl.c: Likewise.
21608         * math/w_lgamma.c: Likewise.
21609         * math/w_lgamma_r.c: Likewise.
21610         * math/w_lgammaf.c: Likewise.
21611         * math/w_lgammaf_r.c: Likewise.
21612         * math/w_lgammal.c: Likewise.
21613         * math/w_lgammal_r.c: Likewise.
21614         * math/w_pow.c: Likewise.
21615         * math/w_powf.c: Likewise.
21616         * math/w_powl.c: Likewise.
21617         * math/w_remainder.c: Likewise.
21618         * math/w_remainderf.c: Likewise.
21619         * math/w_remainderl.c: Likewise.
21620         * math/w_scalb.c: Likewise.
21621         * math/w_scalbf.c: Likewise.
21622         * math/w_scalbl.c: Likewise.
21623         * math/w_scalbln.c: Likewise.
21624         * math/w_scalblnf.c: Likewise.
21625         * math/w_scalblnl.c: Likewise.
21626         * math/w_sinh.c: Likewise.
21627         * math/w_sinhf.c: Likewise.
21628         * math/w_sinhl.c: Likewise.
21629         * math/w_tgamma.c: Likewise.
21630         * math/w_tgammaf.c: Likewise.
21631         * math/w_tgammal.c: Likewise.
21632         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21633         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21634         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21635         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21636         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21637         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21638         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21639         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21640         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21641         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21642         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21643         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21644         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21645         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21646         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21647         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21648         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21649         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21650         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21651         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21652         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21653         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21654         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21655         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21656         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21657         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21658         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21659         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21660         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21661         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21662         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21663         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21664         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21665         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21666         * stdio-common/printf_fp.c: Likewise.
21667         * stdio-common/printf_fphex.c: Likewise.
21668         * stdio-common/printf_size.c: Likewise.
21670 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21672         [BZ #18470]
21673         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21674         strnlen.
21675         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21676         Remove variable.
21677         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21678         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21679         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21680         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21681         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21682         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21683         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21684         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21685         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21686         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21688         [BZ #18468]
21689         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21690         weak alias of __wmemchr.  Use libc_hidden_weak.
21691         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21692         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21693         instead of wmemchr.
21695 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21697         [BZ #18383]
21698         * elf/tst-tlsalign-extern.c: New file.
21699         * elf/tst-tlsalign-extern-static.c: New file.
21700         * elf/tst-tlsalign-vars.c: New file.
21701         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21702         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21703         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21704         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21705         (test-xfail-tst-tlsalign-extern-static): New variable.
21707 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21709         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21710         Use variable name _sc_err instead of err.
21711         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21712         instead of ret.
21713         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21714         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21715         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21716         (INLINE_SYSCALL): Likewise.
21718         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21719         * include/string.h (__strnlen): Use libc_hidden_proto.
21720         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21721         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21722         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21723         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21724         (libc_hidden_def): Undefine and redefine.
21725         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21726         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21727         __GI_strnlen.
21728         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21729         libc_hidden_def.
21730         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21732         [BZ #18469]
21733         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21734         weak alias of __towlower.  Use libc_hidden_weak.
21735         (towupper): Rename to __towupper and define as weak alias of
21736         __towupper.  Use libc_hidden_weak.
21737         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21738         (__towupper): Likewise.
21739         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21740         __towlower instead of towlower.
21742 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21744         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21745         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21747 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21749         * sysdeps/aarch64/libm-test-ulps: Update.
21751 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21753         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21754         Define.
21755         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21757         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21758         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21759         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21760         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21761         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21763 2015-06-01  Martin Sebor  <msebor@redhat.com>
21765         [BZ #18116]
21766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21767         (__setcontext): Use extended four-operand version of mtsf whenever
21768         possible.
21769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21770         (__novec_swapcontext): Likewise.
21772 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21774         * benchtests/scripts/compare_bench.py: New file.
21775         * benchtests/scripts/import_bench.py (mean): New function.
21776         (split_list): Likewise.
21777         (do_for_all_timings): Likewise.
21778         (compress_timings): Likewise.
21780         * benchtests/scripts/import_bench.py: New file.
21781         * benchtests/scripts/validate_benchout.py: Import import_bench
21782         instead of jsonschema.
21783         (validate_bench): Remove function.
21784         (main): Use import_bench.
21786 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21788         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21789         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21791 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21795 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21797         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21798         set THREAD_SELF->tid to a magic value and futex-wake it.
21799         Pass its address to the thread_exit system call.
21800         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21801         bit is clear.
21802         * sysdeps/nacl/lowlevellock.h: New file.
21803         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21805         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21806         Add TIMEOUT to current time, don't subtract it.
21808 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21810         [BZ #2981]
21811         [BZ #18422]
21812         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21813         ($(objpfx)tst-audit2.out): Also depend on
21814         $(objpfx)tst-auditmod9b.so.
21815         * elf/tst-audit2.c: Include <dlfcn.h>.
21816         (calloc_called): New.
21817         (calloc): Allow to be called more than once.
21818         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21820 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21822         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21823         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21825 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21827         * stdlib/monetary.h: Fix comment.
21829 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21831         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21832         Avoid using variables in #defines that might cause shadowing.
21833         (INTERNAL_VSYSCALL_CALL): Likewise.
21835 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21837         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21839         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21840         * nptl/lll_timedlock_wait.c: ... to this new file.
21841         * nptl/Makefile (libpthread-routines): Add it.
21842         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21843         * nptl/lll_timedwait_tid.c: ... to this new file.
21844         * nptl/Makefile (libpthread-routines): Add it.
21845         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21846         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21847         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21848         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21849         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21850         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21851         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21852         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21853         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21854         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21856 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21858         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21859         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21860         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21862         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21864         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21865         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21866         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21867         * sysdeps/unix/sysv/linux/tile/sysdep.h
21868         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21869         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21870         using vDSO syscall macro.
21872 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21874         [BZ #17293]
21875         * uk_UA: Fix sorting order for Ukrainian locale
21877 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21879         * stdlib/monetary.h: Fix comment.
21881 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21883         [BZ #18234]
21884         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21885         st_mtim and st_ctim members.
21886         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21887         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21888         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21889         (struct stat64): Likewise.
21890         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21891         (struct stat64): Likewise.
21892         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21893         (struct stat64): Likewise.
21895 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21897         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21898         Define and include sysdep-vdso.h.
21899         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21900         Likewise.
21901         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21902         Likewise.
21903         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21904         Define with VDSO_SYMBOL and use PTR_MANGLE.
21905         (__vdso_clock_gettime): Likewise.
21906         (__vdso_clock_getres): Likewise.
21907         (_libc_vdso_platform_setup): Likewise.
21908         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21909         Likewise.
21910         (_libc_vdso_platform_setup): Likewise.
21911         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21912         Likewise.
21913         (__vdso_clock_gettime): Likewise.
21914         (__vdso_clock_getres): Likewise.
21915         (__vdso_get_tbfreq): Likewise.
21916         (__vdso_getcpu): Likewise.
21917         (__vdso_time): Likewise.
21918         (__vdso_sigtramp_rt64): Likewise.
21919         (__vdso_signtramp32): Likewise.
21920         (__vdso_sigtramp_rt32): Likewise.
21921         (_libc_vdso_platform_setup): Likewise.
21922         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21923         Likewise.
21924         (__vdso_clock_gettime): Likewise.
21925         (__vdso_clock_getres): Likewise.
21926         (_libc_vdso_platform_setup): Likewise.
21927         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21928         Likewise.
21929         (__vdso_clock_gettime): Likewise.
21930         (_libc_vdso_platform_setup): Likewise.
21931         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21932         Likewise.
21933         (__vdso_getcpu): Likewise.
21934         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21935         Use VDSO_SYMBOL macro to define.
21936         (__vdso_clock_gettime): Likewise.
21937         (__vdso_clock_getres): Likewise.
21938         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21939         Likewise.
21940         (__vdso_clock_gettime): Likewise.
21941         (__vdso_clock_getres): Likewise.
21942         (__vdso_get_tbfreq): Likewise.
21943         (__vdso_getcpu): Likewise.
21944         (__vdso_time): Likewise.
21945         (__vdso_sigtramp_rt64): Likewise.
21946         (__vdso_signtramp32): Likewise.
21947         (__vdso_sigtramp_rt32): Likewise.
21948         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21949         Likewise.
21950         (__vdso_clock_gettime): Likewise.
21951         (__vdso_clock_getres): Likewise.
21952         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21953         Likewise.
21954         (__vdso_clock_gettime): Likewise.
21955         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21956         Likewise.
21957         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21958         macro.
21959         (INTERNAL_VSYSCALL): Likewise.
21960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21961         Remove macro.
21962         (INTERNAL_VSYSCALL): Likewise.
21963         (INTERNAL_VSYSCALL_NCS): Likewise.
21964         (INTERNAL_VSYSCALL_CALL): New macro.
21965         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21966         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21967         Likewise.
21968         (INTERNAL_VSYSCALL): Likewise.
21969         (INTERNAL_VSYSCALL_NCS): Likewise.
21970         (INTERNAL_VSYSCALL_CALL): New macro.
21971         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21973         (INLINE_VSYSCALL): Remove macro.
21974         (INTERNAL_VSYSCALL): Remove macro.
21975         (INTERNAL_VSYSCALL_NCS): Remove macro.
21976         (INTERNAL_VSYSCALL_CALL): New macro.
21977         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21978         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21979         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21980         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21981         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21983         (INLINE_VSYSCALL): Remove macro.
21984         (INTERNAL_VSYSCALL): Likewise.
21985         (INTERNAL_VSYSCALL_NCS): Likewise.
21986         (INTERNAL_VSYSCALL_CALL): New macro.
21987         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21988         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21989         PTR_DEMANGLE on vDSO pointer.
21990         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21991         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21992         macro.
21993         (INTERNAL_SYSCALL): Likewise.
21994         (INTERNAL_VSYSCALL_NCS): Remove macro.
21995         (INTERNAL_VSYSCALL_CALL): New macro.
21996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21997         Remove macro.
21998         (INTERNAL_VSYSCALL): Likewise.
21999         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
22000         sysdep-vdso.h instead of libc-vdso.h.
22001         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
22002         definition.
22003         (INLINE_VSYSCALL): Likewise.
22004         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
22005         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
22006         definition.
22007         (INLINE_VSYSCALL): Likewise.
22008         (INTERNAL_VSYSCALL): Likewise.
22009         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22010         * sysdeps/unix/sysv/linux/timespec_get.c
22011         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22012         (timespec_get): Use ANSI prototype.
22013         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
22014         and definition for Linux.
22016 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22018         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
22019         * include/libc-symbols.h: libmvec_hidden_* macro series added.
22021 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22023         [BZ #2981]
22024         [BZ #18410]
22025         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
22026         for missing DT_PLTRELSZ.
22028 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22030         Remove obsolete aliases that broke 'locale -a'
22031         [BZ #18412]
22032         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
22033         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
22034         breaking some applications that use 'locale -a' output.
22035         Change the encoding of this file from Latin-1 to ASCII to avoid
22036         other potential problems with people grepping this file.
22038 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22040         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
22041         -fasynchronous-unwind-tables.
22042         (CFLAGS-sendto.c): Likewise.
22043         (CFLAGS-sendmsg.c): Likewise.
22044         (CFLAGS-connect.c): Likewise.
22045         (CFLAGS-recvmsg.c): Likewise.
22046         (CFLAGS-recvfrom.c): Likewise.
22047         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
22048         (SOCKETCALL): New macro: non-cancellable socketcall.
22049         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
22050         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
22051         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
22052         * sysdeps/unix/sysv/linux/accept.c: New file.
22053         * sysdeps/unix/sysv/linux/bind.c: Likewise.
22054         * sysdeps/unix/sysv/linux/connect.c: Likewise.
22055         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
22056         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
22057         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
22058         * sysdeps/unix/sysv/linux/listen.c: Likewise.
22059         * sysdeps/unix/sysv/linux/recv.c: Likewise.
22060         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
22061         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
22062         * sysdeps/unix/sysv/linux/send.c: Likewise.
22063         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
22064         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
22065         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
22066         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
22067         * sysdeps/unix/sysv/linux/socket.c: Likewise.
22068         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
22069         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
22070         prototype.
22071         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
22072         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22073         instead of __internal_xxx function.
22074         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
22075         prototype.
22076         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
22077         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22078         instead of __internal_xxx function.
22079         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
22080         prototype.
22081         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
22082         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22083         instead of __internal_xxx function.
22084         * sysdeps/unix/sysv/linux/accept.S: Remove file.
22085         * sysdeps/unix/sysv/linux/bind.S: Likewise.
22086         * sysdeps/unix/sysv/linux/connect.S: Likewise.
22087         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
22088         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
22089         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
22090         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
22091         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
22092         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
22093         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
22094         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
22095         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22096         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
22097         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
22098         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
22099         * sysdeps/unix/sysv/linux/listen.S: Likewise.
22100         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
22101         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
22102         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
22103         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
22104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
22105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
22106         * sysdeps/unix/sysv/linux/recv.S: Likewise.
22107         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
22108         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
22109         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
22110         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22111         * sysdeps/unix/sysv/linux/send.S: Likewise.
22112         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
22113         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
22114         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
22115         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
22116         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
22117         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
22118         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
22119         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
22120         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
22121         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
22122         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
22123         socketcall is implemented in GLIBC.
22125 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22127         * soft-fp/fmadf4.c: Include <libc-internal.h>.
22128         (__fma): Ignore uninitialized warnings around packing.
22129         * soft-fp/fmasf4.c: Include <libc-internal.h>.
22130         (__fmaf): Ignore uninitialized warnings around packing.
22131         * soft-fp/fmatf4.c: Include <libc-internal.h>.
22132         (__fmal): Ignore uninitialized warnings around packing.
22134         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
22135         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22136         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
22137         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22139         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22140         switch statement into default case.
22141         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22143         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22144         a conditional in forcing "inexact".
22145         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22146         Likewise.
22148 2015-05-22  Roland McGrath  <roland@hack.frob.com>
22150         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22151         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22152         for each INTERNAL_SYSCALL use.
22154 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22156         [BZ #438]
22157         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
22158         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
22159         variable.
22161         [BZ #18444]
22162         * string/basename.c (basename): Rename to __basename and define as
22163         weak alias of __basename.  Use libc_hidden_weak.
22164         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
22165         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
22166         __basename instead of basename.
22167         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
22168         Remove variable.
22169         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22171 2015-05-18  Florian Weimer  <fweimer@redhat.com>
22173         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22174         (_IO_JUMPS_FILE_plus): New.
22175         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22176         _IO_CAST_FIELD_ACCESS.
22177         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22178         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22179         * libio/freopen.c (freopen): Likewise.
22180         * libio/freopen64.c (freopen64): Likewise.
22181         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22182         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22183         * libio/iofwide.c (_IO_fwide): Likewise.
22184         * libio/memstream.c (open_memstream): Likewise.
22185         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22186         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22187         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22189 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22191         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22192         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22193         NADJ.
22194         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22195         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22196         NADJ.
22197         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22198         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22199         NADJ.
22201         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22202         (p == 4) case.
22204         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22205         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22206         Remove variable.
22207         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22208         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22209         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22211 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22213         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22214         Adjust jump table label generation macros.
22216 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22218         * stdio-common/vfprintf.c (vfprintf): Move local variables
22219         args_malloced, specs, specs_malloced, and the code after
22220         do_positional to the printf_positional function.
22221         (printf_positional): New function.
22223 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22225         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22226         function.
22227         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22228         STEP4_TABLE, process_arg): Move macro definitions
22229         out of the vfprintf function.  (Cosmetic change only.)
22231 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22233         * benchtests/Makefile (stdio-common-bench): Define.
22234         (benchset): Add stdio-common-bench.
22235         * sprintf-inputs: New file.
22236         * sprintf-source.c: New file.
22238 2015-05-21  Andreas Schwab  <schwab@suse.de>
22240         [BZ #13028]
22241         [BZ #17053]
22242         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22243         of struct __res_state.
22244         * resolv/res_send.c (__libc_res_nsend): Likewise.
22245         (get_nsaddr): New function.
22246         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22247         statp directly.
22249 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22251         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22252         -D_POSIX_C_SOURCE=199506L.
22254         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22256         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22257         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22258         Do not mention otherwise.
22259         [POSIX] (_XOPEN_VERSION): Do not expect.
22260         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22261         [POSIX] (_POSIX2_C_BIND): Likewise.
22262         [POSIX] (_POSIX2_VERSION): Likewise.
22263         [POSIX] (_XOPEN_XPG2): Likewise.
22264         [POSIX] (_XOPEN_XPG3): Likewise.
22265         [POSIX] (_XOPEN_XPG4): Likewise.
22266         [POSIX] (_XOPEN_UNIX): Likewise.
22267         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22268         [POSIX] (_POSIX_BARRIERS): Likewise.
22269         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22270         [POSIX] (_POSIX_CPUTIME): Likewise.
22271         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22272         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22273         [POSIX] (_POSIX_SHELL): Likewise.
22274         [POSIX] (_POSIX_SPAWN): Likewise.
22275         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22276         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22277         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22278         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22279         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22280         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22281         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22282         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22283         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22284         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22285         [POSIX] (_POSIX2_PBS): Likewise.
22286         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22287         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22288         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22289         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22290         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22291         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22292         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22293         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22294         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22295         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22296         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22297         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22298         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22299         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22300         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22301         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22302         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22303         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22304         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22305         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22306         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22307         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22308         [POSIX] (_SC_2_C_BIND): Likewise.
22309         [POSIX] (_SC_2_C_VERSION): Likewise.
22310         [POSIX] (_SC_2_PBS): Likewise.
22311         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22312         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22313         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22314         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22315         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22316         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22317         [POSIX] (_SC_BARRIERS): Likewise.
22318         [POSIX] (_SC_BASE): Likewise.
22319         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22320         [POSIX] (_SC_DEVICE_IO): Likewise.
22321         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22322         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22323         [POSIX] (_SC_FD_MGMT): Likewise.
22324         [POSIX] (_SC_FIFO): Likewise.
22325         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22326         [POSIX] (_SC_FILE_LOCKING): Likewise.
22327         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22328         [POSIX] (_SC_IOV_MAX): Likewise.
22329         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22330         [POSIX] (_SC_NETWORKING): Likewise.
22331         [POSIX] (_SC_PAGE_SIZE): Likewise.
22332         [POSIX] (_SC_PASS_MAX): Likewise.
22333         [POSIX] (_SC_PIPE): Likewise.
22334         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22335         [POSIX] (_SC_REGEXP): Likewise.
22336         [POSIX] (_SC_SHELL): Likewise.
22337         [POSIX] (_SC_SIGNALS): Likewise.
22338         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22339         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22340         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22341         [POSIX] (_SC_USER_GROUPS): Likewise.
22342         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22343         [POSIX] (_SC_STREAMS): Likewise.
22344         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22345         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22346         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22347         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22348         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22349         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22350         [POSIX] (_PC_FILESIZEBITS): Likewise.
22351         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22352         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22353         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22354         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22355         [POSIX] (uid_t): Likewise.
22356         [POSIX] (gid_t): Likewise.
22357         [POSIX] (off_t): Likewise.
22358         [POSIX] (pid_t): Likewise.
22359         [POSIX] (cuserid): Allow.
22360         (_SC_2_CHAR_TERM): Require constant.
22361         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22362         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22363         variable.
22365 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22367         * sysdeps/nacl/pthread-pids.h: New file.
22368         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22369         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22371         * nptl/pthread-pids.h: New file.
22372         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22373         * nptl/nptl-init.c: Include <pthread-pids.h>.
22374         (__pthread_initialize_minimal_internal):
22375         Call __pthread_initialize_pids instead of set_tid_address syscall.
22377         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22378         * sysdeps/posix/usleep.c: ... here.
22380 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22382         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22383         call_pselect6 object.
22384         [$(subdir) = io]: Remove call_sync_file_range object.
22385         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22386         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22387         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22388         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22390 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22392         * math/s_cproj.c: Add include "math_private.h".
22393         * math/s_cprojf.c: Likewise.
22394         * math/s_cprojl.c: Likewise.
22396 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22398         [BZ #18244]
22399         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22400         high mantissa bit when testing whether P is a NaN.
22401         * math/libm-test.inc (remainder_test_data): Add more tests.
22402         (remquo_test_data): Likewise.
22404         [BZ #18049]
22405         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22406         below -32, return the argument, with underflow if subnormal.
22407         * math/auto-libm-test-in: Add more tests of atanh.
22408         * math/auto-libm-test-out: Regenerated.
22410 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22412         [BZ #18434]
22413         * nptl/tst-sem15.c: New file.
22414         * nptl/Makefile (tests): Add it.
22415         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22416         s/<</>>/ to fix typo in EOVERFLOW check.
22417         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22419 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22421         * manual/strings.texi (envz_remove): Fix typo in safety
22422         annotations.
22424 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22425             Steve Ellcey  <sellcey@imgtec.com>
22427         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22428         in order to avoid strict alias warnings.
22429         (iruserok_af): Ditto for ra.
22431 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22433         [BZ #17581]
22434         * malloc/hooks.c
22435         (magicbyte): Convert to a function and avoid returning 0x01.
22436         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22437         (mem2chunk_check): Fix unsigned comparisons to zero.
22438         Hoist defs of sz and magic.
22440 2015-05-19  Richard Henderson  <rth@redhat.com>
22442         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22444         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22446 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22448         [BZ #16159]
22449         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22450         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22451         (reused_arena): Find a non-corrupt arena.
22452         (heap_trim): Pass arena to unlink.
22453         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22454         malloc_printerr.
22455         (top_check): Likewise.
22456         (free_check): Likewise.
22457         (realloc_check): Likewise.
22458         * malloc/malloc.c (malloc_printerr): Add arena argument.
22459         (unlink): Likewise.
22460         (munmap_chunk): Adjust.
22461         (ARENA_CORRUPTION_BIT): New macro.
22462         (arena_is_corrupt): Likewise.
22463         (set_arena_corrupt): Likewise.
22464         (sysmalloc): Use mmap if there are no usable arenas.
22465         (_int_malloc): Likewise.
22466         (__libc_malloc): Don't fail if arena_get returns NULL.
22467         (_mid_memalign): Likewise.
22468         (__libc_calloc): Likewise.
22469         (__libc_realloc): Adjust for additional argument to
22470         malloc_printerr.
22471         (_int_free): Likewise.
22472         (malloc_consolidate): Likewise.
22473         (_int_realloc): Likewise.
22474         (_int_memalign): Don't touch corrupt arenas.
22475         * malloc/tst-malloc-backtrace.c: New test case.
22477         * Makefile (summarize-tests): Fix return value on success.
22479         * manual/string.texi (Envz Functions): Add envz_remove.
22481 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22483         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22484         (invalid_name): New function, broken out of ...
22485         (__opendirat): ... here.  Call it.
22486         (need_isdir_precheck): New function, broken out of ...
22487         (__opendirat): ... here.  Call it.
22488         Use __fxstatat64, not __xstatat64.
22489         (opendir_oflags): New function, broken out of ...
22490         (__opendirat): ... here.  Call it.
22491         (opendir_tail): New function, broken out of ...
22492         (__opendirat): ... here.  Call it.
22493         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22494         opendir_tail, rather than punting to __opendirat.
22495         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22497 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22499         * .gitignore: Ignore generated *.pyc.
22501 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22503         * include/stdio.h: Define __need_wint_t.
22504         * test-skeleton.c: Avoid `for' loop initial declaration.
22505         * nptl/tst-initializers1.c: Use test-skeleton.c.
22507 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22509         [BZ #18418]
22510         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22512 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22514         [BZ #16352]
22515         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22516         (__ieee754_atanh): Force underflow exception for results with
22517         small absolute value.
22518         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22519         (__ieee754_atanhf): Force underflow exception for results with
22520         small absolute value.
22521         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22522         (__ieee754_atanh): Force underflow exception for results with
22523         small absolute value.
22524         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22525         (__ieee754_atanhf): Force underflow exception for results with
22526         small absolute value.
22527         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22528         (__ieee754_atanhl): Force underflow exception for results with
22529         small absolute value.
22530         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22531         (__ieee754_atanhl): Force underflow exception for results with
22532         small absolute value.
22533         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22534         (__ieee754_atanhl): Force underflow exception for results with
22535         small absolute value.
22536         * math/auto-libm-test-in: Do not allow missing underflow
22537         exceptions from atanh.
22538         * math/auto-libm-test-out: Regenerated.
22540         [BZ #18221]
22541         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22542         2**-28 as threshold for returning x or +/- 1/x.
22543         * math/auto-libm-test-in: Add more tests of tan.
22544         * math/auto-libm-test-out: Regenerated.
22546         [BZ #18220]
22547         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22548         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22549         * math/auto-libm-test-in: Add another test of lgamma.
22550         * math/auto-libm-test-out: Regenerated.
22552 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22554         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22555         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22556         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22557         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22558         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22559         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22560         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22561         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22562         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22563         (log1): Use fabs.  (my_log2): Use fabs.
22564         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22565         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22567         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22568         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22569         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22570         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22571         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22572         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22573         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22574         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22576 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22578         [BZ #18217]
22579         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22580         as threshold for returning 1 - x.
22581         * math/auto-libm-test-in: Add more tests of erfc.
22582         * math/auto-libm-test-out: Regenerated.
22584 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22586         [BZ #18196]
22587         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22588         threshold for large arguments.
22589         * math/auto-libm-test-in: Add another test of atan.
22590         * math/auto-libm-test-out: Regenerated.
22592         [BZ #16339]
22593         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22594         (__log1p): Force underflow exception for results with small
22595         absolute value.
22596         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22597         (__log1pf): Force underflow exception for results with small
22598         absolute value.
22599         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22600         (__log1p): Force underflow exception for results with small
22601         absolute value.
22602         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22603         (__log1pf): Force underflow exception for results with small
22604         absolute value.
22605         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22606         (__log1pl): Force underflow exception for results with small
22607         absolute value.
22608         * math/auto-libm-test-in: Do not allow missing underflow
22609         exceptions from log1p.
22610         * math/auto-libm-test-out: Regenerated.
22612 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22613             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22615         [BZ #16704]
22616         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22618 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22620         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22621         (libmvec): New variable.
22622         * configure.ac: Added option for mathvec build.
22623         * configure: Regenerated.
22624         * mathvec/Depend: New file.
22625         * mathvec/Makefile: New file.
22626         * shlib-versions: Added libmvec.
22627         * math/Makefile: Added rule for libm.so installation.
22629         * bits/math-vector.h: New file.
22630         * bits/libm-simd-decl-stubs.h: New header.
22631         * math/Makefile (headers): Added new header
22632         libm-simd-decl-stubs.h.
22633         * math/math.h (__MATHCALL_VEC): New macro.
22635         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22636         for conditions in testing functions.
22637         * math/Makefile: Added call of libm-have-vector-test.sh.
22638         * math/libm-test.inc (HAVE_VECTOR): New macros.
22640         * math/libm-test.inc: START refactored.
22641         * math/test-double.c (TEST_MATHVEC): Add define.
22642         * math/test-float.c: Likewise.
22643         * math/test-idouble.c: Likewise.
22644         * math/test-ifloat.c: Likewise.
22645         * math/test-ildoubl.c: Likewise.
22646         * math/test-ldouble.c: Likewise.
22647         * sysdeps/generic/math-tests-arch.h
22648         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22649         architecture check.
22651         * math/test-double.c (FUNC_TEST): New macro.
22652         * math/test-float.c: Likewise.
22653         * math/test-idouble.c: Likewise.
22654         * math/test-ifloat.c: Likewise.
22655         * math/test-ildoubl.c: Likewise.
22656         * math/test-ldouble.c: Likewise.
22657         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22659 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22661         * sysdeps/nacl/fdopendir.c: New file.
22663         * dirent/scandir-tail.c: New file.
22664         * dirent/scandir64-tail.c: New file.
22665         * dirent/Makefile (routines): Add them.
22666         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22667         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22668         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22669         [!SCANDIR] (SCANDIR_TAIL): New macro.
22670         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22671         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22672         (SCANDIRAT): Macro removed.
22673         (SCANDIR_TAIL): New macro.
22674         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22675         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22676         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22677         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22678         (READDIR): Macro removed.
22679         (SCANDIR_TAIL): New macro.
22680         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22681         (SCANDIR_TAIL): New macro.
22683         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22684         * dirent/scandir-cancel.c: ... to this new file.
22685         * dirent/Makefile (routines): Add it.
22686         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22687         * sysdeps/unix/sysv/linux/i386/scandir64.c
22688         (SKIP_SCANDIR_CANCEL): Macro removed.
22689         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22691         * dirent/tst-scandir.c: New file.
22692         * dirent/tst-scandir64.c: New file.
22693         * dirent/Makefile (tests): Add them.
22695 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22697         [BZ #18409]
22698         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22700 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22702         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22703         list.
22705 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22707         * benchtests/bench-strcoll.c: New benchmark.
22708         * benchtests/Makefile: Generate locales and run benchmark.
22709         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22710         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22711         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22712         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22713         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22714         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22715         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22716         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22717         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22718         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22719         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22720         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22721         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22722         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22723         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22724         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22725         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22726         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22727         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22728         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22729         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22730         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22731         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22732         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22734 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22736         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22737         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22739 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22741         * posix/uname-values.h: New file.
22742         * posix/uname.c: Include that instead of <config-name.h>.
22743         * sysdeps/nacl/uname-values.h: New file.
22744         * sysdeps/arm/nacl/uname-values.h: New file.
22746 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22748         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22749         splitting into fields.
22751 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22753         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22754         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22755         * locale/localeinfo.h: Add enum collation_encoding_type.
22756         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22757         * programs/ld-collate.c (collate_output): Add encoding type info.
22758         * string/strcoll_l.c (STRDIFF): New function.
22759         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22760         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22762 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22764         [BZ #18397]
22765         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22766         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22767         <fpu_control.h> instead of <math/fpu_control.c>.
22768         * sysdeps/mips/mips32/fpu/Makefile: New file.
22770 2015-05-11  Andreas Schwab  <schwab@suse.de>
22772         [BZ #18007]
22773         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22774         nss_endgrent.
22775         (_nss_compat_endgrent): Call nss_endgrent.
22776         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22777         nss_endpwent.
22778         (_nss_compat_endpwent): Call nss_endpwent.
22779         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22780         needent, call nss_setspent only if non-zero.
22781         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22782         (internal_endspent): Don't call nss_endspent.
22783         (_nss_compat_endspent): Call nss_endspent.
22784         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22785         Remove.  All uses removed.
22786         (internal_setent): Remove parameter stayopen, add parameter
22787         stream.  Use it instead of global variable.
22788         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22789         (internal_endent, internal_getent): Add parameter stream.  Use it
22790         instead of global variable.
22791         (CONCAT(_nss_files_end,ENTNAME))
22792         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22793         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22794         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22795         uses removed.
22796         (internal_setent, internal_endent): Add parameter stream.  Use it
22797         instead of global variable.
22798         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22799         stream.
22800         (get_next_alias): Add parameter stream.
22801         (_nss_files_getaliasent_r): Pass global stream.
22802         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22803         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22804         (_nss_files_gethostbyname4_r): Pass local stream to
22805         internal_setent, internal_getent and internal_endent.  Remove
22806         locking.
22808 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22810         * tst-strfmon1.c (tests): Update expected currency symbol.
22812 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22814         * sysdeps/nacl/gethostname.c: New file.
22816 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22818         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22819         and sinh.
22820         * math/auto-libm-test-out: Regenerated.
22821         * sysdeps/i386/fpu/libm-test-ulps: Update.
22822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22824 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22826         [BZ #18125]
22827         * stdlib/tst-setcontext3.c: New file.
22828         * stdlib/tst-setcontext3.sh: New file.
22829         * stdlib/Makefile (tests): Add tst-setcontext3.
22830         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22831         to verify test program created output file.
22832         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22833         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22834         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22835         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22837 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22839         [BZ #18383]
22840         * elf/tst-tlsalign.c: New file.
22841         * elf/tst-tlsalign-static.c: New file.
22842         * elf/tst-tlsalign-lib.c: New file.
22843         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22844         (tests-static): Add tst-tlsalign-static.
22845         (modules-names): Add tst-tlsalign-lib.
22846         (test-xfail-tst-tlsalign): New variable.
22847         (test-xfail-tst-tlsalign-static): New variable.
22849         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22850         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22852 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22854         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22855         csqrt, erfc, sin and sincos.
22856         * math/auto-libm-test-out: Regenerated.
22857         * sysdeps/i386/fpu/libm-test-ulps: Update.
22858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22860 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22862         * sysdeps/aarch64/libm-test-ulps: Update.
22864 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22866         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22867         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22868         * math/auto-libm-test-out: Regenerated.
22869         * sysdeps/i386/fpu/libm-test-ulps: Update.
22870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22872 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22874         [BZ #18265]
22875         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22876         (wcsncpy): Likewise.
22878 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22880         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22881         Assume __ASSUME_FALLOCATE is always true.
22882         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22883         (__posix_fallocate64_l64): Likweise.
22884         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22885         (posix_fallocate): Likewise.
22886         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22887         (__posix_fallocate64_l64): Likewise.
22888         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22889         [!__ASSUME_FALLOCATE]: Add comment.
22891 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22893         * sysdeps/unix/sysv/linux/i386/Makefile
22894         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22895         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22896         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22897         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22898         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22899         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22900         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22902 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22904         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22905         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22906         tgamma.
22907         * math/auto-libm-test-out: Regenerated.
22908         * sysdeps/i386/fpu/libm-test-ulps: Update.
22909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22911 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22913         * math/auto-libm-test-in: Add more tests of tgamma.
22914         * math/auto-libm-test-out: Regenerated.
22915         * sysdeps/i386/fpu/libm-test-ulps: Update.
22916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22918         * math/auto-libm-test-in: Add more tests of tanh.
22919         * math/auto-libm-test-out: Regenerated.
22920         * sysdeps/i386/fpu/libm-test-ulps: Update.
22921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22923         * math/auto-libm-test-in: Add more tests of tan.
22924         * math/auto-libm-test-out: Regenerated.
22925         * sysdeps/i386/fpu/libm-test-ulps: Update.
22926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22928         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22929         * math/auto-libm-test-out: Regenerated.
22930         * sysdeps/i386/fpu/libm-test-ulps: Update.
22931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22933         * math/auto-libm-test-in: Add another test of pow.
22934         * math/auto-libm-test-out: Regenerated.
22935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22937         * math/auto-libm-test-in: Add more tests of lgamma.
22938         * math/auto-libm-test-out: Regenerated.
22939         * sysdeps/i386/fpu/libm-test-ulps: Update.
22940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22942         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22943         log1p.
22944         * math/auto-libm-test-out: Regenerated.
22945         * sysdeps/i386/fpu/libm-test-ulps: Update.
22946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22948 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22950         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22951         Elf64_Chdr structs and ELFCOMPRESS constants.
22953 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22955         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22956         expm1.
22957         * math/auto-libm-test-out: Regenerated.
22958         * sysdeps/i386/fpu/libm-test-ulps: Update.
22959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22961         * math/auto-libm-test-in: Add more tests of erf and erfc.
22962         * math/auto-libm-test-out: Regenerated.
22963         * sysdeps/i386/fpu/libm-test-ulps: Update.
22964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22966 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22968         * config.h.in (HAVE_AARCH64_BE): Add.
22970 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22972         * math/auto-libm-test-in: Add more tests of csqrt.
22973         * math/auto-libm-test-out: Regenerated.
22974         * sysdeps/i386/fpu/libm-test-ulps: Update.
22975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22977         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22978         * math/auto-libm-test-out: Regenerated.
22979         * sysdeps/i386/fpu/libm-test-ulps: Update.
22980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22982         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22984 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22986         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22987         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22989         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22990         (euidaccess, eaccess): Define as weak aliases.
22992         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22993         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22994         but __suseconds_t is often 'long int' so some sources assume that
22995         type is being used (e.g. they use %ld to print tv_usec).
22997 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22999         [BZ #18007]
23000         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
23001         (CVE-2014-8121)
23002         * nss/tst-nss-getpwent.c: New file.
23003         * nss/Makefile (tests): Add new test.
23005 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
23007         [BZ #18346]
23008         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
23009         exponents less than 48 as cases where high part of mantissa needs
23010         examining to determine whether argument is integral.
23011         * math/libm-test.inc (round_test_data): Add more tests.
23013 2015-04-28  Mark Wielaard  <mjw@redhat.com>
23015         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
23017 2015-04-27  David S. Miller  <davem@davemloft.net>
23019         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
23020         __tls_get_addr.
23021         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23023 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
23025         [BZ#18333]
23026         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
23028 2015-04-27  Florian Weimer  <fweimer@redhat.com>
23030         [BZ#18333]
23031         * time/tzset.c (parse_tzname): Return error on memory allocation
23032         failure.
23033         * test-skeleton.c (struct temp_name_list): Change type of name
23034         member to non-const.
23035         (add_temp_file): Create a copy of the file name.
23036         (delete_temp_files): Deallocate memory.
23037         (create_temp_file): Add comment.
23039 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23041         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
23042         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
23044 2015-04-24  Roland McGrath  <roland@hack.frob.com>
23046         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
23047         * sysdeps/arm/configure: Regenerated.
23049 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23051         [BZ #17715]
23052         * time/tzfile.c (__tzfile_read): Check for large values of
23053         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
23054         * time/tzset.c (__tzstring_len): New function, based on the old
23055         __tzstring function.
23056         (__tzstring): Call __tzstring_len.
23057         (parse_tzname): New helper function extracted from
23058         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
23059         the input string.
23060         (parse_offset): New helper function extracted from
23061         __tzset_parse_tz.  Replace switch with fallthrough with
23062         initialization before sscanf.
23063         (parse_rule): Likewise.
23064         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
23065         new-style function definition.
23066         * timezone/Makefile (tests): Add tst-tzset.
23067         (tst-tzset.out): Dependencies on time zone files.
23068         (tst-tzset-ENV): Set TZDIR.
23069         (testdata/XT%): Copy crafted time zone files.
23070         * timezone/README: Mention crafted time zone files.
23071         * timezone/testdata/XT1, timezone/testdata/XT2,
23072         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
23073         files.
23074         * timezone/tst-tzset.c: New test.
23076 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23078         * Makeconfig (+gccwarn): Remove -Winline.
23080 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23082         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
23084 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23086         * NEWS: Mention sysconf() cache information support for s390.
23087         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
23089 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
23091         * math/k_casinh.c (__kernel_casinh): Use __copysign.
23092         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
23093         (__nearbyint): Likewise.
23094         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
23095         (copysignl): Likewise.
23097 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
23099         [BZ #18287]
23100         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
23101         based on padding.  (CVE-2015-1781)
23103 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23105         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
23106         libc-vdso.h.
23107         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
23108         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
23109         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
23110         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23111         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23112         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
23113         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
23114         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23115         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23116         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
23117         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23118         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23119         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23120         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
23121         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23122         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
23123         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
23124         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
23125         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
23126         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
23127         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
23128         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
23129         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
23131 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
23133         * stdlib/setenv.c (__add_to_environ):
23134         Dump core quickly if setenv (..., NULL, ...) is called.
23135         This time, do it the right way, and pacify GCC with a pragma.
23137 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23139         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23140         IMAP->l_prev cannot be null, and #if out the code for the contrary
23141         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23142         believe that NS (&_dl_ns[NSID]) could point outside the array.
23144         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23145         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23146         before using NSID as an index.
23148 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
23150         [BZ #17825]
23151         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23152         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23153         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23155 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23157         Add preliminary port to Google Native Client on ARM.
23158         * abi-tags (.*-.*-nacl.*): New entry.
23159         * sysdeps/arm/nacl: New directory.
23160         * sysdeps/nacl: New directory.
23162 2015-04-16  David S. Miller  <davem@davemloft.net>
23164         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
23165         lowlevellock-futex.h
23167 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
23169         * sysdeps/tile/configure.ac: New file.
23170         * sysdeps/tile/configure: Regenerated.
23172 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23174         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
23175         conditionals for weak_alias and libc_hidden_weak.
23176         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23177         libc_hidden_weak and weak_alias.
23178         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23179         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23180         and weak_alias for static one.
23182 2015-04-15  David S. Miller  <davem@davemloft.net>
23184         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23186 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23188         [BZ #18206]
23189         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23190           Use signed comparision instead of substraction to avoid
23191           overflow bug.
23192         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23193           Take the sign of ret.
23194         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23195           Do not expect precise return values. Only the sign matters.
23196         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23197         * wcsmbs/test-wcsncmp.c: New File.
23198         * string/test-strncmp.c: Add wcsncmp support.
23200 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23202         [BZ #6792]
23203         * math/w_log1p.c: New file.
23204         * math/w_log1pf.c: Likewise.
23205         * math/w_log1pl.c: Likewise.
23206         * math/Makefile (libm-calls): Add w_log1p.
23207         * math/s_log1pl.c (log1pl): Remove weak_alias.
23208         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23209         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23210         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23211         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23212         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23213         [NO_LONG_DOUBLE] (log1pl): Likewise.
23214         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23215         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23216         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23217         (log1p): Remove long_double_symbol.
23218         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23219         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23220         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23221         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23222         remove weak_alias for corresponding log1p function.
23223         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23224         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23225         * sysdeps/ia64/fpu/w_log1p.c: New file.
23226         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23227         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23228         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23230 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23232         [BZ #18247]
23233         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23234         decimal exponent by 1.
23235         * stdlib/tst-strtod-round-data: Add more tests.
23236         * stdlib/tst-strtod-round.c (tests): Regenerated.
23238 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23240         * math/auto-libm-test-in: Add more tests of clog and clog10.
23241         * math/auto-libm-test-out: Regenerated.
23242         * sysdeps/i386/fpu/libm-test-ulps: Update.
23243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23245 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23247         * Makeconfig (module-cppflags): Exclude all .v.i files.
23248         (skip-module-cppflags): Variable removed.
23250         * configure.ac (libc_config_ok): Initialize before reading
23251         preconfigure scripts, not after.
23252         * configure: Regenerated.
23254         * test-skeleton.c (TIMEOUT): Move #define to top level.
23255         (main): Grok environment variable TEST_DIRECT.  If set, print
23256         test expectation details into that file and then behave as if
23257         given --direct.
23259 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23261         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23262         warning on 32-bit.
23264 2015-04-08  David S. Miller  <davem@davemloft.net>
23266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23268 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23270         * math/auto-libm-test-in: Add more tests of atanh.
23271         * math/auto-libm-test-out: Regenerated.
23272         * sysdeps/i386/fpu/libm-test-ulps: Update.
23273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23275         * math/auto-libm-test-in: Add more tests of atan.
23276         * math/auto-libm-test-out: Regenerated.
23277         * sysdeps/i386/fpu/libm-test-ulps: Update.
23278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23280 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23282         * elf/pldd.c (main): Rewrite to use struct
23283         scratch_buffer instead of extend_alloca.
23284         * elf/pldd-xx.c (find_maps): Likewise.
23285         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23286         <alloca.h>.
23287         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23288         scratch_buffer instead of extend_alloca.
23289         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23290         grp/compat-initgroups.c.
23291         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23292         Rewrite to use struct scratch_buffer instead of extend_alloca.
23293         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23294         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23296 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23298         * math/auto-libm-test-in: Add more tests of cbrt.
23299         * math/auto-libm-test-out: Regenerated.
23300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23302         * math/auto-libm-test-in: Add more tests of cabs.
23303         * math/auto-libm-test-out: Regenerated.
23304         * sysdeps/i386/fpu/libm-test-ulps: Update.
23305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23307         [BZ #18210]
23308         [BZ #18211]
23309         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23310         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23311         computations.
23312         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23313         clog10.
23314         * math/auto-libm-test-out: Regenerated.
23315         * sysdeps/i386/fpu/libm-test-ulps: Update.
23316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23318         [BZ #18197]
23319         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23320         (atan): Set FE_TONEAREST mode for internal computations.
23321         * math/auto-libm-test-in: Add more tests of atan.
23322         * math/auto-libm-test-out: Regenerated.
23324 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23326         [BZ #17930]
23327         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23329 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23331         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23333 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23335         * include/scratch_buffer.h: New file.
23336         * malloc/scratch_buffer_grow.c: Likewise.
23337         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23338         * malloc/scratch_buffer_set_array_size.c: Likewise.
23339         * malloc/tst-scratch_buffer.c: Likewise.
23340         * malloc/Makefile (routines): Add scratch_buffer_grow.
23341         (tests): Add test case.
23342         * malloc/Versions (GLIBC_PRIVATE): Export
23343         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23344         __libc_scratch_buffer_set_array_size.
23346 2015-04-06  Richard Henderson  <rth@redhat.com>
23348         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23349         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23351         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23352         unsigned int before printing.
23354 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23356         [BZ #17596]
23357         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23358         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23360 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23362         * include/libc-internal.h (libc_max_align_t): Define.
23364 2015-04-02  Andreas Schwab  <schwab@suse.de>
23366         [BZ #16850]
23367         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23369 2015-04-02  Mel Gorman  <mgorman@suse.de>
23371         [BZ #17195]
23372         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23373         as well as the main arena.
23375 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23377         [BZ #18185]
23378         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23379         sharing L2 cache to 2 for Silvermont/Knights Landing.
23381 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23383         [BZ #17711]
23384         * config.make.in (have-protected-data): New.
23385         * configure.ac: Check linker support for protected data symbol.
23386         * configure: Regenerated.
23387         * elf/Makefile (modules-names): Add tst-protected1moda and
23388         tst-protected1modb if $(have-protected-data) is yes.
23389         (tests): Add tst-protected1a and tst-protected1b if
23390         $(have-protected-data) is yes.
23391         ($(objpfx)tst-protected1a): New.
23392         ($(objpfx)tst-protected1b): Likewise.
23393         (tst-protected1modb.so-no-z-defs): Likewise.
23394         * elf/tst-protected1a.c: New file.
23395         * elf/tst-protected1b.c: Likewise.
23396         * elf/tst-protected1mod.h: Likewise.
23397         * elf/tst-protected1moda.c: Likewise.
23398         * elf/tst-protected1modb.c: Likewise.
23400 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23402         [BZ #17711]
23403         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23404         indicates it is called from do_lookup_x on relocation against
23405         protected data, skip the data definion in the executable from
23406         copy reloc.
23407         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23408         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23409         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23410         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23411         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23412         otherwise to 0.
23413         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23414         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23415         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23416         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23417         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23418         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23420 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23422         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23423         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23425 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23427         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23428         THREAD_SETMEM_NC.
23429         * sysdeps/x86_64/nptl/tls.h: Ditto.
23431 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23433         * dlfcn/tststatic.c (main): Converted to ...
23434         (do_test): ... this.
23435         (TEST_FUNCTION): New macro.
23436         Include test-skeleton.c.
23438 2015-03-26  Alan Modra  <amodra@gmail.com>
23440         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23441         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23442         zero for undefined weak.
23443         (elf_machine_plt_conflict): Similarly.
23445 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23447         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23448         atanh.
23449         * math/auto-libm-test-out: Regenerated.
23450         * sysdeps/i386/fpu/libm-test-ulps: Update.
23451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23453         * math/auto-libm-test-in: Add another test of asin.
23454         * math/auto-libm-test-out: Regenerated.
23455         * sysdeps/i386/fpu/libm-test-ulps: Update.
23456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23458         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23459         Remove macro.
23460         (LLL_EBX_REG): Likewise.
23461         (LLL_ENTER_KERNEL): Likewise.
23463         * math/auto-libm-test-in: Add more tests of asin.
23464         * math/auto-libm-test-out: Regenerated.
23465         * sysdeps/i386/fpu/libm-test-ulps: Update.
23466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23468         [BZ #18138]
23469         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23470         libc_do_syscall_args): New structure.
23471         (INTERNAL_SYSCALL_MAIN_0): New macro.
23472         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23473         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23474         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23475         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23476         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23477         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23478         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23479         Replace conditional definitions by conditional definitions of ....
23480         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23481         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23482         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23483         (libpthread-sysdep_routines): Add libc-do-syscall.
23484         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23485         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23486         to __NR_futex not 240.
23488 2015-03-25  Alan Modra  <amodra@gmail.com>
23490         * NEWS: Advertise TLS optimization.
23491         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23492         (DT_PPC_NUM): Increment.
23493         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23494         (CHECK_STATIC_TLS): Use here.
23495         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23496         TLS descriptors.
23497         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23498         * sysdeps/powerpc/dl-tls.c: New file.
23499         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23500         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23501         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23502         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23507 2015-03-25  Alan Modra  <amodra@gmail.com>
23509         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23510         for overlapping .opd entries" to "support...".
23511         * sysdeps/powerpc/powerpc64/configure: Regenerate
23513 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23515         * math/auto-libm-test-in: Add more tests of acos.
23516         * math/auto-libm-test-out: Regenerated.
23517         * sysdeps/i386/fpu/libm-test-ulps: Update.
23518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23520         * math/auto-libm-test-in: Add more tests of expm1.
23521         * math/auto-libm-test-out: Regenerated.
23522         * sysdeps/i386/fpu/libm-test-ulps: Update.
23523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23525 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23527         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23528         * math/auto-libm-test-out: Regenerated.
23529         * sysdeps/i386/fpu/libm-test-ulps: Update.
23530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23532         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23535         * math/auto-libm-test-in: Add more tests of log2.
23536         * math/auto-libm-test-out: Regenerated.
23537         * sysdeps/i386/fpu/libm-test-ulps: Update.
23538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23540 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23542         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23543         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23544         _IO_IS_APPENDING bit in READ_WRITE instead.
23546 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23548         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23549         (__determine_cpumask_size): Replace extend_alloca with a
23550         variable-length array.  Do not treat res == 0 as an error.
23552 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23554         [BZ #18100]
23555         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23556         and integer overflow.
23557         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23558         (main): Add integer overflow tests.
23559         * manual/pattern.texi (Calling Wordexp): Document additional use
23560         for WRDE_SYNTAX.
23562 2015-03-23  Alan Modra  <amodra@gmail.com>
23564         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23565         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23566         and false branch of conditional.
23567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23568         Likewise.
23570 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23572         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23573         libc-modules.h
23574         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23575         unused declaration of _hurd_intr_rpc_msg_in_trap.
23576         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23577         defined instead of whether it is non-zero.
23578         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23579         input constraint instead of both input and output constraint.  Use ecx
23580         clobber instead of %ecx.
23581         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23582         mutex_unlock): Use a statement expression instead of an expression list.
23583         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23584         type to vm_size_t instead of vm_address_t.
23585         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23586         defined instead of whether it is non-zero.
23587         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23588         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23589         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23590         comparisons with mapaddr.
23591         * nscd/nscd-client.h: Include <time.h>.
23592         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23593         9th parameter to __vm_region instead of int.
23594         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23595         * scripts/check-local-headers.sh (exclude): Add device/,
23596         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23597         cthreads.h.
23599 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23601         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23602         to account for alignment padding.
23603         * sysdeps/arm/memmove.S: Likewise.
23605 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23607         * sysdeps/unix/sysv/linux/generic/README: New file.
23609 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23611         [BZ #18138]
23612         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23613         (futex_abstimed_wait)
23614         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23615         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23616         of lll_futex_timed_wait.
23618 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23620         [BZ #17542]
23621         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23623 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23625         [BZ #17090]
23626         [BZ #17620]
23627         [BZ #17621]
23628         [BZ #17628]
23629         * NEWS: Update.
23630         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23631         entries with Static TLS too.  Skip entries past the end of the
23632         allocated DTV, from Alan Modra.
23633         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23634         Static TLS DTV entry set up from...
23635         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23636         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23637         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23638         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23639         for Static TLS.
23640         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23641         that the slot we find is associated with the given map before
23642         using its generation count.
23643         * nptl_db/db_info.c: Include ldsodefs.h.
23644         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23645         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23646         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23647         (link_map::l_tls_offset): New struct field.
23648         (dtv_t::counter): Likewise.
23649         (rtld_global): New struct.
23650         (_rtld_global): New rtld variable.
23651         (dl_tls_dtv_slotinfo_list): New rtld global field.
23652         (dtv_slotinfo_list): New struct.
23653         (dtv_slotinfo): Likewise.
23654         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23655         (td_lookup): Rename to...
23656         (td_mod_lookup): ... this.  Use new mod parameter instead of
23657         LIBPTHREAD_SO.
23658         * nptl_db/td_thr_tlsbase.c: Include link.h.
23659         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23660         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23661         addresses even if the DTV is out of date or missing them.
23662         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23663         index zero-length arrays.
23664         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23665         (td_lookup): Make it a macro implemented in terms of...
23666         (td_mod_lookup): ... this declaration.
23667         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23668         (DB_MAIN_VARIABLE): Likewise.
23670 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23672         [BZ #18134]
23673         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23675 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23677         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23679 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23681         [BZ #18128]
23682         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23683         (atomic_add, atomic_increment_and_test)
23684         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23686 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23688         * stdlib/setenv.c (__add_to_environ):
23689         Dump core quickly if setenv (..., NULL, ...) is called.
23691 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23693         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23694         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23695         all the necessary asm magic in one place.
23696         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23697         using those.
23699 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23701         [BZ #14906]
23702         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23703         traced file mtime. Use consistent log message.
23704         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23705         (register_traced_file): Call install_watches. Always set mtime.
23706         (invalidate_cache): Iterate over all trace files. Call install_watches.
23707         (inotify_check_files): Don't inline. Handle watching parent
23708         directories and configuration file movement in and out.
23709         (handle_inotify_events): New function.
23710         (main_loop_poll): Call handle_inotify_events.
23711         (main_loop_epoll): Likewise.
23712         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23713         (struct traced_file): Use array of inotify fds. Add parent directory,
23714         and basename.
23715         (struct database_dyn): Remove unused file_mtime.
23716         (init_traced_file): New inline function.
23717         (define_traced_file): New macro.
23718         * nss/nss_db/db-init.c: Use define_traced_file.
23719         (_nss_db_init): Use init_traced_file.
23720         * nss/nss_files/files-init.c: Use define_traced_file.
23721         (_nss_files_init): Use init_traced_file.
23723 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23725         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23726         [_LIBC]: Do not include <stdlib.h>.
23727         [!_LIBC] (abort): Remove declaration.
23728         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23729         _FP_STATIC_ASSERT instead of conditionally calling abort.
23730         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23731         (_FP_EXTEND_CNAN): Likewise.
23732         (FP_TRUNC): Likewise.
23733         (__FP_CLZ): Likewise.
23734         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23736 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23738         * manual/string.texi (XPG basename): Fix prototype.
23740 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23742         [BZ #18080]
23743         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23744         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23745         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23746         (__setcontext): Likewise.
23747         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23748         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23749         Call rt_sigprocmask syscall one time to set new signal mask
23750         and retrieve the current signal mask instead of two calls.
23751         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23752         (__swapcontext): Likewise.
23753         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23754         * stdlib/tst-setcontext2.c: New file.
23756 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23758         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23760 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23762         [BZ #18093]
23763         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23764         the wrong size.
23766 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23768         [BZ #18043]
23769         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23771 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23773         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23774         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23775         Remove define.
23776         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23777         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23778         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23779         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23780         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23781         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23782         define.
23783         * nptl_db/td_symbol_list.c (td_lookup): Remove
23784         HAVE_ASM_GLOBAL_DOT_NAME code.
23785         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23786         HAVE_ASM_GLOBAL_DOT_NAME check.
23787         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23788         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23789         (DOT_LABEL): Remove define.
23790         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23791         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23792         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23793         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23794         (__TLS_GET_ADDR): Likewise.
23795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23796         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23798 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23800         [BZ #18111]
23801         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23802         (_FPU_SETCW): Initialize cw from fpsr before storing.
23803         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23804         (fesetexceptflag): Rewrite using fpu_control.h.
23805         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23807 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23809         [BZ #18110]
23810         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23811         asms.
23812         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23814 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23816         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23817         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23818         abort.
23819         (_FP_FMA): Likewise.
23820         (_FP_DIV): Likewise.
23822 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23824         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23825         with 0 in that case.
23826         * Makefile (summarize-tests): New canned sequence, factored out of
23827         commands for targets tests and xtests.  Display summary lines that
23828         don't start with PASS: or XFAIL: rather than ones that do start with
23829         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23830         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23831         do start with ERROR: or FAIL:.
23832         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23833         (except for [$(build-shared) = yes]).
23834         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23835         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23836         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23837         * nptl/Makefile: Revert 2015-03-04 changes.
23838         [$(CXX) empty] (tests-unsupported): New variable.
23839         * debug/Makefile: Likewise.
23841         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23842         gnulib file.  Replace __attribute with __attribute__ throughout.
23844 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23846         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23848 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23850         [BZ #18104]
23851         * math/auto-libm-test-in: Add another test of pow.
23852         * math/auto-libm-test-out: Regenerated.
23854 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23856         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23857         $(config-cflags-nofma).
23859 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23861         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23862         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23863         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23864         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23865         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23866         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23867         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23868         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23869         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23870         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23871         Add comment on closing #endif.
23873 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23875         * posix/wordexp.c (CHAR_IN_SET): New macro.
23876         (parse_param): Use it.
23878 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23880         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23882 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23884         [BZ #18043]
23885         * posix/wordexp.c (parse_param): Fix buffer overflow.
23886         * posix/wordexp-test.c (test_case): Add test case.
23888 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23890         [BZ #18042]
23891         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23892         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23894 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23896         [BZ #18043]
23897         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23898         (do_bz18043): Delete.
23899         (at_page_end): New.
23900         (testit): Refactor to have words at the edge of unreadable page.
23902 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23904         [BZ #16734]
23905         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23906         Cleanup read-only streams as well.
23907         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23909 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23911         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23912         <bits/libc-lockP.h>
23914 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23916         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23917         on [__KERNEL__].
23918         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23919         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23920         * soft-fp/op-common.h (_FP_DECL): Likewise.
23922 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23924         * elf/ifuncdep2.c (global): Replace
23925         __attribute__((visibility("protected"))) with
23926         asm (".protected global").
23927         * elf/ifuncmod1.c (global): Likewise.
23928         * elf/ifuncmod5.c (global): Likewise.
23930 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23932         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23933         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23935 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23937         * manual/install.texi (Configuring and compiling):
23938         Document test-wrapper-env-only.
23939         * INSTALL: Regenerated.
23941 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23943         [BZ #18043]
23944         * posix/wordexp.c (parse_param): Fix buffer overflow.
23945         * posix/wordexp-test.c (do_bz18043): Add test case.
23947 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23949         * time/tst-strptime2.c (do_test): Ensure failing tests are
23950         reported correctly.
23951         * time/tst-strptime3.c (do_test): Likewise.
23953 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23955         Fix aio_error thread-safety.
23956         * sysdeps/pthread/aio_error.c: New file
23957         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23958         synchronization.
23960 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23962         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23963         (group_number, vfprintf): Use it.
23964         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23965         (JUMP, REF): Use it.
23966         (WORK_BUFFER_SIZE): New enum constant.
23967         (process_arg, vfprintf): Use it.
23969 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23971         * manual/errno.texi (Error Messages): Complete example function
23972         by adding missing #define.
23973         (program_invocation_name): Add statement indicating GNU
23974         extension and reference which header file declares the variable.
23975         (program_invocation_short_name): Likewise.
23977 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23979         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23980         compatibility note.
23982 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23984         * Makeconfig (test-wrapper-env-only): New variable.
23985         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23986         then use that with $(test-wrapper-env-only) rather than using
23987         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23989 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23991         [BZ #18082]
23992         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23993         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23994         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23995         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23996         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23997         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23998         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23999         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
24000         Likewise.
24001         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
24002         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
24003         Likewise.
24004         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
24005         Likewise.
24006         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
24007         Likewise.
24008         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
24009         Likewise.
24010         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
24011         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
24012         Likewise.
24013         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
24014         Likewise.
24015         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
24016         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
24018 2015-03-04  Roland McGrath  <roland@hack.frob.com>
24020         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
24021         (ETH_ALEN): New macro.
24022         (struct ether_addr): Use it for length of ether_addr_octet.
24024         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
24025         (setdb): Don't call __nss_configure_lookup for "rpc".
24026         (do_test): Don't call test_rpc.
24027         (output_rpcent, test_rpc): Functions moved ...
24028         * sunrpc/test-rpcent.c: ... to this new file.
24029         * sunrpc/Makefile (tests): Add it.
24031         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
24032         __xpg_sigpause.
24033         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
24034         * nptl/tst-signal6.c: Likewise.
24035         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
24036         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
24038         * configure.ac (libc_cv_cxx_link_ok): New check.
24039         Reset CXX to empty if it fails to link.
24040         * configure: Regenerated.
24041         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
24042         bug-atexit3-lib only if $(CXX) is nonempty.
24043         * nptl/Makefile (tests): Likewise for tst-cancel24.
24044         (tests, tests-static): Likewise for tst-cancel24-static.
24045         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
24046         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
24047         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
24048         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
24050 2015-03-04  Andreas Schwab  <schwab@suse.de>
24052         [BZ #17631]
24053         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
24054         for non-GCC compilers.
24055         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24056         Likewise.
24058 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24060         [BZ #17776]
24061         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
24062         integer before bitwise and assembly operations.
24063         (feclearexcept): Likewise.
24064         * math/test-fenvinline.c: New file.
24065         * math/Makefile: Add test-fenvinline test.
24067 2015-03-03  Alan Modra  <amodra@gmail.com>
24069         [BZ #16512]
24070         * scripts/localplt.awk: Strip off symbol version.
24071         * NEWS: Mention bug fix.
24073 2015-03-02  Roland McGrath  <roland@hack.frob.com>
24075         * sysdeps/pthread/timer_routines.c
24076         (timer_free_list, thread_free_list, thread_active_list): Make static.
24078 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
24080         [BZ #17779]
24081         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24082         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24083         Undefine.
24084         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24085         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24086         Likewise.
24087         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24088         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24089         Likewise.
24091 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24093         [BZ #18036]
24094         * posix/fnmatch_loop.c (END): Detect invalid pattern.
24095         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
24097 2015-03-02  Andreas Schwab  <schwab@suse.de>
24099         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
24100         variable name.
24102 2015-03-02  Florian Weimer  <fweimer@redhat.com>
24104         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
24105         Return error status.
24107 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
24109         [BZ #15969]
24110         * locale/findlocale.c (_nl_find_locale): Introduce const
24111         version of loc_name and drop unsafe type casts.
24113 2015-02-27  Roland McGrath  <roland@hack.frob.com>
24115         * dlfcn/tststatic2.c (main): Converted to ...
24116         (do_test): ... this.
24117         (TEST_FUNCTION): New macro.
24118         Include test-skeleton.c.
24120 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
24122         [BZ #17711]
24123         * elf/Makefile (tests): Add vismain only if PIE is enabled.
24124         (tests-pie): Add vismain.
24125         (CFLAGS-vismain.c): New.
24126         * elf/vismain.c: Add comments for PIE requirement.
24128 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24130         [BZ #18046]
24131         [BZ #18047]
24132         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
24133         0x1p-56L as threshold for just returning the argument.
24134         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
24135         0x1p-32L as threshold for just returning the argument.
24136         * math/auto-libm-test-in: Add more tests of atanh.
24137         * math/auto-libm-test-out: Regenerated.
24138         * sysdeps/i386/fpu/libm-test-ulps: Update.
24139         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24141 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24143         * string/bcopy.c (bcopy): Call memmove for performance.
24145 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24147         * string/bzero.c (__bzero): Call memset for performance.
24149 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24151         [BZ #18068]
24152         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24153         to 00100000.
24155 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24157         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
24159 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24161         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24162         (__kernel_standard): Use CSTR macro when setting exc.name.
24163         * sysdeps/ieee754/Makefile [$(subdir) = math]
24164         (CFLAGS-k_standard.c): Remove variable.
24166         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
24167         setting p and q from "else if" to "else".
24168         (qzero): Likewise.
24169         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
24170         (qone): Likewise.
24171         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24172         (qzerof): Likewise.
24173         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24174         (qonef): Likewise.
24175         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24176         (qzero): Likewise.
24177         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24178         (qone): Likewise.
24180         [BZ #18038]
24181         [BZ #18039]
24182         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24183         return pi/2 for arguments below 0x1p-113L.
24184         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24185         return pi/2 for arguments below 0x1p-106L.
24186         * math/auto-libm-test-in: Add more tests of acos.
24187         * math/auto-libm-test-out: Regenerated.
24189         [BZ #16351]
24190         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24191         (MO): New macro.
24192         (__ieee754_asin): Force underflow exception for results with small
24193         absolute value.
24194         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24195         (MO): New macro.
24196         (__ieee754_asinf): Force underflow exception for results with
24197         small absolute value.
24198         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24199         (__ieee754_asin): Force underflow exception for results with small
24200         absolute value.
24201         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24202         (__ieee754_asinf): Force underflow exception for results with
24203         small absolute value.
24204         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24205         (__ieee754_asinl): Force underflow exception for results with
24206         small absolute value.
24207         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24208         (__ieee754_asinl): Force underflow exception for results with
24209         small absolute value.
24210         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24211         (__ieee754_asinl): Force underflow exception for results with
24212         small absolute value.
24213         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24214         Include <math.h>.
24215         * math/auto-libm-test-in: Do not mark underflow exceptions as
24216         possibly missing for bug 16351.
24217         * math/auto-libm-test-out: Regenerated.
24219         [BZ #18030]
24220         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24221         of power of 2 down when low part has opposite sign.
24222         * math/libm-test.inc (logb_test_data): Add more tests.
24224 2015-02-26  Andreas Schwab  <schwab@suse.de>
24226         [BZ #18032]
24227         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24228         over collating symbol inside a bracket expression.  Minor cleanup.
24229         * posix/tst-fnmatch3.c (do_test): Add test case.
24231 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24233         [BZ #18029]
24234         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24235         Adjust exponent of power of 2 down when low part has opposite
24236         sign.
24237         * math/libm-test.inc (ilogb_test_data): Add more tests.
24239 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24241         [BZ #15969]
24242         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24243         the previous change.
24245         [BZ #15969]
24246         * locale/findlocale.c (_nl_find_locale): Retry archive search
24247         after alias expansion.
24249 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24251         * iconv/tst-iconv3.c (main): Converted to ...
24252         (do_test): ... this.
24253         (TEST_FUNCTION): New macro.
24254         Include test-skeleton.c.
24256         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24257         (convert): Make function static.
24258         (test_unalign): Likewise.  Add const to argument pointee types.
24259         (main): Replace with static function do_test.
24260         Print "Succeeded." only if RET is zero.
24261         (TEST_FUNCTION): New macro.
24262         Include test-skeleton.c.
24264         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24265         returns a null pointer.
24267 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24269         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24270         to __memcpy_ppc only for static builds.
24272 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24274         [BZ #18020]
24275         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24276         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24277         * math/auto-libm-test-in: Add more tests of asinh.
24278         * math/auto-libm-test-out: Regenerated.
24279         * sysdeps/i386/fpu/libm-test-ulps: Update.
24280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24282 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24284         [BZ #15850]
24285         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24286         and ip6_mtuinfo definitions here.
24287         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24288         in this define too.  Update comment.
24290 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24292         * elf/sprof.c (load_shobj): Tweak error message to match others.
24294 2015-02-24  Kevin Easton  <kevin@guarana.org>
24296         [BZ #16145] (partial fix)
24297         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24298         to reduce lock contention.
24300 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24302         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24303         (struct timex): Update time comment.
24304         (ADJ_SETOFFSET): Define.
24306 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24308         [BZ #18019]
24309         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24310         2**56 not 2**28 as threshold for log (2x) formula.
24311         * math/auto-libm-test-in: Add more tests of acosh.
24312         * math/auto-libm-test-out: Regenerated.
24313         * sysdeps/i386/fpu/libm-test-ulps: Update.
24314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24316 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24318         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24319         parenthesis around the buf assignment.
24320         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24322 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24324         [BZ #16783]
24325         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24326         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24327         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24328         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24329         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24330         * math/libm-test.inc (scalb_test_data): Add more tests.
24332 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24334         [BZ #17916]
24335         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24336         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24338 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24340         [BZ #17523]
24341         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24342         * io/bits/fcntl2.h (open): Use it.
24343         (openat): Likewise.
24344         * io/open.c (__libc_open): Likewise.
24345         * io/open64.c (__libc_open64): Likewise.
24346         * io/open64_2.c (__open64_2): Likewise.
24347         * io/open_2.c (__open_2): Likewise.
24348         * io/openat.c (__openat): Likewise.
24349         * io/openat64.c (__openat64): Likewise.
24350         * io/openat64_2.c (__openat64_2): Likewise.
24351         * io/openat_2.c (__openat_2): Likewise.
24352         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24353         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24354         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24355         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24356         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24357         (__open_nocancel): Likewise.
24358         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24359         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24360         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24362 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24364         [BZ #14841]
24365         * resolv/gethnamaddr.c (getanswer): Skip logging if
24366         RES_USE_DNSSEC is set.
24367         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24369 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24371         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24373 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24375         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24376         201304L, for Unicode 7.
24378 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24380         [BZ #17836]
24381         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24382         shared library.  Add gmon-start.os otherwise.
24383         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24384         $(objpfx)gmon-start.os if builing shared library.
24385         ($(objpfx)g$(static-start-installed-name)): Likewise.
24387 2015-02-23  Andreas Schwab  <schwab@suse.de>
24389         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24391 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24393         [BZ #17269]
24394         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24395         (enlarge_userbuf): Likewise.
24397 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24399         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24400         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24401         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24402         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24404 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24406         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24407         expression inside statement expression.
24409 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24411         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24412         <sysdeps/nptl/lowlevellock.h> and remove macros and
24413         functions that are now defined there.
24414         (SYS_futex): Remove.
24415         (lll_compare_and_swap): Remove.
24416         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24418 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24420         [BZ #17999]
24421         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24422         instead of scandirat.
24423         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24424         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24425         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24426         __scandirat.
24427         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24428         (__scandirat): Declare.  Use libc_hidden_proto.
24429         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24430         Remove variable.
24431         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24433 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24435         [BZ #15319]
24436         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24437         (MO): New macro.
24438         (__ieee754_atan2): For results with small absolute value, force
24439         underflow exception and remove excess range and precision from
24440         return value.
24441         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24442         (MO): New macro.
24443         (__ieee754_atan2f): For results with small absolute value, force
24444         underflow exception and remove excess range and precision from
24445         return value.
24446         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24447         (MO): New macro.
24448         (__atan): For results with small absolute value, force underflow
24449         exception and remove excess range and precision from return value.
24450         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24451         (MO): New macro.
24452         (__atanf): For results with small absolute value, force underflow
24453         exception and remove excess range and precision from return value.
24454         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24455         <math.h>.
24456         (__ieee754_atan2): Force underflow exception for results with
24457         small absolute value.
24458         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24459         <math_private.h>.
24460         (atan): Force underflow exception for results with small absolute
24461         value.
24462         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24463         (__atanf): Force underflow exception for results with small
24464         absolute value.
24465         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24466         <math.h>.
24467         (__atanl): Force underflow exception for results with small
24468         absolute value.
24469         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24470         (__atanl): Force underflow exception for results with small
24471         absolute value.
24472         * sysdeps/x86/fpu/bits/mathinline.h
24473         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24474         (__ieee754_atan2): Only define inline for long double.
24475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24476         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24477         * math/auto-libm-test-in: Do not mark underflow exceptions as
24478         possibly missing for bug 15319.  Add more tests of atan2.
24479         * math/auto-libm-test-out: Regenerated.
24480         * math/libm-test.inc (casin_test_data): Do not mark underflow
24481         exceptions as possibly missing for bug 15319.
24482         (casinh_test_data): Likewise.
24483         * sysdeps/i386/fpu/libm-test-ulps: Update.
24485 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24487         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24488         * sysdeps/mips/bits/endian.h: Fix comments.
24490 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24492         [BZ #17996]
24493         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24494         (hdestroy_r): Likewise.
24495         (hsearch_r): Likewise.
24496         (__hcreate_r): Declare and use libc_hidden_proto.
24497         (__hdestroy_r): Likewise.
24498         (__hsearch_r): Likewise.
24499         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24500         (hcreate): Call __hcreate_r instead of hcreate_r.
24501         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24502         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24503         as weak alias of __hcreate_r.
24504         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24505         __hdestroy_r.
24506         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24507         __hsearch_r.
24508         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24509         Remove variable.
24510         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24511         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24512         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24513         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24515 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24517         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24518         arena_lock into a single arena_get.
24520 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24522         * dl-reloc.c: Inlucde libc-internal.h.
24523         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24524         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24525         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24526         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24527         (grow_heap): Likewise.
24528         * malloc/malloc.c: Include libc-internal.h.
24529         (do_check_malloc): Call powerof2.
24530         (sysmalloc): Use pagesize. Call ALIGN_UP.
24531         (systrim): Use pagesize.
24532         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24533         (__libc_valloc): Use pagesize.
24534         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24536 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24538         [BZ #17991]
24539         * include/sys/resource.h (__getrlimit64): Declare.  Use
24540         libc_hidden_proto.
24541         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24542         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24543         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24544         getrlimit64.
24545         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24546         __getrlimit64.
24547         [!getrlimit64] (getrlimit64): Define as weak alias of
24548         __getrlimit64.  Use libc_hidden_weak.
24549         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24550         using __getrlimit64 not __new_getrlimit64.
24551         (__GI_getrlimit64): Likewise.
24552         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24553         Likewise.
24554         (__GI_getrlimit64): Likewise.
24555         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24557         (getrlimit): Add __getrlimit64 alias.
24558         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24559         Likewise.
24560         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24561         Remove variable.
24562         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24563         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24565 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24567         * libio/fileops.c: Add missing sys/mman.h
24568         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24570 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24572         * manual/math.texi (Errors in Math Functions): Clarify goals
24573         regarding inexact and underflow exceptions.
24575 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24577         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24578         * sysdeps/mips/memset.S: Ditto.
24580 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24582         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24584 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24586         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24587         (__v1longjmp): Remove versioned symbol.
24588         (__v1siglongjmp): Remove alias and versioned symbol.
24589         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24590         (__v2siglongjmp): Likewise.
24592 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24594         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24596 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24598         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24600 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24602         [BZ #17987]
24603         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24604         zero result does not depend on the sign resulting from
24605         subtraction.
24606         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24607         Likewise.
24608         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24609         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24610         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24611         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24612         * math/libm-test.inc (remquo_test_data): Add more tests.
24614 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24616         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24617         Problem reported by J William Piggott.
24619 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24621         [BZ #17978]
24622         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24623         products 4 * y and 2 * y where those would overflow.
24624         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24625         Likewise.
24626         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24627         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24628         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24629         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24630         * math/libm-test.inc (remquo_test_data): Add more tests.
24632         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24634         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24635         [defined _COMPILING_NEWLIB].
24636         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24637         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24639         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24640         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24642 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24644         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24645         acquired.
24647 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24649         [BZ #17792]
24650         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24651         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24652         HOST_STACK_END_ADDR): Likewise.
24654 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24656         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24657         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24658         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24660 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24662         * sysdeps/generic/c++-types.data: New file.
24663         * sysdeps/generic/ld.abilist: New file.
24664         * sysdeps/generic/libBrokenLocale.abilist: New file.
24665         * sysdeps/generic/libanl.abilist: New file.
24666         * sysdeps/generic/libc.abilist: New file.
24667         * sysdeps/generic/libcrypt.abilist: New file.
24668         * sysdeps/generic/libdl.abilist: New file.
24669         * sysdeps/generic/libm.abilist: New file.
24670         * sysdeps/generic/libpthread.abilist: New file.
24671         * sysdeps/generic/libresolv.abilist: New file.
24672         * sysdeps/generic/librt.abilist: New file.
24674 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24676         [BZ #17569]
24677         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24678         Compute absolute value of x as modified by fmod, not original
24679         value of x.
24680         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24681         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24682         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24683         RUN_TEST_ffI_f1_mod8.
24684         (remquo_test_data): Add more tests.
24686 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24688         * sysdeps/init_array/pt-crti.S: New file.
24690 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24692         [BZ #17967]
24693         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24694         __builtin_fmaf instead of relying on contraction of a * b + c.
24696 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24698         [BZ #17969]
24699         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24700         node.
24702 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24704         [BZ #17964]
24705         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24706         __builtin_fma instead of relying on contraction of a * b + c.
24708 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24710         * Makeconfig (ASFLAGS): Add -Werror=undef.
24711         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24712         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24713         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24715         * Makeconfig (after-link): New variable.
24716         (+link-pie, +link-pie-tests): Use it.
24717         (+link-static, +link-static-tests): Likewise.
24718         (+link, +link-tests): Likewise.
24719         * Makerules (build-module, build-module-asneeded): Likewise.
24720         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24721         Likewise.
24722         * elf/Makefile ($(objpfx)ld.so): Likewise.
24724 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24726         [BZ #17965]
24727         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24728         both struct timeval and struct timespec.
24730 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24732         [BZ #16560]
24733         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24734         and redefine.
24735         (__ieee754_exp2l): Do not multiply small fractional parts by
24736         M_LN2l.
24737         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24738         small argument.
24739         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24740         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24741         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24742         * math/auto-libm-test-in: Add more tests of exp2.
24743         * math/auto-libm-test-out: Regenerated.
24745 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24747         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24748         unaligned path.
24750 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24752         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24753         little endian.
24755 2015-02-12  Andreas Schwab  <schwab@suse.de>
24757         [BZ #15790]
24758         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24759         Filter out elision flags from value returned in kind.
24760         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24761         * nptl/tst-pthread-mutexattr.c: New file.
24763 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24765         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24766         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24767         into gnu-gnu, and update comment to refer to abi-tags.
24769 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24771         [BZ #15467]
24772         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24773         (__sincos): Set errno to EDOM for infinite argument.
24774         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24775         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24776         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24777         (__sincosl): Set errno to EDOM for infinite argument.
24778         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24779         (__sincosl): Set errno to EDOM for infinite argument.
24780         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24781         (__sincosl): Set errno to EDOM for infinite argument.
24782         * math/libm-test.inc (sincos_test_data): Test errno setting.
24784 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24786         * string/strxfrm_l.c: Remove #define STRCMP.
24787         * string/strcoll_l.c: Remove #define STRLEN.
24788         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24789         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24791 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24793         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24794         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24795         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24796         * sysdeps/mips/mips64/Makefile: ... here.
24797         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24798         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24799         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24800         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24801         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24802         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24803         * sysdeps/mips/mips64/n64/Implies: Likewise.
24805 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24807         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24808         <sys/time.h>, <string.h>, and <errno.h>.
24809         (dest_offset, dest_address, value, zero): Remove unused variables.
24810         (ldouble): Remove typedef.
24811         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24812         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24813         1).  Fix code style.
24814         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24815         (check): Function removed.
24816         (CHECK): New macro.
24817         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24818         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24819         Don't call set_sigaction_FP and remove_sigaction_FP here.
24820         (ldouble_test): Just use 'long double' as macro argument, no need for
24821         the 'ldouble' typedef.
24822         (do_test): Set up SIGFPE handler at start, using plain signal rather
24823         than sigaction.  Fix code style.
24825 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24827         [BZ #17949]
24828         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24829         jump label.
24831 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24833         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24834         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24836         * sysdeps/powerpc/configure.ac: Remove file.
24837         * sysdeps/powerpc/configure: Likewise.
24839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24840         [sysdep_routines]: Remove wordcopy-power6 object.
24841         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24842         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24843         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24844         (__memmove_ppc32): Likewise.
24845         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24846         file.
24847         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24848         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24849         Remove preprocessor.
24851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24852         [sysdep_routines]: Remove wide chars objects.
24853         [wcsmbs]: New rule for wide char objects.
24855         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24856         Remove wordcopy-power6 obejct.
24857         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24858         Use local call for wordcopy and memcpy symbols.
24859         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24860         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24861         implementation for loader.
24862         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24864         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24865         Remove wordcopy-power7 object.
24866         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24867         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24868         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24869         (_wordcopy_fwd_dest_aligned): Likewise.
24870         (_wordcopy_bwd_aligned): Likewise.
24871         (_wordcopy_bwd_dest_aligned): Likewise.
24873         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24874         Rewrite to call __memmove_ppc instead of include default
24875         implementation.
24877         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24878         Remove wide chars objects.
24879         [wcsmbs]: New rule for wide char objects.
24881 2015-02-09  Andreas Schwab  <schwab@suse.de>
24883         [BZ #17912]
24884         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24885         in terms of __O_DIRECTORY.
24887 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24889         * time/getdate.c: Include <stdbool.h>.
24890         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24891         call PTR_MANGLE.
24892         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24893         PTR_DEMANGLE.
24895 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24897         Add ersatz _Static_assert on older C hosts
24898         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24899         pre-C11 C platform that is not known to support _Static_assert.
24901 2015-02-07  Richard Braun  <rbraun@sceen.net>
24903         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24904         sigstate.
24905         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24907 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24909         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24910         priority against unexistent AIO_PRIO_DELTA_MAX.
24911         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24912         instead of int.
24913         * misc/fchflags.c (fchflags): Likewise.
24914         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24915         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24916         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24917         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24918         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24919         Declare macros.
24920         [__USE_MISC] (chflags, fchflags): Declare functions.
24921         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24922         EINVAL when nfds is greater than FD_SETSIZE.
24923         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24924         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24925         45.
24926         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24927         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24928         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24929         MACH_RCV_TIMED_OUT.
24930         * hurd/hurd/signal.h (_hurd_self_sigstate,
24931         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24932         Explicit casts from void *.
24933         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24934         * abi-tags: Rename gnu-gnu os into gnu.
24936         [BZ #4719]
24937         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24938         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24939         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24940         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24941         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24942         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24944         [BZ #17944]
24945         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24946         duplicates ADDR->sun_path with sockaddr LEN limitation.
24947         * sysdeps/mach/hurd/connect.c: Include <string.h>
24948         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24949         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24950         * sysdeps/mach/hurd/sendto.c: Likewise.
24951         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24952         implementing it by hand.
24954 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24956         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24957         Use sfi_breg on ldr.
24958         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24959         Likewise.
24961         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24962         it's defined.
24963         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24964         Test SIGSETXID only if it's defined.
24966         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24968         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24969         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24971         * nptl/tst-align2.c: Moved ...
24972         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24973         * nptl/Makefile (tests): Remove tst-align2.
24974         * sysdeps/unix/sysv/linux/Makefile
24975         [$(subdir) = nptl] (tests): Add tst-align-clone.
24976         * nptl/tst-getpid1.c: Moved ...
24977         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24978         * nptl/tst-getpid2.c: Moved ...
24979         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24980         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24981         * sysdeps/unix/sysv/linux/Makefile
24982         [$(subdir) = nptl] (tests): ... here.
24983         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24984         * sysdeps/unix/sysv/linux/Makefile
24985         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24987         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24988         Drop trailing \n from perror argument.  Use return rather than exit.
24990         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24991         on [SA_SIGINFO].
24992         * nptl/tst-cancel21.c (do_test): Likewise.
24993         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24994         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24995         [!SA_SIGINFO]: Make it a stub test.
24997         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24998         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
25000         * posix/tst-getlogin.c: Move to ...
25001         * login/tst-getlogin.c: ... here.
25002         * posix/Makefile (tests): Move tst-getlogin to ...
25003         * login/Makefile (tests): ... here.
25005         * libio/tst-atime.c (do_test): Move local variables SV and E
25006         inside [ST_NOATIME] conditional.
25008         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
25010         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
25012         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
25013         (wait_code): New function replaces macro.
25014         Call nanosleep rather than syscall.
25016         * nptl/pt-system.c: Rewritten.  Put everything under
25017         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25018         Use IFUNC to redirect when possible.
25020         * nptl/pt-longjmp.c: Rewritten.  Put everything under
25021         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25022         Use IFUNC to redirect when possible.
25024         * nptl/pt-fork.c: Rewritten.  Put everything under
25025         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25026         Use IFUNC to redirect when possible.
25027         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
25029         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
25030         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
25031         unconditionally nowadays.  This included the only reference to
25032         __vdso_clock_gettime that appears outside libc proper.
25033         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25034         Remove version set (containing only __vdso_clock_gettime).
25035         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25036         Add attribute_hidden.
25037         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25038         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
25039         libc_hidden_data_def.
25040         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25041         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25043         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
25044         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
25045         setrpcent, and getrpcport to ...
25046         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
25047         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
25048         getrpcbynumber_r, and getrpcent_r to ...
25049         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
25050         * inet/getrpcbyname.c: Moved ...
25051         * sunrpc/getrpcbyname.c: ... here.
25052         * inet/getrpcbyname_r.c: Moved ...
25053         * sunrpc/getrpcbyname_r.c: ... here.
25054         * inet/getrpcbynumber.c: Moved ...
25055         * sunrpc/getrpcbynumber.c: ... here.
25056         * inet/getrpcbynumber_r.c: Moved ...
25057         * sunrpc/getrpcbynumber_r.c: ... here.
25058         * inet/getrpcent.c: Moved ...
25059         * sunrpc/getrpcent.c: ... here.
25060         * inet/getrpcent_r.c: Moved ...
25061         * sunrpc/getrpcent_r.c: ... here.
25062         * inet/Makefile (routines): Move those to ...
25063         * sunrpc/Makefile (routines): ... here.
25064         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
25065         the $(subdirs) list.
25066         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
25067         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
25068         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
25069         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
25071         * elf/Makefile (routines): Include $(all-dl-routines), not just
25072         $(dl-routines).
25073         (rtld-routines): Likewise.  Use = rather than :=.
25074         * sysdeps/aarch64/Makefile [$(subdir) = elf]
25075         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
25076         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
25077         * sysdeps/arm/Makefile: Likewise.
25078         * sysdeps/i386/Makefile: Likewise.
25079         * sysdeps/x86_64/Makefile: Likewise.
25080         * sysdeps/hppa/Makefile [$(subdir) = elf]
25081         (sysdep_routines, sysdep-rtld-routines): Don't add
25082         $(sysdep-dl-routines) to these.
25083         * sysdeps/ia64/Makefile: Likewise.
25084         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
25085         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
25086         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
25087         Don't add dl-static to these; sysdep-dl-routines alone is enough.
25088         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
25089         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
25090         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
25091         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
25092         * sysdeps/powerpc/Makefile [$(subdir) = elf]
25093         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
25094         these; sysdep-dl-routines alone is enough.
25096 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
25098         [BZ #17932]
25099         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
25100         where multiplication results in zero and third argument is finite
25101         and nonzero.
25102         * math/auto-libm-test-in: Add more tests of fma.
25103         * math/auto-libm-test-out: Regenerated.
25105         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
25106         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
25107         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
25108         (_FP_CMP_EQ): Likewise.
25109         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
25111         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
25112         extra argument CHECK_NAN.  Redefine as wrapper around
25113         _FP_EXTEND_CNAN.
25115 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
25117         * version.h (RELEASE): Set to "stable".
25118         (VERSION): Set to "2.21"
25119         * include/features.h (__GLIBC_MINOR__): Set to 21.
25121         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
25123 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25124             Paul Eggert  <eggert@cs.ucla.edu>
25126         [BZ #16618]
25127         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
25128         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
25129         size in bytes. Store needed elements in wpmax. Use needed size
25130         in bytes for extend_alloca.
25132 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
25134         * manual/install.texi: Latest tested versions are GCC 4.9.2,
25135         binutls 2.25, and texinfo 5.2.
25136         * INSTALL: Regenerate.
25137         * sysdeps/nios2/configure: Regenerate.
25138         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25139         * manual/contrib.texi: Update.
25140         * po/be.po: Update.
25141         * po/bg.po: Update.
25142         * po/ca.po: Update.
25143         * po/cs.po: Update.
25144         * po/da.po: Update.
25145         * po/de.po: Update.
25146         * po/el.po: Update.
25147         * po/eo.po: Update.
25148         * po/es.po: Update.
25149         * po/fi.po: Update.
25150         * po/fr.po: Update.
25151         * po/gl.po: Update.
25152         * po/hr.po: Update.
25153         * po/hu.po: Update.
25154         * po/ia.po: Update.
25155         * po/id.po: Update.
25156         * po/it.po: Update.
25157         * po/ja.po: Update.
25158         * po/ko.po: Update.
25159         * po/lt.po: Update.
25160         * po/nb.po: Update.
25161         * po/nl.po: Update.
25162         * po/pl.po: Update.
25163         * po/pt_BR.po: Update.
25164         * po/ru.po: Update.
25165         * po/rw.po: Update.
25166         * po/sk.po: Update.
25167         * po/sl.po: Update.
25168         * po/sv.po: Update.
25169         * po/tr.po: Update.
25170         * po/uk.po: Update.
25171         * po/vi.po: Update.
25172         * po/zh_CN.po: Update.
25173         * po/zh_TW.po: Update.
25175         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25176         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25177         * sysdeps/hppa/dl-irel.h: Remove #warning.
25178         * sysdeps/hppa/entry.h: Provide prototype for
25179         __canonicalize_funcptr_for_compare and cast argument.
25180         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25181         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25182         * sysdeps/hppa/sotruss-lib.c: New file.
25183         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25184         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25185         (atomic_compare_and_exchange_bool_acq): Likewise.
25186         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25187         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25189         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25190         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25191         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25193 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25195         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25196         called function in non-PIC case.
25198 2015-01-31  David S. Miller  <davem@davemloft.net>
25200         * sysdeps/sparc/sparc32/bits/atomic.h
25201         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25202         unlock not after it.
25203         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25204         volatile register usage warnings from the compiler.
25206         * sysdeps/sparc/nptl/sem_init.c: Delete.
25207         * sysdeps/sparc/nptl/sem_post.c: Delete.
25208         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25209         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25210         * sysdeps/sparc/sparc32/sem_init.c: New file.
25211         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25212         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25213         padding explicitly initialized.
25214         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25215         padding for in-semaphore spinlock.
25216         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25217         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25218         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25219         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25220         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25221         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25222         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25223         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25224         version.
25225         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25226         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25228 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25230         [BZ #17801]
25231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25232         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25233         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25234         New.
25235         (index_AVX_Fast_Unaligned_Load): Likewise.
25236         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25237         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25238         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25239         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25240         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25241         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25242         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25243         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25244         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25246 2015-01-29  Andreas Schwab  <schwab@suse.de>
25248         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25250 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25252         [BZ #17892]
25253         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25255 2015-01-28  Martin Sebor  <msebor@redhat.com>
25257         * math/README.libm-test: Clarify. Add "How to read the test output."
25259 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25261         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25262         Define to 0.
25264 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25266         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25267         (__HAVE_64B_ATOMICS): Define to 0.
25269 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25271         [BZ #17885]
25272         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25273         value to set as new flag.
25275         [BZ #16576]
25276         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25277         and use _ARCH_PPCSQ instead.
25278         (__ieee754_sqrt): Likewise.
25279         (__ieee754_sqrtf): Likewise.
25280         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25281         _ARCH_PPCSQ is defined.
25282         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25283         fsqrt instruction.
25284         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25285         _ARCH_PPCSQ is defined.
25286         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25287         fsqrts instruction.
25288         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25290 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25292         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25293         bug (GCC BZ #64739).
25295 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25297         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25298         Mark _retval as used.
25299         (lll_futex_wake_unlock): Likewise.
25300         (lll_futex_timed_wait_requeue_pi): Likewise.
25302         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25303         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25304         register variables.
25306         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25307         libm_hidden_def.
25309         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25310         (__bswap_64): Mark as __always_inline.
25312 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25314         [BZ #15378]
25315         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25316         when none of the search directories exist.
25318 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25320         [BZ #17869]
25321         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25322         power8 in .machine directive.
25324         [BZ #17868]
25325         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25326         set dependency from opd value.
25328 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25330         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25331         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25332         architecture.
25334 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25336         [BZ #17870]
25337         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25338         with uint64_t.
25339         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25340         (uint64_t) 1.
25341         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25342         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25343         Replace 1UL with (uint64_t) 1.
25344         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25345         int with uint64_t.
25347 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25349         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25350         (if_freenameindex): Likewise.
25352         * resource/getrlimit64.c: Add missing libc_hidden_def.
25354 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25356         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25357         __label__.
25358         (_FP_FMA): Likewise.
25359         (_FP_TO_INT_ROUND): Likewise.
25360         (_FP_FROM_INT): Likewise.
25362 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25364         [BZ #16418]
25365         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25366         Make code racy and cancel safe.
25368 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25370         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25371         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25372         attribution.
25374         * pwd/tst-getpw.c: Rewrite.
25376         [BZ #17702]
25377         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25378         (modules-names): Add moddummy1 and moddummy2.
25379         ($(objpfx)tst-rec-dlopen): Define.
25380         * dlfcn/moddummy1.c: New file.
25381         * dlfcn/moddummy2.c: New file.
25382         * dlfcn/tst-rec-dlopen.c: New file.
25383         * elf/dl-cache.c (_dl_load_cache_lookup):
25384         Return char*. Copy result with alloca/strcpy/strdup.
25385         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25386         returns char*. Free cached. If not saving realname
25387         free cached.
25388         * elf/dl-open.c (dl_open_worker): Do not assert that
25389         _r_debug->r_state is RT_CONSISTENT.
25390         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25391         returns char*.
25393 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25394             Carlos O'Donell  <carlos@redhat.com>
25396         [BZ #12674]
25397         * nptl/sem_waitcommon.c: New file.
25398         * nptl/sem_wait.c: Include sem_waitcommon.c.
25399         (__sem_wait_cleanup, do_futex_wait): Remove.
25400         (__new_sem_wait): Adapt.
25401         (__new_sem_trywait): New function.
25402         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25403         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25404         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25405         (sem_timedwait): Adapt.
25406         * nptl/sem_post.c (__new_sem_post): Adapt.
25407         (futex_wake): New function.
25408         (__old_sem_post): Add release MO fence.
25409         * nptl/sem_open.c (sem_open): Adapt.
25410         * nptl/sem_init.c (__new_sem_init): Adapt.
25411         (futex_private_if_supported): New function.
25412         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25413         (__old_sem_getvalue): Add using previous code.
25414         * sysdeps/nptl/internaltypes.h: Adapt.
25415         * nptl/tst-sem13.c (do_test): Adapt.
25416         * nptl/tst-sem11.c (main): Adapt.
25417         * nptl/sem_trywait.c: Remove.
25418         * nptl/DESIGN-sem.txt: Remove.
25419         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25420         (gen-as-const-headers): Remove structsem.sym.
25421         * nptl/structsem.sym: Remove.
25422         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25423         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25424         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25425         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25426         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25427         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25428         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25429         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25430         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25431         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25432         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25433         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25434         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25435         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25436         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25437         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25438         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25439         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25440         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25441         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25442         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25443         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25445 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25447         * INSTALL: Regenerated.
25449         * po/libc.pot: Regenerated.
25451 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25452             Sandra Loosemore  <sandra@codesourcery.com>
25453             Andrew Jenner  <andrew@codesourcery.com>
25454             Joseph Myers  <joseph@codesourcery.com>
25455             Nathan Sidwell  <nathan@codesourcery.com>
25457         * NEWS: Mention new Nios II port.
25458         * sysdeps/nios2/Implies: New file.
25459         * sysdeps/nios2/Makefile: New file.
25460         * sysdeps/nios2/Subdirs: New file.
25461         * sysdeps/nios2/Versions: New file.
25462         * sysdeps/nios2/__longjmp.S: New file.
25463         * sysdeps/nios2/abort-instr.h: New file.
25464         * sysdeps/nios2/backtrace.c: New file.
25465         * sysdeps/nios2/bits/endian.h: New file.
25466         * sysdeps/nios2/bits/fenv.h: New file.
25467         * sysdeps/nios2/bits/link.h: New file.
25468         * sysdeps/nios2/bits/setjmp.h: New file.
25469         * sysdeps/nios2/bsd-_setjmp.S: New file.
25470         * sysdeps/nios2/bsd-setjmp.S: New file.
25471         * sysdeps/nios2/configure: New generated file.
25472         * sysdeps/nios2/configure.ac: New file.
25473         * sysdeps/nios2/crti.S: New file.
25474         * sysdeps/nios2/crtn.S: New file.
25475         * sysdeps/nios2/dl-init.c: New file.
25476         * sysdeps/nios2/dl-machine.h: New file.
25477         * sysdeps/nios2/dl-sysdep.h: New file.
25478         * sysdeps/nios2/dl-tls.h: New file.
25479         * sysdeps/nios2/dl-trampoline.S: New file.
25480         * sysdeps/nios2/gccframe.h: New file.
25481         * sysdeps/nios2/gmp-mparam.h: New file.
25482         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25483         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25484         * sysdeps/nios2/ldsodefs.h: New file.
25485         * sysdeps/nios2/libc-tls.c: New file.
25486         * sysdeps/nios2/libm-test-ulps: New file.
25487         * sysdeps/nios2/machine-gmon.h: New file.
25488         * sysdeps/nios2/math-tests.h: New file.
25489         * sysdeps/nios2/math_private.h: New file.
25490         * sysdeps/nios2/memusage.h: New file.
25491         * sysdeps/nios2/nptl/Makefile: New file.
25492         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25493         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25494         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25495         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25496         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25497         * sysdeps/nios2/nptl/tls.h: New file.
25498         * sysdeps/nios2/preconfigure: New file.
25499         * sysdeps/nios2/s_fma.c: New file.
25500         * sysdeps/nios2/s_fmaf.c: New file.
25501         * sysdeps/nios2/setjmp.S: New file.
25502         * sysdeps/nios2/sfp-machine.h: New file.
25503         * sysdeps/nios2/sotruss-lib.c: New file.
25504         * sysdeps/nios2/stackguard-macros.h: New file.
25505         * sysdeps/nios2/stackinfo.h: New file.
25506         * sysdeps/nios2/start.S: New file.
25507         * sysdeps/nios2/sysdep.h: New file.
25508         * sysdeps/nios2/tls-macros.h: New file.
25509         * sysdeps/nios2/tst-audit.h: New file.
25510         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25511         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25512         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25513         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25514         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25515         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25516         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25517         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25518         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25519         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25520         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25521         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25522         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25523         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25524         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25525         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25526         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25527         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25528         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25529         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25530         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25531         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25532         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25533         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25534         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25535         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25536         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25537         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25538         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25539         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25540         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25541         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25542         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25543         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25544         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25545         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25546         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25547         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25548         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25549         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25550         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25551         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25552         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25553         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25555 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25557         [BZ #17844]
25558         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25559         (getutent): Use weak_alias in non SHARED case
25560         and default_symbol_version in SHARED case.
25561         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25562         (getutent_r, pututline): Likewise.
25563         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25564         (getutid): Likewise.
25565         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25566         (getutid_r): Likewise.
25567         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25568         (getutline): Likewise.
25569         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25570         (getutline_r): Likewise.
25571         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25572         (updwtmp): Likewise.
25574 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25576         [BZ #17848]
25577         * sysdeps/s390/s390-32/memcmp.S
25578         (memcmp_g5): Rename to __memcmp_g5.
25579         * sysdeps/s390/s390-32/memcpy.S
25580         (memcpy_g5): Rename to __memcpy_g5.
25581         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25582         (memcpy_mvcle) Rename to __memcpy_mvcle.
25583         * sysdeps/s390/s390-32/memset.S
25584         (memset_g5): Rename to __memset_g5.
25585         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25586         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25587         and use prefixed functions.
25588         * sysdeps/s390/s390-32/multiarch/memcmp.S
25589         (memcmp_z196): Rename to __memcmp_z196.
25590         (memcmp_z10): Rename to __memcmp_z10.
25591         (memcmp): Set alias to __memcmp_g5.
25592         (bcmp): Set alias to __memcmp_g5.
25593         * sysdeps/s390/s390-32/multiarch/memcpy.S
25594         (memcpy_z196): Rename to __memcpy_z196.
25595         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25596         (memcpy_z10): Rename to __memcpy_z10.
25597         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25598         (memcpy): Set alias to __memcpy_g5.
25599         * sysdeps/s390/s390-32/multiarch/memset.S
25600         (memset_z196): Rename to __memset_z196.
25601         Jump to __memset_mvcle instead of memset_mvcle.
25602         (memset_z10): Rename to __memset_z10.
25603         Jump to __memset_mvcle instead of memset_mvcle.
25604         (memset_mvcle) Rename to __memset_mvcle.
25605         (memset): Set alias to __memset_g5.
25606         * sysdeps/s390/s390-64/memcmp.S
25607         (memcmp_z900): Rename to __memcmp_z900.
25608         * sysdeps/s390/s390-64/memcpy.S
25609         (memcpy_z900): Rename to __memcpy_z900.
25610         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25611         (memcpy_mvcle) Rename to __memcpy_mvcle.
25612         * sysdeps/s390/s390-64/memset.S
25613         (memset_z900): Rename to __memset_z900.
25614         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25615         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25616         and use prefixed functions.
25617         * sysdeps/s390/s390-64/multiarch/memcmp.S
25618         (memcmp_z196): Rename to __memcmp_z196.
25619         (memcmp_z10): Rename to __memcmp_z10.
25620         (memcmp): Set alias to __memcmp_z900.
25621         (bcmp): Set alias to __memcmp_z900.
25622         * sysdeps/s390/s390-64/multiarch/memcpy.S
25623         (memcpy_z196): Rename to __memcpy_z196.
25624         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25625         (memcpy_z10): Rename to __memcpy_z10.
25626         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25627         (memcpy): Set alias to __memcpy_z900.
25628         * sysdeps/s390/s390-64/multiarch/memset.S
25629         (memset_z196): Rename to __memset_z196.
25630         Jump to __memset_mvcle instead of memset_mvcle.
25631         (memset_z10): Rename to __memset_z10.
25632         Jump to __memset_mvcle instead of memset_mvcle.
25633         (memset_mvcle) Rename to __memset_mvcle.
25634         (memset): Set alias to __memset_z900.
25636 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25638         [BZ #17748]
25639         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25640         __fesetenv instead of fesetenv.
25642 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25644         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25645         macro.
25647 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25649         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25650         regression on LE.
25652         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25653         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25654         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25655         strncmp-power8 object.
25656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25657         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25658         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25659         * NEWS: Update.
25661 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25662             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25664         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25665         trailing byte check.
25667 2015-01-13  David S. Miller  <davem@davemloft.net>
25669         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25671 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25673         * login/logout.c (logout): Use memset rather than bzero.
25674         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25675         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25676         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25677         (_gethtbyaddr): Likewise.
25678         * locale/programs/simple-hash.c (bcopy): Macro removed.
25680 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25682         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25683         Add strcmp-power8 object.
25684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25685         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25686         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25687         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25688         __strcmp_power8 implementation.
25689         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25690         * NEWS: Update.
25692         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25693         Add strncpy-power8 and stpncpy-power8 objects.
25694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25695         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25696         implementations.
25697         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25698         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25699         __stpncpy_power8 implementation.
25700         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25701         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25702         __strncpy_power8 implementation.
25703         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25704         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25705         * NEWS: Update.
25707         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25708         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25709         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25711         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25712         strncat-power8 object.
25713         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25714         __strcat_power8 implementation.
25715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25716         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25717         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25718         optimized strcat for power8.
25720         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25721         strcpy-power8 and stpcpy-power8 objects.
25722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25723         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25724         implementations.
25725         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25726         multiarch stpcpy implementation for POWER8.
25727         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25728         multiarch strcpy implementation for POWER8.
25729         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25730         __strcpy_power8 function.
25731         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25732         stpcpy for POWER8.
25733         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25734         strcpy for POWER8.
25735         * NEWS: Update.
25737 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25739         [BZ #16009]
25740         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25741         weights and rules. Use do_xfrm_cached if data fits in cache,
25742         do_xfrm otherwise.  Moved former main loop to...
25743         * (do_xfrm_cached): New function.
25744         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25745         find_idx, find_position and stack_push.
25746         * (find_idx): New function.
25747         * (find_position): Likewise.
25748         * localedata/sort-test.sh: Added test run for do_xfrm.
25749         * localedata/xfrm-test.c (main): Added command line option
25750         -nocache to run the test with strings that are too large for
25751         the STRXFRM cache.
25753 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25755         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25756         variable to lll_futex_wake call, not the value itself.
25758 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25760         [BZ #17803]
25761         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25762         twom64.  Adjust value to 0x1p-64L.
25763         (__scalblnl): Only return standard underflowing result for K <=
25764         -64 not K <= -63; adjust exponent for underflowing result by 64
25765         not 63.
25766         * math/libm-test.inc (scalbn_test_data): Add more tests.
25767         (scalbln_test_data): Likewise.
25769         [BZ #17834]
25770         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25771         0x1p63L.
25772         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25773         not HX.
25774         * math/libm-test.inc (scalbn_test_data): Add more tests.
25775         (scalbln_test_data): Likewise.
25777 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25778             Stefani Seibold  <stefani@seibold.net>
25780         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25781         (sysdep_routines): Add dl-vdso here, ...
25782         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25783         (sysdep_routines): ... not here.
25784         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25785         fallback when vDSO is not presented.
25786         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25787         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25788         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25789         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25790         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25791         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25792         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25793         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25794         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25795         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25796         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25797         fallback configurable symbol when vDSO is not available.
25798         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25799         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25800         be able to redefine fallback symbol when vDSO is not available.
25801         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25802         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25804 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25806         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25807         (TLS_INIT_TP): Add tm_capable initialization.
25808         (TLS_DEFINE_INIT_TP): Likewise.
25809         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25810         TCB.
25811         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25812         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25813         calculation.
25814         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25815         transactoion is lock elision is built and TCB tm_capable is set.
25816         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25818         (INTERNAL_SYSCALL_NCS): Likewise.
25819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25820         (INTERNAL_SYSCALL_NCS): Likewise.
25821         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25823         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25824         for powerpc.
25825         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25826         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25827         and remove it for 32 bits case.
25828         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25829         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25830         initialization.
25831         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25832         Disable lock elision with rdlocks if elision is not available.
25834         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25835         (sysdep_routines): Add lock elision objects.
25836         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25837         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25838         [pthread_mutex_t] (__elision): Add field.
25839         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25840         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25841         elision definitions for powerpc.
25842         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25843         implementation of lock elision for powerpc.
25844         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25845         implementation of timed lock elision for powerpc.
25846         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25847         implementation of trylock with lock elision for powerpc.
25848         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25849         implementaion of unlock for lock elision for powerpc.
25850         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25851         automatic enable lock elision for mutexes.
25852         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25853         transaction execution definitions for powerpc.
25854         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25855         definitions.
25856         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25857         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25858         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25859         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25860         * NEWS: Update.
25862 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25864         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25865         for #include of <shm-directory.h>.
25867 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25869         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25870         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25872 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25874         [BZ #17791]
25875         * NEWS: Mention bug fix.
25876         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25877         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25878         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25880 2015-01-09  Torvald Riegel <triegel@redhat.com>
25882         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25884 2015-01-09  Torvald Riegel <triegel@redhat.com>
25886         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25888 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25890         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25891         pointer and cast to uintptr_t.
25893 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25895         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25896         removed.
25897         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25899 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25901         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25902         of 0.
25904 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25906         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25907         <nptl/pthreadP.h> instead.
25908         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25910         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25911         already defined.
25912         [__SIGRTMIN] (init): Function removed.
25913         [__SIGRTMIN] (initialized): Variable removed.
25914         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25915         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25916         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25917         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25918         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25919         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25920         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25921         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25922         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25923         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25924         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25925         * sysdeps/nptl/allocrtsig.c: New file.
25926         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25927         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25928         * sysdeps/generic/testrtsig.h: File removed.
25930         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25931         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25933         * nptl/nptl-init.c (pthread_functions): Conditionalize
25934         .ptr__nptl_setxid initialization on [SIGSETXID].
25936         * sysdeps/nptl/sys/procfs.h: New file.
25937         * nptl_db/Makefile (headers): Add it.
25938         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25940         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25941         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25942         * nptl/pthread_attr_setaffinity.c: Include it.
25943         * nptl/pthread_setattr_default_np.c: Likewise.
25944         * nptl/check-cpuset.h: New file.
25946 2015-01-08  Richard Henderson  <rth@redhat.com>
25948         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25949         (CFLAGS-tst-execstack-prog.c): Likewise.
25950         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25952 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25953             Sandra Loosemore  <sandra@codesourcery.com>
25954             Andrew Jenner  <andrew@codesourcery.com>
25955             Joseph Myers  <joseph@codesourcery.com>
25956             Nathan Sidwell  <nathan@codesourcery.com>
25958         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25959         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25960         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25961         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25962         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25963         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25964         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25965         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25966         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25967         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25968         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25969         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25970         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25971         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25972         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25973         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25974         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25976 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25978         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25979         timespec struct member in syscall macro.
25980         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25981         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25982         first timeval struct member in syscall macro.
25983         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25985 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25987         [BZ #17748]
25988         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25989         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25990         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25991         __feupdateenv and define as weak alias of __feupdateenv.  Use
25992         libm_hidden_weak.
25993         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25994         libm_hidden_def.
25995         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25996         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25997         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25998         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25999         libm_hidden_def.
26000         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
26001         __feupdateenv and define as weak alias of __feupdateenv.  Use
26002         libm_hidden_weak.
26003         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
26004         libm_hidden_def.
26005         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
26006         __feupdateenv and define as weak alias of __feupdateenv.  Use
26007         libm_hidden_weak.
26008         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
26009         libm_hidden_def.
26010         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26011         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26012         (__feupdateenv): Likewise.
26013         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
26014         __feupdateenv and define as weak alias of __feupdateenv.  Use
26015         libm_hidden_weak.
26016         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26017         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
26018         libm_hidden_def.
26019         * sysdeps/tile/math_private.h (__feupdateenv): New inline
26020         function.
26021         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
26022         libm_hidden_def.
26023         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
26024         __feupdateenv instead of feupdateenv.
26025         (default_libc_feupdateenv_test): Likewise.
26026         (libc_feresetround_ctx): Likewise.
26028 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26030         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
26031         prototype.
26033 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
26035         * posix/regcomp.c (parse_bracket_exp): Initialize type to
26036         COLL_SYM in a couple of places to avoid uninitialized variable
26037         wanings on tilegx gcc 4.8.2.
26039 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26041         * sysdeps/aarch64/strcpy.S: New file.
26042         * sysdeps/aarch64/stpcpy.S: New file.
26043         * NEWS: Updated.
26045 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26047         * sysdeps/aarch64/strrchr.S: New file.
26048         * NEWS: Updated.
26050 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
26052         [BZ #17658]
26053         * stdlib/setenv.c: Fix memory leak when setting large,
26054         duplicate string.
26056 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
26058         [BZ #17273]
26059         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
26060         and tabs from buffer before parsing fstab entry.
26061         * misc/tst-mntent.c (main): Add test for mount entry with
26062         trailing spaces and tabs.
26064 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
26066         [BZ #17748]
26067         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
26068         * math/fesetround.c (fesetround): Rename to __fesetround and
26069         define as weak alias of __fesetround.  Use libm_hidden_weak.
26070         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
26071         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
26072         * sysdeps/arm/fesetround.c (fesetround): Likewise.
26073         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
26074         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
26075         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
26076         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
26077         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
26078         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
26079         __fesetround_inline.
26080         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
26081         __fesetround_inline instead of __fesetround.
26082         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
26083         __fesetround and define as weak alias of __fesetround.  Use
26084         libm_hidden_weak.  Call __fesetround_inline instead of
26085         __fesetround.
26086         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
26087         __fesetround and define as weak alias of __fesetround.  Use
26088         libm_hidden_weak.
26089         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
26090         Likewise.
26091         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
26092         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26093         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
26094         * sysdeps/tile/math_private.h (__fesetround): New inline function.
26095         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
26096         __fesetround and define as weak alias of __fesetround.  Use
26097         libm_hidden_weak.
26098         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
26099         __fesetround instead of fesetround.
26100         (default_libc_feholdexcept_setround): Likewise.
26101         (libc_feholdsetround_ctx): Likewise.
26102         (libc_feholdsetround_noex_ctx): Likewise.
26104         [BZ #17748]
26105         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
26106         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
26107         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26108         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26109         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26110         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
26111         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26112         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26113         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26114         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26115         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26116         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26117         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26118         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26119         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
26120         libm_hidden_def.
26121         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
26122         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
26123         Likewise.
26124         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26125         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26126         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26127         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26128         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
26129         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26130         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26131         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
26132         __fesetenv instead of fesetenv.
26133         (libc_feresetround_noex_ctx): Likewise.
26134         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26135         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26136         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
26137         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26138         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26139         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26140         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26141         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26142         (__feupdateenv): Likewise.
26143         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26144         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26145         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26146         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26148 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26150         [BZ #17806]
26151         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26152         addresses have been freed.
26154 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26156         * resolv/res_init.c (__res_vinit): Improve comments about nserv
26157         and nservall.
26159 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
26161         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26162         Clean up check_pf allocation pattern. addresses
26164 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26166         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
26167         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
26168         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
26169         * nptl/pthread_exit.c (__pthread_exit): Likewise.
26170         * nptl/pthread_join.c (pthread_join): Likewise.
26171         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26172         * sysdeps/posix/waitid.c (__waitid): Likewise.
26173         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26174         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26175         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26176         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26177         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26178         Likewise.
26179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26180         (__libc_pread64): Likewise.
26181         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26182         (__libc_pwrite): Likewise.
26183         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26184         (__libc_pwrite64): Likewsie.
26185         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26186         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26187         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26188         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26189         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26190         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26191         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26193         Likewise.
26194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26195         (__libc_pread64): Likewise.
26196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26197         Likewise.
26198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26199         (__libc_pwrite64): Likewise.
26200         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26201         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26202         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26203         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26204         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26205         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26206         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26207         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26208         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26209         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26210         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26211         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26212         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26213         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26214         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26215         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26216         Likewise.
26218 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26220         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26221         (CFLAGS-test-double.c): Likewise.
26222         (CFLAGS-test-ldouble.c): Likewise.
26223         (CPPFLAGS-test-ifloat.c): Likewise.
26224         (CPPFLAGS-test-idouble.c): Likewise.
26225         (CPPFLAGS-test-ildoubl.c): Likewise.
26226         (CFLAGS-test-test-fenv.c): Remove variable.
26227         (CFLAGS-test-misc.c): Likewise.
26229 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26231         [BZ #17797]
26232         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26233         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26234         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26235         CLOCKS_PER_SEC == 1000000.
26236         * time/clocktest.c (main): Replace %ld with %jd and cast to
26237         intmax_t.
26239 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26241         * sysdeps/generic/unwind-resume.h: New file.
26242         * sysdeps/gnu/unwind-resume.c: Include it.
26243         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26244         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26245         argument list.
26246         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26247         global rather than static.
26248         (_Unwind_Resume): Update user.
26249         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26250         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26251         rather than static.  Add __attribute__ ((cold)).
26252         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26253         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26254         * sysdeps/arm/arm-unwind-resume.S: New file.
26255         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26256         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26257         * sysdeps/arm/Makefile [$(subdir) = csu]
26258         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26259         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26260         Add rt-arm-unwind-resume.
26261         [$(subdir) = nptl]
26262         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26263         Add pt-arm-unwind-resume.
26264         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26265         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26267 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26269         [BZ #17748]
26270         * include/fenv.h (__feholdexcept): Declare.  Use
26271         libm_hidden_proto.
26272         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26273         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26274         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26275         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26276         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26277         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26278         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26279         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26280         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26281         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26282         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26283         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26284         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26285         (feholdexcept): Likewise.
26286         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26287         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26288         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26289         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26290         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26291         __feholdexcept instead of feholdexcept.
26292         (default_libc_feholdexcept_setround): Likewise.
26294 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26296         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26297         to avoid using stl/str to align destination.
26299 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26301         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26303 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26305         [BZ #17796]
26306         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26307         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26308         Define as weak alias not strong alias.
26310 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26312         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26313         bltzal with addiupc.
26314         (RTLD_START): Ditto.
26316 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26318         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26319         for __vdso_* functions in declarations.
26320         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26321         definitions.
26322         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26323         INTERNAL_VSYSCALL): Use struct return types to check for error.
26325         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26326         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26327         function with cast from llround().
26328         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26329         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26330         Define.
26332 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26334         [BZ #17793]
26335         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26336         Define as weak alias not strong alias.
26338         [BZ #17635]
26339         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26340         ...
26341         * ctype/ctype-extn.c: ... here.
26342         (__isblank_l): Move to ...
26343         * ctype/ctype-c99_l.c: ... here.  New file.
26344         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26345         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26346         Remove variable.
26347         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26348         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26349         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26350         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26351         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26353         [BZ #17777]
26354         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26355         (posix_fadvise64): Define as weak alias not strong alias.
26356         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26357         (posix_fallocate64): Likewise.
26358         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26359         Remove variable.
26360         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26361         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26362         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26363         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26364         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26366 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26368         [BZ #16191]
26369         * NEWS: Mention bug fix.
26370         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26371         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26372         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26373         (HOST_STACK_END_ADDR): Likewise.
26375 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26377         [BZ #17748]
26378         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26379         * math/fegetround.c (fegetround): Rename to __fegetround and
26380         define as weak alias of __fegetround.  Use libm_hidden_weak.
26381         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26382         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26383         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26384         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26385         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26386         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26387         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26388         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26389         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26390         Undefine after rather than before function definition; use
26391         parentheses around function name in definition.
26392         (__fegetround): Also undefine macro after function definition.
26393         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26394         __fegetround and define as weak alias of __fegetround.  Use
26395         libm_hidden_weak.  Do not undefine as macro.
26396         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26397         Likewise.
26398         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26399         __fegetround and define as weak alias of __fegetround.  Use
26400         libm_hidden_weak.
26401         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26402         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26403         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26404         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26405         __fegetround and define as weak alias of __fegetround.  Use
26406         libm_hidden_weak.
26407         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26408         __fegetround instead of fegetround.
26410         [BZ #17782]
26411         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26412         Condition macro definition on [__USE_MISC].
26414         [BZ #17781]
26415         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26416         (struct sigaction): Change type of sa_flags field to int.
26418         [BZ #17780]
26419         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26420         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26421         __glibc_reserved0.
26423         * nptl/version.c (banner): Use single year in copyright notice.
26425         * NEWS: Update copyright dates.
26426         * catgets/gencat.c (print_version): Likewise.
26427         * csu/version.c (banner): Likewise.
26428         * debug/catchsegv.sh: Likewise.
26429         * debug/pcprofiledump.c (print_version): Likewise.
26430         * debug/xtrace.sh (do_version): Likewise.
26431         * elf/ldconfig.c (print_version): Likewise.
26432         * elf/ldd.bash.in: Likewise.
26433         * elf/pldd.c (print_version): Likewise.
26434         * elf/sotruss.sh: Likewise.
26435         * elf/sprof.c (print_version): Likewise.
26436         * iconv/iconv_prog.c (print_version): Likewise.
26437         * iconv/iconvconfig.c (print_version): Likewise.
26438         * locale/programs/locale.c (print_version): Likewise.
26439         * locale/programs/localedef.c (print_version): Likewise.
26440         * login/programs/pt_chown.c (print_version): Likewise.
26441         * malloc/memusage.sh (do_version): Likewise.
26442         * malloc/memusagestat.c (print_version): Likewise.
26443         * malloc/mtrace.pl: Likewise.
26444         * manual/libc.texinfo: Likewise.
26445         * nptl/version.c (banner): Likewise.
26446         * nscd/nscd.c (print_version): Likewise.
26447         * nss/getent.c (print_version): Likewise.
26448         * nss/makedb.c (print_version): Likewise.
26449         * posix/getconf.c (main): Likewise.
26450         * scripts/test-installation.pl: Likewise.
26451         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26453 2015-01-02  Will Newton  <will.newton@linaro.org>
26455         * sysdeps/arm/armv7/configure: Removed.
26456         * sysdeps/arm/armv7/configure.ac: Likewise.
26458 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26460         * All files with FSF copyright notices: Update copyright dates
26461         using scripts/update-copyrights.
26462         * intl/plural.c: Regenerated.
26463         * locale/programs/charmap-kw.h: Likewise.
26464         * locale/programs/locfile-kw.h: Likewise.
26466 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26468         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26470 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26472         [BZ #17748]
26473         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26474         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26475         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26476         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26477         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26478         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26479         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26480         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26481         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26482         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26483         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26484         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26485         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26486         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26487         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26488         libm_hidden_def.
26489         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26490         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26491         Likewise.
26492         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26493         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26494         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26495         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26496         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26497         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26498         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26499         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26500         __fegetenv instead of fegetenv.
26501         (libc_feholdsetround_noex_ctx): Likewise.
26503 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26505         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26506         (Elf_MIPS_ABIFlags_v0): New structure.
26507         (EF_MIPS_FP64): Define.
26508         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26509         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26510         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26511         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26512         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26513         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26514         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26515         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26516         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26517         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26518         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26519         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26520         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26521         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26522         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26523         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26524         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26525         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26526         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26527         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26528         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26529         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26530         field.
26531         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26532         EF_MIPS_FP64.
26533         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26534         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26535         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26536         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26537         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26538         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26539         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26540         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26541         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26542         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26543         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26544         record the current FP ABI extension.
26545         (mips-mode-switch): Define to show if kernel headers support mode
26546         switching.
26547         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26548         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26549         supported SYSV ABI version to 3.
26550         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26551         feature.
26553 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26554             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26556         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26557         path.
26558         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26560 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26562         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26563         __fegetround and redefine to call __fegetround.  Remove condition
26564         on [!__NO_MATH_INLINES].
26565         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26566         function.
26567         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26568         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26569         Remove macro.
26570         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26571         instead of <fenv_libc.h>.
26572         (__llrintl): Call fegetround instead of __fegetround.
26573         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26574         instead of <fenv_libc.h>.
26575         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26576         (__lrintl): Call fegetround instead of __fegetround.
26577         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26578         instead of <fenv_libc.h>.
26579         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26580         (__rintl): Call fegetround instead of __fegetround.
26582 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26584         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26585         arrays.
26587 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26589         [BZ #17775]
26590         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26591         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26592         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26594 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26596         * sysdeps/i386/tls-macros.h: Include <features.h>.
26597         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26598         (TLS_IE): Likewise.
26599         (TLS_LD): Likewise.
26600         (TLS_GD): Likewise.
26601         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26602         define for GCC >= 5.0.
26604 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26606         * math/test-fenv.c (test_single_exception, set_single_exc,
26607         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26608         feexcp_mask_test, feenable_test, fe_single_test): Add
26609         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26610         case where they are not used.
26611         * math/libm-test.inc: Likewise.
26612         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26613         unused in the absence of FP rounding/exception support.
26614         * stdio-common/tst-printf-round.c: Likewise.
26615         * stdlib/tst-strtod-round.c: Likewise.
26616         * stdlib/tst-strtod-underflow.c: Likewise.
26618 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26620         [BZ #17723]
26621         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26622         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26623         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26624         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26625         libm_hidden_weak.
26626         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26627         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26628         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26629         libm_hidden_def.
26630         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26631         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26632         libm_hidden_weak.
26633         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26634         Likewise.
26635         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26636         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26637         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26638         libm_hidden_weak.
26639         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26640         libm_hidden_def.
26641         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26642         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26643         (__feraiseexcept): Likewise.
26644         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26645         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26646         libm_hidden_weak.
26647         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26648         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26649         libm_hidden_def.
26650         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26651         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26652         Use libm_hidden_def.
26653         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26654         libm_hidden_def.
26655         (feraiseexcept): Define as weak not strong alias.  Use
26656         libm_hidden_weak.
26657         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26658         New inline function.  Factored out of ...
26659         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26660         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26661         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26662         feraiseexcept.
26663         * math/w_acos.c (__acos): Likewise.
26664         * math/w_asin.c (__asin): Likewise.
26665         * math/w_ilogb.c (__ilogb): Likewise.
26666         * math/w_j0.c (y0): Likewise.
26667         * math/w_j1.c (y1): Likewise.
26668         * math/w_jn.c (yn): Likewise.
26669         * math/w_log.c (__log): Likewise.
26670         * math/w_log10.c (__log10): Likewise.
26671         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26672         * sysdeps/aarch64/fpu/math_private.h
26673         (libc_feupdateenv_test_aarch64): Likewise.
26674         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26675         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26676         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26677         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26678         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26679         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26680         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26681         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26682         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26683         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26685 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26687         [BZ #17732]
26688         * io/test-utime.c (main): Replace %ld with %jd and cast to
26689         intmax_t.
26690         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26691         * nptl/tst-mutex5.c: Include <stdint.h>.
26692         (do_test): Replace %ld with %jd and cast to intmax_t.
26693         * posix/tst-regex.c (run_test): Likewise.
26694         (run_test_backwards): Likewise.
26695         * rt/tst-clock.c: Include <stdint.h>.
26696         (clock_test): Replace %ld with %jd and cast to intmax_t.
26697         * rt/tst-cpuclock1.c: Include <stdint.h>.
26698         (do_test): Replace %lu with %ju and cast to uintmax_t.
26699         * rt/tst-cpuclock2.c: Include <stdint.h>.
26700         (do_test): Replace %lu with %ju and cast to uintmax_t.
26701         * rt/tst-mqueue1.c: Include <stdint.h>.
26702         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26703         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26704         intmax_t.
26705         * rt/tst-mqueue4.c (do_test): Likewise.
26706         * rt/tst-timer4.c: Include <stdint.h>.
26707         (check_ts): Replace %ld with %jd and cast to intmax_t.
26708         (do_test): Likewise.
26709         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26710         and cast to intmax_t.
26711         * sysdeps/pthread/tst-timer.c (main): Likewise.
26712         * time/clocktest.c (main): Likewise.
26713         * time/tst-posixtz.c (do_test): Likewise.
26714         * timezone/tst-timezone.c (main): Likewise.
26716 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26717             H.J. Lu  <hongjiu.lu@intel.com>
26719         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26720         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26721         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26722         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26723         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26724         version if bit_Fast_Unaligned_Load is set.
26725         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26726         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26727         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26728         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26729         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26730         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26731         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26732         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26733         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26734         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26735         to 4.
26736         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26737         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26738         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26739         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26741 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26743         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26744         instead of #if to avoid a Wundef warning.
26745         * stdlib/tst-limits.c (do_test): Likewise.
26747         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26748         parallel other exception macros.
26749         (fegetenv): Convert from macro to extern inline so that it applies
26750         retroactively to inline functions already seen by the compiler.
26751         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26753         * posix/Makefile (before-compile): Use $(objpfx) for
26754         posix-conf-vars-def.h.
26756 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26758         * posix/getconf.c (main): Use size_t for type of I.
26759         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26760         NSPEC.
26762         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26763         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26764         * posix/posix-envs.def: Likewise.
26765         * sysdeps/posix/sysconf.c: Likewise.
26766         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26767         (specs): Remove array.
26768         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26769         array.
26771         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26772         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26773         (__sysconf): Use CONF_IS_* macros.
26775         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26776         ($(objpfx)posix-conf-vars-def.h): New target.
26777         * posix/posix-conf-vars.list: New file.
26778         * posix/posix-conf-vars.h: New file.
26779         * posix/confstr.c: Include posix-conf-vars.h.
26780         (confstr): Use CONF_IS_* macros.
26781         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26782         CONF_IS_* macros.
26783         * scripts/gen-posix-conf-vars.awk: New file.
26785 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26787         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26788         fegetround): Add no-op macros to avoid linknamespace issues.
26790         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26791         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26793         * sysdeps/unix/sysv/linux/tile/sysdep.h
26794         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26795         assembly-specific section to avoid a redefinition warning.
26797         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26798         long before casting to pointer to avoid a cast warning.
26800 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26802         * sysdeps/tile/tilegx/Implies: New file.
26804 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26806         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26808 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26810         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26812 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26814         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26815         not define.
26816         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26817         <kernel-features.h>.
26818         (__utimes) [__NR_utimes]: Make code unconditional.
26819         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26820         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26821         (__ASSUME_UTIMES): Do not undefine.
26822         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26823         (__ASSUME_UTIMES): Likewise.
26824         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26825         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26826         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26827         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26829 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26831         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26833 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26835         [BZ #17747]
26836         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26837         alias to weak alias for j0l, y0l.
26838         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26839         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26841         [BZ #17746]
26842         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26843         conversion.
26845 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26847         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26848         to zero if not already defined.
26850 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26852         [BZ #17724]
26853         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26854         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26855         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26856         (char *) casts added.
26857         * sysdeps/ieee754/k_standardf.c: New file.
26858         * sysdeps/ieee754/k_standardl.c: Likewise.
26859         * math/Makefile (libm-support): Remove k_standard.
26860         (libm-calls): Add k_standard.
26862 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26864         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26865         Optimize to avoid an unnecessary FPCR read.
26867 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26869         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26870         Optimize to reduce FPCR/FPSR accesses.
26872 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26874         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26875         Call libc_fetestexcept_aarch64.
26877 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26879         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26880         Call libc_fesetround_aarch64.
26882 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26884         [BZ #17733]
26885         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26886         (__bind): Do not define as weak alias.
26887         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26888         define.
26889         (__getsockname): Do not define as weak alias.
26891 2014-12-22  Will Newton  <will.newton@linaro.org>
26893         * manual/install.texi: Document that we require bison 2.7
26894         or above.
26895         * INSTALL: Regenerate.
26896         * configure.ac: Use AC_CHECK_PROG_VER instead of
26897         AC_PATH_PROG when checking for bison and check for
26898         version 2.7 or above.
26899         * configure: Regenerate.
26901 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26903         [BZ #17745]
26904         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26905         * sysdeps/tile/ffsll.c (ffsll): To here.
26907         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26909 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26911         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26912         if not defined.
26913         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26914         definition.
26915         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26916         hidden ___tls_get_addr.
26917         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26918         hidden __tls_get_addr.
26919         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26920         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26921         Likewise.
26923 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26925         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26926         _dl_init call.
26928 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26930         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26931         from "call _dl_init@PLT".
26932         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26934 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26936         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26937         guarantees.
26939 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26941         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26943 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26945         [BZ #17744]
26946         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26947         strnlen.
26949 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26951         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26952         of multu on MIPSr6.
26953         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26954         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26955         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26956         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26957         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26959 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26961         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26962         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26963         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26964         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26965         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26966         mips32r6/mips64r6.
26967         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26969 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26971         * string/strncat.c (STRNCAT): Simplify implementation.
26973 2014-12-19  David S. Miller  <davem@davemloft.net>
26975         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26976         access the quad as both a long double and as a series of 4 words.
26978         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26979         link_map->l_info array access.
26981 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26983         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26985         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26986         * math/atest-exp2.c (TIMEOUT): Likewise.
26987         * math/atest-sincos.c (TIMEOUT): Likewise.
26989 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26991         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26992         -Wno-error with -fno-builtin-lround.
26994 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26996         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26997         Contains futex constants and functions moved over from ...
26998         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26999         <lowlevellock-futex.h>.
27000         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27001         (lll_timedwait_tid): Add comments and parentheses around macro
27002         arguments.
27004 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27006         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
27007         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
27008         (__lll_private_flag): Remove.
27009         (lll_futex_wait): Likewise.
27010         (lll_futex_timed_wait): Likewise.
27011         (lll_futex_wake): Likewise.
27012         (lll_futex_requeue): Likewise.
27013         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27014         (__lll_timedwait_tid): Spell out argument names.
27015         (lll_timedwait_tid): Add comments and parentheses around macro
27016         arguments.
27017         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
27018         LLL_SHARED and LLL_PRIVATE usable from assembly code.
27020 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27022         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
27023         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27024         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27025         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
27026         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
27027         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
27028         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
27029         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27030         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
27031         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
27032         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
27033         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
27034         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
27035         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
27036         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
27037         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
27038         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
27039         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
27040         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
27042 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27044         * sysdeps/x86_64/x32/Makefile: New file.
27046 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27048         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
27049         1L with (mp_limb_t) 1.
27051 2014-12-17  Roland McGrath  <roland@hack.frob.com>
27053         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
27054         * nptl/libc_pthread_init.c: ... here.
27055         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
27056         * nptl/register-atfork.c: ... here.
27058         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
27059         Use pthread_sigmask rather than INTERNAL_SYSCALL.
27060         Use assert_perror to check its return value.
27061         (__gai_create_helper_thread): Likewise.
27063         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
27065         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
27067 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
27069         [BZ #17725]
27070         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
27071         __profil_counter.
27072         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
27073         Likewise.
27074         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
27075         Likewise.
27076         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
27077         Likewise.
27078         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
27079         (profil_counter): Likewise.
27080         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
27081         (profil_counter): Likewise.
27082         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
27083         Likewise.
27084         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
27085         Likewise.
27086         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
27087         (profil_counter): Likewise.
27088         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
27089         Likewise.
27090         [!__profil_counter] (profil_counter): Define as weak alias of
27091         __profil_counter.
27092         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
27093         (profil_counter): Rename to __profil_counter.
27094         [!__profil_counter] (profil_counter): Define as weak alias of
27095         __profil_counter.
27096         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
27097         (profil_counter): Rename to __profil_counter.
27098         [!__profil_counter] (profil_counter): Define as weak alias of
27099         __profil_counter.
27100         * sysdeps/posix/profil.c: Update comment referring to
27101         profil_counter.
27102         (__profil): Use __profil_counter instead of profil_counter.
27103         * sysdeps/posix/sprofil.c (profil_counter): Rename to
27104         __profil_counter.  Use __profil_counter_ushort and
27105         __profil_counter_uint in definitions.
27106         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
27107         instead of profil_counter_uint and profil_counter_ushort.
27109         [BZ #17722]
27110         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
27111         define as weak alias of __inet_makeaddr.
27112         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
27113         as weak alias of __inet_addr.
27114         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
27115         as weak alias of __inet_pton.  Use libc_hidden_weak.
27116         * include/arpa/inet.h (__inet_pton): Declare.  Use
27117         libc_hidden_proto.
27118         (inet_makeaddr): Don't use libc_hidden_proto.
27119         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
27120         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
27121         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
27122         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
27123         Remove variable.
27124         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27125         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27127 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
27129         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
27131 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27133         * stdio-common/bug-vfprintf-nargs.c (do_test):
27134         Cast value to intptr_t to avoid format warning
27135         for usage with PRIdPTR printing macro.
27137 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27139         * libio/tst-widetext.c (do_test):
27140         Use format type %td instead of %Zd for ptrdiff_t
27141         in order to avoid format warning.
27143 2014-12-17  Andreas Schwab  <schwab@suse.de>
27145         * nscd/mem.c (gc): Add size_t cast to match printf format.
27147 2014-12-16  Roland McGrath  <roland@hack.frob.com>
27149         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27150         (init): Apply PTR_MANGLE to pointers before storing them.
27151         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27152         before using them.
27154 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
27156         [BZ #17719]
27157         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
27158         define as weak alias of __memrchr.
27159         (__memrchr): Do not define as strong alias of memrchr.
27160         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
27161         Remove variable.
27162         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27163         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27164         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27166         [BZ #17717]
27167         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
27168         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
27169         (if_indextoname): Rename to __if_indextoname and define as weak
27170         alias of __if_indextoname.  Use libc_hidden_weak.
27171         (if_freenameindex): Rename to __if_freenameindex and define as
27172         weak alias of __if_freenameindex.
27173         (if_nameindex): Rename to __if_nameindex and define as weak alias
27174         of __if_nameindex.
27175         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27176         __if_nametoindex and define as weak alias of __if_nametoindex.
27177         Use libc_hidden_weak.
27178         (if_freenameindex): Rename to __if_freenameindex and define as
27179         weak alias of __if_freenameindex.
27180         (if_nameindex): Rename to __if_nameindex and define as weak alias
27181         of __if_nameindex.
27182         (if_indextoname): Rename to __if_indextoname and define as weak
27183         alias of __if_indextoname.  Use libc_hidden_weak.
27184         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27185         __if_nametoindex and define as weak alias of __if_nametoindex.
27186         Use libc_hidden_weak.
27187         (if_freenameindex): Rename to __if_freenameindex and define as
27188         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27189         (if_nameindex_netlink): Use __if_freenameindex instead of
27190         if_freenameindex.
27191         (if_nameindex): Rename to __if_nameindex and define as weak alias
27192         of __if_nameindex.  Use libc_hidden_weak.
27193         (if_indextoname): Rename to __if_indextoname and define as weak
27194         alias of __if_indextoname.  Use libc_hidden_weak.
27195         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27196         libc_hidden_proto.
27197         [!_ISOMAC] (__if_freenameindex): Likewise.
27198         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27199         if_nametoindex.
27200         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27201         variable.
27202         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27203         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27204         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27205         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27206         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27207         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27208         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27210         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27211         Remove variable.
27212         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27213         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27215 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27217         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27218         subscript above bounds'
27220         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27221         bounds.
27223 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27225         * libio/tst-fopenloc.c: Use test-skeleton.c.
27227         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27228         (entry): Rename to ITEM.
27229         (do_test, comp): Adjust.
27231         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27233 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27235         * string/tester.c: Include <libc-internal.h>.
27236         (test_memset): Ignore -Wmemset-transposed-args.
27238 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27240         * misc/tst-mntent2.c (do_test): Fix warning.
27242 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27244         * elf/tst-unique4lib.cc(a): Mark as used.
27246 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27248         [BZ #17630]
27249         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27250         names.
27252 2014-12-16  Allan McRae  <allan@archlinux.org>
27254         * stdio-common/Makefile (tests): Re-add bug26.
27256 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27258         [BZ #17657]
27259         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27260         static array.
27262 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27264         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27265         (__lll_lock_wait): Likewise.
27266         (__lll_timedlock_wait): Likewise.
27267         (__lll_timedwait_tid): Likewise.
27268         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27269         (__lll_robust_timedlock_wait): Likewise.
27270         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27271         (lll_cond_trylock): Likewise.
27272         (__lll_lock): Likewise.
27273         (__lll_robust_lock): Likewise.
27274         (__lll_cond_lock): Likewise.
27275         (lll_robust_cond_lock): Likewise.
27276         (__lll_timedlock): Likewise.
27277         (__lll_robust_timedlock): Likewise.
27278         (__lll_unlock): Likewise.
27279         (__lll_robust_unlock): Likewise.
27280         (lll_wait_tid): Likewise.
27281         (lll_timedwait_tid): Likewise.
27283 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27285         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27287 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27289         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27291 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27293         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27294         * stdio-common/tst-sprintf.c: Likewise.
27296 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27298         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27300 2014-12-15  Jeff Law  <law@redhat.com>
27302         [BZ #16617]
27303         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27304         on the heap.  (CVE-2012-3406)
27305         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27306         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27307         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27309 2014-12-15  Will Newton  <will.newton@linaro.org>
27311         * manual/install.texi: Bump required version of texinfo
27312         to 4.7 from 4.5.
27313         * INSTALL: Regenerated.
27314         * configure.ac: Check for makeinfo version 4.7 and above.
27315         * configure: Regenerated.
27317 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27319         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27320         PREFIX, string constant to insert between directory and name.
27321         * sysdeps/posix/shm_open.c: Update caller.
27322         * sysdeps/posix/shm_unlink.c: Likewise.
27323         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27324         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27325         (SEM_SHM_PREFIX): New macro.
27326         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27327         [$(have-thread-library) = no].
27328         * nptl/Makefile (libpthread-routines): Add shm-directory.
27329         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27330         * sysdeps/nptl/shm-directory.h: New file.
27331         * sysdeps/posix/shm-directory.c
27332         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27333         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27334         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27335         INTERNAL_SYSCALL.
27336         (__where_is_shmfs): Function removed.
27337         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27338         Variables removed.
27339         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27340         Use SHM_GET_NAME.
27341         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27343         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27344         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27345         unconditional for use inside libpthread.
27346         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27348 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27350         * nptl/pthread_getaffinity.c: New file.
27351         * nptl/pthread_setaffinity.c: New file.
27352         * nptl/pthread_getname.c: New file.
27353         * nptl/pthread_setname.c: New file.
27355         * nptl/pthread_create.c (START_THREAD_DEFN)
27356         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27358 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27359             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27361         * resolv/res_send.c (send_vc): Disable warning resplen may
27362         be used uninitialized.
27364 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27366         * nptl/tst-mutex6.c
27367         (ATTR_NULL): New define checks ATTR against NULL.
27368         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27369         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27371 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27373         [BZ #17581]
27374         * malloc/hooks.c
27375         (mem2mem_check): Revert my previous change.
27376         (malloc_check_get_size): Revert my previous change.
27377         (mem2chunk_check): Revert my previous change.
27379 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27381         * sysdeps/posix/shm-directory.c: New file.
27382         * sysdeps/posix/shm-directory.h: New file.
27383         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27384         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27385         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27386         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27387         Transmute EPERM to EACCES.
27388         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27389         from ...
27390         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27391         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27393 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27395         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27396         pointer and cast to uintptr_t.
27397         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27398         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27399         Add cast to avoid warning.
27400         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27402 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27404         * nptl/semaphore.h: Move to ...
27405         * sysdeps/pthread/semaphore.h: ... here.
27406         * Makefile (installed-headers): Change nptl/semaphore.h to
27407         sysdeps/pthread/semaphore.h.
27409 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27411         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27412         generated error format strings.
27414         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27415         -Wformat-extra-args warnings for scanf formats.
27416         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27417         test of zero-length format (duh).
27418         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27419         corner-case scanf format test.
27420         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27421         generated fprintf format string.
27422         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27423         corner-case sprintf format tests.
27424         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27425         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27426         -Wformat-extra-args warnings throughout.
27427         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27428         (CFLAGS-scanf4.c): Likewise.
27429         (CFLAGS-scanf7.c): Likewise.
27430         (CFLAGS-tst-sprintf.c): Likewise.
27431         (CFLAGS-tst-printf.c): Likewise.
27432         (CFLAGS-tst-printfsz.c): Likewise.
27434 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27436         * include/cpio.h: New file.
27437         * include/fmtmsg.h: Likewise.
27439         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27440         corresponding format argument to size_t.
27441         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27442         arguments.
27443         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27444         corresponding format argument to size_t.
27445         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27446         arguments.
27447         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27448         corresponding format argument to size_t.
27449         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27450         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27451         (CFLAGS-tst-mbswcs2.c): Likewise.
27452         (CFLAGS-tst-mbswcs3.c): Likewise.
27453         (CFLAGS-tst-mbswcs4.c): Likewise.
27454         (CFLAGS-tst-mbswcs5.c): Likewise.
27455         (CFLAGS-tst-trans.c): Likewise.
27457 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27459         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27460         rather than assuming they won't contain any '%'s.
27462 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27464         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27465         inhibit_loop_to_libcall to avoid recursive calls.
27466         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27467         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27469 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27471         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27472         prototype.
27474 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27476         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27477         integer value instead of boolean.
27479 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27481         * malloc/malloc.c: Fix powerof2 check.
27483 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27485         * locale/programs/locfile.h (maybe_swap_uint32):
27486         Remove inline and add unused attribute.
27488 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27490         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27491         Truncating assembler expression to a .long expression.
27493 2014-12-11  Andreas Schwab  <schwab@suse.de>
27495         * elf/rtld.c (struct map_args): Constify str member.
27496         (do_preload): Constify fname argument.
27498 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27500         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27501         constants definition.
27503 2014-12-11  Andreas Schwab  <schwab@suse.de>
27505         [BZ #16657]
27506         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27507         FORCE_ELISION instead of DO_ELISION.
27508         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27509         Remove.
27510         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27511         Likewise.
27513         * iconvdata/gconv-modules: Remove duplicate entry.
27515 2014-12-11  Will Newton  <will.newton@linaro.org>
27517         Merge gettext 0.19.3 into intl/.
27519         This involves a number of cosmetic changes to comments
27520         and ANSI function definitions and prototypes throughout
27521         all the files. The gettext copyright header is used but
27522         with the date ranges taken from the glibc copy.
27524         * NEWS: Add gettext merge to 2.21.
27525         * intl/bindtextdom.c: Switch to gettext copyright.
27526         Use ANSI definitions and prototypes.
27527         Use gl_* locking primitives rather than __libc_* ones.
27528         Use __builtin_expect rather than __glibc_likely/unlikely.
27529         * intl/dcgettext.c: Switch to gettext copyright.
27530         Use ANSI definitions and prototypes.
27531         * intl/dcigettext.c: Switch to gettext copyright.
27532         Use ANSI definitions and prototypes.
27533         (INTDIV0_RAISES_SIGFPE): New define.
27534         Use gl_* locking primitives rather than __libc_* ones.
27535         Include eval-plural.h instead of plural-eval.c.
27536         Use __builtin_expect rather than __glibc_likely/unlikely.
27537         * intl/dcngettext.c: Switch to gettext copyright.
27538         Use ANSI definitions and prototypes.
27539         * intl/dgettext.c: Likewise.
27540         * intl/dngettext.c: Likewise.
27541         * intl/plural-eval.c: Renamed to...
27542         * intl/eval-plural.h: ...this.
27543         * intl/explodename.c: Switch to gettext copyright.
27544         Use ANSI definitions and prototypes.
27545         (_nl_explode_name): Use strchr instead of __rawmemchr.
27546         * intl/finddomain.c: Switch to gettext copyright.
27547         Use ANSI definitions and prototypes.
27548         Use gl_* locking primitives rather than __libc_* ones.
27549         (_nl_find_domain): Use malloc rather than alloca for
27550         allocation of temporary locale name.
27551         * intl/gettext.c: Switch to gettext copyright.
27552         Use ANSI definitions and prototypes.
27553         * intl/gettextP.h: Switch to gettext copyright.
27554         Use ANSI definitions and prototypes.
27555         Use gl_* locking primitives rather than __libc_* ones.
27556         * intl/gmo.h: Switch to gettext copyright.
27557         (struct sysdep_string): Move struct segment_pair outside of
27558         struct definition.
27559         * intl/hash-string.c: Use ANSI definitions and prototypes.
27560         * intl/hash-string.h: Switch to gettext copyright.
27561         Use ANSI definitions and prototypes.
27562         * intl/l10nflist.c: Switch to gettext copyright.
27563         Use ANSI definitions and prototypes.
27564         (_nl_normalize_codeset): Avoid integer overflow.
27565         * intl/loadinfo.h: Switch to gettext copyright.
27566         Use ANSI definitions and prototypes.
27567         (LIBINTL_DLL_EXPORTED): New define.
27568         (PATH_SEPARATOR): New define.
27569         * intl/loadmsgcat.c: Switch to gettext copyright.
27570         * intl/localealias.c: Switch to gettext copyright.
27571         Use ANSI definitions and prototypes.
27572         (_nl_expand_alias): Use PATH_SEPARATOR.
27573         * intl/ngettext.c: Switch to gettext copyright.
27574         Use ANSI definitions and prototypes.
27575         * intl/plural-exp.c: Likewise.
27576         * intl/plural-exp.h: Switch to gettext copyright.
27577         Use ANSI definitions and prototypes.
27578         (struct expression): Move definition of enum operator outside
27579         of struct definition.
27580         * intl/plural.c: Regenerate.
27581         * intl/plural.y: Switch to gettext copyright.
27582         Use ANSI definitions and prototypes.
27583         Port to bison 3.0.
27584         * intl/textdomain.c: Switch to gettext copyright.
27585         Use ANSI definitions and prototypes.
27586         Use gl_* locking primitives rather than __libc_* ones.
27588 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27590         * debug/warning-nop.c: Add used atrribute.
27592 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27594         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27596         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27597         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27598         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27600 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27601             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27603         [BZ #17634]
27604         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27605         Undefine after defining function.  Define as weak alias of
27606         __wcschr.  Use libc_hidden_weak.
27607         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27608         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27609         (libc_hidden_def): Also define __GI___wcschr alias.
27610         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27611         __wcschr and define as weak alias of __wcschr.
27612         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27613         __wcschr.
27614         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27615         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27616         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27617         libc_hidden_weak.  Do not use libc_hidden_def.
27618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27619         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27620         __GI___wcschr alias.
27621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27622         [IS_IN (libc)] (wcschr): Define as macro expanding to
27623         __redirect_wcschr.
27624         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27625         [IS_IN (libc)] (__wcschr_power6): Likewise.
27626         [IS_IN (libc)] (__wcschr_power7): Likewise.
27627         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27628         instead of wcschr.
27629         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27630         __libc_wcschr.
27631         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27632         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27633         __wcschr and define as weak alias of __wcschr.  Use
27634         libc_hidden_builtin_def.
27635         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27636         as weak alias of __wcschr.  Use libc_hidden_weak.
27637         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27638         wcschr.
27639         * time/era.c (_nl_init_era_entries): Likewise.
27640         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27641         variable.
27642         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27643         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27645 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27647         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27648         format for long int variable.
27650 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27652         [BZ #10672]
27653         * manual/search.texi: (Array Sort Function): Remove claim how to make
27654         qsort stable.
27656 2014-12-10  Andreas Schwab  <schwab@suse.de>
27658         [BZ #12847]
27659         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27660         user-controlled locks.
27662 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27664         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27665         register.
27667 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27669         * configure.ac (--disable-werror): New configure option.
27670         (enable_werror): New AC_SUBST.
27671         * configure: Regenerated.
27672         * config.make.in (enable-werror): New variable.
27673         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27674         -Wno-error=undef.
27675         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27676         * manual/install.texi (Configuring and compiling): Document
27677         --disable-werror.
27678         * INSTALL: Regenerated.
27679         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27680         (CFLAGS-tst-chk2.c): Likewise.
27681         (CFLAGS-tst-chk3.c): Likewise.
27682         (CFLAGS-tst-chk4.cc): Likewise.
27683         (CFLAGS-tst-chk5.cc): Likewise.
27684         (CFLAGS-tst-chk6.cc): Likewise.
27685         (CFLAGS-tst-lfschk1.c): Likewise.
27686         (CFLAGS-tst-lfschk2.c): Likewise.
27687         (CFLAGS-tst-lfschk3.c): Likewise.
27688         (CFLAGS-tst-lfschk4.cc): Likewise.
27689         (CFLAGS-tst-lfschk5.cc): Likewise.
27690         (CFLAGS-tst-lfschk6.cc): Likewise.
27692         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27693         (main): Disable -Wdeprecated-declarations around calls to
27694         register_printf_function.
27696         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27697         (do_test): Disable -Wdiv-by-zero around some calls to
27698         fwrite_unlocked and fread_unlocked.
27700         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27701         (DIAG_POP_NEEDS_COMMENT): Likewise.
27702         (_DIAG_STR1): Likewise.
27703         (_DIAG_STR): Likewise.
27704         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27705         * stdio-common/bug21.c: Include <libc-internal.h>.
27706         (do_test): Disable -Wformat around call to sscanf.
27707         * stdio-common/scanf14.c: Include <libc-internal.h>.
27708         (main): Disable -Wformat around some calls to scanf functions.
27710 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27712         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27714 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27716         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27717         stack variable alignment.
27719 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27721         [BZ #17682]
27722         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27723         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27724         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27725         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27726         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27727         __getrlimit instead of getrlimit.
27728         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27729         __gettimeofday instead of gettimeofday.
27730         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27731         Likewise.
27732         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27733         Likewise.
27734         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27735         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27736         Remove variable.
27737         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27738         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27740 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27742         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27743         for wide-character tests.
27745 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27747         * io/openat64.c: #include <libc-internal.h>
27748         (__openat64): Prototypify.  Use ignore_value on MODE.
27749         * io/openat.c: Likewise.
27750         * misc/reboot.c: #include <libc-internal.h>
27751         (reboot): Prototypify.  Use ignore_value on HOWTO.
27752         * misc/ptrace.c: #include <libc-internal.h>
27753         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27755 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27757         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27758         XPG4, UNIX98 and XOPEN2K.
27759         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27760         Remove variable.
27761         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27763 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27765         * libio/fileops.c: Use ISO C style for function definitions.
27766         * libio/iofopen.c: Likewise.
27767         * libio/wfileops.c: Likewise.
27769         [BZ #17653]
27770         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27771         offset on EOF.
27772         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27773         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27774         (fgets_func): Function pointer to fgets and fgetws.
27775         (do_ftell_test): Add test to verify ftell value after read
27776         EOF.
27777         (do_test): Set fgets_func.
27779         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27780         O_TRUNC flag for w and w+ modes.
27781         (do_rewind_test): Likewise.
27782         (do_ftell_test): Likewise.
27783         (do_write_test): Likewise.
27785         [BZ #17647]
27786         * libio/fileops.c (do_ftell): Seek only when there are
27787         unflushed writes.
27788         * libio/wfileops.c (do_ftell_wide): Likewise.
27789         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27790         test case.
27791         (do_one_test): Call it.
27793 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27795         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27796         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27797         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27798         Remove variable.
27799         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27800         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27801         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27803 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27805         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27806         Remove variable.
27807         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27809         [BZ #17668]
27810         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27811         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27812         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27813         __freeifaddrs.  Use libc_hidden_weak.
27814         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27815         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27816         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27817         __freeifaddrs.  Use libc_hidden_weak.
27818         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27819         __getifaddrs and define as weak alias of __getifaddrs.  Use
27820         libc_hidden_weak.
27821         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27822         __freeifaddrs.  Use libc_hidden_weak.
27823         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27824         Remove variable.
27825         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27826         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27828 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27830         [BZ #17601]
27831         * sysdeps/mips/start.S (__start): Use indirect jump to call
27832         __libc_start_main.
27834 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27836         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27838         * nptl/tst-mutex1.c: Include <stdbool.h>.
27839         [!ATTR] (ATTR_NULL): New macro.
27840         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27841         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27842         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27844         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27845         to char *.
27847         [BZ #17665]
27848         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27849         Change conditional to [__USE_MISC].
27851         [BZ #17664]
27852         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27853         fgets_unlocked.
27854         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27855         __fgets_unlocked.
27856         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27857         fgets_unlocked.
27858         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27859         Remove variable.
27860         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27861         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27862         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27863         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27864         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27865         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27866         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27867         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27868         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27870         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27872 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27874         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27875         Remove strpbrk objects.
27876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27877         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27878         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27879         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27880         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27881         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27883         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27884         Remove strcspn objects.
27885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27886         (__libc_ifunc_impl_list): Remove strcspn implementation.
27887         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27888         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27889         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27890         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27892         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27893         Remove strspn objetcs.
27894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27895         (__libc_ifunc_impl_list): Remove strspn implementation.
27896         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27897         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27898         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27899         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27901 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27903         [BZ #17581]
27904         * malloc/hooks.c
27905         (mem2mem_check): Add a terminator to the chain of checking blocks.
27906         (malloc_check_get_size): Use it here.
27907         (mem2chunk_check): Ditto.
27909 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27911         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27912         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27914 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27916         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27918         * nptl/nptl-init.c: Include libc-internal.h.
27919         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27921         * elf/ldconfig.c (search_dir): Expand comment.
27923 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27925         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27926         variable.
27927         (linknamespace-symlist-stdlibs-tests): Likewise.
27928         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27929         instead of $(objpfx)symlist-stdlibs.
27930         (linknamespace-libs-isoc): New variable.
27931         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27932         (linknamespace-libs-ISO): New variable.
27933         (linknamespace-libs-ISO99): Likewise.
27934         (linknamespace-libs-ISO11): Likewise.
27935         (linknamespace-libs-XPG3): Likewise.
27936         (linknamespace-libs-XPG4): Likewise.
27937         (linknamespace-libs-POSIX): Likewise.
27938         (linknamespace-libs-UNIX98): Likewise.
27939         (linknamespace-libs-XOPEN2K): Likewise.
27940         (linknamespace-libs-POSIX2008): Likewise.
27941         (linknamespace-libs-XOPEN2K8): Likewise.
27942         ($(objpfx)symlist-stdlibs): Replace by
27943         $(linknamespace-symlist-stdlibs-tests).  Use
27944         $(linknamespace-libs-$*) as set of libraries.
27945         ($(linknamespace-header-tests)): Update dependencies.  Use
27946         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27947         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27948         * conform/linknamespace.pl: Remove comment about considering
27949         definitions of symbols from irrelevant libraries.
27951 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27953         [BZ #13862]
27954         * elf/dl-tls.c: Include <atomic.h>.
27955         (oom): Remove #ifdef SHARED/#endif.
27956         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27957         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27958         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27959         big enough.
27960         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27961         * nptl/Makefile (tests): Add tst-stack4.
27962         (modules-names): Add tst-stack4mod.
27963         ($(objpfx)tst-stack4): New.
27964         (tst-stack4mod.sos): Likewise.
27965         ($(objpfx)tst-stack4.out): Likewise.
27966         ($(tst-stack4mod.sos)): Likewise.
27967         (clean): Likewise.
27968         * nptl/tst-stack4.c: New file.
27969         * nptl/tst-stack4mod.c: Likewise.
27971 2014-11-27  J. Brown  <jb999@gmx.de>
27973         * sysdeps/x86/bits/string.h: Add recent CPUs.
27975 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27977         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27978         sigblock.
27980         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27981         feof.
27983         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27984         variable.
27986 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27988         * nscd/connections.c: Include libc-internal.h because of macro
27989         usage ignore_value.
27991 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27993         * string/bits/string3.h (__warn_memset_zero_len): Don't
27994         declare for gcc newer than 5.0.
27995         (memset): Don't test for zero-length __LEN for gcc newer than
27996         5.0.
27998 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28000         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
28001         size_t for %zu format.
28003         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
28004         difference, not %ju.
28006 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28008         * include/libc-internal.h (ignore_value): New macro.
28009         * nscd/connections.c (restart): Wrap calls to setuid and setgid
28010         with ignore_value.
28012         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
28013         definition.
28015         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
28016         pthread_cleanup_push to void *.
28018         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
28019         Undefine.
28021         [BZ #16619]
28022         [BZ #16740]
28023         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
28024         instead of 1L << 52.
28026         * libio/bug-rewind.c (do_test): Check fwscanf return values.
28027         * libio/bug-rewind2.c (do_test): Likewise.
28029         * debug/test-stpcpy_chk-ifunc.c: Remove file.
28030         * debug/test-strcpy_chk-ifunc.c: Likewise.
28031         * wcsmbs/test-wcschr-ifunc.c: Likewise.
28032         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28033         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28034         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28035         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28036         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28037         * Rules [$(multi-arch) = no] (tests): Do not filter out
28038         $(tests-ifunc).
28039         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
28040         * debug/Makefile (tests-ifunc): Remove variable.
28041         (tests): Do not add $(tests-ifunc).
28042         * wcsmbs/Makefile (tests-ifunc): Remove variable.
28043         (tests): Do not add $(tests-ifunc).
28044         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
28045         [TEST_IFUNC]: Remove conditionals.
28046         * string/test-string.h (TEST_IFUNC): Remove macro.
28047         [TEST_IFUNC]: Remove conditionals.
28049         * string/test-strchr.c [!WIDE] (L): New macro.
28050         [WIDE] (L): Likewise.
28051         (check1): Use CHAR instead of char.  Use L on string and character
28052         constants.
28054 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
28056         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
28057         tests.
28058         * sysdeps/powerpc/bits/atomic.h
28059         (__arch_atomic_exchange_and_add_32_acq): Add definition.
28060         (__arch_atomic_exchange_and_add_32_rel): Likewise.
28061         (atomic_exchange_and_add_acq): Likewise.
28062         (atomic_exchange_and_add_rel): Likewise.
28063         * sysdeps/powerpc/powerpc32/bits/atomic.h
28064         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28065         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28066         * sysdeps/powerpc/powerpc64/bits/atomic.h
28067         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28068         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28070 2014-11-26  Torvald Riegel  <triegel@redhat.com>
28072         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
28073         Change synchronization of __sched_fifo_min_prio and
28074         __sched_fifo_max_prio.
28075         * nptl/pthread_mutexattr_getprioceiling.c
28076         (pthread_mutexattr_getprioceiling): Likewise.
28077         * nptl/pthread_mutexattr_setprioceiling.c
28078         (pthread_mutexattr_setprioceiling): Likewise.
28079         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28080         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
28081         Likewise.
28083 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28085         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
28086         void.
28088 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28090         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
28091         third argument const.
28093 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
28095         fnmatch: work around GCC compiler warning bug with uninit var
28096         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
28097         This works around a bug with x86-64 GCC 4.9.2 and earlier
28098         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
28099         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
28100         used uninitialized in this function [-Wmaybe-uninitialized]".
28102 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28104         * posix/bug-regex31.c (main): Return RES not 0.
28106 2014-11-25  Anton Blanchard <anton@samba.org>
28108         * sysdeps/powerpc/bits/atomic.h
28109         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
28111 2014-11-24  Sterling Augustine  <saugustine@google.com>
28113         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28115 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
28117         [BZ #17608]
28118         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
28120 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
28122         [BZ #17633]
28123         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
28124         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
28125         variable.
28126         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28127         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28129 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28131         * string/strncpy.c (strncpy): Improve performance by using memset.
28133 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28135         * string/strcpy.c (strcpy):
28136         Improve performance by using strlen and memcpy.
28138 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
28140         * string/strcoll_l.c (get_next_seq): __always_inline.
28141         * string/strcoll_l.c (do_compare): __always_inline.
28143 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28145         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28146         defined.
28147         * include/mqueue.h: Likewise.
28148         * include/stdlib.h: Likewise.
28150         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28151         (get_null_defines): Adjust.
28152         * sunrpc/Makefile: Adjust comment.
28153         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28154         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28155         (CFLAGS-interp.c): Likewise.
28156         (CFLAGS-ldconfig.c): Likewise.
28157         (CPPFLAGS-.os): Likewise.
28158         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28159         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28160         * extra-modules.mk (extra-modules.mk): Likewise.
28161         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28162         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28163         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
28164         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
28165         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
28166         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
28167         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
28168         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
28169         * iconvdata/Makefile (CPPFLAGS): Likewise.
28170         (cpp-srcs-left): Add libof for all iconvdata routines.
28171         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28172         * include/assert.h: Likewise.
28173         * include/ctype.h: Likewise.
28174         * include/errno.h: Likewise.
28175         * include/libc-symbols.h: Likewise.
28176         * include/math.h: Likewise.
28177         * include/netdb.h: Likewise.
28178         * include/resolv.h: Likewise.
28179         * include/stdio.h: Likewise.
28180         * include/stdlib.h: Likewise.
28181         * include/string.h: Likewise.
28182         * include/sys/stat.h: Likewise.
28183         * include/wctype.h: Likewise.
28184         * intl/l10nflist.c: Likewise.
28185         * libidn/idn-stub.c: Likewise.
28186         * libio/libioP.h: Likewise.
28187         * nptl/libc_multiple_threads.c: Likewise.
28188         * nptl/pthreadP.h: Likewise.
28189         * posix/regex_internal.h: Likewise.
28190         * resolv/res_hconf.c: Likewise.
28191         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28192         * sysdeps/arm/memmove.S: Likewise.
28193         * sysdeps/arm/sysdep.h: Likewise.
28194         * sysdeps/generic/_itoa.h: Likewise.
28195         * sysdeps/generic/symbol-hacks.h: Likewise.
28196         * sysdeps/gnu/errlist.awk: Likewise.
28197         * sysdeps/gnu/errlist.c: Likewise.
28198         * sysdeps/i386/i586/memcpy.S: Likewise.
28199         * sysdeps/i386/i586/memset.S: Likewise.
28200         * sysdeps/i386/i686/memcpy.S: Likewise.
28201         * sysdeps/i386/i686/memmove.S: Likewise.
28202         * sysdeps/i386/i686/mempcpy.S: Likewise.
28203         * sysdeps/i386/i686/memset.S: Likewise.
28204         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28205         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28206         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28207         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28208         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28209         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28210         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28211         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28212         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28213         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28214         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28215         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28216         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28217         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28218         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28219         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28220         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28221         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28222         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28223         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28224         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28225         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28226         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28227         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28228         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28229         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28230         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28231         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28232         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28233         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28234         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28235         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28236         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28237         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28238         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28239         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28240         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28241         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28242         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28243         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28244         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28245         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28246         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28247         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28248         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28249         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28250         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28251         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28252         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28253         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28254         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28255         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28256         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28257         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28258         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28259         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28260         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28261         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28262         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28263         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28264         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28265         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28266         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28267         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28268         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28269         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28270         * sysdeps/posix/closedir.c: Likewise.
28271         * sysdeps/posix/opendir.c: Likewise.
28272         * sysdeps/posix/readdir.c: Likewise.
28273         * sysdeps/posix/rewinddir.c: Likewise.
28274         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28275         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28276         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28277         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28278         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28279         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28280         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28281         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28282         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28283         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28284         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28285         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28286         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28287         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28288         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28289         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28290         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28291         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28292         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28293         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28294         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28295         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28296         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28297         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28298         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28299         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28300         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28301         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28302         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28309         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28310         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28311         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28312         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28313         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28314         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28315         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28316         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28317         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28318         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28319         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28320         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28321         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28322         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28323         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28324         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28325         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28327         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28328         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28329         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28330         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28331         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28332         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28333         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28334         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28335         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28336         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28337         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28338         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28339         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28340         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28341         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28342         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28343         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28344         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28345         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28346         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28347         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28348         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28349         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28350         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28351         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28352         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28353         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28354         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28355         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28356         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28357         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28358         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28359         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28360         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28361         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28362         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28363         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28364         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28365         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28366         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28367         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28368         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28369         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28370         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28371         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28372         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28373         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28374         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28375         * sysdeps/unix/alpha/sysdep.S: Likewise.
28376         * sysdeps/unix/alpha/sysdep.h: Likewise.
28377         * sysdeps/unix/make-syscalls.sh: Likewise.
28378         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28379         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28380         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28381         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28382         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28383         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28384         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28385         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28386         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28387         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28388         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28389         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28390         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28391         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28392         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28393         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28394         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28395         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28396         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28397         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28398         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28399         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28400         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28401         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28402         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28403         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28404         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28407         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28408         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28409         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28412         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28413         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28414         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28416         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28417         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28418         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28419         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28420         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28421         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28422         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28423         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28425         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28426         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28427         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28428         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28429         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28430         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28431         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28432         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28433         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28434         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28436         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28437         * sysdeps/x86_64/memcpy.S: Likewise.
28438         * sysdeps/x86_64/memmove.c: Likewise.
28439         * sysdeps/x86_64/memset.S: Likewise.
28440         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28441         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28442         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28443         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28444         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28445         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28446         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28447         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28448         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28449         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28450         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28451         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28452         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28453         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28454         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28455         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28456         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28457         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28458         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28459         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28460         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28461         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28462         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28463         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28464         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28465         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28466         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28467         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28468         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28469         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28470         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28471         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28472         * sysdeps/x86_64/strcmp.S: Likewise.
28474         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28476         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28477         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28478         * elf/rtld-Rules: Likewise.
28479         * elf/setup-vdso.h: Likewise.
28480         * include/assert.h: Likewise.
28481         * include/bits/stdlib-float.h: Likewise.
28482         * include/errno.h: Likewise.
28483         * include/sys/stat.h: Likewise.
28484         * include/unistd.h: Likewise.
28485         * sysdeps/aarch64/setjmp.S: Likewise.
28486         * sysdeps/alpha/setjmp.S: Likewise.
28487         * sysdeps/arm/__longjmp.S: Likewise.
28488         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28489         * sysdeps/arm/setjmp.S: Likewise.
28490         * sysdeps/arm/sysdep.h: Likewise.
28491         * sysdeps/generic/_itoa.h: Likewise.
28492         * sysdeps/generic/dl-sysdep.h: Likewise.
28493         * sysdeps/generic/ldsodefs.h: Likewise.
28494         * sysdeps/i386/dl-tls.h: Likewise.
28495         * sysdeps/i386/setjmp.S: Likewise.
28496         * sysdeps/m68k/setjmp.c: Likewise.
28497         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28498         * sysdeps/mach/hurd/opendir.c: Likewise.
28499         * sysdeps/posix/getcwd.c: Likewise.
28500         * sysdeps/posix/opendir.c: Likewise.
28501         * sysdeps/posix/profil.c: Likewise.
28502         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28503         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28504         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28505         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28506         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28507         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28508         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28509         * sysdeps/s390/dl-tls.h: Likewise.
28510         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28511         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28512         * sysdeps/sh/sh3/setjmp.S: Likewise.
28513         * sysdeps/sh/sh4/setjmp.S: Likewise.
28514         * sysdeps/unix/alpha/sysdep.h: Likewise.
28515         * sysdeps/unix/arm/sysdep.S: Likewise.
28516         * sysdeps/unix/i386/sysdep.S: Likewise.
28517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28518         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28519         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28520         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28521         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28522         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28523         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28524         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28525         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28526         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28527         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28528         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28529         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28532         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28533         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28535         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28536         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28537         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28538         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28540         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28541         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28542         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28543         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28544         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28545         * sysdeps/x86_64/setjmp.S: Likewise.
28547         * include/math.h: Use IS_IN instead of IS_IN_libm.
28548         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28549         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28550         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28551         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28552         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28553         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28554         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28555         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28556         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28557         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28558         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28559         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28560         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28561         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28562         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28563         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28564         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28565         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28566         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28567         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28568         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28569         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28570         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28571         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28572         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28573         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28574         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28575         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28576         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28577         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28578         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28579         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28580         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28582         Likewise.
28583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28584         Likewise.
28585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28586         Likewise.
28587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28588         Likewise.
28589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28590         Likewise.
28591         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28592         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28593         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28594         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28595         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28596         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28602         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28603         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28604         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28605         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28606         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28607         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28608         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28609         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28610         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28611         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28612         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28613         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28614         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28615         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28617         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28619         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28620         * nptl/pthreadP.h: Likewise.
28621         * nptl_db/structs.def: Likewise.
28622         * sysdeps/arm/sysdep.h: Likewise.
28623         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28624         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28625         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28626         * sysdeps/unix/alpha/sysdep.h: Likewise.
28627         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28628         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28629         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28630         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28631         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28632         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28633         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28634         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28635         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28636         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28637         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28638         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28639         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28640         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28645         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28646         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28648         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28649         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28650         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28651         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28652         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28654         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28655         * nptl/pthreadP.h: Likewise.
28656         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28657         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28658         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28659         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28660         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28661         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28662         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28663         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28664         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28665         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28666         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28667         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28669         Likewise.
28670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28671         Likewise.
28672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28673         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28674         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28675         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28676         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28677         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28678         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28679         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28681         * dlfcn/dladdr.c: Use IS_IN.
28682         * dlfcn/dladdr1.c: Likewise.
28683         * dlfcn/dlclose.c: Likewise.
28684         * dlfcn/dlerror.c: Likewise.
28685         * dlfcn/dlinfo.c: Likewise.
28686         * dlfcn/dlmopen.c: Likewise.
28687         * dlfcn/dlopen.c: Likewise.
28688         * dlfcn/dlsym.c: Likewise.
28689         * dlfcn/dlvsym.c: Likewise.
28691         * include/ifaddrs.h: Use IS_IN.
28692         * inet/check_pf.c: Likewise.
28693         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28694         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28696         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28697         IS_IN_ldconfig.
28698         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28699         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28701         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28702         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28703         IS_IN (libc).
28705         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28707         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28708         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28709         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28710         * include/libc-symbols.h (IS_IN_LIB): New macro.
28711         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28712         * include/netdb.h: Likewise.
28713         * include/stap-probe.h: Remove all uses of IN_LIB.
28715         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28716         instead of IN_MODULE.
28717         * include/libc-symbols.h (IN_MODULE): Define using
28718         MODULE_NAME.
28719         (PASTE_NAME, PASTE_NAME1): New macros.
28720         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28721         of IN_LIB.
28722         (STAP_PROBE_ASM): Likewise.
28724 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28726         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28727         __mach_init in dlopened libc.
28729 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28731         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28732         * sysdeps/arm/preconfigure: Regenerate.
28734 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28736         * nptl/pthread_create.c (__pthread_create_2_1): Set
28737         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28738         when copying values from IATTR into PD.
28740 2014-11-21  Will Newton  <will.newton@linaro.org>
28741             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28743         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28744         Refactor inline-asm.  Also add comment.
28746         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28747         ElfW macro instead of hardcoded Elf64 types.
28748         (la_aarch64_gnu_pltenter): Likewise.
28749         * sysdeps/aarch64/dl-machine.h
28750         (elf_machine_runtime_setup): Use ElfW(Addr).
28752         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28753         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28754         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28755         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28756         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28757         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28758         (R_AARCH64_TLS_DTPMOD): This.
28759         (R_AARCH64_TLS_DTPREL64): Rename to ...
28760         (R_AARCH64_TLS_DTPREL): This.
28761         (R_AARCH64_TLS_TPREL64): Rename to ...
28762         (R_AARCH64_TLS_TPREL): This.
28763         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28764         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28765         R_AARCH64_TLS_TPREL64.
28766         (elf_machine_rela): Likewise.
28768 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28770         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28771         by setting it to 0.  64b atomics are not supported currently.
28773 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28775         [BZ #16469]
28776         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28777         search domain names.
28779 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28781         [BZ #16469]
28782         * NEWS: Update.
28783         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28784         trailing dot.
28785         * posix/tst-getaddrinfo5.c: New.
28786         * posix/Makefile (tests): Add it.
28788 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28790         [BZ #14498]
28791         * NEWS: Fixed.
28792         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28793         after parsing line but before break_if_match.
28794         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28795         if there is a protocol mismatch.
28797 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28799         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28800         because the potential race is on the user-supplied stream.
28802 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28804         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28805         string literal if not passed a buffer.
28806         * manual/job.texi (ctermid): Update reasoning, note deviation
28807         from posix, suggest mtasurace when not passed a buffer, for
28808         future non-preliminary safety notes.
28810 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28812         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28813         of not passing it a buffer.
28814         Reported by Peng Haitao.
28816 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28818         * manual/Makefile ($(objpfx)stamp-summary): Require
28819         check-safety.sh to pass.
28820         * manual/check-safety.sh: Wish for verification that every
28821         @deftypefn and @deftypefun is followed by a @safety remark.
28823 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28825         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28827         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28828         PTHREAD_CANCEL_ASYNCHRONOUS.
28829         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28830         send SIGCANCEL.
28832         * nptl/default-sched.h: New file.
28833         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28834         * nptl/pthread_create.c: Include it.
28835         (__pthread_create_2_1): Use collect_default_sched instead of making
28836         Linux syscalls here directly.
28838 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28840         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28841         __pthread_once): Use C11 atomics.
28843 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28845         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28847 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28849         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28850         atomic_thread_fence_acquire, atomic_thread_fence_release,
28851         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28852         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28853         atomic_compare_exchange_weak_relaxed,
28854         atomic_compare_exchange_weak_acquire,
28855         atomic_compare_exchange_weak_release,
28856         atomic_exchange_acquire, atomic_exchange_release,
28857         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28858         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28859         atomic_fetch_and_acquire,
28860         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28862 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28864         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28865         USE_ATOMIC_COMPILER_BUILTINS): Define.
28866         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28867         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28868         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28869         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28870         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28871         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28872         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28873         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28874         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28875         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28876         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28877         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28878         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28879         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28880         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28881         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28882         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28883         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28884         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28885         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28886         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28887         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28888         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28889         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28890         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28891         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28892         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28893         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28894         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28895         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28896         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28897         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28898         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28899         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28900         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28901         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28902         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28903         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28904         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28907 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28909         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28910         the sched_priority value here.  It was already checked when the user
28911         called pthread_attr_setschedparam.
28913         * nptl/tst-bad-schedattr.c: New file.
28914         * nptl/Makefile (tests): Add it.
28916 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28917             Florian Weimer  <fweimer@redhat.com>
28918             Joseph Myers  <joseph@codesourcery.com>
28919             Adam Conrad  <adconrad@0c3.net>
28920             Andreas Schwab  <schwab@suse.de>
28921             Brooks  <bmoses@google.com>
28923         [BZ #17625]
28924         * wordexp-test.c (__dso_handle): Add prototype.
28925         (__register_atfork): Likewise.
28926         (__app_register_atfork): New function.
28927         (registered_forks): New global.
28928         (register_fork): New function.
28929         (test_case): Add 3 new tests for WRDE_CMDSUB.
28930         (main): Call __app_register_atfork.
28931         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28932         fork count is non-zero fail the test.
28933         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28934         is set.
28935         (parse_dollars): Remove check for WRDE_NOCMD.
28936         (parse_dquote): Likewise.
28938 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28940         * Makeconfig (built-modules): List non-library modules to be
28941         built.
28942         (module-cppflags): Include libc-modules.h for
28943         everything except shlib-versions.v.i.
28944         (CPPFLAGS): Use it.
28945         (before-compile): Add libc-modules.h.
28946         ($(common-objpfx)libc-modules.h,
28947         $(common-objpfx)libc-modules.stmp): New targets.
28948         (common-generated): Add libc-modules.h and libc-modules.stmp.
28949         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28950         * include/libc-symbols.h: Don't include libc-modules.h.
28951         * include/libc-modules.h: Remove file.
28952         * scripts/gen-libc-modules.awk: New script to generate
28953         libc-modules.h.
28954         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28955         Depend on libc-modules.stmp.
28957         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28959         * Makeconfig (in-module): Get value of libof set for the
28960         translation unit.
28961         (CPPFLAGS): Use $(in-module).
28962         * Makerules: Don't suffix routine names for nonlib.
28963         * include/libc-modules.h: New file.
28964         * include/libc-symbols.h: Include libc-modules.h
28965         (IS_IN): New macro to replace IS_IN_* macros.
28966         * elf/Makefile: Set libof-* for each routine.
28967         * elf/rtld-Rules: Likewise.
28968         * extra-modules.mk: Likewise.
28969         * iconv/Makefile: Likewise.
28970         * iconvdata/Makefile: Likewise.
28971         * locale/Makefile: Likewise.
28972         * malloc/Makefile: Likewise.
28973         * nss/Makefile: Likewise.
28974         * sysdeps/gnu/Makefile: Likewise.
28975         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28976         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28977         * sysdeps/s390/s390-64/Makefile: Likewise.
28978         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28979         CPPFLAGS for nscd instead of nonlib.
28981 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28983         * nptl/createthread.c: New file.
28985         * nptl/createthread.c: Moved ...
28986         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28988         * nptl/createthread.c: Add proper top-line comment.
28989         (do_clone): Folded into ...
28990         (create_thread): ... here.  Take new arguments STOPPED_START and
28991         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28992         increment __nptl_threads, do event-reporting logic, do
28993         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28994         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28995         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28996         just send SIGCANCEL.
28997         * nptl/pthread_create.c: Forward-declare create_thread before
28998         including createthread.c.
28999         (start_thread): Use new macro START_THREAD_DEFN to replace defining
29000         declaration, and new macro START_THREAD_SELF to replace argument.
29001         Remove return statement.
29002         (report_thread_creation): New function.
29003         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
29004         synchronization logic, and __nptl_nthreads increment here, around
29005         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
29006         PD->parent_cancelhandling here, before create_thread.  When
29007         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
29008         __deallocate_stack, and ENOMEM translation here.
29010 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
29012         [BZ #17616]
29013         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
29014         (mptwo): Rename to __mptwo.
29015         (__inv): Use __mptwo instead of mptwo.
29016         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
29017         (mptwo): Rename to __mptwo.
29018         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
29019         of mpone and __mptwo instead of mptwo.
29020         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
29021         instead of mpone.
29022         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29023         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
29024         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
29025         of mpone and __mptwo instead of mptwo.
29026         (__mpranred): Use __mpone instead of mpone.
29027         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
29028         variable.
29029         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29030         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29031         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29032         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29033         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29034         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29035         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29036         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29037         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29038         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29039         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29040         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29041         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29042         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29043         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29044         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29045         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29046         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29047         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29049 2014-11-18  Tom de Vries  <tom@codesoucery.com>
29051         * manual/signal.texi (Primitives Interrupted by Signals): In section,
29052         replace BSD Handler xref with BSD Signal Handling.
29054 2014-11-17  Richard Henderson  <rth@redhat.com>
29056         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
29057         (_FP_PACK_RAW_2): Remove.
29058         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
29059         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
29060         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
29061         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
29062         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
29063         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
29064         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
29065         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
29066         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
29067         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
29068         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
29069         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
29070         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
29071         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
29072         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
29073         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
29075 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29077         * signal/signal.h [__USE_MISC]
29078         (struct sigvec): Remove type.
29079         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
29080         (sigvec): Remove declaration.
29081         * sysdeps/posix/sigvec.c: Moved ...
29082         * signal/sigvec.c: ... here, replacing old file.
29083         (struct sigvec): New type, copied from old signal.h definition.
29084         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
29085         (__sigvec): Convert definition to prototype.
29086         (sigvec): Replace weak_alias with compat_symbol.
29087         * signal/Versions (libc: GLIBC_2.21): New version set.
29088         * include/signal.h: Remove __sigvec declaration.
29089         * sysdeps/unix/bsd/sigvec.c: Remove file.
29090         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
29091         * manual/signal.texi (BSD Handler): Remove subsection.
29092         Move siginterrupt up to ...
29093         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
29094         (Blocking in BSD): Fold subsection into its parent.
29095         * NEWS: Mention sigvec removal.
29097 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29099         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
29100         (DLA_FMS): Make definition conditional only on [__FMA4__].
29101         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
29102         definition.
29104         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
29105         Make definition conditional only on [PROF].
29106         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
29107         definition.
29108         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
29109         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
29111         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
29112         !__GNUC__].
29113         * include/signal.h (__sigpause): Move declaration above call to
29114         libc_hidden_proto.
29115         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
29116         variable.
29117         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29118         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29120 2014-11-14  David S. Miller  <davem@davemloft.net>
29122         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
29123         Define before including <string/memcpy.c> and <string/mempcpy.c>.
29125 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29127         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
29128         * configure: Regenerated.
29129         * manual/install.texi (Tools for Compilation): Document a
29130         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
29131         compiler verified to work.
29132         * INSTALL: Regenerated.
29134         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
29135         redeclare with asm name.
29136         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29137         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29138         including <string.h>.
29139         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29140         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29141         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29142         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29143         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29145         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29147 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
29149         * stdlib/strtol.c (__strtol): Use prototype definition.
29151         [BZ #17594]
29152         * stdlib/strtol.c (SYM__): New macro.
29153         (SYM__1): Likewise.
29154         (__strtol): Likewise.
29155         (strtol): Rename to __strtol and define as weak alias of
29156         __strtol.  Use libc_hidden_weak.
29158 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29160         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
29161         Use numbered labels in inline assembly.
29163 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29165         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
29166         Add setjmp LIBC_PROBE.
29167         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
29168         Likewise.
29169         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
29170         Add longjmp, longjmp_target LIBC_PROBE.
29171         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29172         Likewise.
29174 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29176         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29177         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29178         to get rid of unused variable warning.
29180 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29182         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29183         Check for unwind_backtrace ==  NULL only in SHARED case.
29184         (__backchain_backtrace): Compile only in SHARED case.
29185         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29186         Likewise.
29187         (__backchain_backtrace): Declare as static.
29189 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29191         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29192         (__libc_multiple_threads_ptr): Variable moved ...
29193         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29195 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29197         * conform/GlibcConform.pm: New file.
29198         * conform/conformtest.pl: Use GlibcConform module.
29199         * conform/linknamespace.pl: New file.
29200         * conform/list-header-symbols.pl: Likewise.
29201         * conform/Makefile (linknamespace-symlists-base): New variable.
29202         (linknamespace-symlists-tests): Likewise.
29203         (linknamespace-header-base): Likewise.
29204         (linknamespace-header-tests): Likewise.
29205         (tests-special): Add new tests.
29206         ($(linknamespace-symlists-tests)): New rule.
29207         (linknamespace-libs): New variable.
29208         ($(objpfx)symlist-stdlibs): New rule.
29209         ($(linknamespace-header-tests)): Likewise.
29210         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29211         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29212         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29213         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29214         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29215         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29216         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29217         (test-xfail-ISO/math.h/linknamespace): Likewise.
29218         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29219         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29220         (test-xfail-ISO/time.h/linknamespace): Likewise.
29221         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29222         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29223         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29224         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29225         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29226         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29227         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29228         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29229         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29230         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29231         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29232         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29233         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29234         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29235         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29236         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29237         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29238         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29239         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29240         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29241         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29242         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29243         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29244         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29245         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29246         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29247         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29248         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29249         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29250         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29251         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29252         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29253         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29254         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29255         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29256         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29257         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29258         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29259         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29260         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29261         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29262         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29263         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29264         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29265         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29266         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29267         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29268         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29269         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29270         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29271         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29272         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29273         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29274         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29275         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29276         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29277         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29278         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29279         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29280         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29281         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29282         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29283         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29284         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29285         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29286         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29287         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29288         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29289         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29290         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29291         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29292         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29293         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29294         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29295         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29296         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29297         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29298         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29299         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29300         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29301         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29302         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29303         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29304         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29305         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29306         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29307         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29308         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29309         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29310         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29311         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29312         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29313         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29314         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29315         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29316         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29317         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29318         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29319         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29320         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29321         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29322         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29323         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29324         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29325         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29326         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29327         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29328         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29329         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29330         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29331         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29332         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29333         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29334         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29335         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29336         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29337         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29338         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29339         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29340         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29341         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29342         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29343         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29344         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29345         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29346         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29347         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29348         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29349         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29350         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29351         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29352         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29353         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29354         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29355         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29356         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29357         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29358         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29359         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29360         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29361         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29362         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29363         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29364         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29365         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29366         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29367         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29368         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29369         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29370         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29372         [BZ #17589]
29373         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29374         of fgets_unlocked.
29376         [BZ #17585]
29377         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29378         (memmem): Rename to __memmem and define as weak alias of
29379         __memmem.  Use libc_hidden_weak.
29380         (__memmem): Use libc_hidden_def.
29381         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29382         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29383         memmem.
29385         [BZ #17582]
29386         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29387         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29388         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29389         and define as weak alias of __fgets_unlocked.  Use
29390         libc_hidden_weak.
29391         (__fgets_unlocked): Use libc_hidden_def.
29392         * include/stdio.h (__fgets_unlocked): Declare.  Use
29393         libc_hidden_proto.
29394         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29395         __fgets_unlocked instead of fgets_unlocked.
29396         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29397         (GET_NPROCS_CONF_PARSER): Likewise.
29398         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29399         (GET_NPROCS_CONF_PARSER): Likewise.
29401         [BZ #17574]
29402         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29403         weak alias of __wmemset.  Use libc_hidden_weak.
29404         (__wmemset): Use libc_hidden_def.
29405         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29406         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29407         of wmemset.
29409         [BZ #17573]
29410         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29411         with asm name __mempcpy.
29412         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29414         [BZ #17572]
29415         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29416         and define as weak alias of __rawmemchr.
29417         (__rawmemchr): Do not define as strong alias of rawmemchr.
29419         [BZ #17571]
29420         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29421         alias of __qsort_r.
29422         (qsort): Call __qsort_r instead of qsort_r.
29423         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29424         (__qsort_r): Declare.  Call libc_hidden_proto.
29425         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29426         instead of qsort_r.
29427         * nscd/gai.c (__qsort_r): Define to qsort_r.
29428         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29429         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29430         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29432         [BZ #17570]
29433         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29434         define as weak alias of __malloc_info.
29436         [BZ #17584]
29437         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29438         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29439         (__rewinddir): Use libc_hidden_def.
29440         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29441         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29442         (__rewinddir): Use libc_hidden_def.
29443         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29444         weak alias of __rewinddir.  Don't use libc_hidden_def.
29445         (__rewinddir): Use libc_hidden_def.
29446         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29447         (__rewinddir): Use libc_hidden_proto.
29448         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29449         rewinddir.
29450         (__getcwd): Use __rewinddir instead of rewinddir.
29452         [BZ #17583]
29453         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29454         alias of __fileno.  Use libc_hidden_weak.
29455         (__fileno): Use libc_hidden_def.
29456         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29457         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29458         alias of __ftello.
29459         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29460         __ftello.
29461         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29462         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29463         libc_hidden_def.
29464         (fread_unlocked): Don't use libc_hidden_ver.
29465         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29466         and define as weak alias of __fread_unlocked.  Don't use
29467         libc_hidden_def.
29468         (__fread_unlocked): Use libc_hidden_def.
29469         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29470         (ftello): Don't use libc_hidden_proto.
29471         (__ftello): Declare.  Use libc_hidden_proto.
29472         (fread_unlocked): Don't use libc_hidden_proto.
29473         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29474         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29475         and __ftello instead of fileno, fread_unlocked and ftello.
29477 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29479         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29480         GOT12.
29481         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29482         Likewise.
29483         (_dl_start_user): Likewise.
29484         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29486 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29487             Siddhesh Poyarekar  <siddhesh@redhat.com>
29489         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29490         Move argv and envp down instead of moving argc up.
29491         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29493 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29495         [BZ #17506]
29496         * test-skeleton.c (main): Return successful if one of
29497         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29498         * string/tst-strcoll-overflow.c: Define expected status.
29500 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29502         [BZ #17475]
29503         * locale/iso-639.def: Define Bhili and Tulu language codes.
29505 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29507         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29509 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29511         [BZ #17555]
29512         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29514 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29516         * configure.ac: Updated check of minimal required version to
29517         2.22.
29518         * manual/install.texi (Tools for Compilation): Updated version
29519         number.
29520         * configure: Regenerated.
29521         * INSTALL: Likewise.
29523 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29525         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29526         __tls_get_addr.
29528 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29530         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29531         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29532         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29533         libc_hidden_weak.
29534         (waitpid): Define as alias of __waitpid.
29535         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29536         __waitpid.
29537         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29538         libc_hidden_weak.
29539         (waitpid): Define as alias of __waitpid.
29540         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29541         __libc_waitpid alias.
29542         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29543         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29544         Likewise.
29545         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29546         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29547         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29548         alias.
29549         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29550         __waitpid.
29551         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29552         libc_hidden_weak.
29553         (waitpid): Define as alias of __waitpid.
29555 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29557         * manual/llio.texi: Add comment that write safety has been
29558         fixed in Linux.
29560         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29561         (localplt-build-dso): Add elf/ld.so.
29562         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29563         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29564         and free for ld.so.
29565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29566         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29568         Likewise.
29569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29570         Likewise.
29571         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29572         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29573         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29574         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29575         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29576         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29577         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29578         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29579         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29580         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29581         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29583 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29585         [BZ #14132]
29586         * include/libc-symbols.h (INTUSE): Remove macro.
29587         (INTDEF): Likewise.
29588         (INTVARDEF): Likewise.
29589         (_INTVARDEF): Likewise.
29590         (INTDEF2): Likewise.
29591         (INTVARDEF2): Likewise.
29592         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29593         rtld_hidden_def instead of INTVARDEF.
29594         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29595         (_dl_starting_up_internal): Remove declaration.
29596         (_dl_starting_up): Use rtld_hidden_proto.
29597         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29598         declaration.
29599         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29600         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29601         _dl_starting_up.
29602         * elf/dl-writev.h (_dl_writev): Likewise.
29603         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29604         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29605         _dl_starting_up_internal.
29607 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29609         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29610         test-skeleton.c.
29612 2014-11-05  Will Newton  <will.newton@linaro.org>
29614         * benchtests/Makefile: (bench-malloc): Add malloc thread
29615         scalability benchmark.
29616         * benchtests/bench-malloc-threads.c: New file.
29618 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29620         * sysdeps/aarch64/strchrnul.S: New file.
29622 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29624         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29625         definition.
29626         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29627         Likwise.
29628         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29629         Likewise.
29630         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29631         Likewise.
29632         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29633         Likewise.
29634         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29635         Likewise.
29637 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29639         * catgets/test-gencat.c: Use test-skeleton.c.
29640         * catgets/tst-catgets.c: Likewise.
29641         * csu/tst-empty.c: Likewise.
29642         * elf/tst-audit2.c: Likewise.
29643         * elf/tst-global1.c: Likewise.
29644         * elf/tst-pathopt.c: Likewise.
29645         * elf/tst-piemod1.c: Likewise.
29646         * elf/tst-tls10.c: Likewise.
29647         * elf/tst-tls11.c: Likewise.
29648         * elf/tst-tls12.c: Likewise.
29649         * gnulib/tst-gcc.c: Likewise.
29650         * iconvdata/tst-e2big.c: Likewise.
29651         * iconvdata/tst-loading.c: Likewise.
29652         * iconv/tst-iconv1.c: Likewise.
29653         * iconv/tst-iconv2.c: Likewise.
29654         * inet/test-inet6_opt.c: Likewise.
29655         * inet/tst-gethnm.c: Likewise.
29656         * inet/tst-network.c: Likewise.
29657         * inet/tst-ntoa.c: Likewise.
29658         * intl/tst-codeset.c: Likewise.
29659         * intl/tst-gettext2.c: Likewise.
29660         * intl/tst-gettext3.c: Likewise.
29661         * intl/tst-ngettext.c: Likewise.
29662         * intl/tst-translit.c: Likewise.
29663         * io/test-stat.c: Likewise.
29664         * libio/test-fmemopen.c: Likewise.
29665         * libio/tst-freopen.c: Likewise.
29666         * libio/tst-sscanf.c: Likewise.
29667         * libio/tst-ungetwc1.c: Likewise.
29668         * libio/tst-ungetwc2.c: Likewise.
29669         * libio/tst-widetext.c: Likewise.
29670         * localedata/tst-ctype.c: Likewise.
29671         * localedata/tst-digits.c: Likewise.
29672         * localedata/tst-leaks.c: Likewise.
29673         * localedata/tst-mbswcs1.c: Likewise.
29674         * localedata/tst-mbswcs2.c: Likewise.
29675         * localedata/tst-mbswcs3.c: Likewise.
29676         * localedata/tst-mbswcs4.c: Likewise.
29677         * localedata/tst-mbswcs5.c: Likewise.
29678         * localedata/tst-setlocale.c: Likewise.
29679         * localedata/tst-trans.c: Likewise.
29680         * localedata/tst-wctype.c: Likewise.
29681         * localedata/tst-xlocale1.c: Likewise.
29682         * login/tst-grantpt.c: Likewise.
29683         * malloc/tst-calloc.c: Likewise.
29684         * malloc/tst-malloc.c: Likewise.
29685         * malloc/tst-mallocstate.c: Likewise.
29686         * malloc/tst-mcheck.c: Likewise.
29687         * malloc/tst-mtrace.c: Likewise.
29688         * malloc/tst-obstack.c: Likewise.
29689         * math/atest-exp2.c: Likewise.
29690         * math/atest-exp.c: Likewise.
29691         * math/atest-sincos.c: Likewise.
29692         * math/test-matherr.c: Likewise.
29693         * math/test-misc.c: Likewise.
29694         * math/test-powl.c: Likewise.
29695         * math/tst-definitions.c: Likewise.
29696         * misc/tst-dirname.c: Likewise.
29697         * misc/tst-efgcvt.c: Likewise.
29698         * misc/tst-fdset.c: Likewise.
29699         * misc/tst-hsearch.c: Likewise.
29700         * misc/tst-mntent2.c: Likewise.
29701         * nptl/tst-sem7.c: Likewise.
29702         * nptl/tst-sem8.c: Likewise.
29703         * nptl/tst-sem9.c: Likewise.
29704         * nss/test-netdb.c: Likewise.
29705         * posix/tst-fnmatch.c: Likewise.
29706         * posix/tst-getlogin.c: Likewise.
29707         * posix/tst-gnuglob.c: Likewise.
29708         * posix/tst-mmap.c: Likewise.
29709         * pwd/tst-getpw.c: Likewise.
29710         * resolv/tst-inet_ntop.c: Likewise.
29711         * rt/tst-timer.c: Likewise.
29712         * stdio-common/test-fseek.c: Likewise.
29713         * stdio-common/test-popen.c: Likewise.
29714         * stdio-common/test-vfprintf.c: Likewise.
29715         * stdio-common/tst-cookie.c: Likewise.
29716         * stdio-common/tst-fileno.c: Likewise.
29717         * stdio-common/tst-gets.c: Likewise.
29718         * stdio-common/tst-obprintf.c: Likewise.
29719         * stdio-common/tst-perror.c: Likewise.
29720         * stdio-common/tst-sprintf2.c: Likewise.
29721         * stdio-common/tst-sprintf3.c: Likewise.
29722         * stdio-common/tst-sprintf.c: Likewise.
29723         * stdio-common/tst-swprintf.c: Likewise.
29724         * stdio-common/tst-tmpnam.c: Likewise.
29725         * stdio-common/tst-unbputc.c: Likewise.
29726         * stdio-common/tst-wc-printf.c: Likewise.
29727         * stdlib/tst-environ.c: Likewise.
29728         * stdlib/tst-fmtmsg.c: Likewise.
29729         * stdlib/tst-limits.c: Likewise.
29730         * stdlib/tst-rand48-2.c: Likewise.
29731         * stdlib/tst-rand48.c: Likewise.
29732         * stdlib/tst-random2.c: Likewise.
29733         * stdlib/tst-random.c: Likewise.
29734         * stdlib/tst-strtol.c: Likewise.
29735         * stdlib/tst-strtoll.c: Likewise.
29736         * stdlib/tst-tls-atexit.c: Likewise.
29737         * stdlib/tst-xpg-basename.c: Likewise.
29738         * string/test-ffs.c: Likewise.
29739         * string/tst-bswap.c: Likewise.
29740         * string/tst-inlcall.c: Likewise.
29741         * string/tst-strtok.c: Likewise.
29742         * string/tst-strxfrm.c: Likewise.
29743         * sysdeps/x86_64/tst-audit10.c: Likewise.
29744         * sysdeps/x86_64/tst-audit3.c: Likewise.
29745         * sysdeps/x86_64/tst-audit4.c: Likewise.
29746         * sysdeps/x86_64/tst-audit5.c: Likewise.
29747         * time/tst-ftime_l.c: Likewise.
29748         * time/tst-getdate.c: Likewise.
29749         * time/tst-mktime3.c: Likewise.
29750         * time/tst-mktime.c: Likewise.
29751         * time/tst-posixtz.c: Likewise.
29752         * time/tst-strptime2.c: Likewise.
29753         * time/tst-strptime3.c: Likewise.
29754         * wcsmbs/tst-btowc.c: Likewise.
29755         * wcsmbs/tst-mbrtowc.c: Likewise.
29756         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29757         * wcsmbs/tst-wchar-h.c: Likewise.
29758         * wcsmbs/tst-wcpncpy.c: Likewise.
29759         * wcsmbs/tst-wcrtomb.c: Likewise.
29760         * wcsmbs/tst-wcsnlen.c: Likewise.
29761         * wcsmbs/tst-wcstof.c: Likewise.
29763 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29765         [BZ #14132]
29766         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29767         INTDEF.
29768         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29769         declaration.
29770         (_dl_mcount): Use rtld_hidden_proto.
29771         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29772         _dl_mcount.
29773         * elf/rtld.c (_rtld_global_ro): Likewise.
29775         [BZ #14132]
29776         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29777         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29778         of _dl_init_internal.
29779         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29780         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29781         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29782         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29783         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29784         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29785         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29786         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29787         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29788         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29789         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29790         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29791         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29792         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29793         * sysdeps/tile/dl-start.S (_start): Likewise.
29794         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29795         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29797         [BZ #14132]
29798         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29799         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29800         (rtld_progname): Make macro definition unconditional.
29801         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29802         INTDEF.
29803         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29804         (dl_main): Likewise.
29805         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29806         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29807         instead of _dl_argv_internal.
29808         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29809         __GI__dl_argv instead of INTUSE(_dl_argv).
29810         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29811         __GI__dl_argv instead of _dl_argv_internal.
29813         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29814         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29815         macro.
29816         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29817         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29818         New macro.
29819         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29820         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29821         macro.
29822         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29823         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29825 2014-11-04  Andreas Schwab  <schwab@suse.de>
29827         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29829 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29831         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29832         mtvsrd instruction in binary form.
29834 2014-11-03  Andreas Schwab  <schwab@suse.de>
29836         [BZ #17522]
29837         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29838         for less than MB_LEN_MAX use a local buffer of that size.
29839         * libio/tst-fputws.c: New file.
29840         * libio/Makefile (tests): Add tst-fputws.
29842 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29844         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29845         the size of the fpu_fr.fpu_dregs[] array.
29847 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29849         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29850         (__nanosleep): Do not define as alias.
29851         (nanosleep): Define as alias of __nanosleep.
29852         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29853         __libc_nanosleep name.
29855 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29857         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29858         install.texi in comment.
29860 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29862         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29863         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29864         ... add here and use lwsync or sync ...
29865         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29866         ... and add here using lwsync.
29868 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29870         * elf/dl-machine-reject-phdr.h: New file.
29871         * elf/dl-load.c: #include that.
29872         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29873         if that returned true.
29875 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29877         [BZ #17496]
29878         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29879         gen-as-const-headers chunk.  Add a big scare comment after the last
29880         safe place to touch before-compile.
29882 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29884         * manual/install.texi (Tools for Compilation): Update autoconf
29885         version requirements.
29886         * INSTALL: Regenerated.
29888         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29889         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29890         (__libc_pselect): Likewise.
29892         [BZ #14138]
29893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29898 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29900         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29901         correct barrier instruction.
29902         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29903         Likewise.
29904         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29905         Likewise.
29907 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29909         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29910         after defining inlines.  Instead, just use parens to defeat macro
29911         expansion of __isctype in its declaration.
29913 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29915         * include/sys/uio.h (__libc_readv): Remove declaration.
29916         (__libc_writev): Likewise.
29917         * misc/readv.c (__libc_readv): Rename to __readv.
29918         (__readv): Do not define as alias.
29919         (readv): Define as alias of __readv.
29920         * misc/writev.c (__libc_writev): Rename to __writev.
29921         (__writev): Do not define as alias.
29922         (writev): Define as alias of __writev.
29923         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29924         (__readv): Do not define as alias.
29925         (readv): Define unconditionally as alias of __readv.
29926         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29927         (__writev): Do not define as alias.
29928         (writev): Define unconditionally as alias of __writev.
29929         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29930         name.
29931         (writev): Do not define __libc_writev name.
29933 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29935         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29936         (convert_charseq): New function, broken out of ...
29937         (use_from_charmap): ... here.  Call it.
29938         (use_to_charmap): Use convert_charseq and free instead of duplicating
29939         its code with a variable-length stack struct.
29941 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29943         * include/fcntl.h (__libc_creat): Remove declaration.
29944         * io/creat.c (__libc_creat): Rename to creat.
29945         (creat): Do not define as alias.
29946         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29947         of creat instead of __libc_creat.
29948         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29949         to creat.
29950         (creat): Do not define as alias.
29951         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29952         __libc_creat.
29953         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29954         __libc_creat name.
29955         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29956         Likewise.
29958 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29960         * manual/llio.texi: Add comments discussing why write() may be
29961         considered MT-unsafe on Linux.
29963 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29965         * dl-load.c (local_strdup): Remove.
29966         (expand_dynamic_string_token): Use __strdup.
29967         (decompose_rpath): Likewise.
29968         (_dl_map_object): Likewise.
29970 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29972         [BZ #14132]
29973         * sysdeps/generic/unwind-dw2-fde.c
29974         (__register_frame_info_bases_internal): Do not declare.
29975         (__register_frame_info_table_bases_internal): Likewise.
29976         (__deregister_frame_info_bases_internal): Likewise.
29977         (__register_frame_info_bases): Declare and use hidden_proto before
29978         definition.  Use hidden_def instead of INTDEF.
29979         (__register_frame_info_table_bases): Likewise.
29980         (__deregister_frame_info_bases): Likewise.
29981         (__register_frame_info): Do not use INTUSE.
29982         (__register_frame): Likewise.
29983         (__register_frame_info_table): Likewise.
29984         (__register_frame_table): Likewise.
29985         (__deregister_frame_info): Likewise.
29986         (__deregister_frame): Likewise.
29988 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29990         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29991         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29992         not undefine.
29993         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29994         Likewise.
29995         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29996         Likewise.
29998 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
30000         [BZ #14138]
30001         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
30002         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
30003         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
30004         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
30005         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
30006         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
30007         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
30008         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
30009         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
30010         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
30011         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
30012         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
30013         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
30014         syscall.
30015         (setfsuid): Likewise.
30016         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
30017         (setfsuid): Likewise.
30018         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
30019         (setfsuid): Likewise.
30020         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
30021         Likewise.
30022         (setfsuid): Likewise.
30023         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
30024         (setfsuid): Likewise.
30025         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
30026         Likewise.
30027         (setfsuid): Likewise.
30029 2014-10-27  Andreas Schwab  <schwab@suse.de>
30031         [BZ #17501]
30032         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
30033         check for Slow_SSE4_2 feature bit.
30034         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
30035         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30036         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
30037         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
30039 2014-10-24  Roland McGrath  <roland@hack.frob.com>
30041         * configure.ac: Validate compiler version with a empirical test of
30042         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
30043         $CC -v output.
30044         * configure: Regenerated.
30046         * inet/htons.c (htons): Prototypify.
30047         * inet/htonl.c (htonl): Likewise.
30049 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30051         * string/strncat.c (strncat): Improve performance by using strlen.
30053 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30055         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
30057 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30059         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
30060         Call libc_fetestexcept_aarch64.
30062 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30064         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
30065         Call libc_feholdexcept_aarch64.
30067 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30069         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
30070         Call get_rounding_mode.
30072 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30074         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30075         Simplify logic.
30077 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30079         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
30080         Simplify logic.
30082 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
30084         [BZ #14138]
30085         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
30086         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
30087         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
30088         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
30089         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
30090         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
30091         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
30092         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
30093         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
30094         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
30095         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30096         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
30097         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
30098         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
30099         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
30100         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
30101         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
30102         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
30103         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
30104         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
30105         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
30106         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
30107         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
30108         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
30109         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
30110         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
30111         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
30112         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
30113         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
30114         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
30115         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
30116         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
30117         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
30118         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
30119         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
30120         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
30121         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
30122         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
30123         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
30124         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
30125         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
30126         syscall.
30127         (geteuid): Likewise.
30128         (getgid): Likewise.
30129         (getuid): Likewise.
30130         (getresgid): Likewise.
30131         (getresuid): Likewise.
30132         (getgroups): Likewise.
30133         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
30134         (geteuid): Likewise.
30135         (getgid): Likewise.
30136         (getuid): Likewise.
30137         (getresgid): Likewise.
30138         (getresuid): Likewise.
30139         (getgroups): Likewise.
30140         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
30141         (geteuid): Likewise.
30142         (getgid): Likewise.
30143         (getuid): Likewise.
30144         (getresgid): Likewise.
30145         (getresuid): Likewise.
30146         (getgroups): Likewise.
30147         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
30148         Likewise.
30149         (geteuid): Likewise.
30150         (getgid): Likewise.
30151         (getuid): Likewise.
30152         (getresgid): Likewise.
30153         (getresuid): Likewise.
30154         (getgroups): Likewise.
30155         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30156         (geteuid): Likewise.
30157         (getgid): Likewise.
30158         (getuid): Likewise.
30159         (getresgid): Likewise.
30160         (getresuid): Likewise.
30161         (getgroups): Likewise.
30162         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30163         Likewise.
30164         (geteuid): Likewise.
30165         (getgid): Likewise.
30166         (getuid): Likewise.
30167         (getgroups): Likewise.
30169         [BZ #14138]
30170         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30171         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30172         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30173         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30174         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30175         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30176         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30177         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30178         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30179         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30180         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30181         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30182         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30183         __chown.
30184         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30185         (lchown): Likewise.
30186         (fchown): Likewise.
30187         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30188         Likewise.
30189         (lchown): Likewise.
30190         (fchown): Likewise.
30191         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30192         (lchown): Likewise.
30193         (fchown): Likewise.
30194         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30195         Likewise.
30196         (lchown): Likewise.
30197         (fchown): Likewise.
30199 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30201         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30202         Simplify logic.
30204 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30206         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30207         Cleanup logic.
30209 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30211         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30212         Remove unused include.
30214 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30216         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30217         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30218         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30219         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30221 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30222             Helge Deller <deller@gmx.de>
30224         [BZ #17508]
30225         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30226         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30227         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30229 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30231         [BZ #14132]
30232         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30233         Remove macro definition.
30234         (__ashrdi3_v_glibc20): Likewise.
30235         (__lshrdi3_v_glibc20): Likewise.
30236         (__cmpdi2_v_glibc20): Likewise.
30237         (__ucmpdi2_v_glibc20): Likewise.
30238         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30239         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30240         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30241         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30242         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30243         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30245 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30247         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30248         old GNU extension [0] syntax.
30249         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30250         alloca rather than an array member with variable length.
30251         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30252         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30253         (parse_opt): ... here.  Likewise use alloca there.
30254         Validate the -i argument before checking for rootness.
30255         (send_shutdown): New function, broken out of ...
30256         (parse_opt): ... here.
30258 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30260         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30261         macro to get at the _rt_local_ro field.
30262         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30263         ([PIC] case) or _dl_hwcap ([!PIC] case).
30264         * sysdeps/arm/setjmp.S: Likewise.
30266         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30267         * sysdeps/arm/configure.ac: New check to define it.
30268         * sysdeps/arm/configure: Regenerated.
30269         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30270         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30271         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30272         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30273         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30274         Use move/movt pair instead of a load.
30275         (LDST_GLOBAL): Macro removed.
30276         (LDR_GLOBAL): New macro replaces it.
30277         (LDR_HIDDEN): New macro.
30278         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30279         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30281         * setjmp/tst-setjmp-static.c: New file.
30282         * setjmp/Makefile (tests): Add it.
30283         (tests-static): New variable.
30285 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30287         [BZ #17485]
30288         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30290 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30292         [BZ #14132]
30293         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30295 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30297         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30299 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30301         * io/fts.c (dirent_not_directory): New function.
30302         (fts_build): Call it.
30304 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30306         * nptl/version.c (__nptl_main): Use normal __write rather than
30307         INTERNAL_SYSCALL.
30308         (banner): Update copyright years.
30310         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30311         gettimeofday.
30312         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30313         * nptl/pthread_cond_timedwait.c: Likewise.
30314         * nptl/pthread_mutex_timedlock.c: Likewise.
30315         * nptl/sem_timedwait.c: Likewise.
30317         * sysdeps/nptl/bits/libc-lock.h
30318         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30319         (__libc_lock_init_recursive): Return void, not 0.
30320         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30321         (__libc_rwlock_init): Likewise.
30322         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30324 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30326         [BZ #15215]
30327         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30328         (__pthread_once_slow): ... here.
30329         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30330         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30332 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30334         [BZ #15215]
30335         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30336         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30337         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30338         * nptl/pthread_once.c (__pthread_once): Likewise.
30339         Update comments.
30341 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30343         [BZ #14138]
30344         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30345         name.
30346         (writev): Use __libc_writev as strong name.
30347         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30348         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30350 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30352         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30354         * sysdeps/i386/nptl/tls.h
30355         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30356         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30357         New macros.
30358         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30359         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30360         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30361         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30362         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30363         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30365         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30366         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30367         on [__NR_futex].
30368         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30369         broken out of ...
30370         (__pthread_mutex_init): ... here.  Call it.
30371         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30372         Conditionalize PI cases on [__NR_futex].
30373         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30374         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30375         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30377         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30378         conditional on [SIGSETXID].
30379         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30380         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30381         is defined.  Likewise for SIGSETXID.
30382         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30383         Conditionalize definitions on [SIGSETXID].
30384         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30385         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30386         unblocking on [SIGCANCEL].
30388         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30389         [__NR_set_robust_list].
30391 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30393         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30394         (do_compare): Likewise.
30396 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30398         [BZ #15884]
30399         * string/strcoll_l.c: Don't include stdio.h.
30400         (coll_seq): Remove members idxarr and rulearr.
30401         (get_next_seq_cached): Remove function.
30402         (get_next_seq): Likewise.
30403         (get_next_seq_nocache): Rename to get_next_seq.
30404         (do_compare): Remove function.
30405         (do_compare_nocache): Rename to do_compare.
30406         (STRCOLL): Remove weight and rules cache.
30408 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30410         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30411         * sysdeps/arm/sfp-machine.h: ... to here.
30412         * sysdeps/arm/Implies: Remove arm/soft-fp.
30414 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30416         * conform/data/sys/utsname.h-data (*_t): Allow.
30417         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30418         [POSIX] (WEXITED): Do not expect constant.
30419         [POSIX] (WSTOPPED): Likewise.
30420         [POSIX] (WNOHANG): Likewise.
30421         [POSIX] (WNOWAIT): Likewise.
30422         [POSIX] (siginfo_t): Do not expect type or elements.
30423         [POSIX] (pid_t): Do not expect type.
30424         [POSIX] (signal.h): Do not allow header.
30425         [POSIX] (sys/resource.h): Likewise.
30426         [POSIX] (si_*): Do not allow pattern.
30427         [POSIX] (W*): Likewise.
30428         [POSIX] (P_*): Likewise.
30429         [POSIX] (BUS_*): Likewise.
30430         [POSIX] (CLD_*): Likewise.
30431         [POSIX] (FPE_*): Likewise.
30432         [POSIX] (ILL_*): Likewise.
30433         [POSIX] (POLL_*): Likewise.
30434         [POSIX] (SEGV_*): Likewise.
30435         [POSIX] (SI_*): Likewise.
30436         [POSIX] (TRAP_*): Likewise.
30437         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30438         variable.
30440 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30442         [BZ #12926]
30443         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30444         infinite loop when __recvmsg returns 0.
30446 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30448         * CANCEL-FCT-WAIVE: Remove file.
30449         * CANCEL-FILE-WAIVE: Likewise.
30451         [BZ #14132]
30452         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30453         instead of INTVARDEF.
30454         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30455         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30456         rtld_hidden_data_def instead of INTVARDEF.
30457         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30458         * elf/dl-deps.c (expand_dst): Likewise.
30459         * elf/dl-load.c (_dl_dst_count): Likewise.
30460         (_dl_dst_substitute): Likewise.
30461         (decompose_rpath): Likewise.
30462         (_dl_init_paths): Likewise.
30463         (open_path): Likewise.
30464         (_dl_map_object): Likewise.
30465         * elf/rtld.c (dl_main): Likewise.
30466         (process_dl_audit): Likewise.
30467         (process_envvars): Likewise.
30468         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30469         Remove declaration.
30470         (__libc_enable_secure): Use rtld_hidden_proto.
30472 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30474         * elf/dl-load.c
30475         (add_path): New function broken out of _dl_rtld_di_serinfo.
30476         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30478 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30480         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30481         parentheses around macro arguments.
30482         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30483         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30484         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30486         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30487         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30488         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30490         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30491         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30492         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30493         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30494         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30495         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30496         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30497         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30498         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30499         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30501         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30502         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30503         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30504         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30505         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30506         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30507         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30508         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30509         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30510         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30511         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30512         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30513         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30514         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30515         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30516         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30517         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30518         Likewise.
30519         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30520         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30521         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30522         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30523         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30524         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30525         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30526         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30527         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30528         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30529         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30530         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30531         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30532         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30533         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30534         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30535         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30536         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30537         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30538         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30539         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30540         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30541         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30542         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30543         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30544         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30545         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30546         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30547         (_FP_FRAC_SRS_1): Likewise.
30548         (_FP_FRAC_CLZ_1): Likewise.
30549         (_FP_MUL_MEAT_1_imm): Likewise.
30550         (_FP_MUL_MEAT_1_wide): Likewise.
30551         (_FP_MUL_MEAT_1_hard): Likewise.
30552         (_FP_SQRT_MEAT_1): Likewise.
30553         (_FP_FRAC_ASSEMBLE_1): Likewise.
30554         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30555         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30556         (__FP_CLZ_2): Likewise.
30557         (_FP_MUL_MEAT_2_wide): Likewise.
30558         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30559         (_FP_MUL_MEAT_2_gmp): Likewise.
30560         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30561         (_FP_SQRT_MEAT_2): Likewise.
30562         (_FP_FRAC_ASSEMBLE_2): Likewise.
30563         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30564         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30565         (_FP_FRAC_CLZ_4): Likewise.
30566         (_FP_MUL_MEAT_4_wide): Likewise.
30567         (_FP_MUL_MEAT_4_gmp): Likewise.
30568         (_FP_SQRT_MEAT_4): Likewise.
30569         (_FP_FRAC_ASSEMBLE_4): Likewise.
30570         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30571         * soft-fp/op-common.h (_FP_CMP): Likewise.
30572         (_FP_CMP_EQ): Likewise.
30573         (_FP_CMP_UNORD): Likewise.
30574         (_FP_TO_INT): Likewise.
30575         (_FP_FROM_INT): Likewise.
30576         [!__FP_CLZ] (__FP_CLZ): Likewise.
30577         (_FP_DIV_HELP_imm): Likewise.
30578         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30579         Likewise.
30580         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30581         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30582         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30583         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30584         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30585         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30586         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30587         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30588         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30589         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30590         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30591         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30592         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30593         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30594         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30595         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30596         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30597         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30598         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30599         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30600         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30601         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30602         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30603         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30604         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30605         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30606         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30607         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30608         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30609         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30610         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30611         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30612         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30613         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30614         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30615         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30616         (FP_UNPACK_RAW_SP): Likewise.
30617         (FP_PACK_RAW_S): Likewise.
30618         (FP_PACK_RAW_SP): Likewise.
30619         (FP_UNPACK_S): Likewise.
30620         (FP_UNPACK_SP): Likewise.
30621         (FP_UNPACK_SEMIRAW_S): Likewise.
30622         (FP_UNPACK_SEMIRAW_SP): Likewise.
30623         (FP_PACK_S): Likewise.
30624         (FP_PACK_SP): Likewise.
30625         (FP_PACK_SEMIRAW_S): Likewise.
30626         (FP_PACK_SEMIRAW_SP): Likewise.
30627         (_FP_SQRT_MEAT_S): Likewise.
30628         (FP_CMP_S): Likewise.
30629         (FP_CMP_EQ_S): Likewise.
30630         (FP_CMP_UNORD_S): Likewise.
30631         (FP_TO_INT_S): Likewise.
30632         (FP_FROM_INT_S): Likewise.
30634         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30636         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30637         (FP_EX_INVALID_IMZ): Likewise.
30638         (FP_EX_INVALID_IMZ_FMA): Likewise.
30639         (FP_EX_INVALID_ISI): Likewise.
30640         (FP_EX_INVALID_ZDZ): Likewise.
30641         (FP_EX_INVALID_IDI): Likewise.
30642         (FP_EX_INVALID_SQRT): Likewise.
30643         (FP_EX_INVALID_CVI): Likewise.
30644         (FP_EX_INVALID_VC): Likewise.
30645         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30646         "invalid" exceptions.
30647         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30648         (_FP_ADD_INTERNAL): Likewise.
30649         (_FP_MUL): Likewise.
30650         (_FP_FMA): Likewise.
30651         (_FP_DIV): Likewise.
30652         (_FP_CMP_CHECK_NAN): Likewise.
30653         (_FP_SQRT): Likewise.
30654         (_FP_TO_INT): Likewise.
30655         (FP_EXTEND): Likewise.
30657 2014-10-09  Allan McRae  <allan@archlinux.org>
30659         * po/fr.po: Update French translation from translation project.
30661 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30663         [BZ #14132]
30664         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30665         of INTDEF.
30666         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30667         (__cxa_atexit): Use libc_hidden_proto.
30668         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30670         [BZ #14132]
30671         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30672         declaration.
30673         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30674         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30675         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30676         [!_ISOMAC] (__iswctype_internal): Likewise.
30677         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30678         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30679         alias.
30680         (fcntl): Remove __fcntl_internal alias.
30681         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30682         __connect_internal alias.
30683         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30684         Likewise.
30686         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30687         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30688         FP_DENORM_ZERO.
30689         (_FP_CHECK_FLUSH_ZERO): New macro.
30690         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30691         (_FP_CMP): Likewise.
30692         (_FP_CMP_EQ): Likewise.
30693         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30694         FP_DENORM_ZERO.
30695         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30696         (FP_TRUNC): Likewise.
30698         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30699         treated as invalid conversion, not as normal exponent.
30701         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30702         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30703         (_FP_CMP_EQ): Likewise.
30704         (_FP_CMP_UNORD): Likewise.
30705         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30706         (FP_CMP_EQ_D): Likewise.
30707         (FP_CMP_UNORD_D): Likewise.
30708         * soft-fp/extended.h (FP_CMP_E): Likewise.
30709         (FP_CMP_EQ_E): Likewise.
30710         (FP_CMP_UNORD_E): Likewise.
30711         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30712         (FP_CMP_EQ_Q): Likewise.
30713         (FP_CMP_UNORD_Q): Likewise.
30714         * soft-fp/single.h (FP_CMP_S): Likewise.
30715         (FP_CMP_EQ_S): Likewise.
30716         (FP_CMP_UNORD_S): Likewise.
30717         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30718         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30719         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30720         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30721         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30722         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30723         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30724         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30725         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30726         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30727         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30728         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30729         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30730         to FP_CMP_Q.
30731         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30732         FP_CMP_Q.
30733         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30734         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30735         FP_CMP_EQ_Q.
30736         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30737         FP_CMP_Q.
30738         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30739         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30740         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30741         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30742         FP_CMP_EQ_Q.
30743         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30744         FP_CMP_Q.
30745         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30746         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30747         FP_CMP_EQ_Q.
30748         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30749         FP_CMP_Q.
30750         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30751         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30752         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30753         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30754         FP_CMP_EQ_Q.
30756         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30757         a subnormal result, set the underflow exception if trapping on
30758         underflow is enabled.
30759         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30760         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30761         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30762         redefine to 0.
30763         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30764         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30765         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30766         * soft-fp/extendxftf2.c (__extendxftf2): Use
30767         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30769         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30770         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30771         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30772         FP_HANDLE_EXCEPTIONS.
30773         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30774         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30775         FP_HANDLE_EXCEPTIONS.
30776         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30777         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30778         FP_HANDLE_EXCEPTIONS.
30779         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30780         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30781         FP_HANDLE_EXCEPTIONS.
30783 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30785         [BZ #14132]
30786         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30787         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30788         use INTUSE.
30789         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30790         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30791         Remove alias.
30792         (__adjtimex): Define using libc_hidden_ver.
30793         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30794         Remove declaration.
30795         (ntp_gettime): Call __adjtimex directly.
30796         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30797         Remove declaration.
30798         (ntp_gettimex): Call __adjtimex directly.
30799         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30800         __adjtimex_internal alias.
30802 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30804         [BZ #17460]
30805         * nscd/nscd.c (more_help): Rewrite list of tables collection
30806         using xstrdup and asprintf.
30808         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30810 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30811             Roland McGrath  <roland@hack.frob.com>
30813         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30814         (do_lookup_unique): ... local function 'enter' here; update callers.
30816 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30818         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30819         compat_symbol calls on [SHARED].
30820         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30821         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30822         Remove.
30823         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30824         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30825         (oldsetrlimit): Remove.
30826         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30828         (lchown): New syscall entry.
30829         (oldsetrlimit): Remove.
30830         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30831         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30832         (oldsetrlimit): Remove.
30833         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30835         [BZ #14138]
30836         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30837         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30838         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30839         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30840         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30841         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30842         (fchown): Likewise.
30843         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30844         (fchown): Likewise.
30845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30846         Likewise.
30848 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30850         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30851         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30852         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30853         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30854         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30855         Likewise.
30856         (__old_sem_post): Likewise.
30858 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30860         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30861         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30862         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30863         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30864         Use INLINE_VSYSCALL macro.
30865         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30866         __vdso_clock_gettime.
30867         * sysdeps/unix/sysv/linux/tile/init-first.c
30868         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30869         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30870         __vdso_clock_gettime.
30872         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30873         to set up frame more cleanly.
30875         * sysdeps/tile/memcmp.c: New file.
30877         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30879         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30880         * sysdeps/tile/tilegx/strcasestr.c: New file.
30881         * sysdeps/tile/tilegx/strnlen.c: New file.
30882         * sysdeps/tile/tilegx/strstr.c: New file.
30884         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30886 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30888         * nptl/tst-setuid3.c: Write errors to stdout.
30890 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30892         * elf/dl-deps.c
30893         (preload): New functions broken out of _dl_map_object_deps.
30894         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30896 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30898         [BZ #14138]
30899         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30900         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30902 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30904         * sysdeps/mips/strcmp.S: New.
30906 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30908         [BZ #14138]
30909         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30910         (linkat): Likewise.
30911         (mkdirat): Likewise.
30912         (readlinkat): Likewise.
30913         (renameat): Likewise.
30914         (symlinkat): Likewise.
30915         (unlinkat): Likewise.
30916         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30917         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30918         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30919         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30920         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30921         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30922         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30924 2014-09-30  Will Newton  <will.newton@linaro.org>
30926         * math/math.h: Define long double math functions if
30927         _LIBC_TEST is defined.
30928         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30930         * localedata/Makefile: Move assignment to tests-special
30931         into an ifdef testing run-built-tests.
30932         * timezone/Makefile: Likewise.
30934 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30936         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30937         with $(BASH) not $(SHELL).
30939 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30940             Matthew LeGendre  <legendre1@llnl.gov>
30942         [BZ #17411]
30943         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30944         l_reloc_result.
30946 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30948         * stdio-common/printf_fp.c
30949         (hack_digit): New function, broken out of ...
30950         (__printf_fp): ... local function here.  Update call sites.
30951         hack_digit now takes an additional parameter that is a pointer
30952         to a struct of the referenced locals.  Those locals moved inside
30953         the struct and references updated.
30955 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30957         * aclocal.m4: Require autoconf 2.69.
30958         * configure: Regenerated.
30959         * sysdeps/aarch64/configure: Likewise.
30960         * sysdeps/alpha/configure: Likewise.
30961         * sysdeps/arm/armv7/configure: Likewise.
30962         * sysdeps/arm/configure: Likewise.
30963         * sysdeps/ia64/configure: Likewise.
30964         * sysdeps/mach/configure: Likewise.
30965         * sysdeps/mips/configure: Likewise.
30966         * sysdeps/s390/configure: Likewise.
30967         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30970         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30971         file.
30972         * sysdeps/ia64/configure.ac: Likewise.
30974 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30977         specify symbol version for ld.so.  Do not include entry for
30978         libpthread.
30979         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30980         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30981         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30983         [BZ #14171]
30984         * Makeconfig [$(build-shared) = yes]
30985         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30986         makefiles.
30987         [$(build-shared) = yes && $(soversions.mk-done) = t]
30988         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30989         [$(build-shared) = yes && $(soversions.mk-done) = t]
30990         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30991         to Makerules.
30992         [$(build-shared) = yes && $(soversions.mk-done) = t]
30993         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30994         here.
30995         [$(build-shared) = yes && $(soversions.mk-done) = t]
30996         (common-generated): Don't append gnu/lib-names.h and
30997         gnu/lib-names.stmp here.
30998         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30999         (lib-names-h-abi): New variable.
31000         [$(build-shared) = yes && $(soversions.mk-done) = t]
31001         (lib-names-stmp-abi): Likewise.
31002         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31003         abi-variants] (before-compile): Append
31004         $(common-objpfx)$(lib-names-h-abi).
31005         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31006         abi-variants] (common-generated): Append gnu/lib-names.h.
31007         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31008         abi-variants] (install-others-nosubdir): Depend on
31009         $(inst_includedir)/$(lib-names-h-abi).
31010         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31011         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
31012         [$(build-shared) = yes && $(soversions.mk-done) = t]
31013         ($(common-objpfx)$(lib-names-h-abi)): New rule.
31014         [$(build-shared) = yes && $(soversions.mk-done) = t]
31015         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
31016         [$(build-shared) = yes && $(soversions.mk-done) = t]
31017         (common-generated): Append $(lib-names-h-abi) and
31018         $(lib-names-stmp-abi).
31019         * scripts/lib-names.awk: Do not handle multi being set.
31020         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
31021         Remove variable.
31022         (abi-lp64_be-ld-soname): Likewise.
31023         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
31024         Likewise.
31025         (abi-hard-ld-soname): Likewise.
31026         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
31027         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
31028         Remove variable.
31029         (abi-o32_hard-ld-soname): Likewise.
31030         (abi-o32_soft_2008-ld-soname): Likewise.
31031         (abi-o32_hard_2008-ld-soname): Likewise.
31032         (abi-n32_soft-ld-soname): Likewise.
31033         (abi-n32_hard-ld-soname): Likewise.
31034         (abi-n32_soft_2008-ld-soname): Likewise.
31035         (abi-n32_hard_2008-ld-soname): Likewise.
31036         (abi-n64_soft-ld-soname): Likewise.
31037         (abi-n64_hard-ld-soname): Likewise.
31038         (abi-n64_soft_2008-ld-soname): Likewise.
31039         (abi-n64_hard_2008-ld-soname): Likewise.
31040         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
31041         Likewise.
31042         (abi-64-v2-ld-soname): Likewise.
31043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
31044         ld.so entries.
31045         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
31046         variable.
31047         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
31048         entry.
31049         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
31050         variable.
31051         (abi-64-ld-soname): Likewise.
31052         (abi-x32-ld-soname): Likewise.
31053         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
31054         entry.
31055         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31057 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
31059         [BZ #14138]
31060         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
31061         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
31062         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
31063         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
31064         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
31065         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
31066         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
31067         syscall entry for GLIBC_2.2 symbol version.
31068         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
31069         Likewise.
31070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31071         (setrlimit): Likewise.
31072         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
31073         Likewise.
31075 2014-09-23  Will Newton  <will.newton@linaro.org>
31077         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
31078         _LINUX_ARM_SYSDEP_H include guard too.
31079         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
31080         define.
31082 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31084         * sysdeps/unix/sysv/linux/eventfd.c:
31085         Make first argument unsigned.
31086         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
31087         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
31089 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
31091         [BZ #16852]
31092         * socket/recvmmsg.c (recvmmsg): Drop const argument.
31093         * socket/sys/socket.h: Likewise.
31094         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
31096 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31098         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
31100 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
31102         * time/tst-ftime.c: New test.
31103         * time/Makefile (tests): Add tst-ftime.
31105 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
31107         * soft-fp/extended.h: Fix comment formatting.
31108         * soft-fp/op-1.h: Likewise.
31109         * soft-fp/op-2.h: Likewise.
31110         * soft-fp/op-4.h: Likewise.
31111         * soft-fp/op-8.h: Likewise.
31112         * soft-fp/op-common.h: Likewise.
31113         * soft-fp/soft-fp.h: Likewise.
31115         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
31117 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
31119         [BZ #6652]
31120         * Makeconfig (soversions-default-setname): Remove variable.
31121         ($(common-objpfx)soversions.i): Don't pass default_setname to
31122         soversions.awk.
31123         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
31124         oldest_abi to abi-versions.awk.
31125         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
31126         * config.make.in (oldest-abi): Remove variable.
31127         * configure.ac (--enable-oldest-abi): Remove configure option.
31128         * configure: Regenerated.
31129         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
31130         text.
31131         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
31132         * scripts/soversions.awk: Do not handle default_setname variable.
31133         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
31134         variable.
31135         * sysdeps/mach/hurd/configure: Regenerated.
31136         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
31137         variable.
31138         * sysdeps/unix/sysv/linux/configure: Regenerated.
31140 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31142         * elf/Makefile (CFLAGS-interp.c): Remove.
31143         ($(elf-objpfx)runtime-linker.h): Generate header with linker
31144         path string.
31145         * elf/interp.c: Include generated runtime-linker.h
31147         * Makerules (lib%.so): Don't include $(+interp) in
31148         prerequisites.
31149         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31150         * dlfcn/eval.c: Remove file.
31152         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31153         macros.
31155         [BZ #17266]
31156         * misc/sys/cdefs.h: Define __extern_always_inline for clang
31157         4.2 and newer.
31159         [BZ #17370]
31160         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31162 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31163             Jakub Jelinek  <jakub@redhat.com>
31165         [BZ #17266]
31166         * libio/stdio.h: Check definition of __fortify_function
31167         instead of __extern_always_inline to include bits/stdio2.h.
31168         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
31169         check if __extern_always_inline is defined.
31170         [__USE_MISC || __USE_XOPEN]: Likewise.
31171         [__USE_ISOC99] Likewise.
31172         * misc/sys/cdefs.h (__fortify_function): Define only if
31173         __extern_always_inline is defined.
31174         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31175         __extern_always_inline and __extern_inline only for g++-4.3
31176         and newer or a compatible gcc.
31178 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31180         [BZ #17371]
31181         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31182         last change to handle zero prefix length.
31184 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31186         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31187         _SC_REGEX_VERSION.
31189         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31190         _POSIX_RAW_SOCKETS.
31192 2014-09-13  Allan McRae  <allan@archlinux.org>
31194         * po/ru.po: Update Russian translation from translation project.
31196 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31198         * locale/programs/locale.c (show_locale_vars): Inline local function
31199         into its sole call site.  Clean up some style nits.
31200         (print_item): New function, broken out of ...
31201         (show_info): ... local function here.  Clean up style nits.
31203         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31204         out of ...
31205         (set_class_defaults): ... local function set_default here.
31206         Define set_default as a macro locally to pass constant parameters.
31207         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31208         rather than a shared local.
31210         * stdlib/rpmatch.c (try): New function, broken out of ...
31211         (rpmatch): ... local function here.  Also, prototypify definition.
31213 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31215         * scripts/soversions.awk: Do not handle configuration names.
31216         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31217         vendor and os variables to soversions.awk.
31218         * configure.ac: Do not modify gnu-* host_os.
31219         * configure: Regenerated
31220         * shlib-versions: Remove first column with configuration names.
31221         * nptl/shlib-versions: Likewise.
31222         * nptl_db/shlib-versions: Likewise.
31223         * sysdeps/hppa/shlib-versions: Likewise.
31224         * sysdeps/m68k/shlib-versions: Likewise.
31225         * sysdeps/mach/hurd/shlib-versions: Likewise.
31226         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31227         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31228         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31229         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31230         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31231         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31232         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31233         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31235         Likewise.
31236         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31237         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31238         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31239         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31240         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31241         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31242         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31243         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31246         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31248         Regenerated.
31249         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31251         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31253         * shlib-versions: Remove OS-specific entries.  Moved to files in
31254         sysdeps.
31255         * sysdeps/mach/hurd/shlib-versions: New file.
31256         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31258         * nptl/shlib-versions: Remove architecture-specific entries.
31259         Moved to files in sysdeps.
31260         * shlib-versions: Likewise.
31261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31262         file.
31263         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31264         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31265         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31266         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31268         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31269         (UDP_NO_CHECK6_RX): Likewise.
31271 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31273         * sysdeps/posix/sysconf.c (__sysconf): Spell
31274         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31276 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31278         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31279         loading.
31280         * iconv/Versions (__gconv_transliterate): Export for use from
31281         gconv modules.
31282         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31283         (struct __gconv_trans_data, __gconv_trans_fct,
31284         __gconv_trans_context_fct, __gconv_trans_query_fct,
31285         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31286         definitions.
31287         (struct __gconv_step_data): Remove __trans member.
31288         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31289         longer hidden.  Remove unused trans_data argument.
31290         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31291         (__gconv_translit_find): Remove declaration.
31292         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31293         prototype.
31294         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31295         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31296         trans_data argument.  Add hidden definition.
31297         (__gconv_translit_find): Remove.
31298         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31299         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31300         * iconv/skeleton.c: Remove transliteration initialization.
31301         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31302         __gconv_step_data initialization.
31303         * libio/iofwide.c (__libio_translit_): Remove.
31304         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31305         * wcsmbs/btowc.c (__btowc): Likewise.
31306         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31307         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31308         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31309         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31310         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31311         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31312         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31313         * wcsmbs/wctob.c (wctob): Likewise.
31315 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31317         [BZ #16194]
31318         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31319         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31320         register usage.
31321         * sysdeps/x86/Makefile: Adjust.
31323 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31324             Roland McGrath  <roland@hack.frob.com>
31326         * locale/weight.h: Add include guard.
31327         (findidx): Make static rather than auto; take new parameters
31328         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31329         * locale/weightwc.h: Likewise.
31330         * posix/fnmatch_loop.c
31331         (FCT): Change type of EXTRA from int32_t to wint_t.
31332         Don't include either header inside the function.
31333         Call FINDIDX rather than findidx, and pass new arguments.
31334         #undef FINDIDX at the end of the file.
31335         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31336         FINDIDX before including fnmatch_loop.c for the non-wide version.
31337         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31338         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31339         for the wide version.
31340         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31341         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31342         Pass new arguments to findidx.
31343         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31344         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31345         Don't #include it inside the function.  Pass new arguments to findidx.
31346         * posix/regex_internal.h
31347         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31348         (re_string_elem_size_at): Don't #include it inside the function.
31349         Pass new arguments to findidx.
31350         * string/strcoll_l.c: #include WEIGHT_H at top level.
31351         (get_next_seq): Don't #include it inside the function.
31352         Pass new arguments to findidx.
31353         (get_next_seq_nocache): Likewise.
31354         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31355         (STRXFRM): Don't #include it inside the function.
31356         Pass new arguments to findidx.
31358 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31360         [BZ #17344]
31361         * malloc/malloc.c (unlink): Turn asserts into a call to
31362         malloc_printerr.
31364 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31366         [BZ #17370]
31367         * libio/wfileops (do_ftell_wide): Free OUT.
31369 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31371         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31373 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31375         [BZ #17363]
31376         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31377         group if the current group is empty.
31379 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31381         * benchtests/bench-memset.c (test_main): Add more test from size
31382         from 32 to 512 bytes.
31383         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31384         Add POWER8 memset object.
31385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31386         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31387         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31388         implementation.
31389         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31390         Likewise.
31391         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31392         multiarch POWER8 memset optimization.
31393         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31394         POWER8 memset optimization.
31396         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31397         Remove bzero multiarch objects.
31398         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31399         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31400         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31401         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31402         Remove define.
31403         [__bzero]: Redefine to specific name.
31404         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31405         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31406         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31407         define.
31408         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31409         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31411 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31413         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31414         warnings into errors.
31416         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31417         __cxa_thread_atexit_impl prototype.
31419 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31421         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31422         Fix capitalization of error message.
31424 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31426         * sysdeps/mips/preconfigure: Modify ABI tests.
31428 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31430         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31432 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31433             Carlos O'Donell  <carlos@systemhalted.org>
31435         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31436         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31437         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31438         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31439         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31440         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31441         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31442         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31443         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31444         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31445         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31446         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31447         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31448         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31449         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31450         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31451         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31452         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31453         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31454         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31455         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31456         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31457         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31458         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31459         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31460         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31461         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31462         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31463         Deconditionalize the code that was previously under [RESET_PID].
31464         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31465         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31466         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31467         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31468         include sysdep.h.
31470 2014-09-08  Allan McRae  <allan@archlinux.org>
31472         * version.h (RELEASE): Set to "development".
31473         (VERSION): Set to "2.20.90"
31475 2014-09-07  Allan McRae  <allan@archlinux.org
31477         * version.h (RELEASE): Set to "stable".
31478         (VERSION): Set to "2.20"
31479         * include/features.h (__GLIBC_MINOR__): Set to 20.
31481         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31482         Liebler.
31484         * po/ko.po: Update Korean translation from translation project.
31486 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31488         [BZ #17354]
31489         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31490         macro for handling signed relocations.
31492 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31494         [BZ #17325]
31495         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31496         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31497         assert.
31498         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31499         * iconvdata/ibm935.c (BODY): Likewise.
31500         * iconvdata/ibm937.c (BODY): Likewise.
31501         * iconvdata/ibm939.c (BODY): Likewise.
31502         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31503         assert.
31504         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31505         script.
31506         * iconvdata/run-iconv-test.sh: New test loop for checking for
31507         decoder crashers.
31509 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31511         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31512         libm_hidden_ver.
31514 2014-09-01  Allan McRae  <allan@archlinux.org>
31516         * po/eo.po: Update Esperanto translation from translation project.
31518         * po/ca.po: Update Catalan translation from translation project.
31520 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31522         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31523         __proc_dostop call.
31525 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31527         [BZ #17319]
31528         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31529         to call set_thread_area instead of hand written asm.
31530         (__NR_set_thread_area): Removed define.
31531         (TLS_FLAG_WRITABLE): Likewise.
31532         (__ASSUME_SET_THREAD_AREA): Remove check.
31533         (TLS_EBX_ARG): Remove define.
31534         (TLS_LOAD_EBX): Likewise.
31536 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31538         Simplify atomicity of socket creation in bind.
31540         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31541         looking up the name after linking the file.
31543 2014-08-27  Allan McRae  <allan@archlinux.org>
31545         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31547 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31549         [BZ #17187]
31550         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31551         trans_compare, open_translit, __gconv_translit_find):
31552         Remove module loading code.
31554 2014-08-26  Allan McRae  <allan@archlinux.org>
31556         * po/vi.po: Update Vietnamese translation from translation project.
31558         * po/uk.po: Update Ukrainian translation from translation project.
31560         * po/fr.po: Update French translation from translation project.
31562         * po/ru.po: Update Russian translation from translation project.
31564         * po/pl.po: Update Polish translation from translation project.
31566         * po/cs.po: Update Czech translation from translation project.
31568         * po/de.po: Update German translation from translation project.
31570         * po/bg.po: Update Bulgarian translation from translation project.
31572         * po/sv.po: Update Sweedish translation from translation project.
31574         * po/nl.po: Update Dutch translation from translation project.
31576         * po/es.po: Update Spanish translation from translation project.
31578 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31580         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31582         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31583         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31584         (CPPFLAGS-iconvconfig): Likewise.
31585         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31587         * include/libc-symbols.h: Remove unnecessary check for
31588         NOT_IN_libc.
31589         * nptl/pthreadP.h: Likewise.
31590         * sysdeps/aarch64/setjmp.S: Likewise.
31591         * sysdeps/alpha/setjmp.S: Likewise.
31592         * sysdeps/arm/sysdep.h: Likewise.
31593         * sysdeps/i386/setjmp.S: Likewise.
31594         * sysdeps/m68k/setjmp.c: Likewise.
31595         * sysdeps/posix/getcwd.c: Likewise.
31596         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31597         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31598         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31599         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31600         * sysdeps/sh/sh3/setjmp.S: Likewise.
31601         * sysdeps/sh/sh4/setjmp.S: Likewise.
31602         * sysdeps/unix/alpha/sysdep.h: Likewise.
31603         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31604         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31605         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31606         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31611         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31612         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31613         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31614         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31615         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31616         * sysdeps/x86_64/setjmp.S: Likewise.
31618 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31620         [BZ #17263]
31621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31622         <stdint.h>.
31623         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31624         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31626 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31628         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31630         [BZ #17262]
31631         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31632         and __x86_64__ when disabling x87 inline functions.
31634 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31636         [BZ #17259]
31637         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31638         asm statement with __cpuid_count.
31640 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31642         * configure.ac: Change __ehdr_start code to dereference the struct.
31643         Run readelf on the output to look for relocations.
31644         * configure: Regenerated.
31646 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31648         [BZ #17261]
31649         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31650         value to 0.
31651         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31653 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31655         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31657 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31659         [BZ #16892]
31660         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31661         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31663 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31665         * malloc/malloc.c: Fix typo in comment.
31667 2014-08-09  Allan McRae  <allan@archlinux.org>
31669         * Regenerate libc.po.
31671 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31673         * intl/tst-gettext2.sh: Check every lang file for creation.
31675 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31677         * sysdeps/aarch64/fpu/math_private.h
31678         (libc_feholdsetround_noex_aarch64_ctx): New function.
31680 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31682         * sysdeps/arm/armv6/strcpy.S (strcpy):
31683         Fix performance issue in misaligned cases.
31685 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31687         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31688         Move definition from termios.h.
31689         (struct termio): Likewise.
31690         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31691         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31692         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31693         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31694         Likewise.
31695         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31696         Move definition to ioctl-types.h
31697         (struct termio): Likewise.
31698         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31699         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31700         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31701         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31702         Likewise.
31704 2014-08-05  Richard Henderson  <rth@redhat.com>
31706         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31707         exceptions.
31708         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31709         Add fraiseexcpt.
31710         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31711         Use __feraiseexcept.
31712         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31713         Protect libm symbols with IS_IN_libm.
31715         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31717 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31719         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31721 2014-08-04  Will Newton  <will.newton@linaro.org>
31723         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31724         file.
31726 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31728         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31729         variants for each function.
31731 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31733         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31734         appended ...
31735         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31736         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31737         appended ...
31738         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31739         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31740         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31741         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31742         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31743         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31744         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31745         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31746         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31747         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31748         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31749         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31750         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31751         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31752         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31753         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31754         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31755         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31756         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31757         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31758         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31759         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31760         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31761         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31762         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31763         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31764         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31765         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31766         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31767         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31768         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31769         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31770         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31771         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31772         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31773         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31774         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31775         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31776         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31777         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31778         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31779         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31780         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31781         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31782         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31783         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31784         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31785         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31786         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31787         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31788         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31789         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31790         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31791         Update #include.
31792         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31793         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31795 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31797         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31798         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31799         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31800         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31801         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31802         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31804 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31806         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31807         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31808         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31809         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31811 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31813         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31814         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31815         (__libc_vfork): Define function under this name.
31816         (__vfork): Define as an alias.
31817         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31818         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31820 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31822         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31823         that was previously under [RESET_PID].
31824         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31826 2014-08-04  Andreas Schwab  <schwab@suse.de>
31828         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31830 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31832         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31833         (main): Likewise.
31835 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31837         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31839 2014-08-01  Richard Henderon  <rth@redhat.com>
31841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31842         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31843         typo in exact zero test.
31844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31845         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31846         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31848 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31850         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31851         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31852         * sysdeps/arm/sysdep.h: ... here.
31853         [!__ASSEMBLER__]: Include <stdint.h>.
31855 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31857         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31858         (HAVE_WCTYPE_H): Likewise.
31859         (HAVE_ISWCTYPE): Likewise.
31860         (ENABLE_NLS): Likewise.
31861         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31862         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31864         * posix/regex_internal.c: Check if DEBUG is defined and is
31865         set.
31867         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31868         (HAVE_MBSRTOWCS): Likewise.
31869         * posix/fnmatch.c: Include string.h unconditionally.
31871 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31873         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31874         reversal.
31876 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31878         * sysdeps/generic/safe-fatal.h: New file.
31879         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31880         * nptl/forward.c: Include it.
31881         (__pthread_unwind): Use __safe_fatal as default action, rather
31882         than a bogus use of INTERNAL_SYSCALL that could never work.
31884         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31885         * configure.ac (libc_cv_builtin_trap): New test.
31886         * configure: Regenerated.
31887         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31888         (ABORT_INSTRUCTION): Define using __builtin_trap.
31890         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31891         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31892         * sysdeps/nptl/nptl-signals.h: New file.
31893         * nptl/pthreadP.h: Include <nptl-signals.h>.
31895 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31897         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31898         (ONE_DIRECTION): Define.
31899         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31900         (ONE_DIRECTION): Define.
31901         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31902         (ONE_DIRECTION): Define.
31904 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31906         * sysdeps/s390/Makefile: Delete file.
31907         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31908         * sysdeps/s390/__longjmp.c: Delete file.
31909         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31910         Remove fields __flags and __reserved.
31911         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31912         and add versioning.
31913         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31914         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31915         * sysdeps/s390/rtld-setjmp.S: Likewise.
31916         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31917         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31918         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31919         * sysdeps/s390/s390-32/setjmp.S: ... here.
31920         Add versioning.
31921         (__sigsetjmp): Remove setting __flags field.
31922         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31923         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31924         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31925         * sysdeps/s390/s390-64/setjmp.S: ... here.
31926         Add versioning.
31927         (__sigsetjmp): Remove setting __flags field.
31928         * sysdeps/s390/setjmp.S: Delete file.
31929         * sysdeps/s390/sigjmp.c: Likewise.
31930         * sysdeps/s390/v1-longjmp.c: Likewise.
31931         * sysdeps/s390/v1-setjmp.h: Likewise.
31932         * sysdeps/s390/v1-sigjmp.c: Likewise.
31933         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31934         Remove v1-longjmp_chk.
31935         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31936         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31937         Include debug/longjmp_chk.c and add versioning.
31938         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31939         Include nptl/pt-longjmp.c and add versioning.
31940         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31941         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31942         Include __longjmp.c.
31943         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31944         Move to ...
31945         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31946         (__getcontext): Remove setting __flags field.
31947         Add versioning.
31948         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31949         Don't restore upper high grps.
31950         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31951         Likewise.
31952         (__swapcontext): Remove setting uc_flags field.
31953         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31954         Delete file.
31955         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31956         Include __longjmp.c.
31957         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31958         Move to ...
31959         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31960         (__getcontext): Remove setting __flags field.
31961         Add versioning.
31962         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31963         (__swapcontext): Remove setting uc_flags field.
31964         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31965         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31966         Remove fields uc_high_gprs and __reserved.
31967         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31968         New file with reverted content.
31969         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31970         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31971         Regenerated.
31972         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31973         Regenerated.
31975 2014-07-31  Andreas Schwab  <schwab@suse.de>
31977         * config.h.in (HAVE_IFUNC): Define to 0.
31978         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31979         definedness.
31981 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31984         memmove-avx-unaligned, memcpy-avx-unaligned and
31985         mempcpy-avx-unaligned.
31986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31987         Add tests for AVX memcpy functions.
31988         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31989         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31990         memcpy_chk.
31991         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31992         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31993         memmove_chk.
31994         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31995         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31996         mempcpy_chk.
31997         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31998         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31999         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
32001 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32003         [BZ #17213]
32004         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
32005         powerpc64le.
32007 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
32009         [BZ #16839]
32010         * manual/llio.texi: Add section about open file description locks.
32011         * manual/examples/ofdlocks.c: Example of open file description
32012         lock usage.
32013         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
32014         F_OFD_SETLK, and F_OFD_SETLKW.
32016 2014-07-23  Allan McRae  <allan@archlinux.org>
32018         * po/es.po: Update Spanish translation from translation project.
32020 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
32022         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
32024 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
32026         [BZ #17078]
32027         * sysdeps/arm/dl-machine.h (elf_machine_rela)
32028         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
32029         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
32031 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
32033         [BZ #17088]
32034         * math/fesetenv.c (__fesetenv)
32035         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
32036         * math/feupdateenv.c (__feupdateenv)
32037         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32039         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
32040         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32041         (__ASSUME_SOCKETCALL): Do not define.
32043         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
32044         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
32045         (__ASSUME_SOCKETCALL): Do not define.
32046         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32047         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32048         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32049         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32050         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32051         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
32052         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32053         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32055         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
32056         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
32057         (__ASSUME_SOCKETCALL): Do not define.
32058         (__ASSUME_IPC64): Define unconditionally.
32059         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32060         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32061         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32062         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32063         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
32064         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32065         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
32066         Likewise.
32068         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
32069         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
32070         (__ASSUME_SOCKETCALL): Do not define.
32071         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
32072         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32073         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32074         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32075         (__ASSUME_REQUEUE_PI): Define unconditionally.
32076         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
32077         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
32078         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32079         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
32080         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32081         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32083         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
32084         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
32085         (__ASSUME_SOCKETCALL): Do not define.
32086         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
32087         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32088         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32089         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
32090         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32091         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32093         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
32094         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
32095         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32096         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
32097         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32098         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
32099         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32100         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
32101         (__ASSUME_GETCPU_SYSCALL): Likewise.
32103         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
32104         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
32105         cases for individual architectures.
32106         * sysdeps/gnu/configure: Regenerated.
32107         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
32108         LIBC_SLIBDIR_RTLDDIR.
32109         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
32110         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
32111         LIBC_SLIBDIR_RTLDDIR.
32112         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
32113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
32114         LIBC_SLIBDIR_RTLDDIR.
32115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32116         Regenerated.
32117         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
32118         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
32119         file.
32120         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
32121         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
32122         file.
32123         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
32124         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
32125         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
32126         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
32128         * sysdeps/aarch64/shlib-versions: Move to ...
32129         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
32130         * sysdeps/alpha/shlib-versions: Move to ...
32131         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32132         * sysdeps/arm/shlib-versions: Move to ...
32133         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
32134         * sysdeps/hppa/shlib-versions: Move all contents except for
32135         libgcc_s entry to ...
32136         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
32137         entry from ...
32138         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
32139         * sysdeps/ia64/shlib-versions: Move to ...
32140         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
32141         entry from ...
32142         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
32143         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32144         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32145         * sysdeps/microblaze/shlib-versions: Move to ...
32146         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32147         * sysdeps/mips/shlib-versions: Move to ...
32148         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
32149         entry from ...
32150         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
32151         * sysdeps/tile/shlib-versions: Move to ...
32152         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32153         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32154         from ...
32155         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
32156         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
32157         entry from ...
32158         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
32160 2014-07-17  Will Newton  <will.newton@linaro.org>
32162         * sysdeps/arm/bits/atomic.h
32163         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
32164         (__arch_compare_and_exchange_bool_16_int): Likewise.
32165         (__arch_compare_and_exchange_bool_64_int): Likewise.
32167         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
32168         into an #else block.
32170 2014-07-16  Roland McGrath  <roland@hack.frob.com>
32172         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32173         just Linux configurations.  Test empirically that the compiler sets
32174         __ARM_EABI__, rather than using the tuple to decide.
32175         * sysdeps/arm/preconfigure: Regenerated.
32176         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32177         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32178         contents appended ...
32179         * sysdeps/arm/configure.ac: ... here.
32180         * sysdeps/arm/configure: Regenerated.
32182 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32184         * nptl/pthread_kill.c: New file.
32185         * nptl/pthread_sigmask.c: New file.
32186         * nptl/pthread_sigqueue.c: New file.
32188         * sysdeps/nptl/lowlevellock.h: New file.
32189         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32190         * sysdeps/nptl/lowlevellock-futex.h: New file.
32192         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32193         Remove dead declarations.
32195 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32197         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32198         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32199         config-cflags-avx2.
32200         * sysdeps/x86_64/configure.ac: Likewise.
32201         * sysdeps/i386/configure: Regenerated.
32202         * sysdeps/x86_64/configure: Likewise.
32203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32204         memset-avx2 only if config-cflags-avx2 is yes.
32205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32206         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32207         defined.
32208         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32209         only if HAVE_AVX2_SUPPORT is defined.
32210         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32212 2014-07-14  Alan Modra  <amodra@gmail.com>
32214         [BZ #17153]
32215         * elf/elf.h (DT_PPC64_NUM): Correct value.
32216         * NEWS: Add to fixed bug list.
32218 2014-07-13  Jim Meyering  <meyering@fb.com>
32220         [BZ 17150]
32221         regex: don't deref NULL upon heap allocation failure
32222         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32223         failure in one more place.
32224         To trigger the segfault, configure grep -with-included-regex,
32225         build it, and run these commands:
32226         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32228 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32230         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32232 2014-07-11  Richard Henderson  <rth@redhat.com>
32234         * sysdeps/aarch64/libm-test-ulps: Update.
32236 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32238         [BZ #17135]
32239         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32240         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32241         (__nptl_setxid): Initialize error member.  Call
32242         __nptl_setxid_error.
32243         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32244         * nptl/descr.h (struct xid_command): Add error member.
32245         * nptl/tst-setuid3.c: New file.
32246         * nptl/Makefile (tests): Add it.
32248 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32250         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32251         New define.
32252         (__lll_trylock): Use __lll_base_trylock.
32253         (__lll_cond_trylock): Likewise.
32255 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32257         * nptl/pthread_create.c (start_thread): Use atomic_or and
32258         lll_futex_wake directly rather than lll_robust_dead.
32259         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32260         (lll_robust_dead): Macro removed.
32261         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32262         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32263         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32264         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32265         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32266         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32267         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32268         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32269         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32270         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32271         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32272         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32273         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32274         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32277         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32278         Use atomic_compare_and_exchange_val_acq directly rather than
32279         lll_robust_trylock.
32280         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32281         (__lll_robust_trylock, lll_robust_trylock): Removed.
32282         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32283         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32284         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32285         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32286         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32287         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32288         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32289         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32290         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32291         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32292         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32293         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32294         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32295         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32297 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32299         * manual/locale.texi (Locale Names): New section documenting
32300         locale name syntax.  Adjust menu and node chaining accordingly.
32301         (Choosing Locale): Reference Locale Names, Locale Categories.
32302         Mention setting LC_ALL=C.  Reflect that name syntax is now
32303         documented.
32304         (Locale Categories): New section title.  Reference Locale Names.
32305         LC_ALL is an environment variable, but not a category.
32306         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32307         description, now in Locale Name.  Reference that section.  Locale
32308         name syntax is now documented.
32310 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32312         [BZ #17137]
32313         * locale/findlocale.c (name_present, valid_locale_name): New
32314         functions.
32315         (_nl_find_locale): Use the loc_name variable to store name
32316         candidates.  Call name_present and valid_locale_name to check and
32317         validate locale names.  Return an error if the locale is invalid.
32319 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32321         * locale/setlocale.c (setlocale): Use strdup for allocating
32322         composite name copy.
32324 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32326         Sync up with gnulib.
32327         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32328         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32329         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32330         and _GL_ARG_NONNULL.
32331         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32332         [!_LIBC]: Include code for Windows and Cygwin.
32333         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32334         Include prototype for int strerror_r.
32335         [!_LIBC] (is_open): New function.
32336         (flush_stdout): New function.
32337         (print_errno_message): Use it.
32338         (error): Likewise.
32339         (error_at_line): Likewise.
32340         (error_tail) Add function attribute macros.  Use
32341         __builtin_expect.
32343         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32345         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32347         * io/ftw.c: Include sys/param.h unconditionally.
32349         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32351         [BZ #17125]
32352         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32353         libc_freeres_ptr.
32354         (freecache): New function to free CACHE on exit.
32356         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32357         initialization.
32359 2014-07-09  David S. Miller  <davem@davemloft.net>
32361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32363         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32364         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32365         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32366         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32367         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32368         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32369         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32370         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32371         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32372         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32373         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32374         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32375         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32377 2014-07-09  Andreas Schwab  <schwab@suse.de>
32379         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32380         output.
32381         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32382         (do_test): Likewise.
32384         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32386 2014-07-09  Will Newton  <will.newton@linaro.org>
32388         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32389         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32390         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32391         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32392         * sysdeps/hppa/start.S (_start): Likewise.
32394 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32396         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32398         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32399         defined.
32401 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32403         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32404         after checking that it is non-NULL.
32406         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32408 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32410         * sysdeps/powerpc/memmove.c: Remove file.
32411         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32412         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32413         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32414         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32415         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32416         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32417         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32418         string memmove instead of removed powerpc one.
32420         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32421         [weak_alias]: Fix compiler warning due trailing data.
32422         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32423         [weak_alias]: Likewise.
32424         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32425         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32428         (__libc_ifunc_impl_list): Add memmove functions.
32430 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32432         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32433         Remove code.
32434         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32435         Likewise.
32436         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32437         Likewise.
32438         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32439         Likewise.
32440         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32441         Likewise.
32442         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32443         Likewise.
32444         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32445         Likewise.
32446         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32447         Likewise.
32448         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32449         Likewise.
32450         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32451         Likewise.
32452         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32453         Likewise.
32454         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32455         Likewise.
32456         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32457         Likewise.
32458         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32459         Likewise.
32460         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32461         Likewise.
32462         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32463         Likewise.
32464         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32465         Likewise.
32467 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32469         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32470         to avoid alignment traps in non-cacheable memory.
32471         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32474         multiarch objects.
32475         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32476         file: multiarch power7 memmove.
32477         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32478         multiarch default memmove.
32479         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32480         multiarch memove for powerpc32/power4.
32482         * string/bcopy.c: Use full path to include memmove.c.
32483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32484         multiarch objects.
32485         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32486         bcopy for powerpc64.
32487         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32488         bcopy for powerpc64.
32489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32490         and memmove implementations.
32491         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32492         optimized multiarch memmove for POWER7/powerpc64.
32493         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32494         default multiarch memmove for powerpc64.
32495         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32496         multiarch for powerpc64.
32497         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32498         for POWER7/powerpc64.
32499         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32500         memmove for POWER7/powerpc64.
32502         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32503         glibc default one.
32505         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32506         __ELF_NATIVE_CLASS equal to 64.
32508 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32510         * sysdeps/nptl/lowlevellock.h: File removed.
32512         * NEWS: NPTL is no longer an add-on!
32513         * nptl/internaltypes.h: Moved ...
32514         * sysdeps/nptl/internaltypes.h: ... here.
32515         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32516         * sysdeps/nptl/fork.c: Likewise.
32517         * sysdeps/nptl/gai_misc.h: Likewise.
32518         * sysdeps/nptl/librt-cancellation.c: Likewise.
32519         * sysdeps/nptl/jmp-unwind.c: Likewise.
32520         * sysdeps/nptl/setxid.h: Likewise.
32521         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32522         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32523         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32524         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32525         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32526         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32527         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32528         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32529         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32530         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32531         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32532         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32533         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32534         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32535         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32536         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32537         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32538         * nptl/Makeconfig: Moved ...
32539         * sysdeps/nptl/Makeconfig: ... here.
32540         * nptl/configure: File removed.
32541         * nptl/ANNOUNCE: File removed.
32542         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32543         * sysdeps/unix/sysv/linux/configure: Regenerated.
32545         * nptl/Makefile (routines): Add libc_pthread_init,
32546         libc_multiple_threads, register-atfork and unregister-atfork.
32547         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32548         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32549         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32550         pthread-pi-defines.sym, structsem.sym.
32551         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32552         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32553         [$(subdir) = nptl] (tests): Add tst-setgetname.
32554         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32555         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32556         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32557         [!LIBC_SIGACTION]: Remove aliases.
32558         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32559         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32560         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32561         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32562         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32563         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32564         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32565         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32566         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32567         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32568         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32569         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32570         __libc_allocate_rtsig_private.
32571         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32572         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32573         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32574         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32575         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32576         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32577         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32578         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32579         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32580         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32581         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32582         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32583         * nptl/internaltypes.h: ... here.
32584         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32585         * sysdeps/nptl/jmp-unwind.c: ... here.
32586         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32587         * nptl/libc-lowlevellock.c: ... here.
32588         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32589         * nptl/libc_multiple_threads.c: ... here.
32590         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32591         * nptl/libc_pthread_init.c: ... here.
32592         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32593         * nptl/lowlevelbarrier.sym: ... here.
32594         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32595         * nptl/lowlevelcond.sym: ... here.
32596         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32597         * nptl/lowlevellock.c: ... here.
32598         * nptl/lowlevellock.h: Moved ...
32599         * sysdeps/nptl/lowlevellock.h: ... here.
32600         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32601         * nptl/lowlevelrobustlock.c: ... here.
32602         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32603         * nptl/lowlevelrobustlock.sym: ... here.
32604         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32605         * nptl/lowlevelrwlock.sym: ... here.
32606         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32607         * nptl/pt-fork.c: ... here.
32608         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32609         * nptl/pthread-pi-defines.sym: ... here.
32610         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32611         * nptl/pthread_attr_getaffinity.c: ... here.
32612         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32613         * nptl/pthread_attr_setaffinity.c: ... here.
32614         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32615         * nptl/pthread_mutex_cond_lock.c: ... here.
32616         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32617         Update #include.
32618         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32619         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32620         * nptl/pthread_once.c: ... here, replacing old file.
32621         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32622         * nptl/pthread_yield.c: ... here.
32623         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32624         * nptl/register-atfork.c: ... here.
32625         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32626         * nptl/sem_post.c: ... here.
32627         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32628         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32629         * nptl/sem_timedwait.c: ... here.
32630         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32631         * nptl/sem_trywait.c: ... here.
32632         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32633         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32634         * nptl/sem_wait.c: ... here.
32635         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32636         * nptl/structsem.sym: ... here.
32637         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32638         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32639         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32640         * nptl/unregister-atfork.c: ... here.
32641         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32642         * nptl/unwindbuf.sym: ... here.
32643         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32644         * sysdeps/nptl/fork.c: ... here.
32645         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32646         * sysdeps/nptl/fork.h: ... here.
32647         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32648         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32649         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32650         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32651         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32652         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32653         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32654         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32655         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32656         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32657         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32658         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32659         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32660         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32661         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32662         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32663         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32664         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32665         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32666         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32667         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32668         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32669         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32670         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32671         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32672         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32673         * sysdeps/unix/sysv/linux/raise.c: ... here.
32674         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32675         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32676         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32677         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32678         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32679         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32680         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32681         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32682         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32683         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32684         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32685         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32686         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32687         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32688         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32690 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32692         * sysdeps/generic/memcopy.h: Add comment for
32693         MEMCPY_OK_FOR_FWD_MEMMOVE.
32695 2014-07-04  Will Newton  <will.newton@linaro.org>
32697         * string/memchr.c: Merge from gnulib.
32698         [_LIBC]: Remove conditionals.
32699         (__ptr_t): Remove define.
32700         (LONG_MAX_32_BITS): Likewise.
32701         (LONG_MAX): Likewise.
32702         (MEMCHR): Use ANSI prototype and optimize algorithm.
32704         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32706 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32708         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32709         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32711         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32712         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32713         in a bare environment with no <stdlib.h> installed.
32714         * sysdeps/nptl/configure: Regenerated.
32716         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32718         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32719         AC_EGREP_CPP for kernel header checks, so they only succeed if
32720         including <linux/version.h> actually works right.
32721         * sysdeps/unix/sysv/linux/configure: Regenerated.
32723         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32724         value so it's not diagnosed as unused.
32726         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32727         thing) with "ifeq ($(subdir),rt)".
32729 2014-07-03  Richard Henderson  <rth@redhat.com>
32731         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32732         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32733         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32735         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32736         (math_force_eval): New.
32738         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32739         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32741         * sysdeps/alpha/fpu/s_round.c: Remove file.
32742         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32744         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32745         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32746         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32747         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32748         (_dl_start, print_statistics): Likewise.
32749         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32750         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32752         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32753         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32754         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32755         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32756         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32757         (HP_SMALL_TIMING_AVAIL): Define.
32758         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32759         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32760         (HP_SMALL_TIMING_AVAIL): Define.
32761         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32762         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32764         * sysdeps/aarch64/hp-timing.h: New file.
32766         * sysdeps/generic/hp-timing.h: Remove dead comment.
32767         * sysdeps/generic/hp-timing-common.h: New file.
32768         * sysdeps/alpha/hp-timing.h: Include it.
32769         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32770         * sysdeps/i386/i686/hp-timing.h: Likewise.
32771         * sysdeps/ia64/hp-timing.h: Likewise.
32772         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32773         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32774         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32775         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32776         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32777         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32778         (hp_timing_t): New.
32780         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32781         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32782         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32783         * elf/rtld.c (_dl_start_final): Likewise.
32784         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32785         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32786         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32787         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32788         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32789         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32790         (HP_TIMING_DIFF_INIT): Remove.
32791         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32792         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32793         (HP_TIMING_DIFF_INIT): Remove.
32794         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32795         * sysdeps/i386/i686/hp-timing.c: Remove file.
32796         * sysdeps/x86_64/hp-timing.c: Remove file.
32797         * sysdeps/ia64/hp-timing.c: Remove file.
32798         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32799         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32800         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32801         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32803         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32804         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32805         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32806         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32807         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32808         (HP_TIMING_ACCUM): Remove.
32809         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32810         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32811         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32813         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32814         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32815         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32816         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32817         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32818         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32819         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32820         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32822         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32824 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32826         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32828 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32830         Sync up with gettext.
32831         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32832         [_MSC_VER]: Include malloc.h
32833         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32834         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32835         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32836         TEMP_FAILURE_RETRY.  Cast return of alloca.
32837         [!_LIBC] Call gl_rwlock_init.
32838         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32840 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32842         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32843         before checking its value.
32845 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32847         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32849         * debug/memcpy_chk.c: Don't include pagecopy.h.
32850         * debug/mempcpy_chk.c: Likewise.
32851         * string/memcpy.c: Likewise.
32852         * string/memmove.c: Likewise.
32853         * sysdeps/powerpc/memmove.c: Likewise.
32854         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32855         definition of PAGE_COPY_FWD_MAYBE here...
32856         * sysdeps/generic/pagecopy.h: ... from here.
32857         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32859 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32860             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32862         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32864         optimizations.
32865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32866         (__libc_ifunc_impl_list): Likewise.
32867         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32868         multiarch strcat for PPC64.
32869         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32870         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32872 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32874         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32876 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32878         * intl/loadmsgcat.c: Remove declaration of
32879         get_sysdep_segment_value.
32880         (get_sysdep_segment_value): Use ISO C style.
32881         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32882         semicolon.  Fix typo and formatting in comment.
32883         (_nl_unload_domain): Use ISO C style.
32885         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32887 2014-07-02  Will Newton  <will.newton@linaro.org>
32889         * malloc/obstack.c: Merge from gnulib master.
32890         [HAVE_CONFIG_H]: Remove conditional code.
32891         [!_LIBC]: Include config.h.
32892         [!ELIDE_CODE]: Don't include inttypes.h, include
32893         stdint.h unconditionally.
32894         (print_and_abort): Mark as _Noreturn.
32895         (_obstack_allocated_p): Mark as __attribute_pure__.
32896         (obstack_free): Rename to __obstack_free.
32897         [!__attribute__]: Remove conditional code.
32898         * malloc/obstack.h: Merge from gnulib master.
32899         [__cplusplus]: Move conditional down.
32900         [!__attribute_pure__]: Define __attribute_pure__ here
32901         if it is not already defined.
32902         (_obstack_memory_used): Mark as __attribute_pure__.
32903         [!__obstack_free]: Define as obstack_free.
32904         [__GNUC__]: Remove check for ancient NeXT gcc.
32906 2014-07-02  Will Newton  <will.newton@linaro.org>
32907             Paul Eggert  <eggert@cs.ucla.edu>
32909         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32911 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32913         * resolv/gethnamaddr.c: Add comment warning that the file is
32914         not maintained.
32916 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32918         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32919         entries.
32921         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32922         entry for aio_cancel and aio_cancel64.
32923         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32924         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32925         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32926         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32927         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32928         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32929         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32930         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32931         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32932         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32933         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32934         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32935         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32937 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32939         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32940         * nptl/pthread_mutex_lock.c: Likewise.
32941         * nptl/pthread_mutex_timedlock.c: Likewise.
32942         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32944 2014-07-01  Richard henderson  <rth@redhat.com>
32946         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32947         (__isnan, __isnanl): Remove.
32948         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32950         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32952 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32954         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32956 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32958         * resolv/nss_dns/dns-host.c (getanswer_r)
32959         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32961 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32963         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32964         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32965         undefine.
32966         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32967         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32969 2014-07-01  Roland McGrath <roland@hack.frob.com>
32971         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32972         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32974         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32975         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32977         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32978         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32979         ... here.
32980         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32981         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32983         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32984         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32985         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32986         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32988         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32989         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32990         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32991         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32992         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32993         Moved ...
32994         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32995         ... here.
32996         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32997         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32998         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32999         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
33000         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
33001         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
33002         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
33003         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
33004         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
33005         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
33006         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
33007         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
33008         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
33009         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
33010         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
33011         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
33012         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
33013         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
33014         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
33015         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
33016         ... here.
33017         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
33018         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
33019         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
33020         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
33021         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
33022         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
33023         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
33024         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
33026 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
33028         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
33029         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
33030         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
33031         Add sysdep.
33033 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33037 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33039         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33040         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33042         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33044         * sysdeps/arm/libm-test-ulps: Regenerated.
33046 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33047             Roland McGrath <roland@hack.frob.com>
33049         * test-skeleton.c (signal_handler): Kill the whole process group
33050         before killing the child individually.
33051         (main): Report any failure on `setpgid'.
33053 2014-06-30  Roland McGrath  <roland@hack.frob.com>
33055         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
33056         from _TLS_H to _ARM_NPTL_TLS_H.
33057         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33058         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
33060 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33062         [BZ #16539]
33063         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
33064         (__expm1l): Return argument unchanged when small but not
33065         subnormal.
33067         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33068         include macro name.
33069         (_FP_UNPACK_RAW_1_P): Likewise.
33070         (_FP_PACK_RAW_1): Likewise.
33071         (_FP_PACK_RAW_1_P): Likewise.
33072         (_FP_MUL_MEAT_1_wide): Likewise.
33073         (_FP_MUL_MEAT_DW_1_hard): Likewise.
33074         (_FP_MUL_MEAT_1_hard): Likewise.
33075         (_FP_DIV_MEAT_1_imm): Likewise.
33076         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
33077         (_FP_DIV_MEAT_1_udiv): Likewise.
33078         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
33079         (_FP_UNPACK_RAW_2): Likewise.
33080         (_FP_UNPACK_RAW_2_P): Likewise.
33081         (_FP_PACK_RAW_2): Likewise.
33082         (_FP_PACK_RAW_2_P): Likewise.
33083         (_FP_MUL_MEAT_DW_2_wide): Likewise.
33084         (_FP_MUL_MEAT_2_wide): Likewise.
33085         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
33086         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33087         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
33088         (_FP_MUL_MEAT_2_gmp): Likewise.
33089         (_FP_DIV_MEAT_2_udiv): Likewise.
33090         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
33091         (_FP_FRAC_SRL_4): Likewise.
33092         (_FP_FRAC_SRST_4): Likewise.
33093         (_FP_FRAC_SRS_4): Likewise.
33094         (_FP_UNPACK_RAW_4): Likewise.
33095         (_FP_UNPACK_RAW_4_P): Likewise.
33096         (_FP_PACK_RAW_4): Likewise.
33097         (_FP_PACK_RAW_4_P): Likewise.
33098         (_FP_MUL_MEAT_DW_4_wide): Likewise.
33099         (_FP_MUL_MEAT_4_wide): Likewise.
33100         (_FP_MUL_MEAT_4_gmp): Likewise.
33101         (umul_ppppmnnn): Likewise.
33102         (_FP_DIV_MEAT_4_udiv): Likewise.
33103         (__FP_FRAC_ADD_4): Likewise.
33104         (__FP_FRAC_SUB_3): Likewise.
33105         (__FP_FRAC_SUB_4): Likewise.
33106         (__FP_FRAC_DEC_3): Likewise.
33107         (__FP_FRAC_DEC_4): Likewise.
33108         (__FP_FRAC_ADDI_4): Likewise.
33109         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
33110         (_FP_FRAC_SRL_8): Likewise.
33111         (_FP_FRAC_SRS_8): Likewise.
33113         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
33114         include macro name.
33115         (FP_UNPACK_RAW_EP): Likewise.
33116         (FP_PACK_RAW_E): Likewise.
33117         (FP_PACK_RAW_EP): Likewise.
33118         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
33119         (_FP_ISSIGNAN): Likewise.
33120         (_FP_ADD_INTERNAL): Likewise.
33121         (_FP_FMA): Likewise.
33122         (_FP_CMP): Likewise.
33123         (_FP_SQRT): Likewise.
33124         (_FP_TO_INT): Likewise.
33125         (_FP_FROM_INT): Likewise.
33126         (FP_EXTEND): Likewise.
33127         (_FP_DIV_MEAT_N_loop): Likewise.
33129 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33131         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
33132         throughout.
33134 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
33136         [BZ #17097]
33137         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33138         result with correct sign in case of exponents that produce
33139         overflow except for X very close to 1.
33141 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
33143         mktime: merge #if/#ifdef usage from glibc
33144         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33145         as that works with both Glibc's and Gnulib's style.
33146         See thread starting at Siddhesh Poyarekar's bug report at:
33147         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33149 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33151         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33152         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33153         * sysdeps/tile/tilegx/memmove.c: Remove file.
33155 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33157         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
33158         abi-name definition.
33159         * scripts/soversions.awk: Do not handle or generate ABI lines.
33160         * shlib-versions: Remove ABI entries.
33161         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33162         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
33164 2014-06-27  Roland McGrath  <roland@hack.frob.com>
33166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
33167         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
33168         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
33169         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
33170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33171         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33173         Moved ...
33174         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33175         ... here.
33176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33177         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33179         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33181         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33183         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33184         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33185         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33187         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33189         Moved ...
33190         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33192         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33193         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33194         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33195         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33196         Moved ...
33197         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33199         Moved ...
33200         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33201         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33202         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33203         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33204         Moved ...
33205         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33207         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33209         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33211         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33213         Moved ...
33214         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33216         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33217         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33218         Moved ...
33219         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33220         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33221         Moved ...
33222         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33224         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33225         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33226         Moved ...
33227         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33228         ... here.
33229         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33230         Identical file removed.
33231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33232         Moved ...
33233         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33234         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33235         Identical file removed.
33236         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33237         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33238         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33239         Moved ...
33240         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33241         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33242         Identical file removed.
33243         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33244         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33245         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33246         Identical file removed.
33247         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33248         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33250         Identical file removed.
33251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33252         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33253         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33254         Identical file removed.
33255         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33256         Moved ...
33257         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33258         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33259         Identical file removed.
33260         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33261         Moved ...
33262         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33264         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33266         Identical file removed.
33267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33268         Moved ...
33269         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33270         ... here.
33271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33272         Identical file removed.
33273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33274         Moved ...
33275         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33276         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33277         Identical file removed.
33278         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33279         Moved ...
33280         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33281         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33282         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33284         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33286         Moved ...
33287         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33288         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33289         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33291         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33292         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33293         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33294         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33295         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33297 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33299         [BZ #17092]
33300         * nscd/nscd.c (monitor_child): Return exit status of child
33301         instead of return value from wait syscall.
33303 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33305         * configure.ac (libc_commonpagesize): Remove variable.
33306         (libc_relro_required): Likewise.
33307         (libc_cv_z_relro): Remove configure test.
33308         * configure: Regenerated.
33309         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33310         variable.
33311         (libc_relro_required): Likewise.
33312         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33313         (libc_relro_required): Likewise.
33314         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33315         (libc_relro_required): Likewise.
33316         * sysdeps/arm/preconfigure: Regenerated.
33317         * sysdeps/ia64/preconfigure: Remove file.
33318         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33319         variable.
33320         (libc_relro_required): Likewise.
33322         [BZ #16561]
33323         [BZ #16562]
33324         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33325         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33326         recompute overflowing results in original rounding mode.
33327         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33328         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33329         recompute overflowing results in original rounding mode.
33330         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33331         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33332         recompute overflowing results in original rounding mode.
33333         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33334         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33335         recompute overflowing results in original rounding mode.
33336         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33337         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33338         recompute overflowing results in original rounding mode.
33339         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33340         (libc_feholdsetround_ctx): New macro.
33341         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33342         * sysdeps/i386/fpu/libm-test-ulps: Update.
33343         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33345 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33347         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33348         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33349         corresponding .cpsetup call.
33351 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33353         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33354         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33355         * sysdeps/arm/Makefile [$(subdir) = csu]
33356         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33357         (static-only-routines): Add aeabi_read_tp here.
33358         (shared-only-routines): Add libc-aeabi_read_tp here.
33359         (CFLAGS-libc-start.c): Add -fexceptions here.
33360         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33361         (sysdep_routines, static-only-routines, shared-only-routines):
33362         Don't add to these here.
33363         (CFLAGS-libc-start.c): Likewise.
33365         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33366         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33367         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33368         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33369         * sysdeps/arm/Makefile [$(subdir) = rt]
33370         (librt-sysdep_routines, librt-shared-only-routines):
33371         Append rt-aeabi_unwind_cpp_pr1 here.
33372         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33373         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33374         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33375         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33376         Append nptl-aeabi_unwind_cpp_pr1 here.
33377         (tests): Filter out tst-cleanupx4 here.
33378         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33379         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33380         Don't do those here.
33382 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33384         * scripts/list-sources.sh: Do not handle ports specially.
33386 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33388         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33389         * sysdeps/arm/feupdateenv.c: Likewise.
33391         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33393 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33395         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33396         trailing whitespace removed.
33397         * scripts/config.guess: Update to version 2014-03-23.
33398         * scripts/config.sub: Update to version 2014-05-01
33399         * scripts/install-sh: Update to version 2013-12-25.23.
33400         * scripts/move-if-change: Update from gnulib.
33402 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33404         * debug/memmove_chk.c: Remove pagecopy.h include.
33406 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33408         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33409         identical to gnulib mktime.
33411 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33413         * configure.ac: Do not test for machine being rs6000.  Do not test
33414         for powerpc*-*soft.
33415         * configure: Regenerated.
33417         [BZ #11505]
33418         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33419         test.
33420         * configure: Regenerated.
33421         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33422         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33423         Remove configure test.
33424         * sysdeps/arm/configure: Regenerated.
33425         * sysdeps/nptl/configure.ac: Do not check
33426         libc_cv_asm_cfi_directives.
33427         * sysdeps/nptl/configure: Regenerated.
33428         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33429         * sysdeps/x86_64/nptl/configure: Remove generated file.
33430         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33431         unconditional.
33432         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33434 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33436         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33437         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33438         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33439         it is defined.
33441         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33442         instead of whether it is defined.
33443         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33444         * sysdeps/hppa/dl-machine.h: Likewise.
33445         * sysdeps/ia64/dl-machine.h: Likewise.
33446         * sysdeps/m68k/dl-machine.h: Likewise.
33447         * sysdeps/microblaze/dl-machine.h: Likewise.
33448         * sysdeps/mips/dl-machine.: Likewise.
33449         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33450         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33451         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33452         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33453         * sysdeps/sh/dl-machine.h: Likewise.
33454         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33455         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33456         * sysdeps/tile/dl-machine.h: Likewise.
33457         * sysdeps/x86_64/dl-machine.h: Likewise.
33459         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33460         code.
33461         (verify_persistent_db): Likewise.
33463 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33466         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33468         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33470         Moved ...
33471         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33472         ... here.
33473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33474         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33476         Identical file removed.
33477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33478         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33480         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33482         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33484         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33486         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33488         Moved ...
33489         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33491         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33493         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33495         Moved ...
33496         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33498         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33500         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33502         Identical file removed.
33503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33504         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33506         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33508         Moved ...
33509         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33510         ... here.
33511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33512         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33514         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33516         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33518         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33520         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33522         Moved ...
33523         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33525         Moved ...
33526         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33528         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33530         Moved ...
33531         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33533         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33535         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33536         folded into ...
33537         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33538         * sysdeps/unix/sysv/linux/s390/Versions
33539         (libpthread: GLIBC_2.19): New version set.
33540         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33541         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33542         (librt: GLIBC_2.3.3): New version set.
33543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33544         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33545         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33546         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33547         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33548         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33549         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33550         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33551         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33552         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33553         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33554         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33555         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33556         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33557         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33558         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33559         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33560         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33561         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33562         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33563         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33564         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33565         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33566         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33567         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33568         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33569         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33570         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33571         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33572         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33573         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33574         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33575         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33576         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33577         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33578         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33579         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33580         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33581         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33582         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33583         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33584         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33585         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33586         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33587         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33589         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33590         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33591         (__libc_vfork): Define the function under this name.
33592         [!NOT_IN_libc] (__vfork): Make this an alias.
33593         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33594         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33595         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33596         (__libc_vfork): Define the function under this name.
33597         [!NOT_IN_libc] (__vfork): Make this an alias.
33598         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33599         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33600         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33601         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33602         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33603         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33605         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33606         code that was previously under [RESET_PID].
33607         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33608         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33611         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33612         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33613         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33614         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33615         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33616         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33617         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33618         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33619         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33620         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33621         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33622         Moved ...
33623         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33624         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33625         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33626         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33627         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33628         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33629         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33630         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33631         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33632         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33633         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33634         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33635         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33636         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33637         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33638         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33639         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33640         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33641         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33642         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33643         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33644         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33645         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33646         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33647         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33648         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33649         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33650         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33651         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33653 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33655         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33656         that was previously under [RESET_PID].
33657         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33659 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33661         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33662         not undefine and redefine.
33663         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33664         [O_CLOEXEC]: Make code unconditional.
33665         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33666         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33667         <kernel-features.h>.
33668         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33669         conditional variable definition.
33670         (shm_open) [O_CLOEXEC]: Make code unconditional.
33671         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33672         code.
33674         * configure.ac (USE_REGPARMS): Don't define here.
33675         * configure: Regenerated.
33676         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33677         * sysdeps/i386/configure: Regenerated.
33679         * nptl/createthread.c: Don't include kernel-features.h.
33680         * nptl/pthread_cancel.c: Likewise.
33681         * nptl/pthread_condattr_setclock.c: Likewise.
33682         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33683         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33684         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33685         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33686         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33687         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33688         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33689         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33690         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33691         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33692         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33693         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33694         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33695         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33696         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33697         * nscd/gai.c: Likewise.
33698         * nss/nss_db/db-open.c: Likewise.
33699         * sysdeps/generic/ldsodefs.h: Likewise.
33700         * sysdeps/sh/nptl/tls.h: Likewise.
33701         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33702         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33703         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33704         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33705         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33706         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33707         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33708         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33709         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33710         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33711         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33712         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33713         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33714         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33715         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33716         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33717         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33718         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33719         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33720         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33721         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33722         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33723         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33724         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33725         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33726         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33727         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33728         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33729         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33730         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33731         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33732         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33733         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33734         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33735         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33736         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33737         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33738         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33739         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33740         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33741         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33742         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33743         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33744         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33745         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33746         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33747         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33748         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33749         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33750         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33751         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33752         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33753         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33754         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33755         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33756         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33757         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33758         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33781         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33782         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33783         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33784         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33785         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33786         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33787         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33788         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33789         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33790         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33791         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33792         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33793         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33794         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33795         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33796         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33797         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33798         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33799         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33800         * sysdeps/unix/sysv/linux/system.c: Likewise.
33801         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33802         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33803         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33804         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33805         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33806         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33807         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33809         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33810         * configure: Regenerated.
33811         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33813         * configure.ac (base_machine): Do not set specially for particular
33814         machines here.
33815         * configure: Regenerated.
33816         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33817         settings from configure.ac.
33818         * sysdeps/i386/preconfigure: New file.
33819         * sysdeps/s390/preconfigure: Likewise.
33820         * sysdeps/sh/preconfigure: Likewise.
33821         * sysdeps/sparc/preconfigure: Likewise.
33823 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33825         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33826         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33827         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33828         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33829         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33830         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33831         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33832         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33833         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33834         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33835         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33836         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33837         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33838         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33839         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33840         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33841         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33842         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33843         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33845         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33846         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33847         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33848         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33849         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33850         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33851         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33852         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33853         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33854         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33855         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33856         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33857         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33858         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33859         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33860         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33861         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33862         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33863         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33864         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33865         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33866         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33867         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33868         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33869         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33870         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33871         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33872         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33873         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33874         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33875         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33876         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33877         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33878         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33879         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33880         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33881         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33882         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33885         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33887         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33889         Moved ...
33890         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33891         ... here.
33892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33893         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33895         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33897         Moved ...
33898         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33900         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33902         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33904         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33906         Moved ...
33907         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33909         Moved ...
33910         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33912         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33914         Moved ...
33915         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33917         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33919         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33921         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33923         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33925         Moved ...
33926         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33927         ... here.
33928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33929         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33931         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33933         Moved ...
33934         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33936         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33938         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33940         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33942         Moved ...
33943         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33945         Moved ...
33946         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33948         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33950         Moved ...
33951         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33953         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33955         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33957 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33959         * timezone/checktab.awk: Update from tzcode 2014e.
33960         * timezone/private.h: Likewise.
33961         * timezone/tzfile.h: Likewise.
33962         * timezone/zdump.c: Likewise.
33963         * timezone/zic.c: Likewise.
33965         * sysdeps/unix/sysv/linux/kernel-features.h
33966         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33967         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33968         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33969         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33970         Remove conditional code.
33972 2014-06-25  Will Newton  <will.newton@linaro.org>
33974         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33975         (_dl_arm_cap_flags): Add HWCAP2 values.
33976         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33977         (_DL_HWCAP_COUNT): Increase to 37.
33978         (_DL_HWCAP_LAST): New define.
33979         (_DL_HWCAP2_LAST): New define.
33980         (_dl_procinfo): Add support for printing
33981         AT_HWCAP2 entries.
33982         (_dl_string_hwcap): Use _dl_hwcap_string.
33984 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33988 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33990         * README: Do not mention ports directory.
33992         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33993         Remove macro.
33994         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33995         <kernel-features.h>.
33996         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33997         conditional variable definition.
33998         (__futimes): Update comment.
33999         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
34000         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
34002         [BZ #16560]
34003         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
34004         arguments close to 0.
34005         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
34006         Likewise.
34007         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
34008         Likewise.
34009         * math/auto-libm-test-in: Add more tests of exp10.
34010         * math/auto-libm-test-out: Regenerated.
34011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34013         * sysdeps/unix/sysv/linux/kernel-features.h
34014         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
34015         * sysdeps/unix/sysv/linux/readv.c: Do not include
34016         <kernel-features.h>.
34017         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34018         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34019         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34020         unconditional.
34021         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34022         conditional code.
34023         * sysdeps/unix/sysv/linux/writev.c: Do not include
34024         <kernel-features.h>.
34025         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34026         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34027         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34028         unconditional.
34029         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34030         conditional code.
34032 2014-06-25  Will Newton  <will.newton@linaro.org>
34034         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
34035         comment changes throughout the file.  Remove checks
34036         for HAVE_*_H definitions that are not required.
34037         (__gen_tempname): Call abort if an unknown kind value is
34038         passed.
34040 2014-06-25  Andreas Schwab  <schwab@suse.de>
34042         [BZ #17086]
34043         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34044         scalbln, scalblnf, scalblnl in libc.
34046 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34048         [BZ #17086]
34049         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
34050         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34051         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34053 2014-06-24  Roland McGrath  <roland@hack.frob.com>
34055         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
34056         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
34057         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
34058         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
34059         Update #include.
34060         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
34061         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
34062         Update #include.
34063         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
34064         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34065         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
34066         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
34067         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
34068         * sysdeps/x86/bits/pthreadtypes.h: ... here.
34069         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
34070         * sysdeps/x86/bits/semaphore.h: ... here.
34071         * sysdeps/x86/nptl/elide.h: Moved ...
34072         * sysdeps/x86/elide.h: ... here.
34073         * sysdeps/x86_64/nptl/Implies: File removed.
34074         * sysdeps/i386/nptl/Implies: File removed.
34076 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
34078         [BZ #16539]
34079         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
34080         return the argument for normal arguments with exponent below -64.
34081         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34082         Likewise.
34083         * math/auto-libm-test-in: Add another test of expm1.
34084         * math/auto-libm-test-out: Regenerated.
34086         [BZ #16287]
34087         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
34088         calling __erfcl for arguments at least 16.
34089         * math/auto-libm-test-in: Add more tests of erf.
34090         * math/auto-libm-test-out: Regenerated.
34092         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
34093         individual architectures.
34094         * sysdeps/unix/sysv/linux/configure: Regenerated.
34095         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
34096         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
34097         * sysdeps/unix/sysv/linux/powerpc/configure.ac
34098         (ldd_rewrite_script): Define variable.
34099         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
34101         file.
34102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
34103         generated file.
34104         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
34105         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
34106         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
34107         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
34108         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
34109         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
34110         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
34111         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
34113 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34115         [BZ #17084]
34116         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34117         Rename member __data.d to __data.__elision_data.
34119 2014-06-24  Wilco  <wdijkstr@arm.com>
34121         * NEWS: Add 16918 to fixed bug list.
34123 2014-06-24  Wilco  <wdijkstr@arm.com>
34125         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
34127 2014-06-24  Wilco  <wdijkstr@arm.com>
34129         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
34130         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
34131         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
34132         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
34133         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
34134         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
34135         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
34136         Use _FPU_MASK_RM.
34138 2014-06-24  Wilco  <wdijkstr@arm.com>
34140         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34142 2014-06-24  Wilco  <wdijkstr@arm.com>
34144         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34145         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34146         * sysdeps/arm/fesetround.c (fesetround): Remove space.
34147         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34149 2014-06-24  Wilco  <wdijkstr@arm.com>
34151         [BZ #16918]
34152         * sysdeps/arm/feupdateenv.c (feupdateenv):
34153         Rewrite to reduce FPSCR accesses and fix return value.
34155 2014-06-24  Wilco  <wdijkstr@arm.com>
34157         * sysdeps/arm/fclrexcpt.c (feclearexcept):
34158         Optimize to avoid unnecessary FPSCR writes.
34159         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
34160         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
34161         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34162         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
34164 2014-06-24  Wilco  <wdijkstr@arm.com>
34166         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
34167         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
34168         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
34169         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
34170         Call libc_fetestexcept_vfp.
34171         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34172         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34173         __SOFTFP__ ifdef so that they can be built for softfp.
34175 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34177         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34178         argument type signed char.
34180         * Makerules (check-abi): Dump diff of symlist if the test
34181         fails.
34183 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34185         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34186         using abort.
34188         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34189         Remove unused variable ST.
34191 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34193         [BZ #16354]
34194         [BZ #17061]
34195         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34196         small arguments before calling __expm1.
34197         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34198         small arguments before calling __expm1f.
34199         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34200         small arguments before calling __expm1l.
34201         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34202         Likewise.
34203         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34204         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34205         spurious underflow for some cosh tests.
34206         * math/auto-libm-test-out: Regenerated.
34207         * sysdeps/i386/fpu/libm-test-ulps: Update.
34209         [BZ #17050]
34210         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34211         (__ieee754_y1): Set errno if return value overflows.
34212         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34213         (__ieee754_y1f): Set errno if return value overflows.
34214         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34215         (__ieee754_y1l): Set errno if return value overflows.
34216         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34217         (__ieee754_y1l): Set errno if return value overflows.
34218         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34219         * math/auto-libm-test-out: Regenerated.
34221         * math/gen-auto-libm-tests.c: Document use of
34222         ignore-zero-inf-sign.
34223         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34224         (input_flags): Add ignore-zero-inf-sign.
34225         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34226         * math/gen-libm-test.pl (generate_testfile): Handle
34227         ignore-zero-inf-sign.
34228         * math/auto-libm-test-in: Mark some cpow tests with
34229         ignore-zero-inf-sign and some with xfail-rounding.
34230         * math/auto-libm-test-out: Regenerated.
34231         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34232         * sysdeps/i386/fpu/libm-test-ulps: Update.
34233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34235         [BZ #16315]
34236         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34237         overflowing or underflowing operations take place with sign of
34238         result.
34239         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34240         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34241         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34242         (__ieee754_pow): Recompute overflowing and underflowing results in
34243         original rounding mode.
34244         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34245         (__powl_helper): Allow negative argument X and scale negated value
34246         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34247         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34248         overflowing or underflowing operations take place with sign of
34249         result.
34250         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34251         Include <math.h>.
34252         * math/auto-libm-test-in: Add more tests of pow.
34253         * math/auto-libm-test-out: Regenerated.
34254         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34255         (pow_tonearest_test_data): Remove.
34256         (pow_test_tonearest): Likewise.
34257         (pow_towardzero_test_data): Likewise.
34258         (pow_test_towardzero): Likewise.
34259         (pow_downward_test_data): Likewise.
34260         (pow_test_downward): Likewise.
34261         (pow_upward_test_data): Likewise.
34262         (pow_test_upward): Likewise.
34263         (main): Don't call removed functions.
34264         * sysdeps/i386/fpu/libm-test-ulps: Update.
34265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34267 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34270         Moved ...
34271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34273         Moved ...
34274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34276         Moved ...
34277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34279         Moved ...
34280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34282         File removed.
34283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34284         File removed.
34285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34286         File removed.
34287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34288         File removed.
34289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34290         File removed.
34291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34292         File removed.
34293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34294         File removed.
34295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34296         File removed.
34297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34298         File removed.
34299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34300         File removed.
34301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34302         File removed.
34303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34304         File removed.
34305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34306         Moved ...
34307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34309         Moved ...
34310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34311         ... here.
34312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34313         Moved ...
34314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34316         Moved ...
34317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34319         Moved ...
34320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34322         Moved ...
34323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34325         Moved ...
34326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34328         Moved ...
34329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34331         Moved ...
34332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34335         ... here.
34336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34337         Moved ...
34338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34340         Moved ...
34341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34342         ... here.
34343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34344         Moved ...
34345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34346         ... here.
34347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34348         Moved ...
34349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34350         ... here.
34351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34352         Moved ...
34353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34355         Moved ...
34356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34360         Moved ...
34361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34362         ... here.
34363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34364         Moved ...
34365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34366         ... here.
34367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34368         Moved ...
34369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34371         Moved ...
34372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34374         Moved ...
34375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34377         Moved ...
34378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34380         Moved ...
34381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34382         ... here.
34383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34384         Moved ...
34385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34387         Moved ...
34388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34390         Moved ...
34391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34393         Moved ...
34394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34398         Moved ...
34399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34401         Moved ...
34402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34404         Moved ...
34405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34406         ... here.
34407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34408         Moved ...
34409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34410         ... here.
34411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34412         Moved ...
34413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34414         ... here.
34415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34416         Moved ...
34417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34419         Moved ...
34420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34422         Moved ...
34423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34425         Moved ...
34426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34427         ... here.
34428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34429         Moved ...
34430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34431         ... here.
34432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34433         Moved ...
34434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34435         ... here.
34436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34437         Moved ...
34438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34440         Moved ...
34441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34443 2014-06-23  Will Newton  <will.newton@linaro.org>
34444             Wilco  <wdijkstr@arm.com>
34446         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34447         implementation.  Include get-rounding-mode.h.
34448         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34449         [!libc_feholdsetround_noex_ctx]: Define
34450         libc_feholdsetround_noex_ctx.
34451         [!libc_feholdsetround_noexf_ctx]: Define
34452         libc_feholdsetround_noexf_ctx.
34453         [!libc_feholdsetround_noexl_ctx]: Define
34454         libc_feholdsetround_noexl_ctx.
34455         (libc_feholdsetround_ctx): New function.
34456         (libc_feresetround_ctx): New function.
34457         (libc_feholdsetround_noex_ctx): New function.
34458         (libc_feresetround_noex_ctx): New function.
34460 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34462         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34463         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34464         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34465         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34466         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34467         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34469         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34470         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34471         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34472         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34473         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34474         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34475         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34476         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34477         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34478         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34479         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34480         Moved ...
34481         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34482         ... here.
34483         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34484         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34485         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34486         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34487         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34488         Moved ...
34489         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34490         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34491         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34492         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34493         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34494         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34495         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34496         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34497         Moved ...
34498         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34499         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34500         Moved ...
34501         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34502         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34503         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34504         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34505         Moved ...
34506         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34507         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34508         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34509         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34510         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34511         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34512         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34514         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34515         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34516         Moved ...
34517         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34518         ... here.
34519         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34520         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34521         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34522         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34523         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34524         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34525         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34526         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34527         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34528         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34529         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34530         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34531         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34532         Moved ...
34533         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34534         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34535         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34536         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34537         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34538         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34539         Moved ...
34540         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34541         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34542         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34543         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34544         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34546         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34547         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34548         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34549         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34550         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34551         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34552         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34553         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34554         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34555         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34556         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34557         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34558         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34559         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34560         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34561         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34562         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34563         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34564         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34565         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34566         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34567         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34568         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34569         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34570         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34571         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34572         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34573         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34575 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34577         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34578         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34579         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34580         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34581         (IPV6_PMTUDISC_INTERFACE): Likewise.
34582         (IPV6_PMTUDISC_OMIT): Likewise.
34584 2014-06-23  Andreas Schwab  <schwab@suse.de>
34586         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34587         Remove unused errout label.
34589 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34591         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34592         macro: hardware supports Vector Crypto instructions.
34594 2014-06-23  Will Newton  <will.newton@linaro.org>
34596         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34597         rather than __builtin_expect.
34599         * elf/dl-lookup.c (undefined_msg): Remove variable.
34600         (_dl_lookup_symbol_x): Replace undefined_msg with string
34601         literal.
34603         * elf/dl-lookup.c (do_lookup_unique): New function.
34604         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34605         to a separate function.
34607 2014-06-23  Andreas Schwab  <schwab@suse.de>
34609         [BZ #17079]
34610         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34611         before reading the next line.
34613 2014-06-23  Will Newton  <will.newton@linaro.org>
34615         * test-skeleton.c (signal_handler): Use printf and %m
34616         rather than perror.  Use printf rather than fprintf to
34617         stderr.  Use puts rather than fputs to stderr.
34618         (main): Likewise.
34620 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34622         * nscd/nscd.c (thread_info_t): Remove typedef.
34623         (thread_info): Remove variable.
34625 2014-06-21  Allan McRae  <allan@archlinux.org>
34627         * NEWS: Mention CVE-2014-4043.
34629 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34631         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34632         * nptl/smp.h: ... here.
34634         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34636         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34637         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34638         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34639         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34641         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34642         * nptl/stack-aliasing.h: New file.
34643         * sysdeps/i386/i686/stack-aliasing.h: New file.
34644         * sysdeps/i386/i686/nptl/Makefile: File removed.
34645         * sysdeps/x86_64/stack-aliasing.h: New file.
34646         * sysdeps/x86_64/nptl/Makefile
34647         (CFLAGS-pthread_create.c): Variable removed.
34649         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34650         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34651         old file.
34652         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34653         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34654         old file.
34656 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34658         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34659         (__ASSUME_SIGFRAME_V2): Remove macro.
34660         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34661         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34662         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34663         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34664         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34665         Declare as function.  Remove conditional macro definitions.
34666         (__default_rt_sa_restorer): Likewise.
34667         (__default_sa_restorer_v1): Remove declaration.
34668         (__default_sa_restorer_v2): Likewise.
34669         (__default_rt_sa_restorer_v1): Likewise.
34670         (__default_rt_sa_restorer_v2): Likewise.
34671         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34672         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34673         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34675 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34677         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34678         (libpthread-routines): Add sysdep.
34679         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34680         * sysdeps/unix/sysv/linux/sparc/Versions
34681         (libpthread: GLIBC_2.3.3): New version set.
34682         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34683         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34684         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34685         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34686         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34687         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34688         Moved ...
34689         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34690         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34691         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34692         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34693         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34694         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34695         * sysdeps/sparc/nptl/sem_init.c: ... here.
34696         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34697         * sysdeps/sparc/nptl/sem_post.c: ... here.
34698         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34699         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34700         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34701         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34702         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34703         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34704         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34705         (libpthread-routines): Add cpu_relax.
34706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34707         File removed.
34708         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34709         (librt: GLIBC_2.3.3): New version set.
34710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34711         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34712         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34713         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34716         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34718         Moved ...
34719         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34721         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34723         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34725         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34727         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34729         Moved ...
34730         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34731         Update #include.
34732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34733         Moved ...
34734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34735         Update #include.
34736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34737         Moved ...
34738         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34739         Update #include.
34740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34741         Moved ...
34742         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34743         Update #include.
34744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34745         Moved ...
34746         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34747         Update #include.
34748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34749         Moved ...
34750         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34751         Update #include.
34752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34753         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34757         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34759         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34761         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34763         Moved ...
34764         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34766         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34768         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34770 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34772         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34773         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34774         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34775         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34776         * nscd/nscd.c: Likewise.
34777         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34778         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34779         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34780         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34782         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34783         <kernel-features.h>.
34784         (init_mq_netlink): Remove conditional have_sock_cloexec
34785         definitions.  Remove code conditional on have_sock_cloexec < 0.
34786         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34787         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34788         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34789         <kernel-features.h>.
34790         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34791         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34793 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34796         Add tests for memset_chk and memset.
34798         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34799         with AVX2_Usable.
34801 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34803         [BZ #16046]
34804         * elf/tst-dl-iter-static.c: New file.
34805         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34807         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34808         error.
34810 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34812         * sysdeps/unix/sysv/linux/kernel-features.h
34813         (__ASSUME_F_GETOWN_EX): Remove macro.
34814         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34815         <kernel-features.h>.
34816         (miss_F_GETOWN_EX): Remove variable or macro.
34817         (do_fcntl): Do not check miss_F_GETOWN_EX.
34818         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34820         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34821         Remove macro.
34822         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34823         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34824         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34826         * sysdeps/unix/sysv/linux/kernel-features.h
34827         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34828         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34829         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34830         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34832 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34834         [BZ #17075]
34835         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34836         Fix calculation of the symbol's value.
34837         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34838         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34839         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34840         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34841         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34842         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34843         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34844         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34845         (modules-names): Add `tst-armtlsdescmod',
34846         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34847         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34848         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34849         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34850         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34851         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34852         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34853         ($(objpfx)tst-armtlsdescloc): New dependency.
34854         ($(objpfx)tst-armtlsdescextnow): Likewise.
34855         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34856         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34857         TLS scheme support.
34858         * sysdeps/arm/configure: Regenerate.
34860 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34862         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34863         (__atfct_seterrno_2): Likewise.
34864         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34865         <kernel-features.h>.
34866         (__ASSUME_ATFCTS): Do not undefine and redefine.
34867         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34868         (__have_atfcts): Remove conditional definition.
34869         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34870         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34871         unreachable if [__ASSUME_ATFCTS].
34872         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34873         not undefine and redefine.
34874         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34875         <kernel-features.h>.
34876         (faccessat) [__NR_faccessat]: Make code unconditional.
34877         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34878         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34879         <kernel-features.h>.
34880         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34881         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34882         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34883         <kernel-features.h>.
34884         (fchownat) [__NR_fchownat]: Make code unconditional.
34885         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34886         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34887         <kernel-features.h>.
34888         (futimesat) [__NR_futimesat]: Make code unconditional.
34889         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34890         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34891         <kernel-features.h>.
34892         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34893         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34894         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34895         <kernel-features.h>.
34896         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34897         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34898         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34899         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34900         <kernel-features.h>.
34901         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34902         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34903         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34904         <kernel-features.h>.
34905         (linkat) [__NR_linkat]: Make code unconditional.
34906         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34907         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34908         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34909         <kernel-features.h>.
34910         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34911         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34912         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34913         <kernel-features.h>.
34914         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34915         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34916         * sysdeps/unix/sysv/linux/openat.c: Do not include
34917         <kernel-features.h>.
34918         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34919         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34920         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34921         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34922         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34923         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34924         <kernel-features.h>.
34925         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34926         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34927         result of INLINE_SYSCALL directly, not via int variable.
34928         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34929         <kernel-features.h>.
34930         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34931         (renameat) [__NR_renameat]: Make code unconditional.
34932         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34933         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34934         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34935         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34936         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34937         (__ASSUME_ATFCTS): Do not undefine and redefine.
34938         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34939         <kernel-features.h>.
34940         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34941         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34942         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34943         <kernel-features.h>.
34944         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34945         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34946         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34947         (__ASSUME_ATFCTS): Do not undefine and redefine.
34948         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34949         <kernel-features.h>.
34950         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34951         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34952         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34953         <kernel-features.h>.
34954         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34955         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34957 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34959         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34961 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34963         [BZ #17069]
34964         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34965         constructed tree before returning error.
34966         * posix/bug-regexp36.c: Expand test case.
34968 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34970         [BZ #6803]
34971         * math/libm-test.inc (scalbln_test_date):
34972         Add errno expectations.
34973         * math/w_scalblnf.c: New File.
34974         Add wrapper which checks for setting errno to ERANGE.
34975         Add weak_alias for corresponding scalbln function.
34976         * math/w_scalbln.c: Likewise.
34977         * math/w_scalblnl.c: Likewise.
34978         * math/Makefile (libm-calls): Add w_scalbln.
34979         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34980         Remove weak_alias for corresponding scalbln function.
34981         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34982         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34983         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34984         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34985         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34986         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34987         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34988         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34989         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34990         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34991         Remove long_double_symbol for scalblnl function in libm, libc.
34992         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34993         Add wrapper which checks for setting errno to ERANGE.
34994         Add long_double_symbol for scalblnl function in libm, libc.
34995         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34996         Remove long_double_symbol for scalblnl in libm.
34997         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34998         Add wrapper which checks for setting errno to ERANGE.
34999         Add long_double_symbol for scalblnl function in libm.
35000         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
35001         Do not use wrapper because of own implementation.
35003 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
35005         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
35006         3 bytes for __pad1 for x32.
35007         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
35009 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
35010             H.J. Lu  <hongjiu.lu@intel.com>
35012         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
35013         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
35014         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35015         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35016         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
35018 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
35020         [BZ #17069]
35021         * posix/regcomp.c (parse_expression): Deallocate partially
35022         constructed tree before returning error.
35023         * posix/Makefile.c (tests): Add bug-regex36.
35024         (generated): Add bug-regex36.mtrace.
35025         (tests-special): Add $(objpfx)bug-regex36-mem.out
35026         (bug-regex36-ENV): New variable.
35027         ($(objpfx)bug-regex36-mem.out): New rule.
35028         * posix/bug-regex36.c: New file.
35030 2014-06-19  Will Newton  <will.newton@linaro.org>
35032         * malloc/malloc.c (systrim): If extra is zero then return
35033         early.
35035 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35037         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
35039 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
35041         * sysdeps/aarch64/strchr.S: New file.
35043 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35045         [BZ #17022]
35046         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
35047         from arguments -2 or below.
35048         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35049         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
35051 2014-06-18  Andreas Schwab  <schwab@suse.de>
35053         [BZ #17062]
35054         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
35055         of a bracket expr not to run off the end of the string.
35056         * posix/Makefile (tests): Add tst-fnmatch3.
35057         * posix/tst-fnmatch3.c: New file.
35059 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35061         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
35062         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35063         [$(cross-compiling) = no]: Likewise.
35064         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35065         [$(cross-compiling) = no]: Likewise.
35067 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35069         [BZ #17031]
35070         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
35071         double, adjusted for any remainder from the high double.
35072         * math/libm-test.inc (nearbyint): Add tests.
35073         (rint): Likewise.
35075 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35077         * nptl/sysdeps/powerpc/Makefile: Moved ...
35078         * sysdeps/powerpc/nptl/Makefile: ... here.
35079         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
35080         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
35081         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
35082         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
35083         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
35084         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
35085         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
35086         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
35087         * nptl/sysdeps/powerpc/tls.h: Moved ...
35088         * sysdeps/powerpc/nptl/tls.h: ... here.
35090 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
35092         [BZ #16681]
35093         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
35094         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
35095         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
35096         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
35097         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
35098         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
35099         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
35100         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
35101         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
35103 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
35105         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35107 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
35109         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
35110         defined operator.
35112         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
35113         $TIMEOUTFACTOR.
35115 2014-06-16  Florian Weimer  <fweimer@redhat.com>
35117         [BZ #17058]
35118         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
35119         non-executed part of the test.
35121 2014-06-16  Andreas Schwab  <schwab@suse.de>
35123         * string/bits/string2.h (strdup, strndup): Update feature guard.
35125 2014-06-14  David S. Miller  <davem@davemloft.net>
35127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35129 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
35131         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
35132         that was previously under [RESET_PID].
35133         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
35135         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
35136         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
35137         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35138         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35139         (__libc_vfork): New strong alias.
35140         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35142 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35144         * sysdeps/generic/elide.h: New file.
35146 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35148         * Makefile (installed-headers): Adjust path of pthread.h header.
35150 2014-06-13  Roland McGrath  <roland@hack.frob.com>
35152         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35153         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35154         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35155         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
35157         * nptl/sysdeps/s390/Makefile: Moved ...
35158         * sysdeps/s390/nptl/Makefile: ... here.
35159         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
35160         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
35161         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35162         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35163         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
35164         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
35165         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
35166         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35167         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
35168         * sysdeps/s390/nptl/pthreaddef.h: ... here.
35169         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
35170         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35171         * nptl/sysdeps/s390/tls.h: Moved ...
35172         * sysdeps/s390/nptl/tls.h: ... here.
35174         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35175         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35177 2014-06-13  David S. Miller  <davem@davemloft.net>
35179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35180         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35182         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35186         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35187         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35188         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35189         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35190         Remove RESET_PID cpp guards.
35191         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35192         Remove RESET_PID cpp guards.
35193         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35195 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35197         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35198         __sp to uintptr_t.
35200 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35202         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35203         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35204         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35205         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35206         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35207         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35208         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35209         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35210         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35211         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35212         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35213         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35214         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35215         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35216         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35217         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35218         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35219         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35220         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35221         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35223         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35224         (pthread_rwlock_rdlock): Add elision.
35225         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35226         (pthread_rwlock_wrlock): Add elision.
35227         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35228         (pthread_rwlock_trywrlock): Add elision.
35229         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35230         (pthread_rwlock_tryrdlock): Add elision.
35231         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35232         (pthread_rwlock_tryrdlock): Add elision unlock.
35233         * nptl/sysdeps/pthread/pthread.h:
35234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35235         (PTHREAD_RWLOCK_INITIALIZER,
35236         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35237         Handle new elision field.
35238         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35239         * sysdeps/arm/nptl/bits/pthreadtypes.h
35240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35241         * sysdeps/sh/nptl/bits/pthreadtypes.h
35242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35243         * sysdeps/tile/nptl/bits/pthreadtypes.h
35244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35245         * sysdeps/a/nptl/bits/pthreadtypes.h
35246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35247         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35249         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35251         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35253         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35255         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35256         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35257         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35258         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35259         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35261         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35262         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35263         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35264         (elision_init): Set try_xbegin to zero when no RTM.
35265         * sysdeps/x86/nptl/bits/pthreadtypes.h
35266         (pthread_rwlock_t): Change __pad1 to __rwelision.
35267         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35269 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35271         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35272         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35273         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35274         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35276 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35278         [BZ #16996]
35279         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35280         that the cached result has been set before returning it.
35282 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35284         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35285         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35286         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35287         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35288         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35289         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35291         * nptl/sysdeps/sparc/Makefile: Moved ...
35292         * sysdeps/sparc/nptl/Makefile: ... here.
35293         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35294         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35295         * nptl/sysdeps/sparc/tls.h: Moved ...
35296         * sysdeps/sparc/nptl/tls.h: ... here.
35297         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35298         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35299         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35300         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35301         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35302         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35303         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35304         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35305         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35306         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35307         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35308         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35309         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35310         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35311         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35312         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35313         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35314         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35315         Update #include.
35316         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35317         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35318         Update #include.
35319         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35320         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35321         Update #include.
35322         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35323         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35324         Update #include.
35326         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35328         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35329         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35331         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35332         (struct list_links): Type removed.
35333         (struct thread_node, struct timer_node): Replace struct list_links
35334         with struct list_head.
35335         (list_unlink_ip): Likewise.
35336         * sysdeps/pthread/timer_routines.c
35337         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35338         (list_append, list_insbefore): Likewise.
35339         (list_init): Function removed.
35340         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35341         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35342         * sysdeps/pthread/Makefile: ... here, new file.
35344         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35345         * sysdeps/nptl/Implies: ... here.
35346         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35347         * nptl/sysdeps/pthread/list.h: Moved ...
35348         * include/list.h: ... here.
35349         * nptl/sysdeps/pthread/createthread.c: Moved ...
35350         * nptl/createthread.c: ... here.
35351         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35352         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35353         * nptl/pt-longjmp.c: ... here.
35354         * nptl/sysdeps/pthread/Makefile: Moved ...
35355         * sysdeps/nptl/Makefile: ... here.
35356         * nptl/sysdeps/pthread/Subdirs: Moved ...
35357         * sysdeps/nptl/Subdirs: ... here.
35358         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35359         * sysdeps/nptl/aio_misc.h: ... here.
35360         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35361         * sysdeps/nptl/bits/libc-lock.h: ... here.
35362         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35363         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35364         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35365         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35366         * nptl/sysdeps/pthread/configure: Moved ...
35367         * sysdeps/nptl/configure: ... here.
35368         * nptl/sysdeps/pthread/configure.ac: Moved ...
35369         * sysdeps/nptl/configure.ac: ... here.
35370         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35371         * sysdeps/nptl/gai_misc.h: ... here.
35372         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35373         * sysdeps/nptl/librt-cancellation.c: ... here.
35374         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35375         * sysdeps/nptl/malloc-machine.h: ... here.
35376         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35377         * sysdeps/nptl/pthread-functions.h: ... here.
35378         * nptl/sysdeps/pthread/pthread.h: Moved ...
35379         * sysdeps/nptl/pthread.h: ... here.
35380         * nptl/sysdeps/pthread/setxid.h: Moved ...
35381         * sysdeps/nptl/setxid.h: ... here.
35382         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35383         * sysdeps/nptl/sigfillset.c: ... here.
35384         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35385         * sysdeps/nptl/tcb-offsets.h: ... here.
35386         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35387         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35388         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35389         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35390         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35391         * sysdeps/pthread/allocalim.h: ... here.
35392         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35393         * sysdeps/pthread/bits/sigthread.h: ... here.
35394         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35395         * sysdeps/pthread/flockfile.c: ... here.
35396         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35397         * sysdeps/pthread/ftrylockfile.c: ... here.
35398         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35399         * sysdeps/pthread/funlockfile.c: ... here.
35400         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35401         * sysdeps/pthread/posix-timer.h: ... here.
35402         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35403         * sysdeps/pthread/timer_create.c: ... here.
35404         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35405         * sysdeps/pthread/timer_delete.c: ... here.
35406         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35407         * sysdeps/pthread/timer_getoverr.c: ... here.
35408         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35409         * sysdeps/pthread/timer_gettime.c: ... here.
35410         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35411         * sysdeps/pthread/timer_routines.c: ... here.
35412         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35413         * sysdeps/pthread/timer_settime.c: ... here.
35414         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35415         * sysdeps/pthread/tst-timer.c: ... here.
35416         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35417         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35419         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35420         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35422         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35423         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35424         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35425         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35426         Update #include target.
35427         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35428         * sysdeps/i386/i686/nptl/Makefile: ... here.
35429         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35430         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35431         Update #include target.
35432         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35433         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35434         * nptl/sysdeps/i386/Makefile: Moved ...
35435         * sysdeps/i386/nptl/Makefile: ... here.
35436         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35437         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35438         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35439         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35440         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35441         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35442         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35443         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35444         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35445         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35446         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35447         * nptl/sysdeps/i386/tls.h: Moved ...
35448         * sysdeps/i386/nptl/tls.h: ... here.
35450         * sysdeps/sh/Makefile [$(subdir) = csu]
35451         (gen-as-const-headers): Add tcb-offsets.sym.
35452         * nptl/sysdeps/sh/Makefile: File removed.
35453         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35454         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35455         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35456         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35457         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35458         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35459         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35460         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35461         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35462         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35463         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35464         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35465         * nptl/sysdeps/sh/tls.h: Moved ...
35466         * sysdeps/sh/nptl/tls.h: ... here.
35467         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35468         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35469         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35470         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35471         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35472         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35473         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35474         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35475         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35476         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35477         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35478         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35479         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35480         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35481         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35482         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35483         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35484         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35485         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35486         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35487         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35488         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35489         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35490         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35491         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35492         Moved ...
35493         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35494         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35495         Moved ...
35496         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35497         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35498         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35499         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35500         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35501         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35502         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35503         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35504         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35505         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35506         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35507         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35508         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35509         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35510         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35511         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35512         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35513         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35514         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35516 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35518         * posix/spawn_faction_addopen.c: Include string.h.
35520 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35522         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35523         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35524         * nptl/sysdeps/x86_64/Makefile: Moved ...
35525         * sysdeps/x86_64/nptl/Makefile: ... here.
35526         * nptl/sysdeps/x86_64/configure: Moved ...
35527         * sysdeps/x86_64/nptl/configure: ... here.
35528         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35529         * sysdeps/x86_64/nptl/configure.ac: ... here.
35530         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35531         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35532         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35533         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35534         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35535         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35536         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35537         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35538         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35539         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35540         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35541         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35542         * nptl/sysdeps/x86_64/tls.h: Moved ...
35543         * sysdeps/x86_64/nptl/tls.h: ... here.
35544         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35545         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35546         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35547         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35549         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35551 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35555 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35557         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35558         type.
35559         [POSIX] (off_t): Likewise.
35560         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35561         [POSIX] (S_ISBLK): Require macro.
35562         [POSIX] (S_ISCHR): Likewise.
35563         [POSIX] (S_ISDIR): Likewise.
35564         [POSIX] (S_ISFIFO): Likewise.
35565         [POSIX] (S_ISREG): Likewise.
35566         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35567         optional-macro.
35568         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35569         type.
35570         [POSIX] (time_t): Likewise.
35571         [POSIX] (timer_t): Likewise.
35573 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35575         [BZ #17048]
35576         * posix/spawn_int.h (struct __spawn_action): Make the path string
35577         non-const to support deallocation.
35578         * posix/spawn_faction_addopen.c
35579         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35580         * posix/spawn_faction_destroy.c
35581         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35582         path in all spawn_do_open actions.
35583         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35584         posix_spawn_file_actions_addopen.
35586 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35588         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35589         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35590         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35591         conditional code always true.
35592         (__libc_vfork): New alias.
35594 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35596         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35597         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35599         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35601         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35602         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35604         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35605         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35607         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35608         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35610 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35612         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35613         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35614         multiarch strcmp for PPC64.
35615         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35616         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35618         multiarch optimizations.
35619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35620         (__libc_ifunc_impl_list): Likewise.
35622 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35624         * benchtests/scripts/validate_benchout.py: New script.
35625         * benchtests/Makefile (bench-func): Call it.
35626         * benchtests/scripts/benchout.schema.json: New file.
35628 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35630         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35631         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35632         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35633         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35634         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35635         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35636         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35637         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35638         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35639         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35640         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35641         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35642         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35643         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35644         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35645         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35647         Moved ...
35648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35649         ... here.
35650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35651         Moved ...
35652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35654         Moved ...
35655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35656         ... here.
35657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35658         Moved ...
35659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35660         ... here.
35661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35662         Moved ...
35663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35665         Moved ...
35666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35667         ... here.
35668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35669         Moved ...
35670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35671         ... here.
35672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35673         Moved ...
35674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35676         Moved ...
35677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35678         ... here.
35679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35680         Moved ...
35681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35682         ... here.
35683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35684         Moved ...
35685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35686         ... here.
35687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35688         Moved ...
35689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35691         Moved ...
35692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35693         ... here.
35694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35695         Moved ...
35696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35697         ... here.
35698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35699         Moved ...
35700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35701         ... here.
35702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35703         Moved ...
35704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35706         Moved ...
35707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35708         ... here.
35709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35710         Moved ...
35711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35712         ... here.
35713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35714         Moved ...
35715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35717         Moved ...
35718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35719         ... here.
35720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35721         Moved ...
35722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35724         Moved ...
35725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35727         Moved ...
35728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35729         ... here.
35730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35731         Moved ...
35732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35733         ... here.
35734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35735         Moved ...
35736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35737         ... here.
35738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35739         Moved ...
35740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35742         Moved ...
35743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35744         ... here.
35745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35746         Moved ...
35747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35748         ... here.
35749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35750         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35752         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35753         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35754         Moved ...
35755         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35756         ... here.
35757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35758         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35760         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35761         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35762         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35763         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35764         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35765         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35766         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35767         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35768         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35769         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35770         Moved ...
35771         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35772         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35773         Moved ...
35774         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35776         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35777         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35778         Moved ...
35779         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35780         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35781         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35782         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35783         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35784         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35785         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35787 2014-06-10  Wilco  <wdijkstr@arm.com>
35789         * math/test-fenv-return.c: New file.
35790         * math/Makefile: Add new test test-fenv-return.
35792 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35794         [BZ #17042]
35795         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35796         when x - 1 is zero.
35797         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35798         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35799         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35800         0.0L for an argument of 1.0L.
35801         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35802         Likewise.
35803         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35804         value when x - 1 is zero.
35805         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35806         * sysdeps/i386/fpu/libm-test-ulps: Update.
35807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35809 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35811         [BZ #15119]
35812         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35814 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35816         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35817         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35819 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35821         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35822         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35824         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35825         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35827         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35828         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35830         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35831         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35833         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35834         if not already defined.
35835         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35836         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35837         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35838         (TLS_INIT_TP): Use it.
35839         (TLS_DEFINE_INIT_TP): New macro.
35840         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35842 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35844         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35845         constant.
35846         [POSIX] (IXANY): Likewise.
35847         [POSIX] (OLCUC): Likewise.
35848         [POSIX || POSIX2008] (CBAUD): Do not allow.
35849         [POSIX || POSIX2008] (DEFECHO): Likewise.
35850         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35851         [POSIX || POSIX2008] (ECHOKE): Likewise.
35852         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35853         [POSIX || POSIX2008] (EXTA): Likewise.
35854         [POSIX || POSIX2008] (EXTB): Likewise.
35855         [POSIX || POSIX2008] (FLUSHO): Likewise.
35856         [POSIX || POSIX2008] (LOBLK): Likewise.
35857         [POSIX || POSIX2008] (PENDIN): Likewise.
35858         [POSIX || POSIX2008] (SWTCH): Likewise.
35859         [POSIX || POSIX2008] (VDISCARD): Likewise.
35860         [POSIX || POSIX2008] (VDSUSP): Likewise.
35861         [POSIX || POSIX2008] (VLNEXT): Likewise.
35862         [POSIX || POSIX2008] (VREPRINT): Likewise.
35863         [POSIX || POSIX2008] (VSTATUS): Likewise.
35864         [POSIX || POSIX2008] (VWERASE): Likewise.
35865         (B*): Change to B[0123456789]*.
35866         * conform/data/time.h-data [POSIX || UNIX98]
35867         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35868         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35869         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35870         [POSIX] (tm_*): Do not allow.
35872 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35874         * Makefile (install): Don't set LANGUAGE.
35875         * Makefile.in (install): Likewise.
35876         * assert/Makefile (test-assert-ENV): Remove variable.
35877         (test-assert-perr-ENV): Likewise.
35878         * elf/Makefile (neededtest4-ENV): Likewise.
35879         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35880         [$(cross-compiling) = no]: Don't set LANGUAGE.
35881         * io/ftwtest-sh (LANG): Remove variable.
35882         * libio/Makefile (tst-widetext-ENV): Likewise.
35883         * manual/install.texi (Running make install): Don't refer to
35884         environment settings for make install.
35885         * INSTALL: Regenerated.
35886         * nptl/tst-tls6.sh: Don't set LANG.
35887         * posix/globtest.sh (LANG): Remove variable.
35888         * string/Makefile (tester-ENV): Likewise.
35889         (inl-tester-ENV): Likewise.
35890         (noinl-tester-ENV): Likewise.
35891         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35892         [$(cross-compiling) = no]: Don't set LANGUAGE.
35893         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35894         without explicit environment settings.
35896 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35898         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35899         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35900         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35901         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35903 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35905         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35906         other files in the crypt directory.
35907         * crypt/crypt.c: Remove duplicate includes.
35908         * crypt/crypt-entry.c: Likewise.
35909         * crypt/crypt_util.c: Likewise.
35911 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35913         * Makeconfig (run-program-env): New variable.
35914         (run-program-prefix-before-env): Likewise.
35915         (run-program-prefix-after-env): Likewise.
35916         (run-program-prefix): Define in terms of new variables.
35917         (built-program-cmd-before-env): New variable.
35918         (built-program-cmd-after-env): Likewise.
35919         (built-program-cmd): Define in terms of new variables.
35920         (test-program-prefix-before-env): New variable.
35921         (test-program-prefix-after-env): Likewise.
35922         (test-program-prefix): Define in terms of new variables.
35923         (test-program-cmd-before-env): New variable.
35924         (test-program-cmd-after-env): Likewise.
35925         (test-program-cmd): Define in terms of new variables.
35926         * Rules (make-test-out): Use $(run-program-env).
35927         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35928         (help): Do not mention environment variables.  Mention
35929         --timeoutfactor option.
35930         (timeoutfactor): New variable.
35931         (blacklist_exports): Remove function.
35932         (exports): Remove variable.
35933         (command): Do not include ${exports}.
35934         * manual/install.texi (Configuring and compiling): Do not mention
35935         test wrappers preserving environment variables.  Mention that last
35936         assignment to a variable must take precedence.
35937         * INSTALL: Regenerated.
35938         * benchtests/Makefile (run-bench): Use $(run-program-env).
35939         * catgets/Makefile ($(objpfx)test1.cat): Use
35940         $(built-program-cmd-before-env), $(run-program-env) and
35941         $(built-program-cmd-after-env).
35942         ($(objpfx)test2.cat): Do not specify environment variables
35943         explicitly.
35944         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35945         $(run-program-env) and $(built-program-cmd-after-env).
35946         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35947         $(run-program-env) and $(test-program-cmd-after-env).
35948         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35949         explicitly.
35950         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35951         run_program_env and test_program_cmd_after_env arguments.
35952         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35953         * elf/tst-pathopt.sh: Use run_program_env argument.
35954         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35955         $(test-wrapper-env) and $(run-program-env).
35956         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35957         run_program_env arguments.
35958         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35959         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35960         $(test-program-prefix-before-env), $(run-program-env) and
35961         $(test-program-prefix-after-env).
35962         ($(objpfx)tst-gettext2.out): Likewise.
35963         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35964         run_program_env and test_program_prefix_after_env arguments.
35965         * intl/tst-gettext2.sh: Likewise.
35966         * intl/tst-gettext4.sh: Do not set environment variables
35967         explicitly.
35968         * intl/tst-gettext6.sh: Likewise.
35969         * intl/tst-translit.sh: Likewise.
35970         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35971         $(test-program-prefix-before-env), $(run-program-env) and
35972         $(test-program-prefix-after-env).
35973         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35974         run_program_env and test_program_prefix_after_env arguments.
35975         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35976         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35977         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35978         explicitly with each use of ${test_wrapper_env}.
35979         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35980         $(test-program-prefix-before-env), $(run-program-env) and
35981         $(test-program-prefix-after-env).
35982         * posix/tst-getconf.sh: Do not set environment variables
35983         explicitly.
35984         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35985         run_program_env and test_program_prefix_after_env arguments.
35986         * stdio-common/tst-printf.sh: Do not set environment variables
35987         explicitly.
35988         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35989         $(test-program-prefix-before-env), $(run-program-env) and
35990         $(test-program-prefix-after-env).
35991         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35992         run_program_env and test_program_prefix_after_env arguments.
35993         Split $test calls into $test_pre and $test.
35994         * timezone/Makefile (build-testdata): Use
35995         $(built-program-cmd-before-env), $(run-program-env) and
35996         $(built-program-cmd-after-env).
35998 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36000         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
36001         strlen for non SHARED builds.
36003 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36005         * nptl/allocatestack.c (check_list): Inlined function...
36006         (__reclaim_stacks): ... here.
36008 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36010         [BZ #15698]
36011         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36012         memory overrun.
36014 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
36016         * Rules (make-test-out): Include
36017         LOCPATH=$(common-objpfx)localedata in default environment.
36018         * debug/Makefile (tst-chk1-ENV): Remove variable.
36019         (tst-chk2-ENV): Likewise.
36020         (tst-chk3-ENV): Likewise.
36021         (tst-chk4-ENV): Likewise.
36022         (tst-chk5-ENV): Likewise.
36023         (tst-chk6-ENV): Likewise.
36024         (tst-lfschk1-ENV): Likewise.
36025         (tst-lfschk2-ENV): Likewise.
36026         (tst-lfschk3-ENV): Likewise.
36027         (tst-lfschk4-ENV): Likewise.
36028         (tst-lfschk5-ENV): Likewise.
36029         (tst-lfschk6-ENV): Likewise.
36030         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
36031         (tst-iconv7-ENV): Likewise.
36032         * intl/Makefile (LOCPATH-ENV): Likewise.
36033         (tst-codeset-ENV): Likewise.
36034         (tst-gettext3-ENV): Likewise.
36035         (tst-gettext5-ENV): Likewise.
36036         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
36037         (tst-fopenloc-ENV): Likewise.
36038         (tst-fgetws-ENV): Remove variable.
36039         (tst-ungetwc1-ENV): Likewise.
36040         (tst-ungetwc2-ENV): Likewise.
36041         (bug-ungetwc2-ENV): Likewise.
36042         (tst-swscanf-ENV): Likewise.
36043         (bug-ftell-ENV): Likewise.
36044         (tst-fgetwc-ENV): Likewise.
36045         (tst-fseek-ENV): Likewise.
36046         (tst-ftell-partial-wide-ENV): Likewise.
36047         (tst-ftell-active-handler-ENV): Likewise.
36048         (tst-ftell-append-ENV): Likewise.
36049         * posix/Makefile (tst-fnmatch-ENV): Likewise.
36050         (tst-regexloc-ENV): Likewise.
36051         (bug-regex1-ENV): Likewise.
36052         (tst-regex-ENV): Likewise.
36053         (tst-regex2-ENV): Likewise.
36054         (bug-regex5-ENV): Likewise.
36055         (bug-regex6-ENV): Likewise.
36056         (bug-regex17-ENV): Likewise.
36057         (bug-regex18-ENV): Likewise.
36058         (bug-regex19-ENV): Likewise.
36059         (bug-regex20-ENV): Likewise.
36060         (bug-regex22-ENV): Likewise.
36061         (bug-regex23-ENV): Likewise.
36062         (bug-regex25-ENV): Likewise.
36063         (bug-regex26-ENV): Likewise.
36064         (bug-regex30-ENV): Likewise.
36065         (bug-regex32-ENV): Likewise.
36066         (bug-regex33-ENV): Likewise.
36067         (bug-regex34-ENV): Likewise.
36068         (bug-regex35-ENV): Likewise.
36069         (tst-rxspencer-ENV): Likewise.
36070         (tst-rxspencer-no-utf8-ENV): Likewise.
36071         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
36072         (tst-sscanf-ENV): Likewise.
36073         (tst-swprintf-ENV): Likewise.
36074         (tst-swscanf-ENV): Likewise.
36075         (test-vfprintf-ENV): Likewise.
36076         (scanf13-ENV): Likewise.
36077         (bug14-ENV): Likewise.
36078         (tst-grouping-ENV): Likewise.
36079         * stdlib/Makefile (tst-strtod-ENV): Likewise.
36080         (tst-strtod3-ENV): Likewise.
36081         (tst-strtod4-ENV): Likewise.
36082         (tst-strtod5-ENV): Likewise.
36083         (testmb2-ENV): Likewise./
36084         * string/Makefile (tst-strxfrm-ENV): Likewise.
36085         (tst-strxfrm2-ENV): Likewise.
36086         (bug-strcoll1-ENV): Likewise.
36087         (test-strcasecmp-ENV): Likewise.
36088         (test-strncasecmp-ENV): Likewise.
36089         * time/Makefile (tst-strptime-ENV): Likewise.
36090         (tst-ftime_l-ENV): Likewise.
36091         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
36092         (tst-mbrtowc-ENV): Likewise.
36093         (tst-wcrtomb-ENV): Likewise.
36094         (tst-mbrtowc2-ENV): Likewise.
36095         (tst-c16c32-1-ENV): Likewise.
36096         (tst-mbsnrtowcs-ENV): Likewise.
36098 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36100         * manual/resource.texi (How to get information about the memory
36101         subsystem?): Fix typo.
36102         Reported by Peon de la Parra Ivan <peon@keba.com>
36104 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
36106         [BZ #16882]
36107         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
36108         (pthread_spin_lock): Branch out of spin loop to proper location.
36109         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
36110         (pthread_spin_lock): Likewise.
36112         * nptl/tst-spin4.c: New test.
36113         * nptl/Makefile (tests): Add tst-spin4.
36115 2014-06-03  Andreas Schwab  <schwab@suse.de>
36117         [BZ #15946]
36118         * resolv/res_send.c (send_dg): Reload file descriptor after
36119         calling reopen.
36121 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
36123         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36125 2014-06-03  Richard Henderson  <rth@redhat.com>
36127         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
36128         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
36129         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
36130         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
36131         in the SAVE_PID block.
36132         (__libc_vfork): New alias.
36133         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
36135         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
36136         child in registers, not on the stack.  Remove RESET_PID conditionals.
36137         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36139 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36141         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36143 2014-06-03  Wilco  <wdijkstr@arm.com>
36145         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36146         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36147         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36148         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36149         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36150         Likewise.
36152 2014-06-03  Wilco  <wdijkstr@arm.com>
36154         * sysdeps/aarch64/fpu/math_private.h
36155         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36156         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
36157         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
36158         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36159         Fix declarations.
36161 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36163         * crypt/crypt-private.h: Include ufc-crypt.h.
36164         (__b64_from_24bit): Declare extern.
36165         * crypt/crypt_util.c(__b64_from_24bit): New function.
36166         (b64t): New static const variable.
36167         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
36168         (b64t): Remove variable.
36169         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
36170         * crypt/sha256-crypt.c: Include crypt-private.h.
36171         (b64t): Remove variable.
36172         (__sha256_crypt_r): Remove b64_from_24bit and replace
36173         with __b64_from_24bit.
36174         * crypt/sha512-crypt.c: Likewise.
36176 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36178         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36179         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36180         Label the code __libc_vfork rather than __vfork.
36181         [!NOT_IN_libc] (vfork): Define as weak alias.
36182         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36183         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36184         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36186 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36188         * malloc/malloc.c (malloc_info): Fix format specifier for
36189         n_mmaps.
36191 2014-06-02  Wilco  <wdijkstr@arm.com>
36193         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36194         FPCR write.
36196 2014-06-02  Wilco  <wdijkstr@arm.com>
36198         [BZ #17009]
36199         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36200         Rewrite to reduce FPCR/FPSR accesses.
36202 2014-06-01  David S. Miller  <davem@davemloft.net>
36204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36206 2014-05-31  David S. Miller  <davem@davemloft.net>
36208         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36209         to occur in round to nearest mode when |x| >= 2.0
36211 2014-05-30  Richard Henderson  <rth@twiddle.net>
36213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36214         (PSEUDO_RET_NOERRNO): Remove.
36215         (ret): Don't redefine.
36216         (ret_NOERRNO): Define in terms of ret.
36217         (ret_ERRVAL): Likewise.
36219         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36220         use of PSEUDO_RET; perform the error check directly.
36222 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36224         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36225         with __int128_t.
36227 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36229         * malloc/malloc (malloc_info): Fix formatting.
36231 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36232             Roland McGrath  <roland@hack.frob.com>
36234         * malloc/malloc (malloc_info): Also print mmapped statistics.
36236 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36238         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36239         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36241 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36243         * malloc/malloc.c (malloc_info): Inline mi_arena.
36245 2014-05-29  Richard Henderson  <rth@twiddle.net>
36247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36248         Remove comma before expanding ASM_ARGS_##nr.
36249         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36250         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36251         of ASM_ARGS_##nr.
36252         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36253         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36254         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36255         (ASM_ARGS_1): Add leading comma.
36257         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36258         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36259         to __errno_location.
36260         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36261         Remove the expected plt for __errno_location.
36263         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36264         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36265         call to __read_tp.
36267         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36268         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36269         it and break it down.
36270         (DOCARGS_0, DOCARGS_1): Do nothing.
36271         (DOCARGS_2): Update to store into the new stack frame.
36272         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36273         (UNDOCARGS_1): Update to restore from the new stack frame.
36274         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36275         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36277         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36278         (SINGLE_THREAD_P): New parameter for result regno.
36279         (PSEUDO): Update to match; use cbz instead of beq.
36281         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36282         Use ENTRY to define the _nocancel entry point.  Share the syscall
36283         and syscall error check paths with the cancel path.
36284         (PSEUDO_END): New.
36286         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36287         whitespace; tabs before and after asm mnemonics.
36289 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36291         [BZ #15132]
36292         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36293         Call fstat64 or stat64 internally, depending on arguments passed.
36294         Replace stat buffer argument with file descriptor argument.
36295         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36296         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36297         Pass fd to __internal_statvfs instead of calling fstat64.
36298         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36299         Pass fd to __internal_statvfs64 instead of calling fstat64.
36300         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36301         Pass -1 to __internal_statvfs instead of calling stat64.
36302         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36303         Pass -1 to __internal_statvfs64 instead of calling stat64.
36305 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36307         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36308         that was previously under [RESET_PID].
36309         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36311         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36312         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36314 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36316         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36318         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36319         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36321 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36323         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36325 2014-05-27  Andreas Schwab  <schwab@suse.de>
36327         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36328         TLS_INIT_TP macro.
36329         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36330         * elf/rtld.c (init_tls, dl_main): Likewise.
36331         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36332         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36333         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36334         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36335         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36336         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36337         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36338         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36339         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36340         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36341         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36342         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36343         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36344         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36345         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36346         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36347         * sysdeps/generic/tls.h: Update description.
36349 2014-05-27  Will Newton  <will.newton@linaro.org>
36351         [BZ #16990]
36352         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36353         and restore r2 rather than just restoring.
36355 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36357         [BZ #16724]
36358         * libio/tst-ftell-append.c: New test case.
36359         * libio/Makefile (tests): Add test case.
36360         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36361         append mode.
36362         * libio/wfileops.c (do_ftell_wide): Likewise.
36364 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36368         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36369         ...
36370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36372         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36373         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36374         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36375         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36376         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36377         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36379         Moved ...
36380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36382         Moved ...
36383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36384         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36385         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36386         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36387         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36388         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36389         ...
36390         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36391         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36392         Moved ...
36393         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36394         here.
36395         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36396         ...
36397         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36398         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36399         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36401         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36402         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36403         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36404         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36407         merge into ...
36408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36410         ...
36411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36413         ...
36414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36416         Moved ...
36417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36418         here.
36419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36420         Moved ...
36421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36423         Moved ...
36424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36427         conditional [RESET_PID].
36428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36430         removed.
36431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36432         removed.
36434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36435         <tcb-offsets.h>.
36436         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36437         (__libc_vfork): New strong alias.
36438         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36439         removed.
36440         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36441         Removed.
36443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36444         <tcb-offsets.h>.
36445         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36446         (__libc_vfork): New strong alias.
36447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36448         removed.
36449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36450         removed.
36452 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36454         * malloc/malloc.c (mi_arena): New function.
36455         (malloc_info): Remove nested function mi_arena. Call non-nosted
36456         function mi_arena.
36458 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36460         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36461         by insrwi.
36462         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36463         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36464         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36465         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36466         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36467         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36468         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36470 2014-05-26  Andreas Schwab  <schwab@suse.de>
36472         [BZ #16984]
36473         * locale/programs/repertoire.c (repertoire_read): Add slash
36474         between I18NPATH element and file name.
36475         * locale/programs/locfile.c (locfile_read): Likewise.
36477 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36479         * nptl/pthread_mutexattr_settype.c
36480         (__pthread_mutexattr_settype):
36481         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36483 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36485         * nptl/tst-mutex5 (do_test):
36486         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36488 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36490         * benchtests/README: Document 'init' directive.
36491         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36492         BENCH_INIT.
36493         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36494         (parse_file): Recognize 'init' directive.
36496 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36498         [BZ #16796]
36499         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36500         alignment of struct pthread.
36502 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36504         [BZ #16878]
36505         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36506         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36507         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36508         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36510 2014-05-25  Richard Henderson  <rth@twiddle.net>
36512         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36513         (SINGLE_THREAD_P_PIC): Remove.
36514         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36515         (SINGLE_THREAD_P_PIC): Remove.
36517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36518         branch to syscall error ...
36519         (PSEUDO): ... here.
36520         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36521         from __local_syscall_error to .Lsyscall_error.
36522         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36523         (SYSCALL_ERROR): Update label name.
36525         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36526         Do not use DOARGS/UNDOARGS.
36527         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36528         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36529         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36530         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36531         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36533         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36534         block comment.
36536         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36537         define if !NOT_IN_libc.
36538         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36539         define with non-default symbol versions.
36541 2014-05-23  Richard Henderson  <rth@twiddle.net>
36543         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36544         (vfork, __vfork): Define via compat_symbol.
36546         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36547         [!HAVE_IFUNC] (vfork_compat): Remove.
36548         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36550 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36552         [BZ #16978]
36553         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36554         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36555         variable.
36557 2014-05-23  Richard Henderson  <rth@twiddle.net>
36559         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36560         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36561         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36562         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36564         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36565         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36566         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36567         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36568         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36569         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36570         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36571         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36572         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36573         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36574         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36575         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36576         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36577         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36578         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36579         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36580         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36581         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36582         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36583         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36584         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36585         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36586         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36587         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36588         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36589         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36590         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36591         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36592         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36593         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36594         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36595         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36596         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36597         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36598         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36599         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36600         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36601         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36602         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36603         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36604         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36605         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36606         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36607         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36608         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36609         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36610         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36611         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36612         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36613         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36614         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36615         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36616         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36617         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36618         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36619         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36621         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36622         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36623         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36624         before exiting on error.
36625         (__libc_vfork): New strong alias.
36626         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36627         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36629         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36630         that was previously under [RESET_PID].
36631         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36633         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36635 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36637         [BZ #16977]
36638         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36639         value when x - 1 is zero.
36640         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36641         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36642         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36643         0.0L for an argument of 1.0L.
36644         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36645         Likewise.
36646         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36647         value when x - 1 is zero.
36648         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36649         * sysdeps/i386/fpu/libm-test-ulps: Update.
36650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36652 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36654         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36655         alphasort and versionsort.
36657 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36659         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36660         macro.
36661         [copysignf]: Likewise.
36663 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36665         * crypt/md5-crypt.c: Fix formatting.
36667 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36669         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36670         (b64_from_24bit): New function.
36672 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36674         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36675         libc_hidden_builtin_def to ifunc.
36676         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36677         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36679 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36681         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36682         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36684 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36686         * nscd/Depend (linuxthreads): Remove.
36687         (nptl): Add.
36688         * resolv/Depend (linuxthreads): Remove.
36689         * rt/Depend (linuxthreads): Remove.
36691         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36692         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36693         $(common-objpfx)elf/.
36694         (link-libc-before-gnulib): Likewise.
36695         (elfobjdir): Remove variable.
36696         * Makefile (install): Use $(elf-objpfx) instead of
36697         $(common-objpfx)elf/.
36698         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36699         $(elfobjdir)/.
36700         (link-libc-deps): Likewise.
36701         ($(common-objpfx)libc.so): Likewise.
36702         ($(common-objpfx)linkobj/libc.so): Likewise.
36703         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36704         instead of $(common-objpfx)elf/.
36705         (symbolic-link-list): Likewise.
36706         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36707         [$(cross-compiling) = no]: Likewise.
36708         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36709         $(elfobjdir)/.
36710         (static-gnulib-arch): Likewise.
36711         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36712         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36713         $(common-objpfx)elf/.
36715 2014-05-21  Richard Henderson  <rth@redhat.com>
36717         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36718         (SINGLE_THREAD_P): Use the correct width load.  Fold
36719         into the ldr offset.
36721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36722         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36724 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36726         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36727         (libgcc_s_resume): Use __attribute_used__.
36728         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36729         Likewise.
36731 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36733         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36734         optimization when used with float constants.
36736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36738 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36740         [BZ #16915]
36741         * locale/nl_langinfo_l.c: Make direct reference to every
36742         _nl_current_CATEGORY symbol.
36743         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36744         (tests-static): Add tst-langinfo-static.
36745         (tests-special): Add tst-langinfo-static.out.
36746         ($(objpfx)tst-langinfo.out): Redirect output.
36747         ($(objpfx)tst-langinfo-static.out): New.
36748         * localedata/tst-langinfo.sh: Send output to stdout.
36749         * localedata/tst-langinfo-static.c: New file.
36751         [BZ #16965]
36752         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36753         when the shift amount is modulo the limb size.
36755 2014-05-20  Richard Henderson  <rth@redhat.com>
36757         [BZ #16967]
36758         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36759         Change type of sa_flags from unsigned int to int.
36761         [BZ #16966]
36762         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36764         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36766 2014-05-20  Will Newton  <will.newton@linaro.org>
36768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36769         Test the return value of the system call in the nocancel case.
36771 2014-05-20  Will Newton  <will.newton@linaro.org>
36772             Yvan Roux  <yvan.roux@linaro.org>
36774         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36775         #include of asm/ptrace.h.
36776         (PTRACE_GET_THREAD_AREA): Remove #undef.
36777         (PTRACE_GETHBPREGS): Likewise.
36778         (PTRACE_SETHBPREGS): Likewise.
36779         (struct user_regs_struct): New structure.
36780         (struct user_fpsimd_struct): New structure.
36781         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36782         #include of asm/ptrace.h and second #include of sys/user.h.
36783         (PTRACE_GET_THREAD_AREA): Remove #undef.
36784         (PTRACE_GETHBPREGS): Likewise.
36785         (PTRACE_SETHBPREGS): Likewise.
36786         (ELF_NGREG): Use new struct user_regs_struct.
36787         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36789 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36791         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36792         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36794 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36796         [BZ #16958]
36797         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36798         membar to avoid block loads/stores to overlap previous stores.
36800 2014-05-17  Richard Henderson  <rth@redhat.com>
36802         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36803         Create the __##syscall_name##_nocancel entry point.
36804         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36805         Remove; let the sysdep-cancel.h code create it.
36807 2014-05-17  David S. Miller  <davem@davemloft.net>
36809         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36810         Protect with __USE_GNU.
36811         (TIOCSET_TEMPT): Likewise.
36812         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36813         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36814         these are already provided in bits/ioctl-types.h
36816 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36818         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36819         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36821         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36822         Use wait4 regardless of [__NR_waitpid].
36824 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36826         PR libgcc/60166
36827         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36828         (_FP_NANSIGN_Q): Set the quiet bit.
36830 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36832         * benchtests/Makefile
36833         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36834         not $(common-objpfx)math/libm.so.
36835         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36836         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36837         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36838         $(common-objpfx)dlfcn/libdl.so.
36839         ($(objpfx)tst-audit8): Depend on $(libm), not
36840         $(common-objpfx)math/libm.so.
36841         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36842         not $(common-objpfx)dlfcn/libdl.so.
36843         * math/Makefile
36844         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36845         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36846         [$(build-shared) = yes].
36847         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36848         $(common-objpfx)nptl/libpthread.so.
36849         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36850         $(common-objpfx)math/libm.so$(libm.so-version) or
36851         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36852         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36853         $(common-objpfx)dlfcn/libdl.so.
36854         * setjmp/Makefile (link-libm): Remove variable.
36855         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36856         * stdio-common/Makefile (link-libm): Remove variable.
36857         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36858         * stdlib/Makefile (link-libm): Remove variable.
36859         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36860         ($(objpfx)tst-strtod-round): Likewise.
36861         ($(objpfx)tst-tininess): Likewise.
36862         ($(objpfx)tst-strtod-underflow): Likewise.
36863         ($(objpfx)tst-strtod6): Likewise.
36864         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36865         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36866         $(common-objpfx)dlfcn/libdl.so.
36868 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36870         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36871         BSD terminal modes definitions.
36873 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36875         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36876         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36878         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36879         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36880         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36881         Don't do #include_next.
36882         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36883         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36884         Don't do #include_next.
36885         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36886         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36887         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36888         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36890 2014-05-16  Allan McRae  <allan@archlinux.org>
36892         * po/sv.po: Update Swedish translation from translation project.
36894         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36895         in sed expression.
36897 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36899         [BZ #16917]
36900         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36901         errno if the TIOCGPTN ioctl fails with an error different than
36902         EINVAL.
36903         * login/tst-ptsname.c: New file.
36904         * login/Makefile (tests): Add tst-ptsname.
36906         [BZ #16943]
36907         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36908         and prlimit64.
36910 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36912         [BZ #16849]
36913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36914         herrno to return EAI_AGAIN.
36916 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36918         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36919         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36920         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36921         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36922         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36923         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36924         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36925         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36926         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36927         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36928         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36929         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36930         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36931         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36932         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36933         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36934         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36935         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36936         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36937         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36938         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36939         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36940         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36941         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36942         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36943         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36944         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36945         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36946         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36947         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36949         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36951         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36953         Moved ...
36954         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36956         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36958         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36960         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36962         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36964         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36966         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36968         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36970         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36972         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36974         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36976         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36978         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36980         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36982         Moved ...
36983         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36985         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36987         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36989         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36991         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36993         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36995         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36997         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36999         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
37000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
37001         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
37002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37003         Moved ...
37004         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
37005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
37006         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
37008         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
37009         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
37010         (libpthread-sysdep_routines): Add elision-related stuff here instead.
37011         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
37012         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
37013         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
37014         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
37015         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
37016         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
37017         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
37018         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
37019         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
37020         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
37021         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
37022         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
37023         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
37024         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
37025         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
37026         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
37027         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
37028         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
37029         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
37030         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
37031         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
37032         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
37033         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
37034         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
37035         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
37036         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
37037         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
37038         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
37040         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
37041         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
37043         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
37044         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
37045         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
37046         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
37047         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
37048         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
37049         Moved ...
37050         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
37051         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
37052         Moved ...
37053         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
37054         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
37055         Moved ...
37056         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
37057         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
37058         Moved ...
37059         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
37060         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
37061         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
37062         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
37063         Moved ...
37064         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
37065         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
37066         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
37067         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
37068         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
37069         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
37070         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
37071         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
37072         Moved ...
37073         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
37074         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37075         Moved ...
37076         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37077         ... here.
37078         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
37079         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
37080         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
37081         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
37082         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37083         Moved ...
37084         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37085         ... here.
37086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
37087         Moved ...
37088         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
37089         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
37090         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
37091         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
37092         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
37093         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
37094         Moved ...
37095         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
37096         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
37097         Moved ...
37098         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
37099         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
37100         Moved ...
37101         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
37102         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
37103         Moved ...
37104         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
37105         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
37106         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
37107         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
37108         Moved ...
37109         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
37110         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
37111         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
37112         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
37113         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
37114         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
37115         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
37116         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
37117         Moved ...
37118         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
37119         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37120         Moved ...
37121         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37122         ... here.
37123         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
37124         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
37125         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
37126         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
37127         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37128         Moved ...
37129         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37130         ... here.
37131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
37132         Moved ...
37133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
37134         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
37135         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
37136         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
37137         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37138         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37139         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37140         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37141         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37142         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37143         Moved ...
37144         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37145         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37146         Moved ...
37147         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37148         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37149         Moved ...
37150         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37151         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37152         Moved ...
37153         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37154         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37155         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37156         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
37157         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
37158         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
37159         Moved ...
37160         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
37161         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37162         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37163         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
37164         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
37165         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
37166         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
37167         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
37168         Moved ...
37169         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
37170         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37171         Moved ...
37172         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37173         ... here.
37174         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37175         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37176         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37177         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37178         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37179         Moved ...
37180         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37181         ... here.
37182         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37183         Moved ...
37184         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37185         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37186         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37187         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37188         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37189         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37190         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37191         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37192         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37193         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37194         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37196         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37197         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37199         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37200         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37202         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37203         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37204         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37205         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37206         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37207         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37208         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37209         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37210         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37211         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37212         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37213         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37214         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37215         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37216         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37218         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37219         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37220         Moved ...
37221         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37222         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37223         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37224         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37225         Moved ...
37226         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37227         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37228         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37230         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37231         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37232         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37233         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37234         Moved ...
37235         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37236         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37237         Moved ...
37238         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37240         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37241         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37242         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37243         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37244         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37245         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37246         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37247         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37248         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37249         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37250         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37251         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37252         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37253         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37254         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37256         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37257         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37258         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37259         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37260         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37262         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37263         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37264         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37265         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37266         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37267         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37268         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37269         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37270         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37271         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37273         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37276         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37277         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37278         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37279         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37280         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37281         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37282         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37283         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37284         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37285         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37286         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37287         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37288         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37289         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37291         Update #include.
37292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37293         Likewise.
37294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37295         Likewise.
37296         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37297         Likewise.
37298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37299         Likewise.
37300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37301         Likewise.
37302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37303         Likewise.
37304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37305         Likewise.
37306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37307         Likewise.
37308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37309         Likewise.
37310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37311         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37312         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37314         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37315         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37316         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37317         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37318         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37319         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37320         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37321         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37322         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37323         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37324         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37326         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37327         that was previously under [RESET_PID].
37328         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37329         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37330         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37332         * sysdeps/i386/nptl/Implies: New file.
37333         * sysdeps/x86_64/nptl/Implies: New file.
37334         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37335         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37336         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37337         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37339         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37340         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37341         (__libc_vfork): New strong alias.
37342         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37343         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37345         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37346         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37347         (__libc_vfork): New strong alias.
37348         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37349         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37351         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37352         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37353         (__libc_vfork): New strong alias.
37354         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37355         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37356         * nptl/pt-vfork.c: New file.
37357         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37358         (libpthread: GLIBC_2.20): New version set (empty).
37360 2014-05-14  Will Newton  <will.newton@linaro.org>
37362         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37363         rather than #if.
37365 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37367         [BZ #16564]
37368         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37369         arguments with exponent 65 or above.
37370         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37371         arguments 0x1p113L or above.
37372         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37373         to arguments 0x1p107L or above.
37374         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37375         positive arguments with exponent 65 or above.
37376         * math/auto-libm-test-in: Add more tests of log1p.
37377         * math/auto-libm-test-out: Regenerated.
37379         [BZ #16928]
37380         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37381         non-finite arguments is +0.
37382         * math/s_cacosf.c (__cacosf): Likewise.
37383         * math/s_cacosl.c (__cacosl): Likewise.
37384         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37385         * sysdeps/i386/fpu/libm-test-ulps: Update.
37386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37388         [BZ #16927]
37389         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37390         value.
37391         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37392         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37393         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37394         for explicit high bit of mantissa when testing for argument equal
37395         to 1.
37396         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37397         * sysdeps/i386/fpu/libm-test-ulps: Update.
37398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37400         [BZ #16516]
37401         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37402         (__erf): Scale by 16 instead of 8 in potentially underflowing
37403         case.  Ensure exception if result actually underflows.
37404         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37405         (__erff): Scale by 16 instead of 8 in potentially underflowing
37406         case.  Ensure exception if result actually underflows.
37407         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37408         (efx8): Remove variable.
37409         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37410         case.  Ensure exception if result actually underflows.
37411         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37412         (efx8): Remove variable.
37413         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37414         case.  Ensure exception if result actually underflows.
37415         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37416         (efx8): Remove variable.
37417         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37418         case.  Ensure exception if result actually underflows.
37419         * math/auto-libm-test-in: Add more tests of erf.
37420         * math/auto-libm-test-out: Regenerated.
37422 2014-05-14  Andreas Schwab  <schwab@suse.de>
37424         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37425         Remove code conditionalized on USE___THREAD.
37427         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37428         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37429         not definedness.
37431 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37433         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37434         Define unconditionally.
37435         (__ASSUME_O_CLOEXEC): Likewise.
37436         (__ASSUME_SOCK_CLOEXEC): Likewise.
37437         (__ASSUME_IN_NONBLOCK): Likewise.
37438         (__ASSUME_PIPE2): Likewise.
37439         (__ASSUME_EVENTFD2): Likewise.
37440         (__ASSUME_SIGNALFD4): Likewise.
37441         (__ASSUME_DUP3): Likewise.
37442         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37443         (__ASSUME_DUP3): Do not define.
37444         (__ASSUME_EVENTFD2): Likewise.
37445         (__ASSUME_IN_NONBLOCK): Likewise.
37446         (__ASSUME_O_CLOEXEC): Likewise.
37447         (__ASSUME_PIPE2): Likewise.
37448         (__ASSUME_SIGNALFD4): Likewise.
37449         (__ASSUME_SOCK_CLOEXEC): Likewise.
37450         (__ASSUME_UTIMES): Undefine.
37451         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37452         (__ASSUME_UTIMES): Do not define.
37453         (__ASSUME_O_CLOEXEC): Likewise.
37454         (__ASSUME_SOCK_CLOEXEC): Likewise.
37455         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37456         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37457         0x020621].
37458         (__ASSUME_PIPE2): Likewise.
37459         (__ASSUME_EVENTFD2): Likewise.
37460         (__ASSUME_SIGNALFD4): Likewise.
37461         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37462         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37463         Do not define.
37464         (__ASSUME_EVENTFD2): Likewise.
37465         (__ASSUME_SIGNALFD4): Likewise.
37466         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37467         (__ASSUME_32BITUIDS): Likewise.
37468         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37469         (__ASSUME_IPC64): Likewise.
37470         (__ASSUME_ST_INO_64_BIT): Likewise.
37471         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37472         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37473         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37474         (__ASSUME_UTIMES): Do not define.
37475         (__ASSUME_PSELECT): Likewise.
37476         (__ASSUME_PPOLL): Likewise.
37477         (__ASSUME_O_CLOEXEC): Likewise.
37478         (__ASSUME_SOCK_CLOEXEC): Likewise.
37479         (__ASSUME_IN_NONBLOCK): Likewise.
37480         (__ASSUME_PIPE2): Likewise.
37481         (__ASSUME_EVENTFD2): Likewise.
37482         (__ASSUME_SIGNALFD4): Likewise.
37483         (__ASSUME_DUP3): Likewise.
37484         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37485         (__ASSUME_UTIMES): Likewise.
37486         (__ASSUME_O_CLOEXEC): Likewise.
37487         (__ASSUME_SOCK_CLOEXEC): Likewise.
37488         (__ASSUME_IN_NONBLOCK): Likewise.
37489         (__ASSUME_PIPE2): Likewise.
37490         (__ASSUME_EVENTFD2): Likewise.
37491         (__ASSUME_SIGNALFD4): Likewise.
37492         (__ASSUME_DUP3): Likewise.
37493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37494         (__ASSUME_UTIMES): Likewise.
37495         (__ASSUME_O_CLOEXEC): Likewise.
37496         (__ASSUME_SOCK_CLOEXEC): Likewise.
37497         (__ASSUME_IN_NONBLOCK): Likewise.
37498         (__ASSUME_PIPE2): Likewise.
37499         (__ASSUME_EVENTFD2): Likewise.
37500         (__ASSUME_SIGNALFD4): Likewise.
37501         (__ASSUME_DUP3): Likewise.
37502         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37503         Likewise.
37504         (__ASSUME_UTIMES): Likewise.
37505         (__ASSUME_EVENTFD2): Likewise.
37506         (__ASSUME_SIGNALFD4): Likewise.
37507         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37508         (__ASSUME_O_CLOEXEC): Likewise.
37509         (__ASSUME_SOCK_CLOEXEC): Likewise.
37510         (__ASSUME_IN_NONBLOCK): Likewise.
37511         (__ASSUME_PIPE2): Likewise.
37512         (__ASSUME_EVENTFD2): Likewise.
37513         (__ASSUME_SIGNALFD4): Likewise.
37514         (__ASSUME_DUP3): Likewise.
37515         (__ASSUME_UTIMES): Undefine.
37517         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37518         feclearexcept.  Remove symbol versioning code.
37519         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37520         symbol versioning code.
37521         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37522         symbol versioning code.
37523         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37524         feupdateenv.  Remove symbol versioning code.
37525         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37526         fegetexceptflag.  Remove symbol versioning code.
37527         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37528         fesetexceptflag.  Remove symbol versioning code.
37529         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37530         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37531         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37532         (__posix_fadvise64_l32): Remove prototype.
37533         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37534         code.
37536 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37538         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37539         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37540         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37541         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37543 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37545         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37546         current working directory
37548 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37550         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37551         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37552         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37553         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37554         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37555         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37556         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37557         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37558         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37559         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37560         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37561         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37562         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37563         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37564         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37565         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37566         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37567         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37568         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37569         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37570         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37571         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37572         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37573         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37574         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37575         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37576         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37577         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37578         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37579         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37580         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37581         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37582         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37583         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37584         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37585         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37586         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37587         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37588         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37589         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37590         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37591         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37593         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37594         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37596         * sysdeps/unix/sysv/linux/arm/Makefile
37597         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37598         Add rt-aeabi_unwind_cpp_pr1.
37599         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37600         Add nptl-aeabi_unwind_cpp_pr1.
37601         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37602         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37603         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37604         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37605         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37606         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37608         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37609         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37610         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37611         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37613         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37614         Deconditionalize the code that was previously under [RESET_PID].
37615         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37617         * sysdeps/generic/exit-thread.h: New file.
37618         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37619         * include/unistd.h (__exit_thread): Remove declaration.
37620         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37621         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37622         * csu/libc-start.c: Include <exit-thread.h>.
37623         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37624         * nptl/pthread_create.c: Include <exit-thread.h>.
37625         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37626         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37627         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37628         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37629         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37630         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37631         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37632         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37633         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37634         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37635         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37636         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37637         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37638         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37639         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37640         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37641         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37643 2014-05-13  Andreas Schwab  <schwab@suse.de>
37645         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37647 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37649         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37650         (__ASSUME_UTIMES): Do not condition on kernel version.
37651         (__ASSUME_PSELECT): Define unconditionally.
37652         (__ASSUME_PPOLL): Likewise.
37653         (__ASSUME_ATFCTS): Likewise.
37654         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37655         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37656         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37657         (__ASSUME_UTIMENSAT): Define unconditionally.
37658         (__ASSUME_PRIVATE_FUTEX): Likewise.
37659         (__ASSUME_FALLOCATE): Likewise.
37660         (__ASSUME_O_CLOEXEC): Likewise.
37661         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37662         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37663         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37664         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37665         (__ASSUME_IN_NONBLOCK): Likewise.
37666         (__ASSUME_PIPE2): Likewise.
37667         (__ASSUME_EVENTFD2): Likewise.
37668         (__ASSUME_SIGNALFD4): Likewise.
37669         (__ASSUME_DUP3): Likewise.
37670         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37671         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37672         (__ASSUME_AT_RANDOM): Likewise.
37673         (__ASSUME_PREADV): Likewise.
37674         (__ASSUME_PWRITEV): Likewise.
37675         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37676         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37677         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37678         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37679         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37681         (__ASSUME_O_CLOEXEC): Define unconditionally.
37682         (__ASSUME_PSELECT): Do not undefine conditionally.
37683         (__ASSUME_PPOLL): Likewise.
37684         (__ASSUME_ATFCTS): Likewise.
37685         (__ASSUME_SET_ROBUST_LIST): Likewise.
37686         (__ASSUME_UTIMENSAT): Likewise.
37687         (__ASSUME_FDATASYNC): Define unconditionally.
37688         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37689         (__ASSUME_SIGFRAME_V2): Likewise.
37690         )__ASSUME_EVENTFD2): Likewise.
37691         (__ASSUME_SIGNALFD4): Likewise.
37692         (__ASSUME_PSELECT): Do not undefine conditionally.
37693         (__ASSUME_PPOLL): Likewise.
37694         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37695         (__ASSUME_PSELECT): Define unconditionally.
37696         (__ASSUME_PPOLL): Likewise.
37697         (__ASSUME_O_CLOEXEC): Likewise.
37698         (__ASSUME_SOCK_CLOEXEC): Likewise.
37699         (__ASSUME_IN_NONBLOCK): Likewise.
37700         (__ASSUME_PIPE2): Likewise.
37701         (__ASSUME_EVENTFD2): Likewise.
37702         (__ASSUME_SIGNALFD4): Likewise.
37703         (__ASSUME_DUP3): Likewise.
37704         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37705         (__ASSUME_O_CLOEXEC): Likewise.
37706         (__ASSUME_SOCK_CLOEXEC): Likewise.
37707         (__ASSUME_IN_NONBLOCK): Likewise.
37708         (__ASSUME_PIPE2): Likewise.
37709         (__ASSUME_EVENTFD2): Likewise.
37710         (__ASSUME_SIGNALFD4): Likewise.
37711         (__ASSUME_DUP3): Likewise.
37712         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37713         (__ASSUME_EVENTFD2): Likewise.
37714         (__ASSUME_SIGNALFD4): Likewise.
37715         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37717 2014-05-12  Andreas Schwab  <schwab@suse.de>
37719         [BZ #16932]
37720         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37721         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37722         than maximum RPC packet size.
37723         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37724         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37725         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37726         (_nss_nis_getservbyport_r): Likewise.
37728 2014-05-12  Will Newton  <will.newton@linaro.org>
37730         * malloc/Makefile (tests): Add tst-mallopt.
37731         * malloc/tst-mallopt.c: New file.
37733 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37735         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37736         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37738 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37740         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37741         (tst-tlsmod6.so): Likewise.
37743 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37745         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37747 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37749         [BZ #16064]
37750         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37751         and <dl-procinfo.h>.
37752         (__fegetenv): Save SSE state in envp->__eip if supported.
37753         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37754         envp->__eip if supported.
37755         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37756         and <dl-procinfo.h>.
37757         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37758         __data_offset and __data_selector in environment to 0.  Set SSE
37759         state if supported.
37760         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37761         test-fenv-sse.
37762         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37763         -mfpmath=sse.
37764         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37766 2014-05-09  Will Newton  <will.newton@linaro.org>
37768         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37769         and libc_relro_required for ARM.
37770         * sysdeps/arm/preconfigure: Regenerate.
37772 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37773             Stefan Liebler  <stli@linux.vnet.ibm.com>
37775         * config.make.in (enable-lock-elision): New Makefile variable.
37776         * configure.ac: Likewise.
37777         * configure: Regenerate.
37778         * sysdeps/s390/configure.ac:
37779         Add check for gcc transactions support.
37780         * sysdeps/s390/configure: Regenerate.
37781         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37782         Build elision files if enabled.
37783         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37784         Add lock elision support for s390.
37785         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37786         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37787         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37788         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37789         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37790         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37791         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37792         Likewise.
37793         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37794         Likewise.
37795         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37796         Likewise.
37797         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37798         Likewise.
37799         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37800         (__lll_timedlock_elision, __lll_lock_elision)
37801         (__lll_unlock_elision, __lll_trylock_elision)
37802         (lll_timedlock_elision, lll_lock_elision)
37803         (lll_unlock_elision, lll_trylock_elision): Add.
37804         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37805         (pthread_mutex_t): Add lock elision support for s390.
37807 2014-05-14  Wilco  <wdijkstr@arm.com>
37809         * sysdeps/arm/fclrexcpt.c: Cleanup.
37810         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37811         * sysdeps/arm/feenablxcpt.c: Cleanup.
37812         * sysdeps/arm/fegetenv.c: Cleanup.
37813         * sysdeps/arm/fegetexcept.c: Cleanup.
37814         * sysdeps/arm/fegetround.c: Cleanup.
37815         * sysdeps/arm/feholdexcpt.c: Cleanup.
37816         * sysdeps/arm/fesetenv.c: Cleanup.
37817         * sysdeps/arm/fesetround.c: Cleanup.
37818         * sysdeps/arm/feupdateenv.c: Cleanup.
37819         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37820         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37821         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37822         * sysdeps/arm/ftestexcept.c: Cleanup.
37823         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37824         * sysdeps/arm/setfpucw.c: Cleanup.
37826 2014-05-09  Will Newton  <will.newton@linaro.org>
37828         * sysdeps/arm/armv7/strcmp.S: New file.
37829         * NEWS: Mention addition of ARMv7 optimized strcmp.
37831 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37833         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37834         look for %.ac rather than %.in.
37836         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37837         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37838         * sysdeps/mach/hurd/configure: Regenerated.
37839         * sysdeps/unix/sysv/linux/configure: Regenerated.
37841         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37843 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37845         [BZ# 16922]
37846         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37847         (LONG_SUB): Ditto.
37848         (PTR_SUB): Ditto.
37850 2014-05-07  Andreas Schwab  <schwab@suse.de>
37852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37853         when skipping over non-matching result from nscd.
37855 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37857         [BZ #16876]
37858         * nptl/sockperf.c (client): Check socket return value.
37860         [BZ #16877]
37861         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37862         nscd security class.
37864 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37866         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37867         * sysdeps/arm/unwind.h: ... here.
37869 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37871         [BZ# 16916]
37872         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37873         Define.
37875 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37877         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37878         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37879         multiarch strncpy for PPC64.
37880         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37881         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37883         multiarch optimizations.
37884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37885         (__libc_ifunc_impl_list): Likewise.
37886         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37887         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37888         multiarch stpncpy for PPC64.
37889         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37890         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37892 2014-05-06  Andreas Schwab  <schwab@suse.de>
37894         [BZ #16912]
37895         * gmon/mcount.c (_MCOUNT_DECL): Use
37896         atomic_compare_and_exchange_bool_acq instead of
37897         catomic_compare_and_exchange_bool_acq.
37899 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37901         * elf/Makefile (others, install-bin): Remove pldd.
37902         (pldd-modules): Variable removed.
37903         ($(objpfx)pldd): Target removed.
37904         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37905         (others, install-bin): Append pldd here.
37906         ($(objpfx)pldd): New target.
37908         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37909         to 0, so the first #if test emitted later doesn't see it undefined.
37910         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37911         * sysdeps/gnu/errlist.c: Regenerated.
37913 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37915         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37916         [libc_hidden_builtin_def]: Define to empty value.
37917         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37918         [libc_hidden_builtin_def]: Likewise.
37919         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37920         [libc_hidden_builtin_def]: Likewise.
37921         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37922         [libc_hidden_builtin_def]: Likewise.
37923         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37924         __redirect_memcpy and define ifunc as default hidden symbol.
37925         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37926         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37928 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37930         * locale/iso-4217.def: Reintroduce XDR currency.
37932 2014-05-04  Allan McRae  <allan@archlinux.org>
37934         * po/eo.po: Update Esperanto translation from translation project.
37936 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37938         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37939         and FEATURE_INDEX_MAX to 1.
37940         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37942 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37944         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37945         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37946         * iconvdata/big5.c (ONE_DIRECTION): Define.
37947         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37948         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37949         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37950         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37951         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37952         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37953         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37954         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37955         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37956         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37957         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37958         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37959         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37960         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37961         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37962         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37963         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37964         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37965         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37966         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37967         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37968         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37969         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37970         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37971         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37972         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37973         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37974         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37975         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37976         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37977         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37978         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37979         * iconvdata/johab.c (ONE_DIRECTION): Define.
37980         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37981         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37982         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37983         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37984         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37985         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37986         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37987         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37988         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37989         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37991 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37993         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37994         (_IO_JUMPS_OFFSET): Define to 0.
37996         * nptl/sysdeps/pthread/bits/libc-lock.h
37997         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37998         (__libc_lock_define_initialized_recursive): Always define using
37999         initializer.  Modern compilers treat uninitialized (implicit zero) and
38000         explicit zero initializers the same (i.e. put the datum in bss).
38002 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38004         * nscd/nscd-client.h: Include <string.h>.
38006 2014-05-01  David S. Miller  <davem@davemloft.net>
38008         [BZ #16885]
38009         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
38010         multiple zero bytes exist at the end of a string.
38011         Reported by Aurelien Jarno <aurelien@aurel32.net>
38013         * string/test-strcmp.c (check): Add explicit test for situations where
38014         there are multiple zero bytes after the first.
38016 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38018         [BZ #16890]
38019         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
38020         when compiling wprintf.
38021         * stdio-common/tstdiomisc.c (t3): New function.
38022         (main): Call it.
38024 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38026         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
38027         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38028         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
38029         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
38031 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38033         * stdlib/longlong.h: Updated from GCC.
38035 2014-05-01  Will Newton  <will.newton@linaro.org>
38036             Bernard Ogden  <bernie.ogden@linaro.org>
38038         * NEWS: Update fixed bug list.
38040         [BZ #15119]
38041         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
38043 2014-04-30  David S. Miller  <davem@davemloft.net>
38045         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
38046         (libc_feholdexcept_setround_sparc_ctx): New function.
38047         (libc_fesetenv_sparc_ctx): Likewise.
38048         (libc_feupdateenv_sparc_ctx): Likewise.
38049         (libc_feholdsetround_sparc_ctx): Likewise.
38050         (libc_feholdexcept_setround_ctx): Define.
38051         (libc_feholdexcept_setroundf_ctx): Likewise.
38052         (libc_feholdexcept_setroundl_ctx): Likewise.
38053         (libc_fesetenv_ctx): Likewise.
38054         (libc_fesetenvf_ctx): Likewise.
38055         (libc_fesetenvl_ctx): Likewise.
38056         (libc_feupdateenv_ctx): Likewise.
38057         (libc_feupdateenvf_ctx): Likewise.
38058         (libc_feupdateenvl_ctx): Likewise.
38059         (libc_feresetround_ctx): Likewise.
38060         (libc_feresetroundf_ctx): Likewise.
38061         (libc_feresetroundl_ctx): Likewise.
38062         (libc_feholdsetround_ctx): Likewise.
38063         (libc_feholdsetroundf_ctx): Likewise.
38064         (libc_feholdsetroundl_ctx): Likewise.
38066         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38067         with __USE_GNU instead of XOPEN cpp guards.
38069         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
38070         0.
38072         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38073         with XOPEN cpp guards.
38075 2014-04-30  Julian Brown  <julian@codesourcery.com>
38077         [BZ #16888]
38078         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
38079         handling.
38081 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
38083         [BZ #9894]
38084         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
38085         Change to 2.6.32.
38086         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
38087         * sysdeps/unix/sysv/linux/configure: Regenerated.
38088         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
38089         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
38090         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
38091         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
38092         * README: Update reference to required Linux kernel version.
38093         * manual/install.texi (Linux): Update reference to required Linux
38094         kernel headers version.
38095         * INSTALL: Regenerated.
38097         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
38098         header inclusion.
38099         [POSIX] (limits.h): Likewise.
38100         [POSIX] (math.h): Likewise.
38101         [POSIX] (sys/wait.h): Likewise.
38102         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
38103         function.
38104         [POSIX] (stddef.h): Do not allow header inclusion.
38106 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38108         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
38110 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
38112         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
38113         Return immediately after lll_futex_wake.
38115 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38117         [BZ #16791]
38118         * nscd/nscd-client.h (datahead_init_common): Initialize entire
38119         structure.
38120         (datahead_init_pos): Call datahead_init_common early.
38121         (datahead_init_neg): Likewise.
38123         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
38124         datahead_init_neg): New functions.
38125         * nscd/aicache.c (addhstaiX): Use them.
38126         * nscd/grpcache.c (cache_addgr): Likewise.
38127         * nscd/hstcache.c (cache_addhst): Likewise.
38128         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38129         * nscd/netgroupcache.c (do_notfound): Likewise.
38130         (addgetnetgrentX): Likewise.
38131         (addinnetgrX): Likewise.
38132         * nscd/pwdcache.c (cache_addpw): Likewise.
38133         * nscd/servicescache.c (cache_addserv): Likewise.
38135 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38136             Atsushi Onoe  <atsushi@onoe.org>
38138         [BZ #14308]
38139         [BZ #12994]
38140         [BZ #13651]
38141         * resolv/res_query.c (__libc_res_nsearch): Return if at least
38142         one response is valid.
38143         * resolv/res_send.c (send_dg): Check for validity of other
38144         response if the current response is a referral.
38146 2014-04-29  Steve Ellcey  <sellcey@mips.com>
38148         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38150 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
38152         [BZ #16823]
38153         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38154         Always divide by positive zero when computing -Inf result.
38155         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38156         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
38158 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38160         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
38161         FPSCR if value do not change.
38162         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38163         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
38164         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38165         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38166         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
38167         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
38168         function.
38170 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
38172         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38173         * sysdeps/unix/sysv/linux/hppa: Move directory from
38174         ports/systeps/unix/sysv/linux/hppa.
38175         * README: Update listing for hppa-*-linux-gnu.
38177 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38179         [BZ #16754]
38180         * manual/stdio.texi (Hook functions): Fix types of stream hook
38181         functions.
38182         [BZ #16854]
38183         * socket/sys/socket.h: Fix typo in comment.
38185 2014-04-28  Wilco  <wdijkstr@arm.com>
38187         * sysdeps/arm/fenv_private.h: New file.
38188         * sysdeps/arm/math_private.h: New file.
38189         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38191 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38193         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38194         with __int128_t.
38195         (La_x86_64_retval): Likewise.
38197 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38199         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38200         fpsr if value didn't change.
38201         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38202         to fpcr if value didn't change.
38203         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38204         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38205         fpsr or fpcr if value didn't change.
38206         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38207         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38208         fpcr if value didn't change.
38209         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38210         to fpsr if value didn't change.
38212 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38214         * nptl/tst-sem3.c: Use test-skeleton.c
38215         (main): Rename to do_test.  Use return instead of
38216         exit.
38217         * nptl/tst-sem4.c: Use test-skeleton.c
38218         (main): Rename to do_test.
38220 2014-04-22  David S. Miller  <davem@davemloft.net>
38222         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38223         (struct sigaction): New struct member __glibc_reserved0, change
38224         type of sa_flags to int.
38226 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38228         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38229         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38231 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38233         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38234         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38236 2014-04-22  Will Newton  <will.newton@linaro.org>
38237             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38239         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38240         (__longjmp): Add longjmp and longjmp_target SystemTap
38241         probes.
38242         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38243         (__sigsetjmp): Add setjmp SystemTap probe.
38245 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38247         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38248         match manual order.
38250 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38252         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38254         * sysdeps/powerpc/fpu/fenv_private.h
38255         (libc_feholdexcept_setroundl_ctx): Define to
38256         libc_feholdexcept_setround_ppc_ctx.
38257         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38258         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38259         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38260         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38262 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38264         * sysdeps/aarch64/math-tests.h: New file.
38266 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38268         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38269         New.
38270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38271         Check and set bit_AVX2_Usable.
38272         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38273         macro.
38274         (bit_AVX2): Likewise.
38275         (index_AVX2_Usable): Likewise.
38276         (CPUID_AVX2): Likewise.
38277         (HAS_AVX2): Likewise.
38279 2014-04-17  Will Newton  <will.newton@linaro.org>
38281         * manual/setjmp.texi (System V contexts): Add note that
38282         calling setcontext on a context created by a call to a
38283         signal handler is undefined.  Update text to note that
38284         setcontext from a signal handler is possible but not
38285         recommended.
38287         [BZ #16629]
38288         * stdlib/tst-setcontext.c: Include signal.h.
38289         (main): Check that the signal stack before and
38290         after swapcontext is the same.
38292         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38293         Re-implement to restore registers in user code and avoid
38294         rt_sigreturn system call.
38296 2014-04-17  Wilco  <wdijkstr@arm.com>
38298         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38299         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38300         * math/test-fenv.c: Skip exception trap tests on targets which only
38301         support non-stop mode.
38303 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38304             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38306         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38307         (libc_feholdsetround_aarch64_ctx)
38308         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38309         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38310         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38311         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38312         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38313         (libc_feresetround_noexl_ctx): Define.
38315 2014-04-16  Richard Henderson  <rth@redhat.com>
38317         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38319         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38320         unwind tables.
38322         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38323         const from the non-libc, non-ldso copy.
38325         * sysdeps/alpha/libm-test-ulps: Regenerate.
38327 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38328             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38330         * sysdeps/aarch64/fpu/math_private.h: New file.
38332 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38334         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38336 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38338         [BZ #16275]
38339         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38340         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38341         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38342         Intel MPX bound registers before _dl_profile_fixup.
38343         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38344         registers after _dl_profile_fixup.  Save and restore bound
38345         registers bnd0/bnd1 when calling _dl_call_pltexit.
38346         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38347         (LR_BND_OFFSET): Likewise.
38348         (LRV_BND0_OFFSET): Likewise.
38349         (LRV_BND1_OFFSET): Likewise.
38351 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38353         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38354         to...
38355         * sysdeps/mach/hurd/i386/tls.h: ... here.
38356         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38357         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38358         fields.
38360 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38362         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38364 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38366         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38368 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38370         [BZ #14770]
38371         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38372         * sysdeps/s390/configure: Regenerate.
38374         [BZ #16824]
38375         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38376         Set round-to-nearest internally to reduce error accumulation.
38378 2014-04-16  Alan Modra  <amodra@gmail.com>
38380         [BZ #16740]
38381         [BZ #16619]
38382         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38383         * math/libm-test.inc (frexp_test_data): Add tests.
38384         * NEWS: Update fixed bug list.
38386 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38388         * benchtests/Makefile: Depend on libraries in build directory.
38389         (bench-math): Separate out math tests.
38390         (bench-pthread): Separate out pthread tests.
38391         (bench): Include math and pthread tests.
38393 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38395         [BZ #16831]
38396         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38397         _dl_debug_initialize.
38399         * configure.ac: Remove SELinux header check.
38400         * configure: Regenerate.
38401         * nscd/selinux.c (perms): Array of const char* to permission names.
38402         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38403         default policy. Call string_to_security_class and string_to_av_perm to
38404         translate strings. Enforce default policy and call avs_has_perm with
38405         results of translated strings.
38407 2014-04-13  David S. Miller  <davem@davemloft.net>
38409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38411 2014-04-12  Allan McRae  <allan@archlinux.org>
38413         [BZ #16838]
38414         * manual/string.texi (Collation Functions): Fix qsort argument
38415         order in example.
38416         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38418 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38420         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38421         Make the test a no-op if there are no exceptions defined.
38423 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38425         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38426         enable-hardcoded-path-in-tests
38428 2014-04-11  Will Newton  <will.newton@linaro.org>
38430         * benchtests/Makefile (extra-objs): Add json-lib.o.
38431         (bench-func): Tidy up JSON output.
38432         * benchtests/bench-skeleton.c: Include json-lib.h.
38433         (main): Use JSON library functions to do output of
38434         benchmark results.
38435         * benchtests/bench-timing-type.c (main): Output the
38436         timing type simply, leaving formatting to the user.
38437         * benchtests/json-lib.c: New file.
38438         * benchtests/json-lib.h: Likewise.
38440 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38442         [BZ #15215]
38443         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38444         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38445         memory barriers.  Add comments.
38446         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38447         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38448         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38449         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38450         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38451         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38453 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38455         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38456         * sysdeps/s390/s390-64/configure.ac: ... this ...
38457         * sysdeps/s390/configure.ac: ... to here.
38458         * sysdeps/s390/s390-32/configure: Delete file.
38459         * sysdeps/s390/s390-64/configure: Delete file.
38460         * sysdeps/s390/configure: Regenerate.
38462 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38464         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38466 2014-04-11  Will Newton  <will.newton@linaro.org>
38468         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38469         to zero if it is not defined elsewhere.  (mtrim): Test
38470         the value of MALLOC_DEBUG with #if rather than #ifdef.
38472 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38474         * benchtests/pthread_once-inputs: New file.
38475         * benchtests/pthread_once-source.c: New file.
38476         * benchtests/README: Update documentation.
38478 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38479             H.J. Lu  <hongjiu.lu@intel.com>
38481         [BZ #16275]
38482         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38483         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38484         * sysdeps/x86_64/configure: Regenerated.
38485         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38486         macro.
38487         (REGISTER_SAVE_RAX): Likewise.
38488         (REGISTER_SAVE_RCX): Likewise.
38489         (REGISTER_SAVE_RDX): Likewise.
38490         (REGISTER_SAVE_RSI): Likewise.
38491         (REGISTER_SAVE_RDI): Likewise.
38492         (REGISTER_SAVE_R8): Likewise.
38493         (REGISTER_SAVE_R9): Likewise.
38494         (REGISTER_SAVE_BND0): Likewise.
38495         (REGISTER_SAVE_BND1): Likewise.
38496         (REGISTER_SAVE_BND2): Likewise.
38497         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38498         bound registers when calling _dl_fixup.
38500 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38502         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38503         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38504         of its definition.
38505         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38506         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38507         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38508         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38509         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38510         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38511         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38513 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38515         [BZ #15514]
38516         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38517         pathconf(_PC_NAME_MAX).
38519 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38521         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38522         Remove macro usage.
38523         (__PTHREAD_SPINS): Move definition to ...
38524         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38525         (__PTHREAD_SPINS): ... here.
38526         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38527         (__PTHREAD_SPIN): Likewise.
38528         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38529         (__PTHREAD_SPIN): Likewise.
38530         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38531         (__PTHREAD_SPIN): Likewise.
38532         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38533         (__PTHREAD_SPIN): Likewise.
38534         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38535         (__PTHREAD_SPIN): Likewise.
38536         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38537         (__PTHREAD_SPIN): Likewise.
38538         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38539         (__PTHREAD_SPIN): Likewise.
38540         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38541         (__PTHREAD_SPIN): Likewise.
38542         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38543         (__PTHREAD_SPIN): Likewise.
38544         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38545         (__PTHREAD_SPIN): Likewise.
38546         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38547         (__PTHREAD_SPIN): Likewise.
38548         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38549         (__PTHREAD_SPIN): Likewise.
38551         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38552         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38553         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38554         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38555         imply folder.
38556         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38557         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38558         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38559         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38560         correct imply path.
38561         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38562         strlen symbol for non multi-arch builds.
38563         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38564         missing hidden_def and weak_alias.
38566 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38568         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38570 2014-04-07  Will Newton  <will.newton@linaro.org>
38572         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38573         and contents.  [!_LIBC] Remove #ifndef and contents.
38574         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38575         * string/memccpy.c (__memccpy): Use ANSI prototype.
38576         * string/memfrob.c (memfrob): Likewise.
38577         * string/strcoll.c (STRCOLL): Likewise.
38578         * string/strlen.c (strlen): Likewise.
38579         * string/strtok.c (STRTOK): Likewise.
38580         * string/strcat.c: Remove unused #include of memcopy.h.
38581         (strcat): Use ANSI prototype.
38582         * string/strchr.c: Remove unused #include of memcopy.h.
38583         (strchr): Use ANSI prototype.
38584         * string/strcmp.c: Remove unused #include of memcopy.h.
38585         (strcmp): Use ANSI prototype.
38586         * string/strcpy.c: Remove unused #include of memcopy.h.
38587         (strcpy): Use ANSI prototype.
38589 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38591         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38592         * config.make.in (config-extra-cppflags): Set it from
38593         libc_extra_cppflags.
38594         * configure.ac (libc_extra_cflags): Make it accumulate over
38595         configure fragments.
38596         (libc_extra_cppflags): New flag.
38597         * configure. Regenerate.
38598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38599         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38600         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38603         [BZ #16815]
38604         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38605         result for FE_DOWNWARD rounding mode.
38606         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38607         Likewise.
38608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38610 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38612         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38613         in function argument name.
38615 2014-04-03  David Svoboda  <svoboda@cert.org>
38617         [BZ #5666]
38618         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38619         explicitly.
38621 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38623         * elf/dl-unmap-segments.h: New file.
38624         * sysdeps/generic/ldsodefs.h
38625         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38626         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38627         * elf/dl-fptr.c: Likewise.
38628         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38629         * sysdeps/aarch64/tlsdesc.c: Likewise.
38630         * sysdeps/arm/tlsdesc.c: Likewise.
38631         * sysdeps/i386/tlsdesc.c: Likewise.
38632         * sysdeps/tile/dl-runtime.c: Likewise.
38633         * sysdeps/x86_64/tlsdesc.c: Likewise.
38634         * elf/dl-load.h: New file.
38635         * elf/dl-load.c: Include it.
38636         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38637         Macros moved to dl-load.h.
38638         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38639         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38640         Use _dl_unmap_segments in place of __munmap.
38641         Break out segment-mapping loop into ...
38642         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38644 2014-04-03  Will Newton  <will.newton@linaro.org>
38646         * elf/dl-lookup.c (do_lookup_x): Remove comment
38647         referring to nested function and move variable
38648         declarations down to before first use.
38650 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38652         [BZ #16799]
38653         [BZ #16800]
38654         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38655         with 0 numerator.
38656         * math/s_catanf.c (__catanf): Likewise.
38657         * math/s_catanh.c (__catanh): Likewise.
38658         * math/s_catanhf.c (__catanhf): Likewise.
38659         * math/s_catanhl.c (__catanhl): Likewise.
38660         * math/s_catanl.c (__catanl): Likewise.
38661         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38662         by positive zero when computing -Inf result.
38663         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38664         (catanh_test): Likewise.
38665         * sysdeps/i386/fpu/libm-test-ulps: Update.
38666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38668         [BZ #16789]
38669         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38670         instead of using underflowing value in computing result.
38671         * math/s_clog10.c (__clog10): Likewise.
38672         * math/s_clog10f.c (__clog10f): Likewise.
38673         * math/s_clog10l.c (__clog10l): Likewise.
38674         * math/s_clogf.c (__clogf): Likewise.
38675         * math/s_clogl.c (__clogl): Likewise.
38676         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38677         (clog10_test): Likewise.
38678         * sysdeps/i386/fpu/libm-test-ulps: Update.
38679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38681 2014-04-02  Alan Modra  <amodra@gmail.com>
38683         [BZ #16739]
38684         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38685         output when value is near a power of two.  Use int64_t for lx and
38686         remove casts.  Use decimal rather than hex exponent constants.
38687         Don't use long double multiplication when double will suffice.
38688         * math/libm-test.inc (nextafter_test_data): Add tests.
38689         * NEWS: Add 16739 and 16786 to bug list.
38691         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38693         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38695 2014-04-01  Will Newton  <will.newton@linaro.org>
38697         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38698         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38700 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38702         [BZ #13347]
38703         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38704         * nptl/tst-setuid2.c: New file.
38705         * nptl/Makefile (xtests): Add tst-setuid2.
38707 2014-04-01  Alan Modra  <amodra@gmail.com>
38709         [BZ #16786]
38710         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38712 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38714         [BZ #6803]
38715         [BZ #6804]
38716         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38717         set errno as appropriate.
38718         * math/w_scalbf.c (__scalbf): Likewise.
38719         * math/w_scalbl.c (__scalbl): Likewise.
38720         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38721         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38722         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38723         Add more NaN tests.
38725         [BZ #16349]
38726         * math/w_atan2.c: Include <errno.h>.
38727         (__atan2): Set errno for result underflowing to zero.
38728         * math/w_atan2f.c: Include <errno.h>.
38729         (__atan2f): Set errno for result underflowing to zero.
38730         * math/w_atan2l.c: Include <errno.h>.
38731         (__atan2l): Set errno for result underflowing to zero.
38732         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38733         tests.
38734         * math/auto-libm-test-out: Regenerated.
38736 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38738         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38739         Encode instruction correctly in little endian.
38740         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38741         Likewise.
38742         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38743         Likewise.
38744         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38745         Likewise.
38746         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38747         Likewise.
38749 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38751         [BZ #9894]
38752         * sysdeps/unix/sysv/linux/kernel-features.h
38753         [__sparc__ && !__arch64__ && !__sparc_v9__]
38754         (__ASSUME_SET_ROBUST_LIST): Do not define.
38755         [__sparc__ && !__arch64__ && !__sparc_v9__]
38756         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38757         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38758         Likewise.
38759         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38760         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38761         (__ASSUME_REQUEUE_PI): Likewise.
38762         (__ASSUME_SET_ROBUST_LIST): Likewise.
38763         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38764         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38765         Undefine.
38766         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38767         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38768         Likewise.
38769         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38770         Likewise.
38771         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38772         Likewise.
38773         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38774         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38775         Undefine.
38776         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38777         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38778         Likewise.
38780         [BZ #16648]
38781         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38782         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38783         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38785 2014-03-31  Will Newton  <will.newton@linaro.org>
38787         * benchtests/Makefile (bench): Add ffs and ffsll to list
38788         of tests.
38789         * benchtests/ffs-inputs: New file.
38790         * benchtests/ffsll-inputs: Likewise.
38792 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38794         [BZ #16770]
38795         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38796         too large before casting to int.
38797         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38798         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38799         * math/libm-test.inc (scalb_test_data): Add more tests.
38801 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38803         * benchtests/Makefile (DETAILED_OPT): New make option.
38804         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38805         set.
38806         * benchtests/bench-skeleton.c: Include stdbool.h.
38807         (main): Store and print timings per input.
38808         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38809         member to each argument value.
38810         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38811         (_print_arg_data): Initialize per-input timing to 0.
38813         * benchtests/Makefile (timing-type): New binary.
38814         (bench-clean): Also remove bench-timing-type.
38815         (bench): New target for timing-type.
38816         (bench-func): Print output in JSON format.
38817         * benchtests/bench-skeleton.c (main): Print output in JSON
38818         format.
38819         * benchtests/bench-timing-type.c: New file.
38820         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38821         (TIMING_PRINT_STATS): Remove.
38822         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38823         name separately.
38825         * benchtests/bench-modf.c: Remove.
38826         * benchtests/modf-inputs: New inputs file.
38828 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38830         [BZ #16362]
38831         * math/s_clog10.c (M_PI_LOG10E): New macro.
38832         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38833         imaginary parts are 0.
38834         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38835         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38836         imaginary parts are 0.
38837         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38838         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38839         imaginary parts are 0.
38840         * math/libm-test.inc (clog10_test_data): Update expected results
38841         for when real and imaginary parts are 0.
38843 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38845         * elf/dl-load.c: Finish conversion of __builtin_expect into
38846         __glibc_{un}likely.
38848 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38850         [BZ #16348]
38851         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38852         1+x for argument with exponent below -67.
38853         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38854         Likewise.
38855         * math/auto-libm-test-in: Add more tests of exp.
38856         * math/auto-libm-test-out: Regenerated.
38858 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38860         [BZ #16759]
38861         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38862         (nscd_getnetgrent): Use it.
38864         [BZ #16760]
38865         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38866         of stpcpy.
38868 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38870         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38871         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38872         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38873         (lll_robust_unlock): Remove out of line section. Use cfi
38874         intrinsics.
38875         (LLL_STUB_UNWIND_INFO*): Remove.
38876         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38877         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38878         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38879         (lll_robust_unlock): Remove out of line section. Use cfi
38880         intrinsics.
38881         (LLL_STUB_UNWIND_INFO*): Remove.
38883 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38885         [BZ #16758]
38886         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38887         blank values.
38889 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38891         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38893 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38895         [BZ #16198]
38896         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38897         fnstenv.
38898         * math/test-fenv-preserve.c: New file.
38899         * math/Makefile (tests): Add test-fenv-preserve.
38901 2014-03-26  Will Newton <will.newton@linaro.org>
38903         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38905 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38907         * scripts/versionlist.awk: Partition the version sets and emit all
38908         GLIBC_* (sorted) before all others (sorted).
38910 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38912         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38913         GLIBC_2.2.5 version.
38915 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38917         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38918         calls.
38920         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38921         previous change.
38923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38925 2014-03-25  Andreas Schwab  <schwab@suse.de>
38927         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38928         label to be used after in6ailist is initialized.
38930 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38932         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38933         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38935 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38937         [BZ #16357]
38938         [BZ #16599]
38939         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38940         min_plus_half.
38941         (fp_formats): Update initializers.
38942         (init_fp_formats): Initialize new field.
38943         (output_for_one_input_case): Allow underflow for results up to
38944         min_plus_half.
38945         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38946         * math/auto-libm-test-in: Don't mark some underflows from asin and
38947         atanh as spurious.
38948         * math/auto-libm-test-out: Regenerated.
38949         * sysdeps/i386/fpu/libm-test-ulps: Update.
38950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38952 2014-03-25  Andreas Schwab  <schwab@suse.de>
38954         * libio/Makefile (tst-ftell-partial-wide-ENV)
38955         (tst-ftell-active-handler-ENV): Define.
38957 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38959         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38961 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38963         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38965 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38967         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38968         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38969         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38971 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38973         [BZ #16634]
38974         * elf/dl-load.c (open_verify): Add mode parameter.
38975         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38976         (open_path): Change from boolean 'secure' to complete flag 'mode'
38977         (_dl_map_object): Adjust.
38978         * elf/Makefile (tests): Add tst-dlopen-aout.
38979         * elf/tst-dlopen-aout.c: New test.
38981 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38983         [BZ #16714]
38984         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38985         (struct stat): Rename member pad0 to __glibc_reserved0.
38987         [BZ #16712]
38988         * sysdeps/s390/s390-32/bits/wordsize.h
38989         (__WORDSIZE32_SIZE_ULONG): New define.
38990         * sysdeps/s390/s390-64/bits/wordsize.h
38991         (__WORDSIZE32_SIZE_ULONG): Likewise.
38992         * sysdeps/generic/stdint.h (SIZE_MAX):
38993         Define as UL if __WORDSIZE32_SIZE_ULONG.
38995         [BZ #16713]
38996         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38997         (__glibc_reserved0): New variable.
38998         (sa_flags): Change type to int.
39000         * posix/Makefile (before-compile): Use += before-compile instead
39001         of a :=.
39003         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39004         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39006 2014-03-20  Andreas Schwab  <schwab@suse.de>
39008         [BZ #16743]
39009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
39010         non-matching result from nscd.
39012 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39014         * scripts/bench.py: Moved to ...
39015         * benchtests/scripts/bench.py: ... here.
39016         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39018 2014-03-24  Andreas Schwab  <schwab@suse.de>
39020         [BZ #16002]
39021         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
39022         alloca_account and account alloca use for struct in6ailist.
39024 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39026         [BZ #16284]
39027         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
39028         rounding mode to recompute results that overflow to infinity or
39029         underflow to zero.
39030         * math/auto-libm-test-in: Don't mark tests as expected to fail for
39031         bug 16284.
39032         * math/auto-libm-test-out: Regenerated.
39033         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
39034         (ccosh_test): Likewise.
39035         (csin_test_data): Use plus_oflow.
39036         (csin_test): Use ALL_RM_TEST.
39037         (csinh_test_data): Use plus_oflow.
39038         (csinh_test): Use ALL_RM_TEST.
39039         * sysdeps/i386/fpu/libm-test-ulps: Update.
39040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39042 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
39044         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
39045         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
39046         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
39048         [BZ #16731]
39049         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
39050         when x - 1 is zero.
39051         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
39052         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
39053         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39054         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
39055         argument is 1.
39056         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
39057         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
39058         zero.
39059         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
39060         * sysdeps/i386/fpu/libm-test-ulps: Update.
39061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39063 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39065         * scripts/bench.pl: Remove file.
39066         * scripts/bench.py: New benchmark script.
39067         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
39068         * benchtests/README: Mention python dependency.
39069         * scripts/pylintrc: New file.
39070         * scripts/pylint: New file.
39072         * bits/mathdef.h: Use #ifdef instead of #if.
39073         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
39074         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39075         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
39076         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39077         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
39078         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39080 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39081             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39083         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
39084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
39085         and strpbrk-ppc64 objects.
39086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39087         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
39088         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
39089         multiarch strpbrk for POWER7.
39090         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
39091         multiarch strpbrk for PPC64.
39092         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
39093         ifunc selector.
39094         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
39095         strpbrk for POWER7.
39097 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39099         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
39100         (atan_test): Likewise.
39101         (atanh_test_data): Use NO_TEST_INLINE for two tests.
39102         (atanh_test): Use ALL_RM_TEST.
39103         (atan2_test_data): Likewise.
39104         (cabs_test): Likewise.
39105         (cacosh_test): Likewise.
39106         (carg_test): Likewise.
39107         (casin_test): Likewise.
39108         (casinh_test): Likewise.
39109         (cbrt_test): Likewise.
39110         (csqrt_test): Likewise.
39111         (erf_test): Likewise.
39112         (erfc_test): Likewise.
39113         (pow10_test): Likewise.
39114         (exp2_test): Likewise.
39115         (hypot_test): Likewise.
39116         (j0_test): Likewise.
39117         (j1_test): Likewise.
39118         (lgamma_test): Likewise.
39119         (gamma_test): Likewise.
39120         (sincos_test): Likewise.
39121         (tanh_test): Likewise.
39122         (y0_test): Likewise.
39123         (y1_test): Likewise.
39124         * sysdeps/i386/fpu/libm-test-ulps: Update.
39125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39127 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39129         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
39130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
39131         and strcspn-ppc64 objects.
39132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39133         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
39134         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39135         multiarch strcspn for POWER7.
39136         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
39137         multiarch strcspn for PPC64.
39138         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39139         ifunc selector.
39140         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39141         strcspn for POWER7.
39143 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39145         * math/gen-libm-test.pl (generate_testfile): Expect only function
39146         name as argument to AUTO_TESTS_* and pass results for all rounding
39147         modes to parse_args.
39148         (parse_auto_input): Separate inputs of automatic tests from
39149         outputs before storing in %auto_tests.
39150         * math/libm-test.inc (acos_test_data): Update call to
39151         AUTO_TESTS_f_f.
39152         (acos_test): Use ALL_RM_TEST.
39153         (acos_tonearest_test_data): Remove.
39154         (acos_test_tonearest): Likewise.
39155         (acos_towardzero_test_data): Likewise.
39156         (acos_test_towardzero): Likewise.
39157         (acos_downward_test_data): Likewise.
39158         (acos_test_downward): Likewise.
39159         (acos_upward_test_data): Likewise.
39160         (acos_test_upward): Likewise.
39161         (acosh_test_data): Update call to AUTO_TESTS_f_f.
39162         (asin_test_data): Likewise.
39163         (asin_test): Use ALL_RM_TEST.
39164         (asin_tonearest_test_data): Remove.
39165         (asin_test_tonearest): Likewise.
39166         (asin_towardzero_test_data): Likewise.
39167         (asin_test_towardzero): Likewise.
39168         (asin_downward_test_data): Likewise.
39169         (asin_test_downward): Likewise.
39170         (asin_upward_test_data): Likewise.
39171         (asin_test_upward): Likewise.
39172         (asinh_test_data): Update call to AUTO_TESTS_f_f.
39173         (atan_test_data): Likewise.
39174         (atanh_test_data): Likewise.
39175         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39176         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39177         (carg_test_data): Likewise.
39178         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39179         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39180         (ccosh_test_data): Likewise.
39181         (cexp_test_data): Likewise.
39182         (clog_test_data): Likewise.
39183         (clog10_test_data): Likewise.
39184         (cos_test_data): Update call to AUTO_TESTS_f_f.
39185         (cos_test): Use ALL_RM_TEST.
39186         (cos_tonearest_test_data): Remove.
39187         (cos_test_tonearest): Likewise.
39188         (cos_towardzero_test_data): Likewise.
39189         (cos_test_towardzero): Likewise.
39190         (cos_downward_test_data): Likewise.
39191         (cos_test_downward): Likewise.
39192         (cos_upward_test_data): Likewise.
39193         (cos_test_upward): Likewise.
39194         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39195         (cosh_test): Use ALL_RM_TEST.
39196         (cosh_tonearest_test_data): Remove.
39197         (cosh_test_tonearest): Likewise.
39198         (cosh_towardzero_test_data): Likewise.
39199         (cosh_test_towardzero): Likewise.
39200         (cosh_downward_test_data): Likewise.
39201         (cosh_test_downward): Likewise.
39202         (cosh_upward_test_data): Likewise.
39203         (cosh_test_upward): Likewise.
39204         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39205         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39206         (ctan_test_data): Likewise.
39207         (ctan_test): Use ALL_RM_TEST.
39208         (ctan_tonearest_test_data): Remove.
39209         (ctan_test_tonearest): Likewise.
39210         (ctan_towardzero_test_data): Likewise.
39211         (ctan_test_towardzero): Likewise.
39212         (ctan_downward_test_data): Likewise.
39213         (ctan_test_downward): Likewise.
39214         (ctan_upward_test_data): Likewise.
39215         (ctan_test_upward): Likewise.
39216         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39217         (ctanh_test): Use ALL_RM_TEST.
39218         (ctanh_tonearest_test_data): Remove.
39219         (ctanh_test_tonearest): Likewise.
39220         (ctanh_towardzero_test_data): Likewise.
39221         (ctanh_test_towardzero): Likewise.
39222         (ctanh_downward_test_data): Likewise.
39223         (ctanh_test_downward): Likewise.
39224         (ctanh_upward_test_data): Likewise.
39225         (ctanh_test_upward): Likewise.
39226         (erf_test_data): Update call to AUTO_TESTS_f_f.
39227         (erfc_test_data): Likewise.
39228         (exp_test_data): Likewise.
39229         (exp_test): Use ALL_RM_TEST.
39230         (exp_tonearest_test_data): Remove.
39231         (exp_test_tonearest): Likewise.
39232         (exp_towardzero_test_data): Likewise.
39233         (exp_test_towardzero): Likewise.
39234         (exp_downward_test_data): Likewise.
39235         (exp_test_downward): Likewise.
39236         (exp_upward_test_data): Likewise.
39237         (exp_test_upward): Likewise.
39238         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39239         (exp10_test): Use ALL_RM_TEST.
39240         (exp10_tonearest_test_data): Remove.
39241         (exp10_test_tonearest): Likewise.
39242         (exp10_towardzero_test_data): Likewise.
39243         (exp10_test_towardzero): Likewise.
39244         (exp10_downward_test_data): Likewise.
39245         (exp10_test_downward): Likewise.
39246         (exp10_upward_test_data): Likewise.
39247         (exp10_test_upward): Likewise.
39248         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39249         (expm1_test_data): Likewise.
39250         (expm1_test): Use ALL_RM_TEST.
39251         (expm1_tonearest_test_data): Remove.
39252         (expm1_test_tonearest): Likewise.
39253         (expm1_towardzero_test_data): Likewise.
39254         (expm1_test_towardzero): Likewise.
39255         (expm1_downward_test_data): Likewise.
39256         (expm1_test_downward): Likewise.
39257         (expm1_upward_test_data): Likewise.
39258         (expm1_test_upward): Likewise.
39259         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39260         (fma_test): Use ALL_RM_TEST.
39261         (fma_towardzero_test_data): Remove.
39262         (fma_test_towardzero): Likewise.
39263         (fma_downward_test_data): Likewise.
39264         (fma_test_downward): Likewise.
39265         (fma_upward_test_data): Likewise.
39266         (fma_test_upward): Likewise.
39267         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39268         (j0_test_data): Update call to AUTO_TESTS_f_f.
39269         (j1_test_data): Likewise.
39270         (jn_test_data): Update call to AUTO_TESTS_if_f.
39271         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39272         (log_test_data): Update call to AUTO_TESTS_f_f.
39273         (log10_test_data): Likewise.
39274         (log1p_test_data): Likewise.
39275         (log2_test_data): Likewise.
39276         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39277         (pow_tonearest_test_data): Likewise.
39278         (sin_test_data): Update call to AUTO_TESTS_f_f.
39279         (sin_test): Use ALL_RM_TEST.
39280         (sin_tonearest_test_data): Remove.
39281         (sin_test_tonearest): Likewise.
39282         (sin_towardzero_test_data): Likewise.
39283         (sin_test_towardzero): Likewise.
39284         (sin_downward_test_data): Likewise.
39285         (sin_test_downward): Likewise.
39286         (sin_upward_test_data): Likewise.
39287         (sin_test_upward): Likewise.
39288         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39289         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39290         (sinh_test): Use ALL_RM_TEST.
39291         (sinh_tonearest_test_data): Remove.
39292         (sinh_test_tonearest): Likewise.
39293         (sinh_towardzero_test_data): Likewise.
39294         (sinh_test_towardzero): Likewise.
39295         (sinh_downward_test_data): Likewise.
39296         (sinh_test_downward): Likewise.
39297         (sinh_upward_test_data): Likewise.
39298         (sinh_test_upward): Likewise.
39299         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39300         (sqrt_test): Use ALL_RM_TEST.
39301         (sqrt_tonearest_test_data): Remove.
39302         (sqrt_test_tonearest): Likewise.
39303         (sqrt_towardzero_test_data): Likewise.
39304         (sqrt_test_towardzero): Likewise.
39305         (sqrt_downward_test_data): Likewise.
39306         (sqrt_test_downward): Likewise.
39307         (sqrt_upward_test_data): Likewise.
39308         (sqrt_test_upward): Likewise.
39309         (tan_test_data): Update call to AUTO_TESTS_f_f.
39310         (tan_test): Use ALL_RM_TEST.
39311         (tan_tonearest_test_data): Remove.
39312         (tan_test_tonearest): Likewise.
39313         (tan_towardzero_test_data): Likewise.
39314         (tan_test_towardzero): Likewise.
39315         (tan_downward_test_data): Likewise.
39316         (tan_test_downward): Likewise.
39317         (tan_upward_test_data): Likewise.
39318         (tan_test_upward): Likewise.
39319         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39320         (tgamma_test_data): Likewise.
39321         (y0_test_data): Likewise.
39322         (y1_test_data): Likewise.
39323         (yn_test_data): Update call to AUTO_TESTS_if_f.
39324         (main): Do not call removed functions.
39326 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39328         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39329         (ldexp_test_data): Remove.
39330         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39331         scalbn_test_data.
39332         (scalb_test): Use ALL_RM_TEST.
39334 2014-03-19  Andreas Schwab  <schwab@suse.de>
39336         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39338 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39340         [BZ #16649]
39341         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39342         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39343         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39344         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39345         (__ASSUME_PREADV): Undefine.
39346         (__ASSUME_PWRITEV): Likewise.
39348 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39350         * bits/mman-linux.h: Add comment about non-Linux use.
39351         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39352         bits/mman-linux.h resting place.
39354         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39355         * bits/mman-linux.h: ... here.
39357 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39359         * conform/conformtest.pl: Add standard definition when calling C
39360         preprocessor on data files.
39361         (checknamespace): Remove unused variable.
39363 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39365         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39366         minus_oflow, plus_uflow and minus_uflow in expected results.
39367         * math/libm-test.inc (scalbn_test_data): Add more tests of
39368         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39369         minus_uflow.
39370         (scalbn_test): Use ALL_RM_TEST.
39371         (scalbln_test_data): Add more tests of negative arguments.  Use
39372         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39373         (scalbln_test): Use ALL_RM_TEST.
39375 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39377         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39379 2014-03-18  Will Newton  <will.newton@linaro.org>
39381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39382         inaccurate comment.
39384 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39386         * Makerules [!subdir] (check-abi): Exit with error status if a
39387         test failed.
39389 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39391         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39392         for rint.  Include results for all rounding modes.
39393         (nearbyint_test): Use ALL_RM_TEST.
39394         (rint_test_data): Include all tests used for nearbyint.
39396 2014-03-17  Will Newton  <will.newton@linaro.org>
39398         * nptl/sysdeps/pthread/pthread.h: Revert previous
39399         change.
39401         * sysdeps/generic/ldsodefs.h: Revert previous
39402         change.
39404         * libio/genops.c: Revert previous change.
39405         * libio/libioP.h: Likewise.
39406         * stdio-common/vfprintf.c: Likewise.
39408         * sysdeps/generic/math_private.h: Revert previous
39409         change.
39411         * sysdeps/generic/math_private.h: Check whether
39412         HAVE_RM_CTX is defined with #ifdef rather
39413         than #if.
39415         * argp/argp-fmtstream.h: Check whether
39416         __STRICT_ANSI__ is defined with #ifdef rather
39417         than #if.
39418         * argp/argp.h: Likewise.
39420         * libio/genops.c: Check whether
39421         _IO_JUMPS_OFFSET is defined with #ifdef rather
39422         than #if.
39423         * libio/libioP.h: Likewise.
39424         * stdio-common/vfprintf.c: Likewise.
39426         * sysdeps/generic/ldsodefs.h: Check whether
39427         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39428         than #if.
39430         * nptl/sysdeps/pthread/pthread.h: Check
39431         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39432         its value.
39434 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39436         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39437         setting O_APPEND.
39438         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39439         test case.
39441         [BZ #16680]
39442         * libio/fileops.c (_IO_file_open): Seek to end of file but
39443         don't cache the offset.
39444         (get_file_offset): Remove function.
39445         (do_ftell): Use cached offset when available.
39446         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39447         don't cache the offset.
39448         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39449         case.
39450         (do_one_test): Call it.
39451         (do_ftell_test): Fix up expected old offset for a+ mode.
39452         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39453         available.
39455         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39456         up test status with function return status.
39457         (do_write_test): Likewise.
39458         (do_append_test): Likewise.
39460         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39461         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39462         Remove.
39464 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39466         * math/gen-libm-test.pl (parse_args): Handle results specified for
39467         each rounding mode separately.
39468         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39469         tests and results from lrint_tonearest_test_data,
39470         lrint_towardzero_test_data, lrint_downward_test_data and
39471         lrint_upward_test_data.
39472         (lrint_test): Use ALL_RM_TEST.
39473         (lrint_tonearest_test_data): Remove.
39474         (lrint_test_tonearest): Likewise.
39475         (lrint_towardzero_test_data): Likewise.
39476         (lrint_test_towardzero): Likewise.
39477         (lrint_downward_test_data): Likewise.
39478         (lrint_test_downward): Likewise.
39479         (lrint_upward_test_data): Likewise.
39480         (lrint_test_upward): Likewise.
39481         (llrint_test_data): Merge in per-rounding-mode tests and results
39482         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39483         llrint_downward_test_data and llrint_upward_test_data.
39484         (llrint_test): Use ALL_RM_TEST.
39485         (llrint_tonearest_test_data): Remove.
39486         (llrint_test_tonearest): Likewise.
39487         (llrint_towardzero_test_data): Likewise.
39488         (llrint_test_towardzero): Likewise.
39489         (llrint_downward_test_data): Likewise.
39490         (llrint_test_downward): Likewise.
39491         (llrint_upward_test_data): Likewise.
39492         (llrint_test_upward): Likewise.
39493         (rint_test_data): Merge in per-rounding-mode tests and results
39494         from rint_tonearest_test_data, rint_towardzero_test_data,
39495         rint_downward_test_data and rint_upward_test_data.  Add
39496         per-rounding-mode results for tests not in those arrays.
39497         (rint_test): Use ALL_RM_TEST.
39498         (rint_tonearest_test_data): Remove.
39499         (rint_test_tonearest): Likewise.
39500         (rint_towardzero_test_data): Likewise.
39501         (rint_test_towardzero): Likewise.
39502         (rint_downward_test_data): Likewise.
39503         (rint_test_downward): Likewise.
39504         (rint_upward_test_data): Likewise.
39505         (rint_test_upward): Likewise.
39506         (main): Don't call removed functions.
39508 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39510         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39511         "Compiled on ..." crapola.  It is anti-useful.
39513 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39515         * scripts/evaluate-test.sh: Handle fourth argument to determine
39516         whether test run should stop on failure.
39517         * Makeconfig (stop-on-test-failure): New variable.
39518         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39519         $(stop-on-test-failure).
39520         * Makefile (tests): Give a summary of results from testing and
39521         exit with failure status if they include an ERROR or FAIL.
39522         (xtests): Likewise.
39523         * manual/install.texi (Configuring and compiling): Mention
39524         stop-on-test-failure=y.
39525         * INSTALL: Regenerated.
39527 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39529         * scripts/versionlist.awk: New file.
39530         * Makerules [$(build-shared) = yes]
39531         (postclean-generated): Add Versions.def, not Versions.def.v and
39532         Versions.def.v.i.
39533         ($(common-objpfx)Versions.def.v.i): Target removed.
39534         ($(common-objpfx)Versions.def): New target.
39535         ($(common-objpfx)Versions.all): Depend on that rather that
39536         $(common-objpfx)Versions.def.v.
39537         * Versions.def: File removed.
39539         * Makeconfig (+gccwarn): Add -Wundef.
39540         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39541         a dl-sysdep.h breaking its contract.
39542         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39543         * include/stackinfo.h: New file.
39544         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39545         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39546         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39547         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39548         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39549         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39550         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39551         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39552         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39553         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39554         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39555         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39556         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39557         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39558         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39560 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39562         [BZ #16707]
39563         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39564         implementation.
39565         * math/libm-test.inc (round_test_data): Add more tests.
39567         [BZ #16706]
39568         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39569         implementation.
39570         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39572         [BZ #16701]
39573         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39574         implementation.
39575         * math/libm-test.inc (ceil_test_data): Add more tests.
39577         * math/libm-test.inc (trunc_test_data): Add more tests related to
39578         BZ#16414.
39580 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39582         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39583         with #if rather than #ifdef.
39584         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39586 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39588         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39589         first.  Disable AVX-512 GCC support if assembler doesn't support
39590         it.
39591         * sysdeps/x86_64/configure: Regenerated.
39593 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39595         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39596         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39597         (__old_pthread_attr_setstack): Likewise.
39598         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39599         [!_STACK_GROWS_DOWN]: Likewise.
39601 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39603         * config.make.in (have-bash2): Delete.
39604         * configure.ac (libc_cv_have_bash2): Delete.
39605         * configure: Regenerate.
39606         * elf/Makefile (common-ldd-rewrite): Rename to ...
39607         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39608         (sh-ldd-rewrite): Delete.
39609         (bash-ldd-rewrite): Delete.
39610         (have-bash2): Delete checks.
39611         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39612         ldd-rewrite.
39614         * config.make.in (have-ksh): Delete.
39615         (KSH): Delete.
39616         * configure.ac (libc_cv_have_ksh): Delete.
39617         * configure: Regenerate.
39619         * elf/Makefile: Delete $(have-ksh) check.
39620         ($(objpfx)sotruss): Change KSH to BASH.
39621         * elf/sotruss.ksh: Rename to ...
39622         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39623         function style to match POSIX.  Drop ksh vim mode setting.
39625         * manual/time.texi (Specifying the Time Zone with TZ): Change
39626         Tuesday to Thursday.
39628         * debug/tst-longjmp_chk2.c: Update header comment.
39629         (stackoverflow_handler): Add comment.  Call assert on pass value.
39631 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39633         [BZ #16194]
39634         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39635         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39636         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39637         (La_x86_64_vector): Add zmm.
39638         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39639         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39640         ($(objpfx)tst-audit10): New target.
39641         ($(objpfx)tst-audit10.out): Likewise.
39642         (tst-audit10-ENV): New.
39643         (AVX512-CFLAGS): Likewise.
39644         (CFLAGS-tst-audit10.c): Likewise.
39645         (CFLAGS-tst-auditmod10a.c): Likewise.
39646         (CFLAGS-tst-auditmod10b.c): Likewise.
39647         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39648         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39649         * sysdeps/x86_64/configure: Regenerated.
39650         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39651         AVX-512 zmm register support.
39652         (_dl_x86_64_save_sse): Likewise.
39653         (_dl_x86_64_restore_sse): Likewise.
39654         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39655         size vector registers.
39656         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39657         (ZMM_SIZE): Likewise.
39658         * sysdeps/x86_64/tst-audit10.c: New file.
39659         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39660         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39662 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39664         * configure.ac (HAVE_EHDR_START): New check.
39665         * configure: Regenerated.
39666         * config.h.in (HAVE_EHDR_START): New #undef.
39667         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39668         assuming the lowest-addressed segment maps the start of the file.
39670 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39672         * INSTALL: Regenerated.
39674 2014-03-13  Will Newton  <will.newton@linaro.org>
39676         * manual/setjmp.texi (System V contexts): Improve
39677         clarity and grammar of documentation.
39679 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39681         [BZ #16381]
39682         * elf/Makefile (tests): Add tst-pie2.
39683         (tests-pie): Add tst-pie2.
39684         * elf/tst-pie2.c: New file.
39685         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39686         for ET_EXEC.
39687         * elf/rtld.c (map_doit): Load executable as lt_executable.
39688         (dl_main): Likewise.
39690 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39692         [BZ #16642]
39693         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39694         (__ASSUME_PSELECT): Undefine.
39696 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39698         [BZ #16689]
39699         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39700         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39701         static build.
39702         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39703         selector for static builds.
39705 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39707         [BZ #16695]
39708         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39709         key in the buffer.
39711 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39713         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39714         IFUNC selector for static builds.
39716 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39718         * sysdeps/mips/math_private.h [__mips_hard_float]
39719         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39720         libc_feresetround_mips_ctx.
39721         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39722         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39723         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39725         [BZ #16677]
39726         * math/s_nextafter.c (__nextafter): Do not return value from
39727         overflowing computation.
39728         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39729         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39730         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39731         Likewise.
39732         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39733         Likewise.
39734         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39735         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39737 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39739         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39740         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39741         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39742         the new mov targetting sp.
39744 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39746         [BZ #16683]
39747         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39748         Define it for static builds as well.
39749         (NO_BZERO_IMPL): Likewise.
39751 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39753         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39754         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39755         multiarch strspn for PPC64.
39756         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39757         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39759         (__libc_ifunc_impl_list): Likewise.
39760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39761         multiarch optimizations
39762         * string/strspn.c (strspn): Using macro to redefine symbol name.
39764 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39765             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39767         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39768         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39769         multiarch strncat for PPC64.
39770         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39771         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39773         (__libc_ifunc_impl_list): Likewise.
39774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39775         multiarch optimizations
39777 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39779         [BZ #16639]
39780         * nscd/nscd.service: Make service type forking.
39782 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39784         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39785         sign in non default rounding modes.
39786         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39788 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39790         * math/libm-test.inc (ALL_RM_TEST): New macro.
39791         (ceil_test): Use ALL_RM_TEST.
39792         (cimag_test): Likewise.
39793         (conj_test): Likewise.
39794         (copysign_test): Likewise.
39795         (cproj_test): Likewise.
39796         (creal_test): Likewise.
39797         (fabs_test): Likewise.
39798         (floor_test): Likewise.
39799         (fmax_test): Likewise.
39800         (fmin_test): Likewise.
39801         (fmod_test): Likewise.
39802         (fpclassify_test): Likewise.
39803         (frexp_test): Likewise.
39804         (ilogb_test): Likewise.
39805         (isfinite_test): Likewise.
39806         (finite_test): Likewise.
39807         (isgreater_test): Likewise.
39808         (isgreaterequal_test): Likewise.
39809         (isinf_test): Likewise.
39810         (isless_test): Likewise.
39811         (islessequal_test): Likewise.
39812         (islessgreater_test): Likewise.
39813         (isnan_test): Likewise.
39814         (isnormal_test): Likewise.
39815         (issignaling_test): Likewise.
39816         (isunordered_test): Likewise.
39817         (logb_test): Likewise.
39818         (logb_downward_test_data): Remove.
39819         (logb_test_downward): Likewise.
39820         (lround_test): Use ALL_RM_TEST.
39821         (llround_test): Likewise.
39822         (modf_test): Likewise.
39823         (nexttoward_test): Likewise.
39824         (remainder_test): Likewise.
39825         (drem_test): Likewise.
39826         (remainder_tonearest_test_data): Likewise.
39827         (remainder_test_tonearest): Likewise.
39828         (drem_test_tonearest): Likewise.
39829         (remainder_towardzero_test_data): Likewise.
39830         (remainder_test_towardzero): Likewise.
39831         (drem_test_towardzero): Likewise.
39832         (remainder_downward_test_data): Likewise.
39833         (remainder_test_downward): Likewise.
39834         (drem_test_downward): Likewise.
39835         (remainder_upward_test_data): Likewise.
39836         (remainder_test_upward): Likewise.
39837         (drem_test_upward): Likewise.
39838         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39839         (round_test): Use ALL_RM_TEST.
39840         (signbit_test): Likewise.
39841         (trunc_test): Likewise.
39842         (significand_test): Likewise.
39843         (main): Don't call removed functions.
39845 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39847         [BZ #16674]
39848         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39849         || __USE_XOPEN2K8].
39850         (ILL_ILLOPN): Likewise.
39851         (ILL_ILLADR): Likewise.
39852         (ILL_ILLTRP): Likewise.
39853         (ILL_PRVOPC): Likewise.
39854         (ILL_PRVREG): Likewise.
39855         (ILL_COPROC): Likewise.
39856         (ILL_BADSTK): Likewise.
39857         (FPE_INTDIV): Likewise.
39858         (FPE_INTOVF): Likewise.
39859         (FPE_FLTDIV): Likewise.
39860         (FPE_FLTOVF): Likewise.
39861         (FPE_FLTUND): Likewise.
39862         (FPE_FLTRES): Likewise.
39863         (FPE_FLTINV): Likewise.
39864         (FPE_FLTSUB): Likewise.
39865         (SEGV_MAPERR): Likewise.
39866         (SEGV_ACCERR): Likewise.
39867         (BUS_ADRALN): Likewise.
39868         (BUS_ADRERR): Likewise.
39869         (BUS_OBJERR): Likewise.
39870         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39871         (TRAP_TRACE): Likewise.
39872         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39873         __USE_XOPEN2K8].
39874         (CLD_KILLED): Likewise.
39875         (CLD_DUMPED): Likewise.
39876         (CLD_TRAPPED): Likewise.
39877         (CLD_STOPPED): Likewise.
39878         (CLD_CONTINUED): Likewise.
39879         (POLL_IN): Likewise.
39880         (POLL_OUT): Likewise.
39881         (POLL_MSG): Likewise.
39882         (POLL_ERR): Likewise.
39883         (POLL_PRI): Likewise.
39884         (POLL_HUP): Likewise.
39885         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39886         Likewise.
39887         (ILL_ILLOPN): Likewise.
39888         (ILL_ILLADR): Likewise.
39889         (ILL_ILLTRP): Likewise.
39890         (ILL_PRVOPC): Likewise.
39891         (ILL_PRVREG): Likewise.
39892         (ILL_COPROC): Likewise.
39893         (ILL_BADSTK): Likewise.
39894         (FPE_INTDIV): Likewise.
39895         (FPE_INTOVF): Likewise.
39896         (FPE_FLTDIV): Likewise.
39897         (FPE_FLTOVF): Likewise.
39898         (FPE_FLTUND): Likewise.
39899         (FPE_FLTRES): Likewise.
39900         (FPE_FLTINV): Likewise.
39901         (FPE_FLTSUB): Likewise.
39902         (SEGV_MAPERR): Likewise.
39903         (SEGV_ACCERR): Likewise.
39904         (BUS_ADRALN): Likewise.
39905         (BUS_ADRERR): Likewise.
39906         (BUS_OBJERR): Likewise.
39907         (BUS_MCEERR_AR): Likewise.
39908         (BUS_MCEERR_AO): Likewise.
39909         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39910         (TRAP_TRACE): Likewise.
39911         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39912         __USE_XOPEN2K8].
39913         (CLD_KILLED): Likewise.
39914         (CLD_DUMPED): Likewise.
39915         (CLD_TRAPPED): Likewise.
39916         (CLD_STOPPED): Likewise.
39917         (CLD_CONTINUED): Likewise.
39918         (POLL_IN): Likewise.
39919         (POLL_OUT): Likewise.
39920         (POLL_MSG): Likewise.
39921         (POLL_ERR): Likewise.
39922         (POLL_PRI): Likewise.
39923         (POLL_HUP): Likewise.
39924         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39925         (ILL_ILLOPN): Likewise.
39926         (ILL_ILLADR): Likewise.
39927         (ILL_ILLTRP): Likewise.
39928         (ILL_PRVOPC): Likewise.
39929         (ILL_PRVREG): Likewise.
39930         (ILL_COPROC): Likewise.
39931         (ILL_BADSTK): Likewise.
39932         (FPE_INTDIV): Likewise.
39933         (FPE_INTOVF): Likewise.
39934         (FPE_FLTDIV): Likewise.
39935         (FPE_FLTOVF): Likewise.
39936         (FPE_FLTUND): Likewise.
39937         (FPE_FLTRES): Likewise.
39938         (FPE_FLTINV): Likewise.
39939         (FPE_FLTSUB): Likewise.
39940         (SEGV_MAPERR): Likewise.
39941         (SEGV_ACCERR): Likewise.
39942         (BUS_ADRALN): Likewise.
39943         (BUS_ADRERR): Likewise.
39944         (BUS_OBJERR): Likewise.
39945         (BUS_MCEERR_AR): Likewise.
39946         (BUS_MCEERR_AO): Likewise.
39947         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39948         (TRAP_TRACE): Likewise.
39949         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39950         __USE_XOPEN2K8].
39951         (CLD_KILLED): Likewise.
39952         (CLD_DUMPED): Likewise.
39953         (CLD_TRAPPED): Likewise.
39954         (CLD_STOPPED): Likewise.
39955         (CLD_CONTINUED): Likewise.
39956         (POLL_IN): Likewise.
39957         (POLL_OUT): Likewise.
39958         (POLL_MSG): Likewise.
39959         (POLL_ERR): Likewise.
39960         (POLL_PRI): Likewise.
39961         (POLL_HUP): Likewise.
39962         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39963         Likewise.
39964         (ILL_ILLOPN): Likewise.
39965         (ILL_ILLADR): Likewise.
39966         (ILL_ILLTRP): Likewise.
39967         (ILL_PRVOPC): Likewise.
39968         (ILL_PRVREG): Likewise.
39969         (ILL_COPROC): Likewise.
39970         (ILL_BADSTK): Likewise.
39971         (ILL_BADIADDR): Likewise.
39972         (ILL_BREAK): Likewise.
39973         (FPE_INTDIV): Likewise.
39974         (FPE_INTOVF): Likewise.
39975         (FPE_FLTDIV): Likewise.
39976         (FPE_FLTOVF): Likewise.
39977         (FPE_FLTUND): Likewise.
39978         (FPE_FLTRES): Likewise.
39979         (FPE_FLTINV): Likewise.
39980         (FPE_FLTSUB): Likewise.
39981         (FPE_DECOVF): Likewise.
39982         (FPE_DECDIV): Likewise.
39983         (FPE_DECERR): Likewise.
39984         (FPE_INVASC): Likewise.
39985         (FPE_INVDEC): Likewise.
39986         (SEGV_MAPERR): Likewise.
39987         (SEGV_ACCERR): Likewise.
39988         (SEGV_PSTKOVF): Likewise.
39989         (BUS_ADRALN): Likewise.
39990         (BUS_ADRERR): Likewise.
39991         (BUS_OBJERR): Likewise.
39992         (BUS_MCEERR_AR): Likewise.
39993         (BUS_MCEERR_AO): Likewise.
39994         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39995         (TRAP_TRACE): Likewise.
39996         (TRAP_BRANCH): Likewise.
39997         (TRAP_HWBKPT): Likewise.
39998         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39999         __USE_XOPEN2K8].
40000         (CLD_KILLED): Likewise.
40001         (CLD_DUMPED): Likewise.
40002         (CLD_TRAPPED): Likewise.
40003         (CLD_STOPPED): Likewise.
40004         (CLD_CONTINUED): Likewise.
40005         (POLL_IN): Likewise.
40006         (POLL_OUT): Likewise.
40007         (POLL_MSG): Likewise.
40008         (POLL_ERR): Likewise.
40009         (POLL_PRI): Likewise.
40010         (POLL_HUP): Likewise.
40011         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
40012         (ILL_ILLOPN): Likewise.
40013         (ILL_ILLADR): Likewise.
40014         (ILL_ILLTRP): Likewise.
40015         (ILL_PRVOPC): Likewise.
40016         (ILL_PRVREG): Likewise.
40017         (ILL_COPROC): Likewise.
40018         (ILL_BADSTK): Likewise.
40019         (FPE_INTDIV): Likewise.
40020         (FPE_INTOVF): Likewise.
40021         (FPE_FLTDIV): Likewise.
40022         (FPE_FLTOVF): Likewise.
40023         (FPE_FLTUND): Likewise.
40024         (FPE_FLTRES): Likewise.
40025         (FPE_FLTINV): Likewise.
40026         (FPE_FLTSUB): Likewise.
40027         (SEGV_MAPERR): Likewise.
40028         (SEGV_ACCERR): Likewise.
40029         (BUS_ADRALN): Likewise.
40030         (BUS_ADRERR): Likewise.
40031         (BUS_OBJERR): Likewise.
40032         (BUS_MCEERR_AR): Likewise.
40033         (BUS_MCEERR_AO): Likewise.
40034         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40035         (TRAP_TRACE): Likewise.
40036         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40037         __USE_XOPEN2K8].
40038         (CLD_KILLED): Likewise.
40039         (CLD_DUMPED): Likewise.
40040         (CLD_TRAPPED): Likewise.
40041         (CLD_STOPPED): Likewise.
40042         (CLD_CONTINUED): Likewise.
40043         (POLL_IN): Likewise.
40044         (POLL_OUT): Likewise.
40045         (POLL_MSG): Likewise.
40046         (POLL_ERR): Likewise.
40047         (POLL_PRI): Likewise.
40048         (POLL_HUP): Likewise.
40049         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
40050         (ILL_ILLOPN): Likewise.
40051         (ILL_ILLADR): Likewise.
40052         (ILL_ILLTRP): Likewise.
40053         (ILL_PRVOPC): Likewise.
40054         (ILL_PRVREG): Likewise.
40055         (ILL_COPROC): Likewise.
40056         (ILL_BADSTK): Likewise.
40057         (FPE_INTDIV): Likewise.
40058         (FPE_INTOVF): Likewise.
40059         (FPE_FLTDIV): Likewise.
40060         (FPE_FLTOVF): Likewise.
40061         (FPE_FLTUND): Likewise.
40062         (FPE_FLTRES): Likewise.
40063         (FPE_FLTINV): Likewise.
40064         (FPE_FLTSUB): Likewise.
40065         (SEGV_MAPERR): Likewise.
40066         (SEGV_ACCERR): Likewise.
40067         (BUS_ADRALN): Likewise.
40068         (BUS_ADRERR): Likewise.
40069         (BUS_OBJERR): Likewise.
40070         (BUS_MCEERR_AR): Likewise.
40071         (BUS_MCEERR_AO): Likewise.
40072         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40073         (TRAP_TRACE): Likewise.
40074         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40075         __USE_XOPEN2K8].
40076         (CLD_KILLED): Likewise.
40077         (CLD_DUMPED): Likewise.
40078         (CLD_TRAPPED): Likewise.
40079         (CLD_STOPPED): Likewise.
40080         (CLD_CONTINUED): Likewise.
40081         (POLL_IN): Likewise.
40082         (POLL_OUT): Likewise.
40083         (POLL_MSG): Likewise.
40084         (POLL_ERR): Likewise.
40085         (POLL_PRI): Likewise.
40086         (POLL_HUP): Likewise.
40087         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
40088         (ILL_ILLOPN): Likewise.
40089         (ILL_ILLADR): Likewise.
40090         (ILL_ILLTRP): Likewise.
40091         (ILL_PRVOPC): Likewise.
40092         (ILL_PRVREG): Likewise.
40093         (ILL_COPROC): Likewise.
40094         (ILL_BADSTK): Likewise.
40095         (FPE_INTDIV): Likewise.
40096         (FPE_INTOVF): Likewise.
40097         (FPE_FLTDIV): Likewise.
40098         (FPE_FLTOVF): Likewise.
40099         (FPE_FLTUND): Likewise.
40100         (FPE_FLTRES): Likewise.
40101         (FPE_FLTINV): Likewise.
40102         (FPE_FLTSUB): Likewise.
40103         (SEGV_MAPERR): Likewise.
40104         (SEGV_ACCERR): Likewise.
40105         (BUS_ADRALN): Likewise.
40106         (BUS_ADRERR): Likewise.
40107         (BUS_OBJERR): Likewise.
40108         (BUS_MCEERR_AR): Likewise.
40109         (BUS_MCEERR_AO): Likewise.
40110         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40111         (TRAP_TRACE): Likewise.
40112         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40113         __USE_XOPEN2K8].
40114         (CLD_KILLED): Likewise.
40115         (CLD_DUMPED): Likewise.
40116         (CLD_TRAPPED): Likewise.
40117         (CLD_STOPPED): Likewise.
40118         (CLD_CONTINUED): Likewise.
40119         (POLL_IN): Likewise.
40120         (POLL_OUT): Likewise.
40121         (POLL_MSG): Likewise.
40122         (POLL_ERR): Likewise.
40123         (POLL_PRI): Likewise.
40124         (POLL_HUP): Likewise.
40125         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
40126         (ILL_ILLOPN): Likewise.
40127         (ILL_ILLADR): Likewise.
40128         (ILL_ILLTRP): Likewise.
40129         (ILL_PRVOPC): Likewise.
40130         (ILL_PRVREG): Likewise.
40131         (ILL_COPROC): Likewise.
40132         (ILL_BADSTK): Likewise.
40133         (ILL_DBLFLT): Likewise.
40134         (ILL_HARDWALL): Likewise.
40135         (FPE_INTDIV): Likewise.
40136         (FPE_INTOVF): Likewise.
40137         (FPE_FLTDIV): Likewise.
40138         (FPE_FLTOVF): Likewise.
40139         (FPE_FLTUND): Likewise.
40140         (FPE_FLTRES): Likewise.
40141         (FPE_FLTINV): Likewise.
40142         (FPE_FLTSUB): Likewise.
40143         (SEGV_MAPERR): Likewise.
40144         (SEGV_ACCERR): Likewise.
40145         (BUS_ADRALN): Likewise.
40146         (BUS_ADRERR): Likewise.
40147         (BUS_OBJERR): Likewise.
40148         (BUS_MCEERR_AR): Likewise.
40149         (BUS_MCEERR_AO): Likewise.
40150         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40151         (TRAP_TRACE): Likewise.
40152         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40153         __USE_XOPEN2K8].
40154         (CLD_KILLED): Likewise.
40155         (CLD_DUMPED): Likewise.
40156         (CLD_TRAPPED): Likewise.
40157         (CLD_STOPPED): Likewise.
40158         (CLD_CONTINUED): Likewise.
40159         (POLL_IN): Likewise.
40160         (POLL_OUT): Likewise.
40161         (POLL_MSG): Likewise.
40162         (POLL_ERR): Likewise.
40163         (POLL_PRI): Likewise.
40164         (POLL_HUP): Likewise.
40165         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
40166         (ILL_ILLOPN): Likewise.
40167         (ILL_ILLADR): Likewise.
40168         (ILL_ILLTRP): Likewise.
40169         (ILL_PRVOPC): Likewise.
40170         (ILL_PRVREG): Likewise.
40171         (ILL_COPROC): Likewise.
40172         (ILL_BADSTK): Likewise.
40173         (FPE_INTDIV): Likewise.
40174         (FPE_INTOVF): Likewise.
40175         (FPE_FLTDIV): Likewise.
40176         (FPE_FLTOVF): Likewise.
40177         (FPE_FLTUND): Likewise.
40178         (FPE_FLTRES): Likewise.
40179         (FPE_FLTINV): Likewise.
40180         (FPE_FLTSUB): Likewise.
40181         (SEGV_MAPERR): Likewise.
40182         (SEGV_ACCERR): Likewise.
40183         (BUS_ADRALN): Likewise.
40184         (BUS_ADRERR): Likewise.
40185         (BUS_OBJERR): Likewise.
40186         (BUS_MCEERR_AR): Likewise.
40187         (BUS_MCEERR_AO): Likewise.
40188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40189         (TRAP_TRACE): Likewise.
40190         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40191         __USE_XOPEN2K8].
40192         (CLD_KILLED): Likewise.
40193         (CLD_DUMPED): Likewise.
40194         (CLD_TRAPPED): Likewise.
40195         (CLD_STOPPED): Likewise.
40196         (CLD_CONTINUED): Likewise.
40197         (POLL_IN): Likewise.
40198         (POLL_OUT): Likewise.
40199         (POLL_MSG): Likewise.
40200         (POLL_ERR): Likewise.
40201         (POLL_PRI): Likewise.
40202         (POLL_HUP): Likewise.
40203         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40204         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40206         [BZ #16670]
40207         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40208         before #include of <time.h>.
40209         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40210         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40211         (test-xfail-UNIX98/sched.h/conform): Likewise.
40213 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40215         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40216         error absence of trapping exception support.
40217         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40219 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40221         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40222         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40223         * timezone/Makefile (testdata): Move definition above include of
40224         Rules.
40225         (test-zones): New variable.
40226         (tests-special): Add zone files.
40227         (build-testdata): Use $(evaluate-test).
40229         * elf/Makefile (tests-special): Rename tests to end with .out.
40230         ($(objpfx)noload-mem): Likewise.
40231         ($(objpfx)tst-leaks1-mem): Likewise.
40232         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40233         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40234         $(objpfx)test-iconvconfig.out.
40235         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40236         set -e inside subshell and redirect output to file.
40237         * iconvdata/Makefile (generated): Rename tests to end with .out.
40238         Correct type.
40239         (tests-special): Rename tests to end with .out.
40240         ($(objpfx)mtrace-tst-loading): Likewise.
40241         * intl/Makefile (generated): Likewise.
40242         (tests-special): Likewise.
40243         ($(objpfx)mtrace-tst-gettext): Likewise.
40244         * misc/Makefile (generated): Likewise.
40245         (tests-special): Likewise.
40246         ($(objpfx)tst-error1-mem): Likewise.
40247         * nptl/Makefile (tests-special): Likewise.
40248         ($(objpfx)tst-stack3-mem): Likewise.
40249         (generated): Likewise.
40250         * posix/Makefile (generated): Likewise.
40251         (tests-special): Likewise.
40252         (xtests-special): Likewise.
40253         ($(objpfx)tst-fnmatch-mem): Likewise.
40254         ($(objpfx)bug-regex2-mem): Likewise.
40255         ($(objpfx)bug-regex14-mem): Likewise.
40256         ($(objpfx)bug-regex21-mem): Likewise.
40257         ($(objpfx)bug-regex31-mem): Likewise.
40258         ($(objpfx)tst-vfork3-mem): Likewise.
40259         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40260         ($(objpfx)tst-pcre-mem): Likewise.
40261         ($(objpfx)tst-boost-mem): Likewise.
40262         ($(objpfx)bug-ga2-mem): Likewise.
40263         ($(objpfx)bug-glob2-mem): Likewise.
40264         * resolv/Makefile (generate): Likewise.
40265         (tests-special): Likewise.
40266         (xtests-special): Likewise.
40267         (generated): Likewise.
40268         ($(objpfx)mtrace-tst-leaks): Likewise.
40269         ($(objpfx)mtrace-tst-leaks2): Likewise.
40271         * scripts/merge-test-results.sh: New file.
40272         * Makefile (tests-special-notdir): New variable.
40273         (tests): Run merge-test-results.sh.
40274         (xtests): Likewise.
40275         * Rules (tests-special-notdir): New variable.
40276         (xtests-special-notdir): Likewise.
40277         (tests): Run merge-test-results.sh
40278         (xtests): Likewise.
40280         * Makeconfig (test-xfail-name): New variable.
40281         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40282         compute variable name for expected failures.
40283         * conform/Makefile (conformtest-headers-data): New variable.
40284         (conformtest-standards): Likewise.
40285         (conformtest-headers-ISO): Likewise.
40286         (conformtest-headers-ISO99): Likewise.
40287         (conformtest-headers-ISO11): Likewise.
40288         (conformtest-headers-POSIX): Likewise.
40289         (conformtest-headers-XPG3): Likewise.
40290         (conformtest-headers-XPG4): Likewise.
40291         (conformtest-headers-UNIX98): Likewise.
40292         (conformtest-headers-XOPEN2K): Likewise.
40293         (conformtest-headers-POSIX2008): Likewise.
40294         (conformtest-headers-XOPEN2K8): Likewise.
40295         (conformtest-header-list-base): Likewise.
40296         (conformtest-header-list-tests): Likewise.
40297         (conformtest-header-base): Likewise.
40298         (conformtest-header-tests): Likewise.
40299         (tests-special): Add $(conformtest-header-list-tests).  If
40300         [$(fast-check) && !$(cross-compiling)], add
40301         $(conformtest-header-tests) instead of
40302         $(objpfx)run-conformtest.out.
40303         (generated): Add $(conformtest-header-list-base).  If
40304         [$(fast-check) && !$(cross-compiling)], add
40305         $(conformtest-header-base).  Remove previous setting.
40306         ($(conformtest-header-list-tests)): New target.
40307         (test-xfail-run-conformtest): Remove variable.
40308         ($(objpfx)run-conformtest.out): Remove target.
40309         (test-xfail-ISO11/complex.h/conform): New variable.
40310         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40311         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40312         (test-xfail-XPG3/varargs.h/conform): Likewise.
40313         (test-xfail-XPG4/varargs.h/conform): Likewise.
40314         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40315         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40316         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40317         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40318         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40319         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40320         (test-xfail-XPG3/ftw.h/conform): Likewise.
40321         (test-xfail-XPG3/grp.h/conform): Likewise.
40322         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40323         (test-xfail-XPG3/limits.h/conform): Likewise.
40324         (test-xfail-XPG3/pwd.h/conform): Likewise.
40325         (test-xfail-XPG3/search.h/conform): Likewise.
40326         (test-xfail-XPG3/signal.h/conform): Likewise.
40327         (test-xfail-XPG3/stdio.h/conform): Likewise.
40328         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40329         (test-xfail-XPG3/string.h/conform): Likewise.
40330         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40331         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40332         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40333         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40334         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40335         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40336         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40337         (test-xfail-XPG3/termios.h/conform): Likewise.
40338         (test-xfail-XPG3/time.h/conform): Likewise.
40339         (test-xfail-XPG3/unistd.h/conform): Likewise.
40340         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40341         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40342         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40343         (test-xfail-XPG4/netdb.h/conform): Likewise.
40344         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40345         (test-xfail-XPG4/signal.h/conform): Likewise.
40346         (test-xfail-XPG4/stdio.h/conform): Likewise.
40347         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40348         (test-xfail-XPG4/stropts.h/conform): Likewise.
40349         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40350         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40351         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40352         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40353         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40354         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40355         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40356         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40357         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40358         (test-xfail-XPG4/termios.h/conform): Likewise.
40359         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40360         (test-xfail-XPG4/unistd.h/conform): Likewise.
40361         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40362         (test-xfail-POSIX/sched.h/conform): Likewise.
40363         (test-xfail-POSIX/signal.h/conform): Likewise.
40364         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40365         (test-xfail-POSIX/tar.h/conform): Likewise.
40366         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40367         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40368         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40369         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40370         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40371         (test-xfail-UNIX98/sched.h/conform): Likewise.
40372         (test-xfail-UNIX98/signal.h/conform): Likewise.
40373         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40374         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40375         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40376         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40377         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40378         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40379         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40380         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40381         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40382         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40383         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40384         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40385         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40386         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40387         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40388         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40389         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40390         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40391         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40392         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40393         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40394         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40395         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40396         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40397         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40398         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40399         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40400         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40401         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40402         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40403         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40404         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40405         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40406         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40407         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40408         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40409         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40410         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40411         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40412         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40413         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40414         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40415         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40416         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40417         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40418         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40419         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40420         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40421         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40422         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40423         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40424         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40425         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40426         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40427         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40428         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40429         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40430         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40431         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40432         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40433         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40434         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40435         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40436         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40437         (conformtest-cc-flags): Likewise.
40438         ($(conformtest-header-tests): New target.
40439         * conform/check-header-lists.sh: New file.
40440         * conform/run-conformtest.sh: Remove.
40442         * conform/conformtest.pl: Allow ' and \ in values given for
40443         constants.
40444         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40445         inclusion.
40446         [POSIX] (sys/types.h): Likewise.
40447         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40448         inclusion.
40449         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40450         inclusion.
40451         * conform/data/signal.h-data (SIGIO): Remove expectation.
40452         [XPG3] (SIGBUS): Do not expect.
40453         [POSIX || XPG3] (SIGPOLL): Likewise.
40454         [POSIX || XPG3] (SIGPROF): Likewise.
40455         [POSIX || XPG3] (SIGSYS): Likewise.
40456         [XPG3] (SIGTRAP): Likewise.
40457         [POSIX || XPG3] (SIGURG): Likewise.
40458         [POSIX || XPG3] (SIGVTALRM): Likewise.
40459         [POSIX || XPG3] (SIGXCPU): Likewise.
40460         [POSIX || XPG3] (SIGXFSZ): Likewise.
40461         [POSIX] (SA_SIGINFO): Expect.
40462         [XPG3] (siginfo_t): Do not expect type or contents.
40463         [POSIX] (si_pid): Do not expect element.
40464         [POSIX] (si_uid): Likewise.
40465         [POSIX] (si_addr): Likewise.
40466         [POSIX] (si_status): Likewise.
40467         [POSIX] (si_band): Likewise.
40468         [XPG4] (si_value): Likewise.
40469         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40470         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40471         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40472         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40473         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40474         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40475         [POSIX || XPG3] (ILL_COPROC): Likewise.
40476         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40477         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40478         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40479         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40480         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40481         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40482         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40483         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40484         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40485         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40486         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40487         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40488         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40489         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40490         [POSIX || XPG3] (CLD_EXITED): Likewise.
40491         [POSIX || XPG3] (CLD_KILLED): Likewise.
40492         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40493         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40494         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40495         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40496         [POSIX || XPG3] (POLL_IN): Likewise.
40497         [POSIX || XPG3] (POLL_OUT): Likewise.
40498         [POSIX || XPG3] (POLL_MSG): Likewise.
40499         [POSIX || XPG3] (POLL_ERR): Likewise.
40500         [POSIX || XPG3] (POLL_PRI): Likewise.
40501         [POSIX || XPG3] (POLL_HUP): Likewise.
40502         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40503         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40504         (SIG*): Do not allow.
40505         [XPG3] (si_*): Likewise.
40506         [XPG3] (SI_*): Likewise.
40507         [XPG3 || XPG4] (sigev_*): Likewise.
40508         [XPG3 || XPG4] (SIGEV_*): Likewise.
40509         [XPG3 || XPG4] (sival_*): Likewise.
40510         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40511         [POSIX || XPG3] (BUS_*): Likewise.
40512         [POSIX || XPG3] (CLD_*): Likewise.
40513         [POSIX || XPG3] (FPE_*): Likewise.
40514         [POSIX || XPG3] (ILL_*): Likewise.
40515         [POSIX || XPG3] (POLL_*): Likewise.
40516         [POSIX || XPG3] (SEGV_*): Likewise.
40517         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40518         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40519         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40520         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40521         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40522         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40523         Specify type and value.
40524         (TVERSLEN): Likewise.
40525         (REGTYPE): Likewise.
40526         (AREGTYPE): Likewise.
40527         (LNKTYPE): Likewise.
40528         (SYMTYPE): Likewise.
40529         (CHRTYPE): Likewise.
40530         (BLKTYPE): Likewise.
40531         (DIRTYPE): Likewise.
40532         (FIFOTYPE): Likewise.
40533         (CONTTYPE): Likewise.
40534         (TSUID): Likewise.
40535         (TSGID): Likewise.
40536         (TSVTX): Likewise.
40537         (TUREAD): Likewise.
40538         (TUWRITE): Likewise.
40539         (TUEXEC): Likewise.
40540         (TGREAD): Likewise.
40541         (TGWRITE): Likewise.
40542         (TGEXEC): Likewise.
40543         (TOREAD): Likewise.
40544         (TOWRITE): Likewise.
40545         (TOEXEC): Likewise.
40546         [POSIX] (TSVTX): Expect constant.
40548 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40550         * Makefile (tests): Change dependencies to ....
40551         (tests-special): ... additions to this variable.
40552         (tests): Depend on $(tests-special).
40553         * Makerules (check-abi-list): New variable.
40554         (check-abi): Depend on $(check-abi-list).
40555         [$(subdir) = elf] (tests-special): Add
40556         $(objpfx)check-abi-libc.out.
40557         [$(build-shared) = yes && subdir] (tests-special): Add
40558         $(check-abi-list).
40559         [$(build-shared) = yes && subdir] (tests): Do not depend on
40560         check-abi.
40561         * Rules (tests): Depend on $(tests-special).
40562         (xtests): Depend on $(xtests-special).
40563         * catgets/Makefile (tests): Change dependencies to ....
40564         (tests-special): ... additions to this variable.
40565         * conform/Makefile (tests): Change dependencies to ....
40566         (tests-special): ... additions to this variable.
40567         * elf/Makefile (tests): Change dependencies to ....
40568         (tests-special): ... additions to this variable.
40569         * grp/Makefile (tests): Change dependencies to ....
40570         (tests-special): ... additions to this variable.
40571         * iconv/Makefile (xtests): Change dependencies to ....
40572         (xtests-special): ... additions to this variable.
40573         * iconvdata/Makefile (tests): Change dependencies to ....
40574         (tests-special): ... additions to this variable.
40575         * intl/Makefile (tests): Change dependencies to ....
40576         (tests-special): ... additions to this variable.  Also add
40577         $(objpfx)tst-gettext.out.
40578         * io/Makefile (tests): Change dependencies to ....
40579         (tests-special): ... additions to this variable.
40580         * libio/Makefile (tests): Change dependencies to ....
40581         (tests-special): ... additions to this variable.
40582         * malloc/Makefile (tests): Change dependencies to ....
40583         (tests-special): ... additions to this variable.
40584         * misc/Makefile (tests): Change dependencies to ....
40585         (tests-special): ... additions to this variable.
40586         * nptl/Makefile (tests): Change dependencies to ....
40587         (tests-special): ... additions to this variable.
40588         * nptl_db/Makefile (tests): Change dependencies to ....
40589         (tests-special): ... additions to this variable.
40590         * posix/Makefile (tests): Change dependencies to ....
40591         (tests-special): ... additions to this variable.
40592         (xtests): Change dependencies to ....
40593         (xtests-special): ... additions to this variable.
40594         * resolv/Makefile (tests): Change dependencies to ....
40595         (tests-special): ... additions to this variable.
40596         (xtests): Change dependencies to ....
40597         (xtests-special): ... additions to this variable.
40598         * stdio-common/Makefile (tests): Change dependencies to ....
40599         (tests-special): ... additions to this variable.
40600         (do-tst-unbputc): Remove target.
40601         (do-tst-printf): Likewise.
40602         * stdlib/Makefile (tests): Change dependencies to ....
40603         (tests-special): ... additions to this variable.
40604         * string/Makefile (tests): Change dependencies to ....
40605         (tests-special): ... additions to this variable.
40606         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40607         (tests-special): ... additions to this variable.
40609         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40610         whole file.
40611         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40612         whole file.
40613         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40614         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40616         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40617         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40618         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40619         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40620         * conform/data/libgen.h-data [XPG3]: Likewise.
40621         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40622         * conform/data/ndbm.h-data [XPG3]: Likewise.
40623         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40624         * conform/data/netdb.h-data [XPG3]: Likewise.
40625         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40626         * conform/data/poll.h-data [XPG3]: Likewise.
40627         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40628         * conform/data/strings.h-data [XPG3]: Likewise.
40629         * conform/data/stropts.h-data [XPG3]: Likewise.
40630         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40631         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40632         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40633         Likewise.
40634         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40635         * conform/data/sys/time.h-data [XPG3]: Likewise.
40636         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40637         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40638         * conform/data/sys/un.h-data [XPG3]: Likewise.
40639         * conform/data/syslog.h-data [XPG3]: Likewise.
40640         * conform/data/ucontext.h-data [XPG3]: Likewise.
40641         * conform/data/utmpx.h-data [XPG3]: Likewise.
40642         * conform/data/varargs.h-data [UNIX98]: Enable file.
40644         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40646         * math/libm-test.inc (struct test_f_f_data): Move expected results
40647         into structure for each rounding mode.
40648         (struct test_ff_f_data): Likewise.
40649         (struct test_ff_f_data_nexttoward): Likewise.
40650         (struct test_fi_f_data): Likewise.
40651         (struct test_fl_f_data): Likewise.
40652         (struct test_if_f_data): Likewise.
40653         (struct test_fff_f_data): Likewise.
40654         (struct test_c_f_data): Likewise.
40655         (struct test_f_f1_data): Likewise.
40656         (struct test_fF_f1_data): Likewise.
40657         (struct test_ffI_f1_data): Likewise.
40658         (struct test_c_c_data): Likewise.
40659         (struct test_cc_c_data): Likewise.
40660         (struct test_f_i_data): Likewise.
40661         (struct test_ff_i_data): Likewise.
40662         (struct test_f_l_data): Likewise.
40663         (struct test_f_L_data): Likewise.
40664         (struct test_fFF_11_data): Likewise.
40665         (RM_): New macro.
40666         (RM_FE_DOWNWARD): Likewise.
40667         (RM_FE_TONEAREST): Likewise.
40668         (RM_FE_TOWARDZERO): Likewise.
40669         (RM_FE_UPWARD): Likewise.
40670         (RUN_TEST_LOOP_f_f): Update references to expected results.
40671         (RUN_TEST_LOOP_2_f): Likewise.
40672         (RUN_TEST_LOOP_fff_f): Likewise.
40673         (RUN_TEST_LOOP_c_f): Likewise.
40674         (RUN_TEST_LOOP_f_f1): Likewise.
40675         (RUN_TEST_LOOP_fF_f1): Likewise.
40676         (RUN_TEST_LOOP_fI_f1): Likewise.
40677         (RUN_TEST_LOOP_ffI_f1): Likewise.
40678         (RUN_TEST_LOOP_c_c): Likewise.
40679         (RUN_TEST_LOOP_cc_c): Likewise.
40680         (RUN_TEST_LOOP_f_i): Likewise.
40681         (RUN_TEST_LOOP_f_i_tg): Likewise.
40682         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40683         (RUN_TEST_LOOP_f_b): Likewise.
40684         (RUN_TEST_LOOP_f_b_tg): Likewise.
40685         (RUN_TEST_LOOP_f_l): Likewise.
40686         (RUN_TEST_LOOP_f_L): Likewise.
40687         (RUN_TEST_LOOP_fFF_11): Likewise.
40688         * math/gen-libm-test.pl (parse_args): Output four copies of
40689         expected results for each test.
40691         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40692         (__ASSUME_UTIMES): Remove.
40693         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40694         (__ASSUME_UTIMES): Likewise.
40696         * math/gen-auto-libm-tests.c: Update comment on output format.
40697         (output_for_one_input_case): Generate before-rounding and
40698         after-rounding information as conditions on output flags not
40699         floating-point format.
40700         * math/auto-libm-test-out: Regenerated.
40701         * math/gen-libm-test.pl (cond_value): New function.
40702         (or_cond_value): Use cond_value.
40703         (generate_testfile): Handle conditional exceptions.
40705 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40707         * math/libm-test.inc (max_valid_error): New variable.
40708         (init_max_error): Take new argument specifying whether function
40709         results are exactly determined.  Set max_valid_error and bound
40710         other variables for errors based on this argument.
40711         (set_max_error): Do not record results above max_valid_error.
40712         (check_float_internal): Only accept errors of up to 0.5ulps if
40713         also at most max_valid_error.
40714         (START): Take new argument EXACT and pass it to init_max_error.
40715         (acos_test): Update call to START.
40716         (acos_test_tonearest): Likewise.
40717         (acos_test_towardzero): Likewise.
40718         (acos_test_downward): Likewise.
40719         (acos_test_upward): Likewise.
40720         (acosh_test): Likewise.
40721         (asin_test): Likewise.
40722         (asin_test_tonearest): Likewise.
40723         (asin_test_towardzero): Likewise.
40724         (asin_test_downward): Likewise.
40725         (asin_test_upward): Likewise.
40726         (asinh_test): Likewise.
40727         (atan_test): Likewise.
40728         (atanh_test): Likewise.
40729         (atan2_test): Likewise.
40730         (cabs_test): Likewise.
40731         (cacos_test): Likewise.
40732         (cacosh_test): Likewise.
40733         (carg_test): Likewise.
40734         (casin_test): Likewise.
40735         (casinh_test): Likewise.
40736         (catan_test): Likewise.
40737         (catanh_test): Likewise.
40738         (cbrt_test): Likewise.
40739         (ccos_test): Likewise.
40740         (ccosh_test): Likewise.
40741         (ceil_test): Likewise.
40742         (cexp_test): Likewise.
40743         (cimag_test): Likewise.
40744         (clog_test): Likewise.
40745         (clog10_test): Likewise.
40746         (conj_test): Likewise.
40747         (copysign_test): Likewise.
40748         (cos_test): Likewise.
40749         (cos_test_tonearest): Likewise.
40750         (cos_test_towardzero): Likewise.
40751         (cos_test_downward): Likewise.
40752         (cos_test_upward): Likewise.
40753         (cosh_test): Likewise.
40754         (cosh_test_tonearest): Likewise.
40755         (cosh_test_towardzero): Likewise.
40756         (cosh_test_downward): Likewise.
40757         (cosh_test_upward): Likewise.
40758         (cpow_test): Likewise.
40759         (cproj_test): Likewise.
40760         (creal_test): Likewise.
40761         (csin_test): Likewise.
40762         (csinh_test): Likewise.
40763         (csqrt_test): Likewise.
40764         (ctan_test): Likewise.
40765         (ctan_test_tonearest): Likewise.
40766         (ctan_test_towardzero): Likewise.
40767         (ctan_test_downward): Likewise.
40768         (ctan_test_upward): Likewise.
40769         (ctanh_test): Likewise.
40770         (ctanh_test_tonearest): Likewise.
40771         (ctanh_test_towardzero): Likewise.
40772         (ctanh_test_downward): Likewise.
40773         (ctanh_test_upward): Likewise.
40774         (erf_test): Likewise.
40775         (erfc_test): Likewise.
40776         (exp_test): Likewise.
40777         (exp_test_tonearest): Likewise.
40778         (exp_test_towardzero): Likewise.
40779         (exp_test_downward): Likewise.
40780         (exp_test_upward): Likewise.
40781         (exp10_test): Likewise.
40782         (exp10_test_tonearest): Likewise.
40783         (exp10_test_towardzero): Likewise.
40784         (exp10_test_downward): Likewise.
40785         (exp10_test_upward): Likewise.
40786         (pow10_test): Likewise.
40787         (exp2_test): Likewise.
40788         (expm1_test): Likewise.
40789         (expm1_test_tonearest): Likewise.
40790         (expm1_test_towardzero): Likewise.
40791         (expm1_test_downward): Likewise.
40792         (expm1_test_upward): Likewise.
40793         (fabs_test): Likewise.
40794         (fdim_test): Likewise.
40795         (floor_test): Likewise.
40796         (fma_test): Likewise.
40797         (fma_test_towardzero): Likewise.
40798         (fma_test_downward): Likewise.
40799         (fma_test_upward): Likewise.
40800         (fmax_test): Likewise.
40801         (fmin_test): Likewise.
40802         (fmod_test): Likewise.
40803         (fpclassify_test): Likewise.
40804         (frexp_test): Likewise.
40805         (hypot_test): Likewise.
40806         (ilogb_test): Likewise.
40807         (isfinite_test): Likewise.
40808         (finite_test): Likewise.
40809         (isgreater_test): Likewise.
40810         (isgreaterequal_test): Likewise.
40811         (isinf_test): Likewise.
40812         (isless_test): Likewise.
40813         (islessequal_test): Likewise.
40814         (islessgreater_test): Likewise.
40815         (isnan_test): Likewise.
40816         (isnormal_test): Likewise.
40817         (issignaling_test): Likewise.
40818         (isunordered_test): Likewise.
40819         (j0_test): Likewise.
40820         (j1_test): Likewise.
40821         (jn_test): Likewise.
40822         (ldexp_test): Likewise.
40823         (lgamma_test): Likewise.
40824         (gamma_test): Likewise.
40825         (lrint_test): Likewise.
40826         (lrint_test_tonearest): Likewise.
40827         (lrint_test_towardzero): Likewise.
40828         (lrint_test_downward): Likewise.
40829         (lrint_test_upward): Likewise.
40830         (llrint_test): Likewise.
40831         (llrint_test_tonearest): Likewise.
40832         (llrint_test_towardzero): Likewise.
40833         (llrint_test_downward): Likewise.
40834         (llrint_test_upward): Likewise.
40835         (log_test): Likewise.
40836         (log10_test): Likewise.
40837         (log1p_test): Likewise.
40838         (log2_test): Likewise.
40839         (logb_test): Likewise.
40840         (logb_test_downward): Likewise.
40841         (lround_test): Likewise.
40842         (llround_test): Likewise.
40843         (modf_test): Likewise.
40844         (nearbyint_test): Likewise.
40845         (nextafter_test): Likewise.
40846         (nexttoward_test): Likewise.
40847         (pow_test): Likewise.
40848         (pow_test_tonearest): Likewise.
40849         (pow_test_towardzero): Likewise.
40850         (pow_test_downward): Likewise.
40851         (pow_test_upward): Likewise.
40852         (remainder_test): Likewise.
40853         (drem_test): Likewise.
40854         (remainder_test_tonearest): Likewise.
40855         (drem_test_tonearest): Likewise.
40856         (remainder_test_towardzero): Likewise.
40857         (drem_test_towardzero): Likewise.
40858         (remainder_test_downward): Likewise.
40859         (drem_test_downward): Likewise.
40860         (remainder_test_upward): Likewise.
40861         (drem_test_upward): Likewise.
40862         (remquo_test): Likewise.
40863         (rint_test): Likewise.
40864         (rint_test_tonearest): Likewise.
40865         (rint_test_towardzero): Likewise.
40866         (rint_test_downward): Likewise.
40867         (rint_test_upward): Likewise.
40868         (round_test): Likewise.
40869         (scalb_test): Likewise.
40870         (scalbn_test): Likewise.
40871         (scalbln_test): Likewise.
40872         (signbit_test): Likewise.
40873         (sin_test): Likewise.
40874         (sin_test_tonearest): Likewise.
40875         (sin_test_towardzero): Likewise.
40876         (sin_test_downward): Likewise.
40877         (sin_test_upward): Likewise.
40878         (sincos_test): Likewise.
40879         (sinh_test): Likewise.
40880         (sinh_test_tonearest): Likewise.
40881         (sinh_test_towardzero): Likewise.
40882         (sinh_test_downward): Likewise.
40883         (sinh_test_upward): Likewise.
40884         (sqrt_test): Likewise.
40885         (sqrt_test_tonearest): Likewise.
40886         (sqrt_test_towardzero): Likewise.
40887         (sqrt_test_downward): Likewise.
40888         (sqrt_test_upward): Likewise.
40889         (tan_test): Likewise.
40890         (tan_test_tonearest): Likewise.
40891         (tan_test_towardzero): Likewise.
40892         (tan_test_downward): Likewise.
40893         (tan_test_upward): Likewise.
40894         (tanh_test): Likewise.
40895         (tgamma_test): Likewise.
40896         (trunc_test): Likewise.
40897         (y0_test): Likewise.
40898         (y1_test): Likewise.
40899         (yn_test): Likewise.
40900         (significand_test): Likewise.
40902         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40903         individual tests in comment.
40904         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40905         (prev_max_error): New variable.
40906         (prev_real_max_error): Likewise.
40907         (prev_imag_max_error): Likewise.
40908         (compare_ulp_data): Don't refer to test names in comment.
40909         (find_test_ulps): Remove function.
40910         (find_function_ulps): Likewise.
40911         (find_complex_function_ulps): Likewise.
40912         (init_max_error): Take function name as argument.  Look up ulps
40913         for that function.
40914         (print_ulps): Remove function.
40915         (print_max_error): Use prev_max_error instead of calling
40916         find_function_ulps.
40917         (print_complex_max_error): Use prev_real_max_error and
40918         prev_imag_max_error instead of calling find_complex_function_ulps.
40919         (check_float_internal): Take max_ulp parameter instead of calling
40920         find_test_ulps.  Don't call print_ulps.
40921         (check_float): Update call to check_float_internal.
40922         (check_complex): Update calls to check_float_internal.
40923         (START): Pass argument to init_max_error.
40924         * math/gen-libm-test.pl (%results): Don't include "kind"
40925         information.
40926         (parse_ulps): Don't handle ulps of individual tests.
40927         (print_ulps_file): Likewise.
40928         (output_ulps): Likewise.
40929         * math/README.libm-test: Update.
40930         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40931         individual tests.
40932         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40933         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40934         * sysdeps/arm/libm-test-ulps: Likewise.
40935         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40936         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40937         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40938         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40939         * sysdeps/microblaze/libm-test-ulps: Likewise.
40940         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40941         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40942         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40943         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40944         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40945         * sysdeps/sh/libm-test-ulps: Likewise.
40946         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40947         * sysdeps/tile/libm-test-ulps: Likewise.
40948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40950 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40952         * math/libm-test.inc (print_complex_max_error): Check separately
40953         whether real and imaginary errors are within allowed range and
40954         pass 0 to print_complex_function_ulps instead of value within
40955         allowed range.
40957 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40959         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40960         formatting.
40961         (get_handles_fopen): Likewise.
40962         (do_write_test): Likewise.
40964         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40966         * libio/fileops.c (do_ftell): Use cached offset when
40967         available.
40968         * libio/iofwide.c (do_ftell_wide): Likewise.
40969         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40970         _IO_file_attach.
40971         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40973         [BZ #16532]
40974         * libio/libioP.h (get_file_offset): New function.
40975         * libio/fileops.c (get_file_offset): Likewise.
40976         (do_ftell): Likewise.
40977         (_IO_new_file_seekoff): Split out ftell logic.
40978         * libio/wfileops.c (do_ftell_wide): Likewise.
40979         (_IO_wfile_seekoff): Split out ftell logic.
40980         * libio/tst-ftell-active-handler.c: New test case.
40981         * libio/Makefile (tests): Add it.
40983 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40985         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40986         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40988 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40990         [BZ #16639]
40991         * nscd/connections.c (nscd_init): Call do_exit.
40992         (start_threads): Call do_exit and notify_parent.
40993         (begin_drop_privileges): Call do_exit.
40994         (finish_drop_privileges): Likewise.
40995         * nscd/selinux.c (preserve_capabilities): Likewise.
40996         (install_real_capabilities): Likewise.
40997         (nscd_selinux_enabled): Likewise.
40998         (avc_create_thread): Likewise.
40999         (avc_alloc_lock): Likewise.
41000         (nscd_avc_init): Likewise.
41001         * nscd/nscd.c (parent_fd): New static variable.
41002         (main): Create a pipe between parent and child processes.
41003         Skip closing parent_fd.
41004         (monitor_child): New function.
41005         (do_exit): Likewise.
41006         (notify_parent): Likewise.
41007         * nscd/nscd.h (notify_parent): Likewise.
41008         (do_exit): Likewise.
41010 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
41012         * malloc/malloc.c (__libc_calloc): Revert last change.
41014 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41018 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41020         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
41021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
41022         implementation.
41023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41024         (__libc_ifunc_impl_list): Likewise.
41025         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
41026         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
41027         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
41028         * string/strrchr.c: Define STRRCHR.
41030 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
41032         * benchtest/bench-strtok.c (simple_strtok): Delete.
41033         (strtok_string): Use as benchmark.
41034         * string/strtok (STRTOK): New macro.
41036 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
41038         * manual/threads.texi: Add header and standard comments to all
41039         functions.
41041         * elf/dl-lookup.c (check_match): New function.
41042         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
41043         (do_lookup_x): Remove nested function check_match. Use non-nested
41044         function check_match.
41046 2014-02-28  Roland McGrath  <roland@hack.frob.com>
41048         * csu/Makefile (generated, before-compile): Use += rather than =.
41049         * catgets/Makefile (generated, generated-dirs): Likewise.
41050         * debug/Makefile (generated): Likewise.
41051         * dlfcn/Makefile (generated): Likewise.
41052         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
41053         * iconvdata/Makefile (before-compile, generated): Likewise.
41054         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
41055         * libio/Makefile (generated): Likewise.
41056         * malloc/Makefile (generated): Likewise.
41057         * manual/Makefile (generated, generated-dirs): Likewise.
41058         * misc/Makefile (generated): Likewise.
41059         * posix/Makefile (generated): Likewise.
41060         * resolv/Makefile (generated): Likewise.
41061         * sunrpc/Makefile (generated, generated-dirs): Likewise.
41062         * timezone/Makefile (generated, generated-dirs): Likewise.
41064         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
41066 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41069         power8 implementation.
41070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
41071         file: POWER8 llround ifunc implementation.
41072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
41073         (__lllround): Add POWER8 implementation.
41074         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
41075         POWER8 llround implementation.
41077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
41078         power8 implementation.
41079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
41080         file: POWER8 llrint ifunc implementation.
41081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
41082         Add POWER8 implementation.
41083         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
41084         POWER8 llrint implementation.
41086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
41087         power8 implementation.
41088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
41089         file: POWER8 finite ifunc implementation.
41090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
41091         Add POWER8 implementation.
41092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
41093         Likewise.
41094         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
41095         POWER8 finite implementation.
41096         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
41098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
41099         power8 implementation.
41100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
41101         file: POWER8 isinf ifunc implementation.
41102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
41103         POWER8 implementation.
41104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
41105         Likewise.
41106         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
41107         isinf implementation.
41108         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
41110         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
41111         (INIT_ARCH): Add hwcap2 initialization.
41112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41113         power8 implementation.
41114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
41115         file: POWER8 isnan ifunc implementation.
41116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
41117         POWER8 implementation.
41118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
41119         Likewise.
41120         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
41121         isnan implementation.
41122         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
41124 2014-02-27  Joey Ye  <joey.ye@arm.com>
41126         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41127         (_FP_NANFRAC_Q): Set to zero.
41129 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41131         [BZ #16623]
41132         * math/auto-libm-test-in: New test inputs.
41133         * math/auto-libm-test-out: Regenerate.
41134         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
41135         and DA.
41136         (__cos): Likewise.
41137         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41139 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
41141         * scripts/evaluate-test.sh: Take new argument indicating whether
41142         failure is expected.
41143         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41144         indicating whether failure is expected.
41145         * conform/Makefile (test-xfail-run-conformtest): New variable.
41146         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41147         level.
41148         * posix/Makefile (test-xfail-annexc): New variable.
41149         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41151 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
41153         * argp/Makefile: Include Makeconfig immediately after defining
41154         subdir.
41155         * assert/Makefile: Likewise.
41156         * benchtests/Makefile: Likewise.
41157         * catgets/Makefile: Likewise.
41158         * conform/Makefile: Likewise.
41159         * crypt/Makefile: Likewise.
41160         * csu/Makefile: Likewise.
41161         (all): Remove target.
41162         * ctype/Makefile: Include Makeconfig immediately after defining
41163         subdir.
41164         * debug/Makefile: Likewise.
41165         * dirent/Makefile: Likewise.
41166         * dlfcn/Makefile: Likewise.
41167         * gmon/Makefile: Likewise.
41168         * gnulib/Makefile: Likewise.
41169         * grp/Makefile: Likewise.
41170         * gshadow/Makefile: Likewise.
41171         * hesiod/Makefile: Likewise.
41172         * hurd/Makefile: Likewise.
41173         (all): Remove target.
41174         * iconvdata/Makefile: Include Makeconfig immediately after
41175         defining subdir.
41176         * inet/Makefile: Likewise.
41177         * intl/Makefile: Likewise.
41178         * io/Makefile: Likewise.
41179         * libio/Makefile: Likewise.
41180         (all): Remove target.
41181         * locale/Makefile: Include Makeconfig immediately after defining
41182         subdir.
41183         * login/Makefile: Likewise.
41184         * mach/Makefile: Likewise.
41185         (all): Remove target.
41186         * malloc/Makefile: Include Makeconfig immediately after defining
41187         subdir.
41188         (all): Remove target.
41189         * manual/Makefile: Include Makeconfig immediately after defining
41190         subdir.
41191         * math/Makefile: Likewise.
41192         * misc/Makefile: Likewise.
41193         * nis/Makefile: Likewise.
41194         * nss/Makefile: Likewise.
41195         * po/Makefile: Likewise.
41196         (all): Remove target.
41197         * posix/Makefile: Include Makeconfig immediately after defining
41198         subdir.
41199         * pwd/Makefile: Likewise.
41200         * resolv/Makefile: Likewise.
41201         * resource/Makefile: Likewise.
41202         * rt/Makefile: Likewise.
41203         * setjmp/Makefile: Likewise.
41204         * shadow/Makefile: Likewise.
41205         * signal/Makefile: Likewise.
41206         * socket/Makefile: Likewise.
41207         * soft-fp/Makefile: Likewise.
41208         * stdio-common/Makefile: Likewise.
41209         * stdlib/Makefile: Likewise.
41210         * streams/Makefile: Likewise.
41211         * string/Makefile: Likewise.
41212         * sunrpc/Makefile: Likewise.
41213         (all): Remove target.
41214         * sysvipc/Makefile: Include Makeconfig immediately after defining
41215         subdir.
41216         * termios/Makefile: Likewise.
41217         * time/Makefile: Likewise.
41218         * timezone/Makefile: Likewise.
41219         (all): Remove target.
41220         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41221         subdir.
41222         * wctype/Makefile: Likewise.
41224 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41226         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41227         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41228         (libc_feholdexcept_setround_mips): Ditto.
41229         (libc_feholdsetround): New.
41230         (libc_feholdsetroundf): New.
41231         (libc_feholdsetroundl): New.
41232         (libc_feupdateenv_test_mips): New.
41233         (libc_feupdateenv_test): New.
41234         (libc_feupdateenv_testf): New.
41235         (libc_feupdateenv_testl): New.
41236         (libc_feresetround): New.
41237         (libc_feresetroundf): New.
41238         (libc_feresetroundl): New.
41239         (libc_fetestexcept_mips): New.
41240         (libc_fetestexcept): New.
41241         (libc_fetestexceptf): New.
41242         (libc_fetestexceptl): New.
41243         (HAVE_RM_CTX): New.
41244         (libc_feholdexcept_setround_mips_ctx): New.
41245         (libc_feholdexcept_setround_ctx): New.
41246         (libc_feholdexcept_setroundf_ctx): New.
41247         (libc_feholdexcept_setroundl_ctx): New.
41248         (libc_fesetenv_mips_ctx): New.
41249         (libc_fesetenv_ctx): New.
41250         (libc_fesetenv_ctxf): New.
41251         (libc_fesetenv_ctxl): New.
41252         (libc_feupdateenv_mips_ctx): New.
41253         (libc_feupdateenv_ctx): New.
41254         (libc_feupdateenvf_ctx): New.
41255         (libc_feupdateenvl_ctx): New.
41256         (libc_feholdsetround_mips_ctx): New.
41257         (libc_feholdsetround_ctx): New.
41258         (libc_feholdsetroundf_ctx): New.
41259         (libc_feholdsetroundl_ctx): New.
41260         (libc_feresetround_mips_ctx): New.
41261         (libc_feresetround_ctx): New.
41262         (libc_feresetroundf_ctx): New.
41263         (libc_feresetroundl_ctx): New.
41265 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41267         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41269         * manual/ipc.texi: New file.
41270         * manual/Makefile (chapters): Add ipc.
41271         * manual/job.texi: Add "Inter-Process Communication" to next.
41272         * manual/process.texi: Add "Inter-Process Communication" to prev.
41274 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41278 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41280         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41282         * manual/arith.texi: Fix spaces after sentences.
41283         * manual/charset.texi: Likewise.
41284         * manual/errno.texi: Likewise.
41285         * manual/install.texi: Likewise.
41286         * manual/llio.texi: Likewise.
41287         * manual/locale.texi: Likewise.
41288         * manual/maint.texi: Likewise.
41289         * manual/math.texi: Likewise.
41290         * manual/memory.texi: Likewise.
41291         * manual/message.texi: Likewise.
41292         * manual/probes.texi: Likewise.
41293         * manual/resource.texi: Likewise.
41294         * manual/signal.texi: Likewise.
41295         * manual/socket.texi: Likewise.
41296         * manual/stdio.texi: Likewise.
41297         * manual/string.texi: Likewise.
41298         * manual/time.texi: Likewise.
41299         * manual/users.texi: Likewise.
41301 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41303         [BZ #16632]
41304         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41305         _DEFAULT_SOURCE is defined.
41307 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41308             Carlos O'Donell  <carlos@redhat.com>
41310         [BZ #16613]
41311         * elf/dl-tls.c (_dl_count_modids): New function.
41312         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41313         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41314         audit library and increment generation counter.
41315         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41316         * elf/tst-audit9.c: New file.
41317         * elf/tst-auditmod9a.c: New file.
41318         * elf/tst-auditmod9b.c: New file.
41319         * elf/Makefile: Add rules to build and run tst-audit9.
41321 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41323         [BZ #15347]
41324         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41326 2014-02-25  Will Newton  <will.newton@linaro.org>
41328         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41329         (__longjmp): Restore sp and lr before restoring callee
41330         saved registers.  Add longjmp and longjmp_target
41331         SystemTap probe point.
41332         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41333         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41334         Define to zero to match jmpbuf layout.
41335         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41336         (__sigsetjmp): Save sp and lr before saving callee
41337         saved registers.  Add setjmp SystemTap probe point.
41339 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41341         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41343 2014-02-24  Andreas Schwab  <schwab@suse.de>
41345         [BZ #15804]
41346         * elf/pldd.c (wait_for_ptrace_stop): New function.
41347         (main): Call it after attaching.
41349 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41351         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41352         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41353         Versions files is now verboten.
41354         * hurd/Versions (libc: GLIBC_2.0):
41355         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41356         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41357         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41358         * mach/Versions: Likewise.
41360         * csu/Versions: Remove unused %include.
41361         * resolv/Versions: Likewise.
41363 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41365         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41366         ($(objpfx)check-local-headers.out): Likewise.
41367         ($(objpfx)begin-end-check.out): Likewise.
41368         * Makerules (check-abi-%.out): Likewise.
41369         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41370         ($(objpfx)test2.cat): Likewise.
41371         ($(objpfx)de/libc.cat): Likewise.
41372         ($(objpfx)test-gencat.out): Likewise.
41373         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41374         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41375         ($(objpfx)noload-mem): Likewise.
41376         ($(objpfx)tst-pathopt.out): Likewise.
41377         ($(objpfx)tst-rtld-load-self.out): Likewise.
41378         ($(objpfx)tst-array1-cmp.out): Likewise.
41379         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41380         ($(objpfx)tst-array2-cmp.out): Likewise.
41381         ($(objpfx)tst-array3-cmp.out): Likewise.
41382         ($(objpfx)tst-array4-cmp.out): Likewise.
41383         ($(objpfx)tst-array5-cmp.out): Likewise.
41384         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41385         ($(objpfx)check-textrel.out): Likewise.
41386         ($(objpfx)check-execstack.out): Likewise.
41387         ($(objpfx)check-localplt.out): Likewise.
41388         ($(objpfx)order2-cmp.out): Likewise.
41389         ($(objpfx)tst-leaks1-mem): Likewise.
41390         ($(objpfx)tst-leaks1-static-mem): Likewise.
41391         ($(objpfx)tst-initorder-cmp.out): Likewise.
41392         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41393         ($(objpfx)tst-unused-dep.out): Likewise.
41394         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41395         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41396         * iconv/Makefile (test-iconvconfig): Likewise.
41397         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41398         ($(objpfx)iconv-test.out): Likewise.
41399         ($(objpfx)tst-tables.out): Likewise.
41400         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41401         ($(objpfx)tst-gettext.out): Likewise.
41402         ($(objpfx)tst-translit.out): Likewise.
41403         ($(objpfx)tst-gettext2.out): Likewise.
41404         ($(objpfx)tst-gettext4.out): Likewise.
41405         ($(objpfx)tst-gettext6.out): Likewise.
41406         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41407         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41408         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41409         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41410         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41411         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41412         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41413         ($(objpfx)wordexp-tst.out): Likewise.
41414         ($(objpfx)annexc.out): Likewise.
41415         ($(objpfx)tst-fnmatch-mem): Likewise.
41416         ($(objpfx)bug-regex2-mem): Likewise.
41417         ($(objpfx)bug-regex14-mem): Likewise.
41418         ($(objpfx)bug-regex21-mem): Likewise.
41419         ($(objpfx)bug-regex31-mem): Likewise.
41420         ($(objpfx)tst-vfork3-mem): Likewise.
41421         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41422         ($(objpfx)tst-pcre-mem): Likewise.
41423         ($(objpfx)tst-boost-mem): Likewise.
41424         ($(objpfx)tst-getconf.out): Likewise.
41425         ($(objpfx)bug-ga2-mem): Likewise.
41426         ($(objpfx)bug-glob2-mem): Likewise.
41427         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41428         ($(objpfx)mtrace-tst-leaks2): Likewise.
41429         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41430         ($(objpfx)tst-printf.out): Likewise.
41431         ($(objpfx)tst-setvbuf1.out): Likewise.
41432         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41433         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41434         ($(objpfx)tst-fmtmsg.out): Likewise.
41435         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41436         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41438         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41439         * bits/sigaction.h [__USE_MISC]: Likewise.
41440         * bits/waitstatus.h: Update #endif comments.
41441         * ctype/ctype.h: Likewise.
41442         * dirent/dirent.h: Likewise.
41443         [__USE_MISC]: Remove redundant conditionals.
41444         * grp/grp.h: Update #endif comments.
41445         [__USE_GNU]: Remove redundant conditionals.
41446         [__USE_MISC]: Likewise.
41447         * inet/netinet/in.h [__USE_GNU]: Likewise.
41448         * io/sys/stat.h [__USE_MISC]: Likewise.
41449         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41450         * libio/bits/stdio.h: Update #endif comments.
41451         [__USE_MISC]: Remove redundant conditionals.
41452         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41453         * libio/stdio.h: Update #endif comments.
41454         [__USE_MISC]: Remove redundant conditionals.
41455         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41456         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41457         * math/math.h: Update #else and #endif comments.
41458         [__USE_MISC]: Remove redundant conditionals.
41459         * misc/sys/uio.h: Update #endif comments.
41460         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41461         * posix/glob.h [__USE_MISC]: Likewise.
41462         * posix/sys/types.h: Update #endif comments.
41463         [__USE_MISC]: Remove redundant conditionals.
41464         * posix/sys/wait.h: Update #endif comments.
41465         [__USE_MISC]: Remove redundant conditionals.
41466         * posix/unistd.h: Update #endif comments.
41467         [__USE_MISC]: Remove redundant conditionals.
41468         * pwd/pwd.h [__USE_GNU]: Likewise.
41469         [__USE_MISC]: Likewise.
41470         * resolv/netdb.h [__USE_GNU]: Likewise.
41471         * signal/signal.h: Update #endif comments.
41472         [__USE_MISC]: Remove redundant conditionals.
41473         * stdlib/stdlib.h: Update #else and #endif comments.
41474         [__USE_MISC]: Remove redundant conditionals.
41475         [__USE_GNU]: Likewise.
41476         * string/bits/string2.h [__USE_MISC]: Likewise.
41477         * string/string.h: Update #endif comments.
41478         [__USE_MISC]: Remove redundant conditionals.
41479         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41480         Likewise.
41481         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41482         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41483         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41484         Likewise.
41485         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41486         Likewise.
41487         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41488         comments.
41489         [__USE_MISC]: Remove redundant conditionals.
41490         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41491         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41492         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41493         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41494         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41495         Likewise.
41496         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41497         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41498         Likewise.
41499         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41500         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41501         Likewise.
41502         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41503         Likewise.
41504         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41505         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41506         Likewise.
41507         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41508         Likewise.
41509         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41510         * sysdeps/x86/bits/string.h: Update #endif comments.
41511         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41512         conditionals.
41513         * time/sys/time.h: Update #endif comments.
41514         * time/time.h: Likewise.
41515         [__USE_MISC]: Remove redundant conditionals.
41517 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41519         [BZ #16600]
41520         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41522 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41524         * Versions.def (librt): Add GLIBC_2.17.
41526 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41528         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41529         synonym for _SYS_AUXV_H to allow direct inclusion.
41530         * sysdeps/sparc/bits/hwcap.h: Likewise.
41531         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41532         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41533         * sysdeps/sparc/sysdep.h: Likewise.
41535 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41537         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41539 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41541         * benchtests/bench-strrchr.c: Print length instead of position.
41543 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41545         [BZ #16611]
41546         * sysdeps/unix/sysv/linux/kernel-features.h
41547         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41548         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41549         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41550         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41551         Likewise.
41552         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41553         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41554         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41555         (__ASSUME_SENDMMSG): Define instead of using previous
41556         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41557         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41558         (__ASSUME_SENDMMSG_SYSCALL): Define.
41559         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41560         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41561         Likewise.
41562         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41563         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41564         Likewise.
41565         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41566         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41567         Likewise.
41568         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41569         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41570         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41571         [__ASSUME_SENDMMSG]: Change conditionals to
41572         [__ASSUME_SENDMMSG_SOCKETCALL].
41573         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41574         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41575         Define.
41576         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41577         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41578         Likewise.
41579         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41580         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41581         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41582         [!__ASSUME_SENDMMSG]: Change conditional to
41583         [!__ASSUME_SENDMMSG_SOCKETCALL].
41584         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41585         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41586         Define.
41588         [BZ #16610]
41589         * sysdeps/unix/sysv/linux/kernel-features.h
41590         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41591         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41592         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41593         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41594         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41595         [__i386__ || __sparc__]
41596         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41597         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41598         (__ASSUME_RECVMMSG): Define instead of using previous
41599         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41600         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41601         (__ASSUME_RECVMMSG_SYSCALL): Define.
41602         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41603         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41604         Likewise.
41605         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41606         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41607         Likewise.
41608         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41609         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41610         Likewise.
41611         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41612         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41613         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41614         [__ASSUME_RECVMMSG]: Change condition to
41615         [__ASSUME_RECVMMSG_SOCKETCALL].
41616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41617         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41618         Define.
41619         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41620         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41621         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41622         Likewise.
41623         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41624         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41625         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41626         [!__ASSUME_RECVMMSG]: Change condition to
41627         [!__ASSUME_RECVMMSG_SOCKETCALL].
41628         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41629         (__ASSUME_RECVMMSG_SYSCALL): Define.
41631         [BZ #16609]
41632         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41633         __powerpc__ || __s390__ || __sh__ || __sparc__]
41634         (__ASSUME_SOCKETCALL): Define.
41635         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41636         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41637         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41638         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41639         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41640         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41641         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41642         (__ASSUME_ACCEPT4): Define instead of using previous
41643         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41644         __powerpc__ || __sparc__ || __s390__)] condition.
41645         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41646         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41647         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41648         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41649         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41650         [!__ASSUME_ACCEPT4]: Change condition to
41651         [!__ASSUME_ACCEPT4_SOCKETCALL].
41652         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41653         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41654         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41655         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41656         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41657         __ASSUME_ACCEPT4_SYSCALL.
41658         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41659         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41660         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41661         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41662         __ASSUME_ACCEPT4_SYSCALL.
41663         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41664         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41665         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41666         [__ASSUME_ACCEPT4]: Change condition to
41667         [__ASSUME_ACCEPT4_SOCKETCALL].
41668         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41669         (__ASSUME_SOCKETCALL): Define.
41670         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41671         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41672         (__ASSUME_SOCKETCALL): Define.
41673         (__ASSUME_ACCEPT4): Remove.
41674         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41675         Define.
41676         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41677         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41678         Likewise.
41679         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41680         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41682         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41683         macro.
41684         (HWCAP_ARM_LPAE): Likewise.
41685         (HWCAP_ARM_EVTSTRM): Likewise.
41686         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41687         Add vpfd32, lpae and evtstrm.
41688         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41689         Increase to 22.
41691 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41693         * math/auto-libm-test-in: Add tests of clog10.
41694         * math/auto-libm-test-out: Regenerated.
41695         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41696         * sysdeps/i386/fpu/libm-test-ulps: Update.
41697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41699 2014-02-18  Andreas Schwab  <schwab@suse.de>
41701         [BZ #16574]
41702         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41703         Store non-zero if the second buffer was newly allocated.
41704         (send_dg): Likewise.
41705         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41706         to send_vc and send_dg.
41707         (res_nsend): Pass NULL for ansp2_malloced.
41708         * resolv/res_query.c (__libc_res_nquery): Add parameter
41709         answerp2_malloced and pass it down to __libc_res_nsend.
41710         (res_nquery): Pass additional NULL to __libc_res_nquery.
41711         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41712         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41713         second answer buffer if answerp2_malloced was set.
41714         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41715         (__libc_res_nquerydomain): Add parameter
41716         answerp2_malloced and pass it down to __libc_res_nquery.
41717         (res_nquerydomain): Pass additional NULL to
41718         __libc_res_nquerydomain.
41719         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41720         additional NULL to __libc_res_nsend and __libc_res_nquery.
41721         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41722         additional NULL to __libc_res_nsearch.
41723         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41724         parameter of __libc_res_nsearch to check for separately allocated
41725         second buffer.
41726         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41727         __libc_res_nquery.
41728         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41729         additional NULL to __libc_res_nquery.
41730         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41731         __libc_res_nsearch.
41732         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41733         * include/resolv.h: Update prototypes of __libc_res_nquery,
41734         __libc_res_nsearch, __libc_res_nsend.
41736 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41738         * math/auto-libm-test-in: Add tests of fma.
41739         * math/auto-libm-test-out: Regenerated.
41740         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41741         (fma_towardzero_test_data): Likewise.
41742         (fma_downward_test_data): Likewise.
41743         (fma_upward_test_data): Likewise.
41744         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41745         mpc_mode.
41746         (rounding_modes): Add values for new field.
41747         (func_calc_method): Add value mpfr_fff_f.
41748         (func_calc_desc): Add mpfr_fff_f union field.
41749         (test_function): Add field exact_args.
41750         (FUNC): Add macro argument EXACT_ARGS.
41751         (FUNC_mpfr_f_f): Update call to FUNC.
41752         (FUNC_mpfr_f_f): Likewise.
41753         (FUNC_mpfr_ff_f): Likewise.
41754         (FUNC_mpfr_if_f): Likewise.
41755         (FUNC_mpc_c_f): Likewise.
41756         (FUNC_mpc_c_c): Likewise.
41757         (test_functions): Add fma.  Update calls to FUNC.
41758         (handle_input_arg): Add argument exact_args.
41759         (add_test): Update call to handle_input_arg.
41760         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41761         (output_for_one_input_case): Update call to calc_generic_results.
41762         Recalculate exact zero results in each rounding mode.
41764         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41765         non-negative before setting low bit.
41766         * math/auto-libm-test-in: Mark one asin test possibly having
41767         spurious underflow.
41768         * math/auto-libm-test-out: Regenerated.
41769         * sysdeps/i386/fpu/libm-test-ulps: Update.
41770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41772 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41774         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41775         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41776         ports/sysdeps/unix/sysv/linux/microblaze.
41777         * README: Add missing listing for microblaze*-*-linux-gnu.
41779 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41781         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41782         duplicate code
41784 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41786         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41787         * sysdeps/unix/sysv/linux/ia64: Move directory from
41788         ports/sysdeps/unix/sysv/linux/ia64.
41789         * README: Update listing for ia64-*-linux-gnu.
41791 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41792             Joseph Myers  <joseph@codesourcery.com>
41794         * Makeconfig (test-name): New variable.
41795         (evaluate-test): Likewise.
41796         * Makerules (do-test-clean): Remove .test-result files.
41797         (common-mostlyclean): Likewise.
41798         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41799         * scripts/evaluate-test.sh: New file.
41801 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41803         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41804         separate $(objpfx)tst-fopenloc-cmp.out and
41805         $(objpfx)tst-fopenloc-mem.out targets.
41806         (tests): Update dependencies.
41807         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41808         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41809         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41810         (tst-rxspencer-no-utf8-ARGS): New variable.
41811         (tst-rxspencer-no-utf8-ENV): Likewise.
41812         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41813         instead of $(objpfx)tst-rxspencer-mem.
41814         ($(objpfx)tst-rxspencer-mem): Change target to
41815         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41816         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41817         * posix/tst-rxspencer-no-utf8.c: New file.
41819         * elf/Makefile ($(objpfx)order.out): Remove rule.
41820         [$(run-built-tests) = yes] (tests): Depend on
41821         $(objpfx)order-cmp.out.
41822         ($(objpfx)order-cmp.out): New rule.
41823         [$(run-built-tests) = yes] (tests): Depend on
41824         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41825         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41826         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41827         $(objpfx)tst-array5-static-cmp.out.
41828         ($(objpfx)tst-array1.out): Remove rule.
41829         ($(objpfx)tst-array1-cmp.out): New rule.
41830         ($(objpfx)tst-array1-static.out): Remove rule.
41831         ($(objpfx)tst-array1-static-cmp.out): New rule.
41832         ($(objpfx)tst-array2.out): Remove rule.
41833         ($(objpfx)tst-array2-cmp.out): New rule.
41834         ($(objpfx)tst-array3.out): Remove rule.
41835         ($(objpfx)tst-array3-cmp.out): New rule.
41836         ($(objpfx)tst-array4.out): Remove rule.
41837         ($(objpfx)tst-array4-cmp.out): New rule.
41838         ($(objpfx)tst-array5.out): Remove rule.
41839         ($(objpfx)tst-array5-cmp.out): New rule.
41840         ($(objpfx)tst-array5-static.out): Remove rule.
41841         ($(objpfx)tst-array5-static-cmp.out): New rule.
41842         [$(run-built-tests) = yes] (tests): Depend on
41843         $(objpfx)order2-cmp.out.
41844         ($(objpfx)order2.out): Remove rule.
41845         ($(objpfx)order2-cmp.out): New rule.
41846         ($(objpfx)tst-initorder.out): Remove rule.
41847         [$(run-built-tests) = yes] (tests): Depend on
41848         $(objpfx)tst-initorder-cmp.out.
41849         ($(objpfx)tst-initorder-cmp.out): New rule.
41850         ($(objpfx)tst-initorder2.out): Remove rule.
41851         [$(run-built-tests) = yes] (tests): Depend on
41852         $(objpfx)tst-initorder2-cmp.out.
41853         ($(objpfx)tst-initorder2-cmp.out): New rule.
41854         [$(run-built-tests) = yes] (tests): Depend on
41855         $(objpfx)tst-unused-dep-cmp.out.
41856         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41857         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41858         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41859         on $(objpfx)tst-setvbuf1-cmp.out.
41860         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41861         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41862         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41863         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41864         ($(objpfx)tst-svc.out): Remove rule.
41865         ($(objpfx)tst-svc-cmp.out): New rule.
41867 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41869         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41870         * ctype/ctype.h [__USE_MISC]: Likewise.
41871         * dirent/dirent.h [__USE_MISC]: Likewise.
41872         * grp/grp.h [__USE_MISC]: Likewise.
41873         * io/fcntl.h [__USE_MISC]: Likewise.
41874         * io/sys/stat.h [__USE_MISC]: Likewise.
41875         * libio/stdio.h [__USE_MISC]: Likewise.
41876         * posix/unistd.h [__USE_MISC]: Likewise.
41877         * pwd/pwd.h [__USE_MISC]: Likewise.
41878         * stdlib.h [__USE_MISC]: Likewise.
41879         * string/bits/string2.h [__USE_MISC]: Likewise.
41880         * string/string.h [__USE_MISC]: Likewise.
41881         * time/time.h [__USE_MISC]: Likewise.
41883 2014-02-13  Andreas Schwab  <schwab@suse.de>
41885         [BZ #16574]
41886         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41887         second answer buffer if it was separately allocated.
41889 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41891         * sysdeps/mips/math-tests.h: Include <features.h>.
41892         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41893         (ROUNDING_TESTS_long_double): Do not define.
41894         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41895         (EXCEPTION_TESTS_long_double): Likewise.
41896         * sysdeps/mips/mips64/libm-test-ulps: Update.
41898         * include/features.h (__USE_BSD): Remove macro definitions.
41899         (__USE_SVID): Likewise.
41900         (_BSD_SOURCE): Likewise.
41901         (_SVID_SOURCE): Likewise.
41902         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41903         from definition of _DEFAULT_SOURCE.
41904         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41905         [_DEFAULT_SOURCE].
41906         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41907         * bits/mman.h [__USE_BSD]: Likewise.
41908         * bits/termios.h [__USE_BSD]: Likewise.
41909         * bits/waitstatus.h [__USE_BSD]: Likewise.
41910         * ctype/ctype.h [__USE_SVID]: Likewise.
41911         * dirent/dirent.h [__USE_BSD]: Likewise.
41912         * grp/grp.h [__USE_SVID]: Likewise.
41913         [__USE_BSD]: Likewise.
41914         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41915         * io/fcntl.h [__USE_BSD]: Likewise.
41916         * io/ftw.h [__USE_BSD]: Likewise.
41917         * io/sys/stat.h [__USE_BSD]: Likewise.
41918         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41919         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41920         * libio/stdio.h [__USE_SVID]: Likewise.
41921         [__USE_BSD]: Likewise.
41922         * math/math.h [__USE_SVID]: Likewise.
41923         [__USE_BSD]: Likewise.
41924         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41925         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41926         * misc/search.h [__USE_SVID]: Likewise.
41927         * misc/sys/mman.h [__USE_BSD]: Likewise.
41928         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41929         * misc/sys/uio.h [__USE_BSD]: Likewise.
41930         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41931         * posix/glob.h [__USE_BSD]: Likewise.
41932         * posix/regex.h [__USE_BSD]: Likewise.
41933         * posix/sys/types.h [__USE_BSD]: Likewise.
41934         [__USE_SVID]: Likewise.
41935         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41936         * posix/sys/wait.h [__USE_BSD]: Likewise.
41937         [__USE_SVID]: Likewise.
41938         * posix/unistd.h [__USE_BSD]: Likewise.
41939         [__USE_SVID]: Likewise.
41940         * pwd/pwd.h [__USE_SVID]: Likewise.
41941         * resolv/netdb.h [__USE_BSD]: Likewise.
41942         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41943         * signal/signal.h [__USE_BSD]: Likewise.
41944         [__USE_SVID]: Likewise.
41945         * socket/sys/socket.h [__USE_BSD]: Likewise.
41946         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41947         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41948         [__USE_SVID]: Likewise.
41949         * string/bits/string2.h [__USE_BSD]: Likewise.
41950         [__USE_SVID]: Likewise.
41951         * string/bits/string3.h [__USE_BSD]: Likewise.
41952         * string/endian.h [__USE_BSD]: Likewise.
41953         * string/string.h [__USE_SVID]: Likewise.
41954         [__USE_BSD]: Likewise.
41955         * string/strings.h [__USE_BSD]: Likewise.
41956         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41957         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41958         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41959         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41960         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41961         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41962         Likewise.
41963         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41964         Likewise.
41965         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41966         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41967         Likewise.
41968         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41969         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41970         Likewise.
41971         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41972         Likewise.
41973         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41974         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41975         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41976         Likewise.
41977         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41978         Likewise.
41979         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41980         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41981         * termios/termios.h [__USE_BSD]: Likewise.
41982         * time/sys/time.h [__USE_BSD]: Likewise.
41983         * time/time.h [__USE_BSD]: Likewise.
41984         [__USE_SVID]: Likewise.
41986         * Makefile (subdir_targets): Remove subdir_lint.out.
41988         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41989         (do-tst-printf): Likewise.
41990         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41991         $(objpfx)tst-printf.out.
41993         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41995         * Makerules (check-abi-%): Change target to
41996         $(objpfx)check-abi-%.out.
41997         (check-abi target): Update dependencies.
41998         (check-abi-pattern variable): Redirect output of diff to $@.
41999         (check-abi variable): Likewise.
42000         * elf/Makefile (check-abi): Update dependencies.
42002         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
42003         unused.
42004         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
42005         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
42006         subnormal range.
42007         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
42008         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
42009         value has largest subnormal exponent.
42010         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
42011         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
42012         * sysdeps/aarch64/soft-fp/sfp-machine.h
42013         (_FP_TININESS_AFTER_ROUNDING): New macro.
42014         * sysdeps/alpha/soft-fp/sfp-machine.h
42015         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42016         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42017         Likewise.
42018         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
42019         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42020         * sysdeps/mips/soft-fp/sfp-machine.h
42021         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42022         * sysdeps/powerpc/soft-fp/sfp-machine.h
42023         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42024         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42025         Likewise.
42026         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42027         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42028         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42029         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42030         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42031         Likewise.
42033 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
42035         [BZ #16545]
42036         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
42037         model 1.
42039 2014-02-12  Richard Henderson  <rth@redhat.com>
42041         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
42042         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
42043         * sysdeps/unix/sysv/linux/alpha: Move directory from
42044         ports/sysdeps/unix/sysv/linux/alpha.
42045         * README: Update listing for alpha-*-linux-gnu.
42047 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
42049         * include/features.h: Update comment documenting feature test
42050         macros.
42051         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
42052         _DEFAULT_SOURCE.
42053         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
42054         (_SVID_SOURCE): Likewise.
42055         (_DEFAULT_SOURCE): Update description of default features.
42056         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
42057         with _GNU_SOURCE.
42058         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
42059         (S_ISVTX): Likewise.
42060         * manual/math.texi (Mathematical Constants): Likewise.
42061         * manual/signal.texi (Interrupted Primitives): Likewise.
42062         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
42063         * math/test-matherr.c (_SVID_SOURCE): Do not define.
42064         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
42065         Don't refer to _SVID_SOURCE in warning text.
42067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42069         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
42070         already defined.
42071         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
42072         * sysdeps/mips/dl-lookup.c: Remove.
42073         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42075 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42077         [BZ #16447]
42078         * math/auto-libm-test-in: Add testcase for expl.
42079         * math/auto-libm-test-out: Regenerate.
42080         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
42081         calculation of unsafe.
42082         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
42084 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42086         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
42087         * sysdeps/unix/sysv/linux/aarch64: Move directory from
42088         ports/sysdeps/unix/sysv/linux/aarch64.
42089         * README: Update listing for aarch64*-*-linux-gnu.
42091 2014-02-11  Will Newton  <will.newton@linaro.org>
42093         * manual/probes.texi (Mathematical Function Probes): Use
42094         "triggered" instead of "hit".
42096         * manual/probes.texi (Internal Probes): Add documentation
42097         of setjmp, longjmp and longjmp_target probes.
42099         * include/stap-probe.h: Add comment about probe argument
42100         format.
42102         * malloc/mtrace.c (attribute_hidden): Remove unused macro
42103         definition.  (tr_where, tr_freehook, tr_mallochook,
42104         tr_reallochook, tr_memalignhook): Use ANSI protoype.
42106 2014-02-11  David S. Miller  <davem@davemloft.net>
42108         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
42109         processing int_tests.
42111 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
42113         * sysdeps/mips: Move directory from ports/sysdeps/mips.
42114         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
42115         * sysdeps/unix/sysv/linux/mips: Move directory from
42116         ports/sysdeps/unix/sysv/linux/mips.
42117         * README: Update listing for mips-*-linux-gnu and
42118         mips64-*-linux-gnu.
42120 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
42122         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
42123         * sysdeps/unix/sysv/linux/m68k: Move directory from
42124         ports/sysdeps/unix/sysv/linux/m68k.
42125         * README: Update listing for m68k-*-linux-gnu.
42127 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
42129         * sysdeps/tile: Move directory from ports/sysdeps/tile.
42130         * sysdeps/unix/sysv/linux/generic: Move directory from
42131         ports/sysdeps/unix/sysv/linux/generic.
42132         * sysdeps/unix/sysv/linux/tile: Move directory from
42133         ports/sysdeps/unix/sysv/linux/tile.
42134         * README: Update listing for tile*-*-linux-gnu.
42136 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
42138         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42139         __builtin_expect.
42140         * benchtests/bench-memmem.c (simple_memmem): Likewise.
42141         * catgets/open_catalog.c (__open_catalog): Likewise.
42142         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42143         * debug/confstr_chk.c: Likewise.
42144         * debug/fread_chk.c (__fread_chk): Likewise.
42145         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42146         * debug/getgroups_chk.c: Likewise.
42147         * debug/mbsnrtowcs_chk.c: Likewise.
42148         * debug/mbsrtowcs_chk.c: Likewise.
42149         * debug/mbstowcs_chk.c: Likewise.
42150         * debug/memcpy_chk.c: Likewise.
42151         * debug/memmove_chk.c: Likewise.
42152         * debug/mempcpy_chk.c: Likewise.
42153         * debug/memset_chk.c: Likewise.
42154         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42155         * debug/strcat_chk.c (__strcat_chk): Likewise.
42156         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
42157         * debug/strncat_chk.c (__strncat_chk): Likewise.
42158         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
42159         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
42160         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
42161         * debug/wcpncpy_chk.c: Likewise.
42162         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42163         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
42164         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
42165         * debug/wcsncpy_chk.c: Likewise.
42166         * debug/wcsnrtombs_chk.c: Likewise.
42167         * debug/wcsrtombs_chk.c: Likewise.
42168         * debug/wcstombs_chk.c: Likewise.
42169         * debug/wmemcpy_chk.c: Likewise.
42170         * debug/wmemmove_chk.c: Likewise.
42171         * debug/wmempcpy_chk.c: Likewise.
42172         * debug/wmemset_chk.c: Likewise.
42173         * dirent/scandirat.c (SCANDIRAT): Likewise.
42174         * dlfcn/dladdr1.c (dladdr1): Likewise.
42175         * dlfcn/dladdr.c (dladdr): Likewise.
42176         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42177         * dlfcn/dlerror.c (__dlerror): Likewise.
42178         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42179         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42180         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42181         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42182         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42183         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42184         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42185         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42186         Likewise.
42187         * elf/dl-conflict.c: Likewise.
42188         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42189         * elf/dl-dst.h: Likewise.
42190         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42191         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42192         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42193         * elf/dl-init.c (call_init, _dl_init): Likewise.
42194         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42195         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42196         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42197         Likewise.
42198         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42199         Likewise.
42200         * elf/dl-minimal.c (__libc_memalign): Likewise.
42201         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42202         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42203         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42204         * elf/dl-sym.c (do_sym): Likewise.
42205         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42206         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42207         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42208         * elf/dl-writev.h (_dl_writev): Likewise.
42209         * elf/ldconfig.c (search_dir): Likewise.
42210         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42211         (dl_main): Likewise.
42212         * elf/setup-vdso.h (setup_vdso): Likewise.
42213         * grp/compat-initgroups.c (compat_call): Likewise.
42214         * grp/fgetgrent.c (fgetgrent): Likewise.
42215         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42216         * grp/putgrent.c (putgrent): Likewise.
42217         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42218         Likewise.
42219         * hurd/hurdinit.c: Likewise.
42220         * iconvdata/8bit-gap.c (struct): Likewise.
42221         * iconvdata/ansi_x3.110.c : Likewise.
42222         * iconvdata/big5.c : Likewise.
42223         * iconvdata/big5hkscs.c : Likewise.
42224         * iconvdata/cp1255.c: Likewise.
42225         * iconvdata/cp1258.c : Likewise.
42226         * iconvdata/cp932.c : Likewise.
42227         * iconvdata/euc-cn.c: Likewise.
42228         * iconvdata/euc-jisx0213.c : Likewise.
42229         * iconvdata/euc-jp.c: Likewise.
42230         * iconvdata/euc-jp-ms.c : Likewise.
42231         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42232         * iconvdata/gb18030.c : Likewise.
42233         * iconvdata/gbbig5.c (const): Likewise.
42234         * iconvdata/gbgbk.c: Likewise.
42235         * iconvdata/gbk.c : Likewise.
42236         * iconvdata/ibm1364.c : Likewise.
42237         * iconvdata/ibm930.c : Likewise.
42238         * iconvdata/ibm932.c: Likewise.
42239         * iconvdata/ibm933.c : Likewise.
42240         * iconvdata/ibm935.c : Likewise.
42241         * iconvdata/ibm937.c : Likewise.
42242         * iconvdata/ibm939.c : Likewise.
42243         * iconvdata/ibm943.c: Likewise.
42244         * iconvdata/iso_11548-1.c: Likewise.
42245         * iconvdata/iso-2022-cn.c : Likewise.
42246         * iconvdata/iso-2022-cn-ext.c : Likewise.
42247         * iconvdata/iso-2022-jp-3.c: Likewise.
42248         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42249         * iconvdata/iso-2022-kr.c : Likewise.
42250         * iconvdata/iso646.c (gconv_end): Likewise.
42251         * iconvdata/iso_6937-2.c : Likewise.
42252         * iconvdata/iso_6937.c : Likewise.
42253         * iconvdata/iso8859-1.c: Likewise.
42254         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42255         * iconvdata/shift_jisx0213.c : Likewise.
42256         * iconvdata/sjis.c : Likewise.
42257         * iconvdata/t.61.c : Likewise.
42258         * iconvdata/tcvn5712-1.c : Likewise.
42259         * iconvdata/tscii.c: Likewise.
42260         * iconvdata/uhc.c : Likewise.
42261         * iconvdata/unicode.c (gconv_end): Likewise.
42262         * iconvdata/utf-16.c (gconv_end): Likewise.
42263         * iconvdata/utf-32.c (gconv_end): Likewise.
42264         * iconvdata/utf-7.c (base64): Likewise.
42265         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42266         * iconv/gconv_close.c (__gconv_close): Likewise.
42267         * iconv/gconv_open.c (__gconv_open): Likewise.
42268         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42269         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42270         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42271         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42272         (ucs4le_internal_loop_single): Likewise.
42273         * iconv/iconv.c (iconv): Likewise.
42274         * iconv/iconv_close.c: Likewise.
42275         * iconv/loop.c (SINGLE): Likewise.
42276         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42277         * include/atomic.h: Likewise.
42278         * inet/inet6_option.c (option_alloc): Likewise.
42279         * intl/bindtextdom.c (set_binding_values): Likewise.
42280         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42281         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42282         * intl/localealias.c (read_alias_file): Likewise.
42283         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42284         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42285         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42286         * libio/fmemopen.c (fmemopen): Likewise.
42287         * libio/iofgets.c (_IO_fgets): Likewise.
42288         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42289         * libio/iofgetws.c (fgetws): Likewise.
42290         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42291         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42292         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42293         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42294         * locale/findlocale.c (_nl_find_locale): Likewise.
42295         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42296         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42297         Likewise.
42298         * locale/setlocale.c (setlocale): Likewise.
42299         * login/programs/pt_chown.c (main): Likewise.
42300         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42301         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42302         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42303         (mmap, mmap64, mremap, munmap): Likewise.
42304         * math/e_exp2l.c: Likewise.
42305         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42306         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42307         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42308         * math/s_catan.c (__catan): Likewise.
42309         * math/s_catanf.c (__catanf): Likewise.
42310         * math/s_catanh.c (__catanh): Likewise.
42311         * math/s_catanhf.c (__catanhf): Likewise.
42312         * math/s_catanhl.c (__catanhl): Likewise.
42313         * math/s_catanl.c (__catanl): Likewise.
42314         * math/s_ccosh.c (__ccosh): Likewise.
42315         * math/s_ccoshf.c (__ccoshf): Likewise.
42316         * math/s_ccoshl.c (__ccoshl): Likewise.
42317         * math/s_cexp.c (__cexp): Likewise.
42318         * math/s_cexpf.c (__cexpf): Likewise.
42319         * math/s_cexpl.c (__cexpl): Likewise.
42320         * math/s_clog10.c (__clog10): Likewise.
42321         * math/s_clog10f.c (__clog10f): Likewise.
42322         * math/s_clog10l.c (__clog10l): Likewise.
42323         * math/s_clog.c (__clog): Likewise.
42324         * math/s_clogf.c (__clogf): Likewise.
42325         * math/s_clogl.c (__clogl): Likewise.
42326         * math/s_csin.c (__csin): Likewise.
42327         * math/s_csinf.c (__csinf): Likewise.
42328         * math/s_csinh.c (__csinh): Likewise.
42329         * math/s_csinhf.c (__csinhf): Likewise.
42330         * math/s_csinhl.c (__csinhl): Likewise.
42331         * math/s_csinl.c (__csinl): Likewise.
42332         * math/s_csqrt.c (__csqrt): Likewise.
42333         * math/s_csqrtf.c (__csqrtf): Likewise.
42334         * math/s_csqrtl.c (__csqrtl): Likewise.
42335         * math/s_ctan.c (__ctan): Likewise.
42336         * math/s_ctanf.c (__ctanf): Likewise.
42337         * math/s_ctanh.c (__ctanh): Likewise.
42338         * math/s_ctanhf.c (__ctanhf): Likewise.
42339         * math/s_ctanhl.c (__ctanhl): Likewise.
42340         * math/s_ctanl.c (__ctanl): Likewise.
42341         * math/w_pow.c: Likewise.
42342         * math/w_powf.c: Likewise.
42343         * math/w_powl.c: Likewise.
42344         * math/w_scalb.c (sysv_scalb): Likewise.
42345         * math/w_scalbf.c (sysv_scalbf): Likewise.
42346         * math/w_scalbl.c (sysv_scalbl): Likewise.
42347         * misc/error.c (error_tail): Likewise.
42348         * misc/pselect.c (__pselect): Likewise.
42349         * nis/nis_callback.c (__nis_create_callback): Likewise.
42350         * nis/nis_call.c (__nisfind_server): Likewise.
42351         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42352         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42353         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42354         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42355         * nis/nis_lookup.c (nis_lookup): Likewise.
42356         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42357         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42358         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42359         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42360         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42361         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42362         * nis/nss_compat/compat-initgroups.c (add_group)
42363         (internal_getgrent_r): Likewise.
42364         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42365         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42366         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42367         (internal_getspnam_r): Likewise.
42368         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42369         (_nss_nis_getaliasbyname_r): Likewise.
42370         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42371         (_nss_nis_getntohost_r): Likewise.
42372         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42373         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42374         (_nss_nis_getgrgid_r): Likewise.
42375         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42376         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42377         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42378         (_nss_nis_gethostbyname4_r): Likewise.
42379         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42380         (initgroups_netid): Likewise.
42381         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42382         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42383         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42384         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42385         (_nss_nis_getprotobynumber_r): Likewise.
42386         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42387         (_nss_nis_getsecretkey): Likewise.
42388         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42389         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42390         (_nss_nis_getpwuid_r): Likewise.
42391         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42392         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42393         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42394         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42395         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42396         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42397         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42398         Likewise.
42399         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42400         (_nss_nisplus_getntohost_r): Likewise.
42401         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42402         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42403         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42404         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42405         Likewise.
42406         * nis/nss_nisplus/nisplus-initgroups.c
42407         (_nss_nisplus_initgroups_dyn): Likewise.
42408         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42409         (_nss_nisplus_getnetbyaddr_r): Likewise.
42410         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42411         (_nss_nisplus_getprotobynumber_r): Likewise.
42412         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42413         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42414         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42415         Likewise.
42416         * nis/nss_nisplus/nisplus-service.c
42417         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42418         (_nss_nisplus_getservbyport_r): Likewise.
42419         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42420         (_nss_nisplus_getspnam_r): Likewise.
42421         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42422         Likewise.
42423         * nscd/aicache.c (addhstaiX): Likewise.
42424         * nscd/cache.c (cache_search, prune_cache): Likewise.
42425         * nscd/connections.c (register_traced_file, send_ro_fd)
42426         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42427         (main_loop_epoll): Likewise.
42428         * nscd/grpcache.c (addgrbyX): Likewise.
42429         * nscd/hstcache.c (addhstbyX): Likewise.
42430         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42431         * nscd/mem.c (gc, mempool_alloc): Likewise.
42432         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42433         (addinnetgrX): Likewise.
42434         * nscd/nscd-client.h (__nscd_acquire_maplock)
42435         (__nscd_drop_map_ref): Likewise.
42436         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42437         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42438         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42439         Likewise.
42440         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42441         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42442         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42443         (__nscd_get_map_ref): Likewise.
42444         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42445         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42446         Likewise.
42447         * nscd/pwdcache.c (addpwbyX): Likewise.
42448         * nscd/selinux.c (preserve_capabilities): Likewise.
42449         * nscd/servicescache.c (addservbyX): Likewise.
42450         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42451         * posix/fnmatch.c (fnmatch): Likewise.
42452         * posix/getopt.c (_getopt_internal_r): Likewise.
42453         * posix/glob.c (glob, glob_in_dir): Likewise.
42454         * posix/wordexp.c (exec_comm_child): Likewise.
42455         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42456         (getanswer_r, gaih_getanswer_slice): Likewise.
42457         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42458         * resolv/res_init.c: Likewise.
42459         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42460         * resolv/res_query.c (__libc_res_nquery): Likewise.
42461         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42462         Likewise.
42463         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42464         * stdio-common/perror.c (perror): Likewise.
42465         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42466         * stdio-common/tmpnam.c (tmpnam): Likewise.
42467         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42468         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42469         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42470         Likewise.
42471         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42472         * stdlib/putenv.c (putenv): Likewise.
42473         * stdlib/setenv.c (__add_to_environ): Likewise.
42474         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42475         * stdlib/strtol_l.c (INTERNAL): Likewise.
42476         * string/memmem.c (memmem): Likewise.
42477         * string/strerror.c (strerror): Likewise.
42478         * string/strnlen.c (__strnlen): Likewise.
42479         * string/test-memmem.c (simple_memmem): Likewise.
42480         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42481         * sunrpc/pm_getport.c (__get_socket): Likewise.
42482         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42483         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42484         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42485         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42486         Likewise.
42487         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42488         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42489         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42490         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42491         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42492         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42493         Likewise.
42494         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42495         Likewise.
42496         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42497         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42498         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42499         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42500         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42502         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42503         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42504         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42505         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42506         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42507         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42508         Likewise.
42509         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42510         Likewise.
42511         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42512         Likewise.
42513         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42514         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42515         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42516         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42517         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42518         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42519         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42520         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42521         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42522         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42523         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42524         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42525         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42526         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42528         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42529         Likewise.
42530         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42531         Likewise.
42532         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42533         Likewise.
42534         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42535         Likewise.
42536         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42537         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42538         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42539         Likewise.
42540         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42541         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42542         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42543         * sysdeps/posix/sleep.c: Likewise.
42544         * sysdeps/posix/tempname.c: Likewise.
42545         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42546         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42547         Likewise.
42548         * sysdeps/powerpc/powerpc32/dl-machine.h
42549         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42550         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42551         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42552         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42553         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42554         Likewise.
42555         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42556         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42557         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42558         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42559         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42560         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42561         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42562         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42563         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42564         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42565         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42566         (elf_machine_lazy_rel): Likewise.
42567         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42568         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42569         (elf_machine_lazy_rel): Likewise.
42570         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42571         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42572         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42573         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42574         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42575         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42576         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42577         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42578         Likewise.
42579         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42580         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42581         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42582         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42583         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42584         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42585         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42586         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42587         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42588         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42589         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42590         Likewise.
42591         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42592         (__posix_fallocate64_l64): Likewise.
42593         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42594         (posix_fallocate): Likewise.
42595         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42596         Likewise.
42597         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42598         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42599         (getifaddrs_internal): Likewise.
42600         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42601         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42602         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42603         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42604         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42605         (__posix_fallocate64_l64): Likewise.
42606         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42607         Likewise.
42608         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42609         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42610         (__get_clockfreq): Likewise.
42611         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42612         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42613         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42614         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42615         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42616         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42617         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42618         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42619         Likewise.
42620         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42621         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42622         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42623         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42624         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42625         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42626         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42627         Likewise.
42628         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42629         (posix_fallocate): Likewise.
42630         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42631         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42632         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42633         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42634         (elf_machine_rela, elf_machine_rela_relative)
42635         (elf_machine_lazy_rel): Likewise.
42636         * time/asctime.c (asctime_internal): Likewise.
42637         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42638         * time/tzset.c (__tzset_parse_tz): Likewise.
42639         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42640         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42641         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42642         * wcsmbs/wcsmbsload.h: Likewise.
42644         [BZ #15894]
42645         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42647         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42648         (arena_get2): Remove THREAD_STATS conditionals.
42649         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42650         (__malloc_stats, int): Likewise.
42652 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42654         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42655         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42657         * manual/setjmp.texi: Fix typos/grammar errors.
42659         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42660         Only return early when n is <= 0.  Delete unused return statement.
42662         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42663         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42664         * debug/tst-longjmp_chk3.c: New file.
42666         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42667         (test_main): Replace code with set_fortify_handler call.
42668         * debug/test-strcpy_chk.c: Likewise.
42669         * debug/tst-chk1.c: Likewise.
42670         * debug/tst-longjmp_chk.c: Likewise.
42671         * test-skeleton.c: Include fcntl.h & paths.h
42672         (set_fortify_handler): Define.
42674         * debug/tst-longjmp_chk.c: Add header comment and include
42675         ../test-skeleton.c.
42676         (do_test): Mark static.
42677         (TEST_FUNCTION): Define.
42679         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42680         (IP_PMTUDISC_INTERFACE): Likewise.
42681         (IP_MULTICAST_IF): Likewise.
42682         (IP_MULTICAST_TTL): Likewise.
42683         (IP_MULTICAST_LOOP): Likewise.
42684         (IP_ADD_MEMBERSHIP): Likewise.
42685         (IP_DROP_MEMBERSHIP): Likewise.
42686         (IP_UNBLOCK_SOURCE): Likewise.
42687         (IP_BLOCK_SOURCE): Likewise.
42688         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42689         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42690         (IP_MSFILTER): Likewise.
42691         (MCAST_JOIN_GROUP): Likewise.
42692         (MCAST_BLOCK_SOURCE): Likewise.
42693         (MCAST_UNBLOCK_SOURCE): Likewise.
42694         (MCAST_LEAVE_GROUP): Likewise.
42695         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42696         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42697         (MCAST_MSFILTER): Likewise.
42698         (IP_MULTICAST_ALL): Likewise.
42699         (IP_UNICAST_IF): Likewise.
42701         * timezone/Makefile: Delete $(have-ksh) check.
42702         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42703         * timezone/tzselect.ksh: Add +x mode bits.
42705         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42706         (ANON_INODE_FS_MAGIC): Likewise.
42707         (BDEVFS_MAGIC): Likewise.
42708         (BINFMTFS_MAGIC): Likewise.
42709         (BTRFS_TEST_MAGIC): Likewise.
42710         (CRAMFS_MAGIC_WEND): Likewise.
42711         (DEBUGFS_MAGIC): Likewise.
42712         (ECRYPTFS_SUPER_MAGIC): Likewise.
42713         (EXT3_SUPER_MAGIC): Likewise.
42714         (EXT4_SUPER_MAGIC): Likewise.
42715         (FUTEXFS_SUPER_MAGIC): Likewise.
42716         (HOSTFS_SUPER_MAGIC): Likewise.
42717         (HUGETLBFS_MAGIC): Likewise.
42718         (MINIX3_SUPER_MAGIC): Likewise.
42719         (MTD_INODE_FS_MAGIC): Likewise.
42720         (NILFS_SUPER_MAGIC): Likewise.
42721         (OPENPROM_SUPER_MAGIC): Likewise.
42722         (PIPEFS_MAGIC): Likewise.
42723         (PSTOREFS_MAGIC): Likewise.
42724         (QNX6_SUPER_MAGIC): Likewise.
42725         (RAMFS_MAGIC): Likewise.
42726         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42727         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42728         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42729         (SECURITYFS_MAGIC): Likewise.
42730         (SELINUX_MAGIC): Likewise.
42731         (SMACK_MAGIC): Likewise.
42732         (SOCKFS_MAGIC): Likewise.
42733         (SQUASHFS_MAGIC): Likewise.
42734         (STACK_END_MAGIC): Likewise.
42735         (TMPFS_MAGIC): Likewise.
42736         (USBDEVICE_SUPER_MAGIC): Likewise.
42737         (V9FS_MAGIC): Likewise.
42738         (XENFS_SUPER_MAGIC): Likewise.
42739         (CRAMFS_MAGIC): Fix typo in comment.
42740         (EXT2_SUPER_MAGIC): Update comment.
42741         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42743 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42745         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42746         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42747         * sysdeps/unix/sysv/linux/arm: Move directory from
42748         ports/sysdeps/unix/sysv/linux/arm.
42749         * README: Update listing for arm-*-linux-gnueabi.
42751         * README: Remove mention of am33.
42753 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42755         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42756         than the comma operator, to avoid "rhs of comma has no effect"
42757         compiler warnings.
42758         (__sigfillset, __sigandset, __sigorset): Likewise.
42759         * include/signal.h (__sigemptyset): Likewise.
42760         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42762 2014-02-07  Allan McRae  <allan@archlinux.org>
42764         * version.h (RELEASE): Set to "development".
42765         (VERSION): Set to "2.19.90"
42766         * NEWS: Add 2.20 section.
42768 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42770         [BZ #16529]
42771         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42773 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42775         * manual/contrib.texi: Update entry for Carlos O'Donell,
42776         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42778 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42780         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42782         * sysdeps/unix/sysv/linux/kernel-features.h
42783         [__LINUX_KERNEL_VERSION >= 0x020621]
42784         (__ASSUME_PROC_PID_TASK_COMM): Define.
42786 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42788         [BZ #16398]
42789         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42790         conversion when destination buffer does not have enough space.
42791         * libio/tst-ftell-partial-wide.c: New test case.
42792         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42794         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42795         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42796         Leonard and Allan McRae.
42798 2014-02-04  David S. Miller  <davem@davemloft.net>
42800         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42801         32-bit.
42803 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42806         New file
42807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42808         New file
42809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42810         New file.
42811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42812         New file.
42813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42814         New file.
42815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42816         New file.
42817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42818         New file.
42819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42820         New file.
42821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42822         New file.
42823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42824         New file.
42825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42826         New file.
42827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42828         New file.
42829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42830         New file.
42832 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42834         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42835         * shlib-versions: Likewise.
42837 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42838             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42840         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42841         (abilist-pattern): New variable, set to %-le.abilist.
42843         * Makerules (abilist-pattern): New variable.
42844         (vpath): Use $(abilist-pattern) in place of %.abilist.
42845         (check-abi-% pattern rule): Likewise.
42846         (check-abi, update-abi): Likewise.
42848 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42852 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42854         * manual/startup.texi: Add next, previous, and top entries for
42855         the `Program Arguments' and `Environment Variables' nodes.
42857 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42859         * manual/macros.texi: Add comments before MTASC-safety macros.
42861         * manual/users.texi: Document MTASC-safety properties.
42863         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42864         (pthread_getspecific, pthread_setspecific): Format with
42865         @deftypefun, and add @safety note.
42866         * manual/signal.texi: Move comments that analyze the above
42867         functions to their home place.
42869 2014-02-03  Allan McRae  <allan@archlinux.org>
42871         * po/sl.po: Update Slovenian translation from translation project.
42873 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42875         * manual/time.texi (timegm): Add missing blank after @c.
42876         Reported by Joseph Myers <joseph@codesourcery.com>.
42878 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42880         * manual/check-safety.sh: New.
42881         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42883         * manual/terminal.texi: Document MTASC-safety properties.
42885         * manual/filesys.texi: Document MTASC-safety properties.
42887         * manual/errno.texi: Document MTASC-safety properties.
42889         * manual/intro.texi: Document safety identifiers and
42890         conditionals.
42892         * manual/string.texi (wcstok): Fix prototype.
42893         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42895         * manual/time.texi: Document MTASC-safety properties.
42897         * manual/string.texi: Document MTASC-safety properties.
42899         * manual/threads.texi: Document MTASC-safety properties.
42901         * manual/stdio.texi: Document MTASC-safety properties.
42903         * manual/syslog.texi: Document MTASC-safety properties.
42905         * manual/sysinfo.texi: Document MTASC-safety properties.
42907         * manual/startup.texi: Document MTASC-safety properties.
42909         * manual/socket.texi: Document MTASC-safety properties.
42911         * manual/signal.texi: Document MTASC-safety properties.
42913 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42915         * manual/setjmp.texi: Document MTASC-safety properties.
42917         * manual/search.texi: Document MTASC-safety properties.
42919         * manual/resource.texi: Document MTASC-safety properties.
42921         * manual/process.texi: Document MTASC-safety properties.
42923         * manual/platform.texi: Document MTASC-safety properties.
42925         * manual/pipe.texi: Document MTASC-safety properties.
42927         * manual/pattern.texi: Document MTASC-safety properties.
42929         * manual/message.texi: Document MTASC-safety properties.
42931         [BZ #12751]
42932         * manual/memory.texi: Document MTASC-safety properties.
42934         * manual/math.texi: Document MTASC-safety properties.
42936         * manual/locale.texi: Document MTASC-safety properties.
42938         * manual/llio.texi: Document MTASC-safety properties.
42940         * manual/libdl.texi: New.
42942         * manual/lang.texi: Document MTASC-safety properties.
42944         * manual/job.texi: Document MTASC-safety properties.
42946         * manual/getopt.texi: Document MTASC-safety properties.
42948         * manual/ctype.texi: Document MTASC-safety properties.
42950 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42952         [BZ #16046]
42953         * csu/libc-tls.c (static_map): Remove variable.
42954         (__libc_setup_tls): Use main executable's link map for TLS data.
42955         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42956         casing for LM_ID_BASE and GL(dl_nns).
42957         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42958         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42959         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42960         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42961         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42962         member.
42963         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42964         l_phnum members.
42966 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42968         * manual/debug.texi: Document MTASC-safety properties.
42970 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42972         [BZ #16510]
42973         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42974         of __x86_64__ when disabling x87 inline functions.
42976 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42978         * manual/charset.texi: Document MTASC-safety properties.
42980         * manual/crypt.texi: Document MTASC-safety properties.
42982         * manual/conf.texi: Document MTASC-safety properties.
42984         * manual/arith.texi: Document MTASC-safety properties.
42986         * manual/argp.texi: Document MTASC-safety properties.
42988         * manual/macros.texi: Introduce macros to document multi
42989         thread, asynchronous signal and asynchronous cancellation
42990         safety properties.
42991         * manual/intro.texi: Introduce the properties themselves.
42993 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42995         * sysdeps/sh/sh4/Makefile: New file.
42997 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42999         * math/gen-libm-test.pl ($srcdir): New variable.
43000         ($auto_input): Use it.
43002 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43004         [BZ #16506]
43005         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
43006         access beyond array bounds when parsing netgroups file.
43008         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
43009         the old buffer before realloc.
43011 2014-01-27  Allan McRae  <allan@archlinux.org>
43013         * po/fr.po: Update French translation from translation project.
43015 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43017         * sysdeps/sh/libm-test-ulps: Regenerate.
43019 2014-01-24  David S. Miller  <davem@davemloft.net>
43021         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
43023 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43025         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
43026         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
43028 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43030         [BZ #16474]
43031         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
43032         string pointers after reallocation.
43034 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43036         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
43037         __SH4A__ instead of __SH_FPU_ANY__.
43039 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43041         * sysdeps/sh/fpu_control.h: New file.
43042         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
43043         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43044         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
43045         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
43046         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
43047         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
43048         * sysdeps/sh/sys/ucontext.h: Remove.
43049         * sysdeps/sh/sys: Remove directory.
43051 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43053         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
43054         s390/sys/ucontext.h.
43055         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
43056         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
43058 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
43060         [BZ #15605]
43061         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
43063 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43065         [BZ#16431]
43066         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43067         Adjust the vDSO correctly for internal calls.
43068         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43070 2014-01-20  Allan McRae  <allan@archlinux.org>
43072         * po/ca.po: Update Catalan translation from translation project.
43074 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
43076         * sysdeps/s390/sotruss-lib.c: New file.
43078 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43080         [BZ#16430]
43081         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
43082         (__GI___gettimeofday): Alias for a different internal symbol to avoid
43083         local calls issues by not having a PLT stub required for IFUNC calls.
43084         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
43086 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
43088         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
43089         * math/test-fpucw-static.c: Likewise.
43091 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43093         [BZ #16453]
43094         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
43096 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43098         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
43099         implementation for powerpc.
43101 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
43103         [BZ #14782]
43104         * sysdeps/posix/system.c (__libc_system): Do not enable
43105         asynchronous cancellation.
43107 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43109         [BZ #16427]
43110         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
43111         handling only for numbers special also in the IEEE case.
43113 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43115         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43117 2014-01-11  Allan McRae  <allan@archlinux.org>
43119         * po/bg.po: Update Bulgarian translation from translation project.
43121         * po/de.po: Update German translation from translation project.
43123 2014-01-10  Roland McGrath  <roland@hack.frob.com>
43125         * sysdeps/generic/gcc-compat.h: New file.
43127 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43129         * benchtests/asin-inputs: Correct slow inputs.
43130         * benchtests/acos-inputs: Likewise.
43132 2014-01-10  Allan McRae  <allan@archlinux.org>
43134         * po:sv.po: Update Swedish translation from translation project.
43136         * po/vi.po: Update Vietnamese translation from translation project.
43138         * po/eo.po: Update Esperanto translation from translation project.
43140         * po/cs.po: Update Czech translation from translation project.
43142         * po/nl.po: Update Dutch translation from translation project.
43144         * po/pl.po: Update Polish translation from translation project.
43146         * po/ru.po: Update Russian translation from translation project.
43148         * po/uk.po: Update Ukrainian translation from translation project.
43150 2014-01-08  Brooks Moses  <bmoses@google.com>
43152         * elf/dl-load.c: Fix comment typo.
43154 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
43156         * po/header.pot: Rename to...
43157         * po/pot.header: ... this.
43158         * po/Makefile: Use pot.header.
43160 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
43161             Maxim Kuvyrkov  <maxim@kugelworks.com>
43163         [BZ #16394]
43164         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43165         SRC and DEST against LEN.
43167 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43169         [BZ #16414]
43170         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43171         implementation.
43172         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43174 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43178 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43180         [BZ #16408]
43181         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43182         for large positive arguments.
43184 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43186         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43188         * math/auto-libm-test-in: Mark various tests with
43189         xfail-rounding:ldbl-128ibm.
43190         * math/auto-libm-test-out: Regenerated.
43192         [BZ #16407]
43193         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43194         Increase overflow threshold.
43196 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43198         [BZ #14286]
43199         * stdio-common/vfprintf.c: Check for integer overflow.
43201 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43203         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43204         the first argument and return value of __tls_get_addr_internal.
43206 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43208         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43209         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43211 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43213         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43214         * sysdeps/s390/rtld-global-offsets.sym: New file.
43215         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43216         GLIBC_2.19 symbol.
43217         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43218         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43219         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43220         ... this.
43221         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43222         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43223         ... this.
43224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43225         Regenerate.
43226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43227         Regenerate.
43228         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43229         halfs of GPRs for high_gprs contexts.
43230         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43231         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43232         field.
43233         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43234         uc_flags field.
43235         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43236         64 bit versions:
43237         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43238         for high GPRs (uc_high_gprs) and for future extensions
43239         (__reserved).
43240         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43241         for future extensions (__reserved).
43242         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43243         64 bit versions:
43244         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43245         SC_HIGHGPRS offset definition.
43246         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43247         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43249         * Versions.def: Add GLIBC_2.19 for libpthread.
43250         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43251         siglongjmp for libpthread with GLIBC_2.19 symver.
43252         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43253         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43254         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43255         * sysdeps/s390/__longjmp.c: New file.
43256         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43257         * sysdeps/s390/longjmp.c: New file.
43258         * sysdeps/s390/setjmp.S: New file.
43259         * sysdeps/s390/sigjmp.S: New file.
43260         * sysdeps/s390/v1-longjmp.c: New file.
43261         * sysdeps/s390/v1-setjmp.h: New file.
43262         * sysdeps/s390/v1-sigjmp.c: New file.
43263         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43264         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43265         GLIBC_2.19 version.
43266         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43267         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43268         versioned symbols for ____longjmp_chk.
43269         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43270         Likewise.
43271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43272         Regenerate.
43273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43274         Regenerate.
43275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43276         Regenerate.
43277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43278         Regenerate.
43279         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43280         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43281         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43282         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43283         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43284         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43285         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43286         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43287         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43288         * sysdeps/s390/rtld-__longjmp.c: New file.
43289         * sysdeps/s390/rtld-setjmp.S: New file.
43291 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43293         [BZ #16400]
43294         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43295         Return -__logl (x) for small positive arguments without evaluating
43296         a polynomial.
43298 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43300         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43301         Rename to ...
43302         (__ptrace_peeksiginfo_args): ... this.
43303         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43304         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43305         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43307 2014-01-06  Allan McRae  <allan@archlinux.org>
43309         * inet/netinet/in.h: Fix typo in comment.
43311 2014-01-05  Andreas Jaeger  <aj@suse.de>
43313         * sysdeps/i386/fpu/libm-test-ulps: Update.
43315 2014-01-05  Allan McRae  <allan@archlinux.org>
43317         * po/libc.pot: Regenerated.
43319         * malloc/memusagestat.c: Fix gettext call formatting.
43321 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43323         * nscd/nscd.c: Improve usage() output.
43325 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43327         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43328         * sysdeps/unix/sysv/linux/configure: Regenerated.
43329         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43330         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43332 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43334         [BZ #16390]
43335         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43336         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43338 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43340         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43341         extra tokens at end of #undef directive.
43342         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43343         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43344         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43346 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43348         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43350         * math/auto-libm-test-in: Mark various tests with
43351         xfail-rounding:ldbl-128ibm.
43352         * math/auto-libm-test-out: Regenerated.
43354 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43356         [BZ #16386]
43357         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43358         numbers with subnormal high part when calculating exponent.
43360         [BZ #16385]
43361         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43362         fabs.
43364         [BZ #16384]
43365         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43366         M_LN2l.
43367         (__ieee754_acoshl): Use __log1pl not __log1p.
43369 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43371         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43372         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43373         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43374         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43375         (reused_arena, arena_get2): Convert to GNU style.
43376         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43377         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43378         (memalign_check, __malloc_set_state): Likewise.
43379         * malloc/mallocbug.c (main): Likewise.
43380         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43381         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43382         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43383         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43384         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43385         (__posix_memalign, malloc_info): Likewise.
43386         * malloc/malloc.h: Likewise.
43387         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43388         (mallochook, memalignhook, reallochook, mabort): Likewise.
43389         * malloc/mcheck.h: Likewise.
43390         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43391         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43392         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43393         * malloc/morecore.c (__default_morecore): Likewise.
43394         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43395         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43396         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43397         (print_and_abort): Likewise.
43398         * malloc/obstack.h: Likewise.
43399         * malloc/set-freeres.c (__libc_freeres): Likewise.
43400         * malloc/tst-mallocstate.c (main): Likewise.
43401         * malloc/tst-mtrace.c (main): Likewise.
43402         * malloc/tst-realloc.c (do_test): Likewise.
43404 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43406         [BZ #16366]
43407         * nscd/netgroupcache.c (do_notfound): New function.
43408         (addgetnetgrentX): Use it.
43410         [BZ # 16365]
43411         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43412         NSS_STATUS_NOTFOUND.
43414 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43416         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43419 2014-01-01  Allan McRae  <allan@archlinux.org>
43421         * scripts/update-copyrights: Update configure input file suffix.
43423         * NEWS: Update copyright year.
43424         * catgets/gencat.c: Likewise.
43425         * csu/version.c: Likewise.
43426         * debug/catchsegv.sh: Likewise.
43427         * debug/pcprofiledump.c: Likewise.
43428         * debug/xtrace.sh: Likewise.
43429         * elf/ldconfig.c: Likewise.
43430         * elf/ldd.bash.in: Likewise.
43431         * elf/pldd.c: Likewise.
43432         * elf/sotruss.ksh: Likewise.
43433         * elf/sprof.c: Likewise.
43434         * iconv/iconv_prog.c: Likewise.
43435         * iconv/iconvconfig.c: Likewise.
43436         * locale/programs/locale.c: Likewise.
43437         * locale/programs/localedef.c: Likewise.
43438         * login/programs/pt_chown.c: Likewise.
43439         * malloc/memusage.sh: Likewise.
43440         * malloc/memusagestat.c: Likewise.
43441         * malloc/mtrace.pl: Likewise.
43442         * manual/libc.texinfo: Likewise.
43443         * nscd/nscd.c: Likewise.
43444         * nss/getent.c: Likewise.
43445         * nss/makedb.c: Likewise.
43446         * posix/getconf.c: Likewise.
43447         * scripts/test-installation.pl: Likewise.
43449         * All files with FSF copyright notices: Update copyright dates
43450         using scripts/update-copyrights.
43451         * intl/plural.c: Regenerated.
43452         * locale/programs/charmap-kw.h: Likewise.
43453         * locale/programs/locfile-kw.h: Likewise.
43455 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43457         * sysdeps/unix/sysv/linux/configure: Regenerated.
43458         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43459         the linux/fanotify.h header.
43460         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43461         HAVE_LINUX_FANOTIFY_H is defined.
43463 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43465         * benchtests/cos-inputs: New inputs.
43466         * benchtests/sin-inputs: Likewise.
43468         * benchtests/atan-inputs: New inputs. Fix name of multiple
43469         precision fallback inputs.
43471         * benchtests/atanh-inputs: New inputs.
43472         * benchtests/tanh-inputs: Likewise.
43474         * benchtests/acosh-inputs: New inputs.
43475         * benchtests/asinh-inputs: Likewise.
43477         * benchtests/cosh-inputs: New inputs.
43478         * benchtests/sinh-inputs: Likewise.
43480         * benchtests/acos-inputs: Add more inputs.
43481         * benchtests/asin-inputs: Likewise.
43483 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43485         [BZ #16375]
43486         * manual/arith.texi: Fix spelling.
43487         * manual/charset.texi: Likewise.
43488         * manual/errno.texi: Likewise.
43489         * manual/filesys.texi: Likewise.
43490         * manual/lang.texi: Likewise.
43491         * manual/llio.texi: Likewise.
43492         * manual/locale.texi: Likewise.
43493         * manual/message.texi: Likewise.
43494         * manual/resource.texi: Likewise.
43495         * manual/search.texi: Likewise.
43496         * manual/setjmp.texi: Likewise.
43497         * manual/stdio.texi: Likewise.
43498         * manual/string.texi: Likewise.
43499         * manual/sysinfo.texi: Likewise.
43500         * manual/time.texi: Likewise.
43502 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43504         * po/sl.po: New file.
43506 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43508         * .gitignore: Add core/.gdbinit/.gdb_history.
43510 2013-12-27  Allan McRae  <allan@archlinux.org>
43512         [BZ #16369]
43513         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43514         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43516 2013-12-24  Brooks Moses  <bmoses@google.com>
43518         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43519         all compilers that claim C++98 compliance, not just GCC.
43520         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43521         Likewise.
43523 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43525         * NEWS: Restore accidentally deleted bug-fix entries.
43527 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43528             Ondřej Bílka  <neleai@seznam.cz>
43530         [BZ #15073]
43531         * malloc/malloc.c (_int_free): Perform sanity check only if we
43532         have_lock.
43534 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43536         [BZ #12986]
43537         * manual/stdio.texi (String Input Conversions): Clarify that character
43538         classes are not supported.
43540 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43544 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43546         [BZ #16337]
43547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43548         Calculate results for small negative arguments directly rather
43549         than using reflection formula with special underflow handling.
43551         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43552         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43553         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43554         (fchflags): Likewise.
43555         (revoke): Likewise.
43556         (setlogin): Likewise.
43557         (sigaltstack): Likewise.
43558         (wait4): Likewise.
43559         (sigblock): Remove.
43560         (sigsetmask): Likewise.
43561         (wait3): Likewise.
43562         (waitpid): Likewise.
43563         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43564         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43565         file.
43566         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43567         * sysdeps/unix/bsd/Makefile: ... here.
43568         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43569         * sysdeps/unix/bsd/Versions: ... here.
43570         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43571         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43572         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43573         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43574         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43575         * sysdeps/unix/bsd/sigblock.c: ... here.
43576         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43577         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43578         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43579         * sysdeps/unix/bsd/sigvec.c: ... here.
43580         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43581         * sysdeps/unix/bsd/tcdrain.c: ... here.
43582         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43583         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43584         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43585         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43586         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43587         * sysdeps/unix/bsd/wait.c: ... here.
43588         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43589         * sysdeps/unix/bsd/wait3.c: ... here.
43590         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43591         * sysdeps/unix/bsd/waitpid.c: ... here.
43593 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43595         [BZ #16356]
43596         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43597         round-to-nearest for [!USE_AS_EXPM1L].
43598         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43599         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43600         more tests of exp and exp10.  Expect some exp10 tests to miss
43601         exceptions or fail in directed rounding modes.
43602         * math/auto-libm-test-out: Regenerated.
43603         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43604         (exp10_test_tonearest): New function.
43605         (exp10_towardzero_test_data): New array.
43606         (exp10_test_towardzero): New function.
43607         (exp10_downward_test_data): New array.
43608         (exp10_test_downward): New function.
43609         (exp10_upward_test_data): New array.
43610         (exp10_test_upward): New function.
43611         (main): Call the new functions.
43612         * sysdeps/i386/fpu/libm-test-ulps: Update.
43613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43615 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43617         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43618         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43619         * math/auto-libm-test-out: Regenerated.
43620         * math/libm-test.inc (acosh_test_data): Add more tests.
43621         (atanh_test_data): Likewise.
43622         (ceil_test_data): Likewise.
43623         (copysign_test_data): Likewise.
43624         * sysdeps/i386/fpu/libm-test-ulps: Update.
43625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43627         * timezone/checktab.awk: Update from tzcode 2013i.
43628         * timezone/private.h: Likewise.
43629         * timezone/scheck.c: Likewise.
43630         * timezone/tzfile.h: Likewise.
43631         * timezone/tzselect.ksh: Likewise.
43632         * timezone/zdump.c: Likewise.
43633         * timezone/zic.c: Likewise.
43635         * math/auto-libm-test-in: Add tests of cpow.
43636         * math/auto-libm-test-out: Regenerated.
43637         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43638         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43639         mpc_cc_c.
43640         (func_calc_desc): Add mpc_cc_c union field.
43641         (test_functions): Add cpow.
43642         (special_fill_2pi): New function.
43643         (special_real_inputs): Add 2pi.
43644         (calc_generic_results): Handle mpc_cc_c.
43645         * sysdeps/i386/fpu/libm-test-ulps: Update.
43646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43648         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43649         csqrt, ctan and ctanh.
43650         * math/auto-libm-test-out: Regenerated.
43651         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43652         (TEST_COND_x86): Likewise.
43653         (ccos_test_data): Use AUTO_TESTS_c_c.
43654         (ccosh_test_data): Likewise.
43655         (cexp_test_data): Likewise.
43656         (clog_test_data): Likewise.
43657         (csqrt_test_data): Likewise.
43658         (ctan_test_data): Likewise.
43659         (ctan_tonearest_test_data): Likewise.
43660         (ctan_towardzero_test_data): Likewise.
43661         (ctan_downward_test_data): Likewise.
43662         (ctan_upward_test_data): Likewise.
43663         (ctanh_test_data): Likewise.
43664         (ctanh_tonearest_test_data): Likewise.
43665         (ctanh_towardzero_test_data): Likewise.
43666         (ctanh_downward_test_data): Likewise.
43667         (ctanh_upward_test_data): Likewise.
43668         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43669         mpc_c_c.
43670         (func_calc_desc): Add mpc_c_c union field.
43671         (FUNC_mpc_c_c): New macro.
43672         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43673         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43674         ctanh.
43675         (special_fill_min_subnorm_p120): New function.
43676         (special_real_inputs): Add min_subnorm_p120.
43677         (calc_generic_results): Handle mpc_c_c.
43678         * sysdeps/i386/fpu/libm-test-ulps: Update.
43679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43681 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43683         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43684         (do_sin_slow): New functions.
43685         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43686         (cslow2, csloww1, csloww2): Use the new functions.
43688         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43689         Use M to change sign of result instead of X.  Assume X is
43690         positive.
43691         (csloww1): Likewise.
43692         (__sin): Adjust.
43693         (__cos): Adjust.
43695         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43696         arguments A and DA.
43697         (__sin): Adjust.
43698         (__cos): Likewise.
43700         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43701         (__cos): Likewise.
43702         (sloww1): Don't adjust sign of DX.
43703         (csloww1): Likewise.
43704         (sloww2): Use X directly and don't adjust sign of DX.
43705         (csloww2): Likewise.
43707 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43709         * math/auto-libm-test-in: Add tests of cabs and carg.
43710         * math/auto-libm-test-out: Regenerated.
43711         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43712         (carg_test_data): Likewise.
43713         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43714         mpc_c_f.
43715         (func_calc_desc): Add mpc_c_f union field.
43716         (test_functions): Add cabs and carg.
43717         (calc_generic_results): Handle mpc_c_f.
43719         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43720         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43721         as a macro and a compat symbol.
43722         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43723         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43724         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43725         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43726         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43727         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43728         not use .hidden.
43729         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43730         Likewise.
43731         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43732         Likewise.
43733         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43734         Likewise.
43735         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43736         Likewise.
43737         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43738         Likewise.
43739         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43740         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43741         from GLIBC_2.3.2.
43743 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43747 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43749         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43750         trailing whitespace removed.
43751         * scripts/config.guess: Update to version 2013-11-29.
43752         * scripts/config.sub: Update to version 2013-10-01.
43754         * math/auto-libm-test-in: Add tests of sincos.
43755         * math/auto-libm-test-out: Regenerated.
43756         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43757         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43758         mpfr_f_11.
43759         (func_calc_desc): Add mpfr_f_11 union field.
43760         (test_functions): Add sincos.
43761         (calc_generic_results): Handle mpfr_f_11.
43762         * sysdeps/i386/fpu/libm-test-ulps: Update.
43763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43765 2013-12-19  Andreas Schwab  <schwab@suse.de>
43767         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43768         CALL_MCOUNT.
43769         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43770         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43771         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43773 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43775         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43776         * sysdeps/i386/fpu/libm-test-ulps: Update.
43777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43779         [BZ #16293]
43780         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43781         round-to-nearest mode when using frndint.
43782         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43783         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43784         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43785         Likewise.
43786         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43787         sinh test to fail.
43788         * math/auto-libm-test-out: Regenerated.
43789         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43790         (TEST_COND_x86): Likewise.
43791         (expm1_tonearest_test_data): New array.
43792         (expm1_test_tonearest): New function.
43793         (expm1_towardzero_test_data): New array.
43794         (expm1_test_towardzero): New function.
43795         (expm1_downward_test_data): New array.
43796         (expm1_test_downward): New function.
43797         (expm1_upward_test_data): New array.
43798         (expm1_test_upward): New function.
43799         (main): Run the new test functions.
43800         * sysdeps/i386/fpu/libm-test-ulps: Update.
43801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43803         * include/features.h: Update comment documenting feature test
43804         macros.  Mention _DEFAULT_SOURCE in comment.
43805         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43806         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43807         _BSD_SOURCE and _SVID_SOURCE.
43808         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43809         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43810         !_SVID_SOURCE]: Likewise.
43811         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43812         (__USE_POSIX_IMPLICITLY): Define.
43813         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43814         (_POSIX_SOURCE): Undefine and redefine.
43815         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43816         (_POSIX_C_SOURCE): Likewise.
43817         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43818         (Feature Test Macros): Update documentation of default features.
43820 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43822         * benchtests/Makefile: Add bench-strtok.
43823         * benchtests/bench-strtok.c: New file: strtok benchtest.
43825 2013-12-19  Allan McRae  <allan@archlinux.org>
43827         * manual/install.texi: Suppress menu for plain text output.
43828         * INSTALL: Regenerated.
43830 2013-12-18  Brooks Moses  <bmoses@google.com>
43832         [BZ #15846]
43833         * misc/getauxval.c: Include errno.h.
43834         (__getauxval): Set errno to ENOENT if the requested type is not
43835         found.
43836         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43837         don't declare with __attribute_const__.
43838         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43839         * manual/startup.texi: Document that getauxval sets errno.
43841 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43843         * math/auto-libm-test-in: Add tests of jn and yn.
43844         * math/auto-libm-test-out: Regenerated.
43845         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43846         (yn_test_data): Likewise.
43847         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43848         mpfr_if_f.
43849         (func_calc_desc): Add mpfr_if_f union field.
43850         (FUNC_mpfr_if_f): New macro.
43851         (test_functions): Add jn and yn.
43852         (calc_generic_results): Assert type of second input for
43853         mpfr_ff_f.  Handle mpfr_if_f.
43854         (output_for_one_input_case): Disable all checking for arguments
43855         fitting floating-point types in case of an integer argument.
43856         * sysdeps/i386/fpu/libm-test-ulps: Update.
43857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43860         Don't expect fegetround reference in libm.so.
43862 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43864         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43865         $(config-cflags-nofma).
43867 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43869         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43870         * math/auto-libm-test-out: Regenerated.
43872         [BZ #16338]
43873         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43874         to determine exponent and adjust argument to have exponent of -1.
43875         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43876         log2.
43877         * math/auto-libm-test-out: Regenerated.
43878         * sysdeps/i386/fpu/libm-test-ulps: Update.
43879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43881 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43883         * manual/probes.texi: Remove cases when per-thread arenas are
43884         disabled.
43886 2013-12-18  Andreas Schwab  <schwab@suse.de>
43888         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43889         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43890         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43891         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43892         * sysdeps/i386/i686/multiarch/Makefile: Update.
43893         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43895 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43897         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43898         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43900 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43902         [BZ #15968]
43903         Support TZ transition times < 00:00:00.
43904         This is needed for version-3 tz-format files; it supports time
43905         stamps past 2037 for America/Godthab (the only entry in the tz
43906         database for which this change is relevant).
43907         * manual/time.texi (TZ Variable): Document transition times
43908         from -167:59:59 through -00:00:01.
43909         * time/tzset.c (tz_rule): Time of day is now signed.
43910         (__tzset_parse_tz): Parse negative time of day.
43912         Document TZ transition times >= 25:00:00.
43913         * manual/time.texi (TZ Variable): Document transition times from
43914         25:00:00 through 167:59:59.  These are already supported, and this
43915         support will help with version-3 tz-format files.
43917         * manual/time.texi (TZ Variable): Modernize North America example
43918         to reflect current (i.e., 2007-and-later) daylight saving rules.
43920         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43922 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43924         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43925         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43926         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43927         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43928         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43929         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43930         * sysdeps/unix/bsd/clock.c: Likewise.
43931         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43932         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43933         * sysdeps/unix/bsd/init-posix.c: Likewise.
43934         * sysdeps/unix/bsd/poll.c: Likewise.
43935         * sysdeps/unix/bsd/ptsname.c: Likewise.
43936         * sysdeps/unix/bsd/seekdir.c: Likewise.
43937         * sysdeps/unix/bsd/setegid.c: Likewise.
43938         * sysdeps/unix/bsd/seteuid.c: Likewise.
43939         * sysdeps/unix/bsd/setgid.c: Likewise.
43940         * sysdeps/unix/bsd/setrgid.c: Likewise.
43941         * sysdeps/unix/bsd/setruid.c: Likewise.
43942         * sysdeps/unix/bsd/setsid.c: Likewise.
43943         * sysdeps/unix/bsd/setuid.c: Likewise.
43944         * sysdeps/unix/bsd/sigaction.c: Likewise.
43945         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43946         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43947         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43948         * sysdeps/unix/bsd/telldir.c: Likewise.
43949         * sysdeps/unix/bsd/times.c: Likewise.
43950         * sysdeps/unix/bsd/usleep.c: Likewise.
43952         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43953         ($(objpfx)libbsd-compat.a): Remove rule.
43955         * include/features.h (__FAVOR_BSD): Do not define.
43956         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43957         features conflicting with POSIX.
43958         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43959         (_BSD_SOURCE): Remove description of not being a subset of other
43960         feature test macros.
43961         * manual/job.texi (getpgrp): Do not document BSD version.
43962         (getpgid): Do not document by reference to BSD getpgrp.
43963         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43964         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43965         * signal/signal.h [__FAVOR_BSD]: Likewise.
43966         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43967         instead of making contents conditional on [__FAVOR_BSD].
43968         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43970 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43974 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43976         [BZ #16314]
43977         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43978         values below 2**-450, not 2**-500.
43979         * math/auto-libm-test-in: Don't allow spurious underflow from
43980         hypot.
43981         * math/auto-libm-test-out: Regenerated.
43983         [BZ #16316]
43984         [BZ #16330]
43985         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43986         values of ha and hb and sort them after adjusting subnormal
43987         arguments.
43988         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43989         Likewise.
43990         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43991         values of ea and eb and sort them after adjusting subnormal
43992         arguments.
43993         * math/auto-libm-test-in: Do not expect some hypot tests of
43994         subnormals to fail.  Add more hypot tests.
43995         * math/auto-libm-test-out: Regenerated.
43997 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43999         [BZ #13304]
44000         * sysdeps/sh/s_fma.c: New file.
44001         * sysdeps/sh/s_fmaf.c: New file.
44002         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
44003         version.
44004         * sysdeps/sh/Implies: Add sh/soft-fp.
44006 2013-12-16  Roland McGrath  <roland@hack.frob.com>
44008         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
44009         level of indirection to members `objname', `errstring', `malloced'.
44010         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
44011         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
44012         it as the __longjmp argument (just pass 1 instead).
44013         (_dl_catch_error): Initialize C with argument pointers and address of
44014         volatile local ERRCODE rather than copying values out of C at return.
44016 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
44018         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
44019         * math/auto-libm-test-out: Regenerated.
44020         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
44021         (hypot_test_data): Likewise.
44022         (pow_test_data): Likewise.
44023         (pow_tonearest_test_data): Likewise.
44024         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44025         mpfr_ff_f.
44026         (func_calc_desc): Add mpfr_ff_f union field.
44027         (FUNC_mpfr_ff_f): New macro.
44028         (test_functions): Add atan2, hypot and pow.
44029         (special_fill_min): New function.
44030         (special_fill_minus_min): Likewise.
44031         (special_fill_min_subnorm): Likewise.
44032         (special_fill_minus_min_subnorm): Likewise.
44033         (special_real_inputs): Add min, -min, min_subnorm and
44034         -min_subnorm.
44035         (calc_generic_results): Handle mpfr_ff_f.
44036         * sysdeps/i386/fpu/libm-test-ulps: Update.
44037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44039 2013-12-16  Will Newton  <will.newton@linaro.org>
44041         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
44042         (Aligned Memory Blocks): Add documentation for aligned_alloc
44043         and suggest it as an alternative to posix_memalign.
44044         (Hooks for Malloc): Document __memalign_hook is also called
44045         for aligned_alloc.  (Summary of Malloc): Add summary for
44046         aligned alloc.  Document __memalign_hook is also called
44047         for aligned_alloc.
44049 2013-12-16  Will Newton  <will.newton@linaro.org>
44051         * manual/memory.texi (Malloc Examples): Clarify default
44052         alignment documentation.  Suggest posix_memalign rather
44053         than memalign or valloc.
44054         (Aligned Memory Blocks): Remove suggestion to use memalign
44055         or valloc.  Remove obsolete comment about BSD.
44056         Document memalign errno values and mark the function obsolete.
44057         Document posix_memalign returned error codes.  Mark valloc
44058         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44059         called for posix_memalign and valloc.
44060         (Summary of Malloc): Add posix_memalign to function summary.
44061         __memalign_hook is also called for posix_memalign and valloc.
44063 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44065         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
44066         TAYLOR_SIN.
44067         (__sin): Adjust.
44068         (__cos): Likewise.
44069         (sloww): Use mynumber union.  Expand ternary operator into
44070         if-else statements.
44071         (cslow): use mynumber union.
44073 2013-12-16  Allan McRae  <allan@archlinux.org>
44075         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
44076         * configure: Regenerated.
44078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
44080         [BZ #14120]
44081         * configure.ac: Added --enable-maintainer-mode. Check for
44082         autoconf when enabled.
44083         * configure: Regenerated.
44085         * nscd/nscd.service: New file.
44086         * nscd/nscd.tmpfiles: New file.
44088 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
44090         [BZ #12100]
44091         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
44092         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
44093         * sysdeps/x86_64/multiarch/strstr.c: ... here.
44094         (strstr): Add __strstr_sse2_unaligned ifunc.
44095         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
44096         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
44097         (strcasestr): Remove __strcasestr_sse42 ifunc.
44098         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
44099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44100         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44102 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44104         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
44105         * sysdeps/sh/bits/fenv.h: ... here.
44106         * sysdeps/sh/sh4/fpu/bits: Remove directory.
44108 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44110         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
44112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
44113         hypotf multiarch implementations.
44114         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
44115         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
44116         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
44117         multiarch hypot for PPC64.
44118         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44119         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
44120         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
44121         multiarch hypotf for PPC64.
44123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
44124         modff multiarch implementations.
44125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
44126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
44127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
44128         multiarch modf for PPC64.
44129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
44130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
44131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
44132         multiarch modff for PPC64.
44134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
44135         and logl multiarch implementations.
44136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
44137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44139         multiarch logb for PPC64.
44140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44143         multiarch logb for PPC64.
44144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44147         multiarch logb for PPC64.
44149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44150         isinff multiarch implementation.
44151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44152         file.
44153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44155         multiarch isinf for PPC64.
44156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
44157         file.
44158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
44159         multiarch isinff for PPC64.
44161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44162         finitef multiarch implementation.
44163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
44164         file.
44165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
44166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
44167         multiarch finite for PPC64.
44168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
44169         file.
44170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44171         multiarch finitef for PPC64.
44173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44174         lrint multiarch implementation.
44175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44176         file.
44177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44179         multiarch llrint for PPC64.
44180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44181         multiarch lrint for PPC64.
44183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44184         copysignf multiarch implementation.
44185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44186         file.
44187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44188         file.
44189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44190         multiarch copysign for PPC64.
44191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44192         multiarch copysignf for PPC64.
44194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44195         multiarch implementation.
44196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44197         file.
44198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44199         file.
44200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44201         file.
44202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44203         file.
44204         multiarch llround for PPC64.
44205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44206         multiarch trunc for PPC64.
44207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44208         multiarch truncf for PPC64.
44210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44211         multiarch implementation.
44212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44213         file.
44214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44215         file.
44216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44217         file.
44218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44219         file.
44220         multiarch llround for PPC64.
44221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44222         multiarch round for PPC64.
44223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44224         multiarch roundf for PPC64.
44226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44227         multiarch implementation.
44228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44229         file.
44230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44231         file.
44232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44233         file.
44234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44235         file.
44236         multiarch llround for PPC64.
44237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44238         multiarch floor for PPC64.
44239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44240         multiarch floorf for PPC64.
44242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44243         multiarch implementation.
44244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44245         file.
44246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44247         file.
44248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44249         file.
44250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44251         file.
44252         multiarch llround for PPC64.
44253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44254         multiarch ceil for PPC64.
44255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44256         multiarch ceilf for PPC64.
44258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44259         multiarch implementation.
44260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44261         file.
44262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44263         file.
44264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44265         file.
44266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44267         multiarch llround for PPC64.
44268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44269         multiarch lround for PPC64.
44271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44272         multiarch implementation.
44273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44276         file.
44277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44280         multiarch isnan for PPC64.
44281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44282         multiarch isnanf for PPC64.
44284         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44285         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44286         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44287         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44288         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44291         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44292         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44293         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44294         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44297         multiarch implementations.
44298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44299         (__libc_ifunc_impl_list): Likewise.
44300         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44301         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44302         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44303         multiarch stpcpy for PPC64.
44305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44306         multiarch implementations.
44307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44308         (__libc_ifunc_impl_list): Likewise.
44309         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44310         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44311         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44312         multiarch strcpy for PPC64.
44314         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44315         redefine function name.
44316         (_wordcopy_fwd_dest_aligned): Likewise.
44317         (_wordcopy_bwd_aligned): Likewise.
44318         (_wordcopy_bwd_dest_aligned): Likewise.
44319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44320         multiarch implementations.
44321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44322         (__libc_ifunc_impl_list): Likewise.
44323         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44324         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44325         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44326         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44327         multiarch wcscpy for PPC64.
44329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44330         multiarch implementations.
44331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44332         (__libc_ifunc_impl_list): Likewise.
44333         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44334         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44335         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44336         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44337         multiarch wcscpy for PPC64.
44339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44340         multiarch implementations.
44341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44342         (__libc_ifunc_impl_list): Likewise.
44343         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44344         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44345         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44346         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44347         multiarch wcsrchr for PPC64.
44349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44350         multiarch implementations.
44351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44352         (__libc_ifunc_impl_list): Likewise.
44353         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44354         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44355         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44356         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44357         multiarch wcschr for PPC64.
44359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44360         multiarch implementations.
44361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44362         (__libc_ifunc_impl_list): Likewise.
44363         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44364         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44365         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44366         multiarch strchrnul for PPC64.
44368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44369         implementations.
44370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44371         (__libc_ifunc_impl_list): Likewise.
44372         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44373         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44374         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44375         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44376         strchr for PPC64.
44378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44379         implementations.
44380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44381         (__libc_ifunc_impl_list): Likewise.
44382         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44383         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44384         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44385         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44386         strncmp for PPC64.
44388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44389         multiarch implementations.
44390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44391         (__libc_ifunc_impl_list): Likewise.
44392         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44393         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44394         strncasecmp for PPC64.
44395         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44396         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44397         multiarch strncasecmp_l for PPC64.
44399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44400         multiarch implementations.
44401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44402         (__libc_ifunc_impl_list): Likewise.
44403         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44404         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44405         multiarch strcasecmp for PPC64.
44406         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44407         file.
44408         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44409         multiarch strcasecmp_l for PPC64.
44411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44412         implementations.
44413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44414         (__libc_ifunc_impl_list): Likewise.
44415         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44416         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44417         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44418         strnlen for PPC64.
44420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44421         implementations.
44422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44423         (__libc_ifunc_impl_list): Likewise.
44424         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44425         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44426         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44427         strlen for PPC64.
44429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44430         implementations.
44431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44432         (__libc_ifunc_impl_list): Likewise.
44433         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44434         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44435         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44436         rawmemrchr for PPC64.
44438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44439         implementation.
44440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44441         (__libc_ifunc_impl_list): Likewise.
44442         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44443         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44444         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44445         memrchr for PPC64.
44447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44448         implementation.
44449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44450         (__libc_ifunc_impl_list): Likewise.
44451         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44452         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44453         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44454         memchr for PPC64.
44456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44457         implementation.
44458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44459         (__libc_ifunc_impl_list): Likewise.
44460         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44461         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44462         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44463         mempcpy for PPC64.
44465         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44466         avoid cretion of __bzero symbol.
44467         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44468         Likewise.
44469         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44470         Likewise.
44471         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44472         Likewise.
44473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44474         multiarch implementations.
44475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44476         (__libc_ifunc_impl_list): Likewise.
44477         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44478         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44479         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44480         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44481         bzero for PPC32.
44482         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44483         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44484         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44485         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44486         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44487         memset for PPC64.
44488         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44490         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44492         implementations.
44493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44494         (__libc_ifunc_impl_list): Likewise.
44495         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44496         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44497         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44498         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44499         memcmp for PPC64.
44501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44502         multiarch for POWER/PPC64.
44503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44504         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44505         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44506         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44507         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44508         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44509         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44510         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44511         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44512         memcpy for PPC64.
44514         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44515         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44516         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44517         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44518         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44519         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44520         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44521         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44522         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44523         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44524         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44525         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44526         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44527         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44528         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44537 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44539         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44541 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44543         * benchtests/Makefile (bench): Add exp2 and log2.
44544         (LDLIBS-bench-exp2): Add -lm.
44545         (LDLIBS-bench-log2): Likewise.
44546         * benchtests/exp2-inputs: New inputs file.
44547         * benchtests/log2-inputs: New inputs file.
44548         * benchtests/log-inputs: Add new inputs.
44549         * benchtests/tan-inputs: Likewise.
44551 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44553         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44554         definition...
44555         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44556         (csloww2): ... from here.
44558         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44559         instead of structures.
44560         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44561         (POLYNOMIAL): Likewise.
44562         (TAYLOR_SLOW): Likewise.
44563         (__sin): Likewise.
44564         (__cos): Likewise.
44565         (slow1): Likewise.
44566         (slow2): Likewise.
44567         (sloww): Likewise.
44568         (sloww1); Likewise.
44569         (sloww2): Likewise.
44570         (bsloww1): Likewise.
44571         (bsloww2): Likewise.
44572         (cslow2): Likewise.
44573         (csloww): Likewise.
44574         (csloww1): Likewise.
44575         (csloww2): Likewise.
44577 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44579         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44580         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44581         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44582         * malloc/hooks.c (realloc_check): Likewise.
44584         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44585         * malloc/arena.c: Remove PER_THREAD conditional.
44586         [!PER_THREAD]: Remove code.
44587         (ptmalloc_unlock_all2): Likewise.
44588         (ptmalloc_init): Likewise.
44589         (_int_new_arena): Likewise.
44590         (arena_get2): Likewise.
44591         * malloc/hooks.c (__malloc_get_state): Likewise.
44592         (__malloc_set_state): Likewise.
44593         * malloc/malloc.c: Likewise.
44594         (struct malloc_state): Likewise.
44595         (struct malloc_par): Likewise.
44596         (__libc_realloc): Likewise.
44597         (__libc_mallopt): Likewise.
44599 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44601         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44603 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44605         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44606         macro to a function.  Check for zero perturb_byte.
44607         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44609         * malloc/malloc.c: (force_reg): Remove.
44610         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44611         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44612         force_reg by atomic_forced_read.
44613         * malloc/arena.c (ptmalloc_init): Likewise.
44614         * malloc/hooks.c (top_check): Likewise.
44616 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44620 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44624 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44626         * math/auto-libm-test-in: Add tests of lgamma.
44627         * math/auto-libm-test-out: Regenerated.
44628         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44629         (M_LOG_2_SQRT_PIl): Likewise.
44630         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44631         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44632         mpfr_f_f1.
44633         (func_calc_desc): Add mpfr_f_f1 union field.
44634         (ARGS1): New macro.
44635         (ARGS2): Likewise.
44636         (ARGS3): Likewise.
44637         (ARGS4): Likewise.
44638         (RET1): Likewise.
44639         (RET2): Likewise.
44640         (CALC): Likewise.
44641         (FUNC): Likewise.
44642         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44643         (test_functions): Add lgamma.
44644         (calc_generic_results): Handle mpfr_f_f1.
44645         * sysdeps/i386/fpu/libm-test-ulps: Update.
44646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44648 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44650         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44651         __mpn_add_n for PowerPC64/POWER7.
44652         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44653         __mpn_sub_n for PowerPC64/POWER7.
44655         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44656         __mpn_addmul_1 for PowerPC64.
44657         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44658         __mpn_submul_1 for PowerPC64.
44659         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44660         for PowerPC64.
44661         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44662         for PowerPC64.
44664 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44666         [BZ #15089]
44667         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44669 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44671         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44673         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44674         add multiarch folders.
44675         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44676         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44677         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44678         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44679         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44680         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44681         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44682         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44683         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44684         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44685         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44694         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44696         New file.
44697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44698         New file.
44699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44700         multiarch __ieee754_hypot for PowerPC32.
44701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44702         New file.
44703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44704         New file.
44705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44706         multiarch __ieee754_hypotf for PowerPC32.
44708         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44709         long_double_symbol only if __logbl is defined.
44710         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44711         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44712         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44713         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44714         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44715         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44716         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44717         path for implementation.
44718         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44719         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44721         logb, and logbl multiarch implementations for PowerPC32.
44722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44723         file.
44724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44725         file.
44726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44727         multiarch logb for PowerPC32.
44728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44729         file.
44730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44731         file.
44732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44733         multiarch logbf for PowerPC32.
44734         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44736         file.
44737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44738         multiarch logbl implementation for PowerPC32.
44740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44741         and modff multiarch implementations.
44742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44743         New file.
44744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44745         New file.
44746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44747         multiarch modf for PowerPC32.
44748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44749         New file.
44750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44751         New file.
44752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44753         multiarch modff for PowerPC32.
44755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44756         and lrintf multiarch implementations.
44757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44758         New file.
44759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44760         New file.
44761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44762         multiarch lrint for PowerPC32.
44763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44764         file: multiarch lrintf for PowerPC32.
44766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44767         and lroundf multiarch implementations.
44768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44769         New file.
44770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44771         New file.
44772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44773         New file.
44774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44775         multiarch lround for PowerPC32.
44776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44777         file: multiarch lroundf for PowerPC32.
44779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44780         copysign and copysignf multiarch implementations.
44781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44782         New file.
44783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44784         New file.
44785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44786         file: multiarch copysign for PowerPC32.
44787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44788         file: multiarch copysignf for PowerPC32.
44790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44791         and truncf multiarch implementations.
44792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44793         New file.
44794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44795         file.
44796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44797         multiarch trunc for PowerPC32.
44798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44799         New file.
44800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44801         New file.
44802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44803         multiarch truncf for PowerPC32.
44805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44806         and roundf multiarch implementations.
44807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44808         New file.
44809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44810         file.
44811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44812         multiarch round for PowerPC32.
44813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44814         New file.
44815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44816         New file.
44817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44818         multiarch roundf for PowerPC32.
44820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44821         and floorf multiarch implementations.
44822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44823         New file.
44824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44825         file.
44826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44827         multiarch floor for PowerPC32.
44828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44829         New file.
44830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44831         New file.
44832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44833         multiarch floorf for PowerPC32.
44835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44836         and ceilf multiarch implementations.
44837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44838         New file.
44839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44840         file.
44841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44842         multiarch ceil for PowerPC32.
44843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44844         New file.
44845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44846         file.
44847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44848         multiarch ceilf for PowerPC32.
44850         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44851         is defined.
44852         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44853         FINITEF is defined.
44854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44855         and finitef multiarch implementations.
44856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44857         New file.
44858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44859         file.
44860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44861         multiarch finite for PowerPC32.
44862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44863         New file.
44864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44865         file: multiarch finitef for PowerPC32.
44867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44868         and isinff multiarch implementations.
44869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44870         file.
44871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44872         file.
44873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44874         multiarch isinf for PowerPC32.
44875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44876         New file.
44877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44878         multiarch isinff for PowerPC32.
44880         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44881         alias when __isnan is defined.
44882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44883         and isnanf multiarch implementations.
44884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44885         file.
44886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44887         file.
44888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44889         file.
44890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44891         file.
44892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44893         multiarch isnan for PowerPC32.
44894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44895         New file.
44896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44897         New file.
44898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44899         multiarch isnanf for PowerPC32.
44901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44902         and sqrtf multiarch implementations.
44903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44904         file.
44905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44906         file.
44907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44908         multiarch sqrt for PowerPC32.
44909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44910         file.
44911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44912         file.
44913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44914         multiarch sqrtf for PowerPC32.
44916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44917         and llroundf multiarch implementations.
44918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44919         New file.
44920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44921         New file.
44922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44923         New file.
44924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44925         file: multiarch llround for PowerPC32.
44926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44927         file: multiarch llroundf for PowerPC32.
44929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44930         multiarch PowerPC32 fpu implementations.
44931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44932         New file.
44933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44934         New file.
44935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44936         multiarch llrint for PowerPC32.
44937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44938         New file.
44939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44940         New file.
44941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44942         file.
44944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44946         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44947         file.
44948         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44949         file.
44950         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44951         file.
44952         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44953         multiarch wordcopy for PPC32.
44954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44955         wordcopy objects.
44956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44957         (__libc_ifunc_impl_list): Likewise.
44958         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44959         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44960         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44961         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44962         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44963         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44965         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44967         file.
44968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44969         file.
44970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44971         file.
44972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44973         multiarch wcscpy for PPC32.
44974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44975         multiarch objects.
44976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44977         (__libc_ifunc_impl_list): Likewise.
44978         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44979         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44980         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44981         sysdeps/powerpc/power6/wcscpy.c.
44983         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44985         file.
44986         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44987         file.
44988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44989         file.
44990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44991         multiarch wcsrchr for PPC32.
44992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44993         multiarch objects.
44994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44995         (__libc_ifunc_impl_list): Likewise.
44996         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44997         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44998         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44999         sysdeps/powerpc/power6/wcsrchr.c.
45001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
45002         file.
45003         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
45004         file.
45005         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
45006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
45007         multiarch wcschr for PPc32.
45008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45009         multiarch objects.
45010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45011         (__libc_ifunc_impl_list): Likewise.
45012         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
45013         * sysdeps/powerpc/power6/wcschr.c: ... to here.
45014         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
45015         sysdeps/powerpc/power6/wcschr.c.
45017         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
45018         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
45019         file.
45020         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45021         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
45022         file: multiarch strchr for PPC32.
45023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
45024         multiarch objects.
45025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45026         (__libc_ifunc_impl_list): Likewise.
45028         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
45029         name.
45030         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
45031         file.
45032         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
45033         file.
45034         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
45035         multiarch strchrnul for PPC32.
45036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
45037         multiarch objects.
45038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45039         (__libc_ifunc_impl_list): Likewise.
45041         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
45042         file.
45043         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
45044         multiarch strncasecmp for PPC32.
45045         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
45046         file.
45047         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
45048         multiarch strncasecmp_l for PPC32.
45049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
45050         strncasecmp multiarch objects.
45051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45052         (__libc_ifunc_impl_list): Likewise.
45054         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
45055         file.
45056         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
45057         multiarch strncasecmp for PPC32.
45058         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45059         New file.
45060         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
45061         multiarch strcasecmp_l for PPC32.
45062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
45063         multiarch objects.
45064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45065         (__libc_ifunc_impl_list): Likewise.
45067         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
45068         file.
45069         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
45070         file.
45071         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
45072         multiarch strncmp for PPC32.
45073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
45074         multiarch objects.
45075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45076         (__libc_ifunc_impl_list): Likewise.
45078         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
45079         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
45080         file.
45081         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
45082         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
45083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
45084         multiarch objects.
45085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45086         (__libc_ifunc_impl_list): Likewise.
45088         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
45089         file.
45090         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
45091         file.
45092         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
45093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
45094         multiarch objects.
45095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45096         (__libc_ifunc_impl_list): Likewise.
45098         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
45099         file.
45100         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
45101         file.
45102         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
45103         multiarch rawmemchr for PPC32.
45104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
45105         multiarch objects.
45106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45107         (__libc_ifunc_impl_list): Likewise.
45109         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
45110         file.
45111         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
45112         file.
45113         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
45114         file: memrchr multiarch for PPC32.
45115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
45116         multiarch objects.
45117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45118         (__libc_ifunc_impl_list): Likewise.
45120         * string/memchr.c (__memchr): Using macro to redefine symbol name.
45121         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
45122         file.
45123         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
45124         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
45125         multiarch memchr for PPC32.
45126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
45127         multiarch objects.
45128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45129         (__libc_ifunc_impl_list): Likewise.
45131         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
45132         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
45133         file.
45134         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
45135         file.
45136         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
45137         file: multiarch mempcpy for PPC32.
45138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45139         multiarch objects.
45140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45141         (__libc_ifunc_impl_list): Likewise.
45143         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45144         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45145         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45146         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45147         multiarch bzero for PPC32.
45148         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45149         file.
45150         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45151         file.
45152         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45153         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45154         file: multiarch memset for PPC32.
45155         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
45157         memset multiarch objects.
45158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45159         (__libc_ifunc_impl_list): Likewise.
45161         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45162         file.
45163         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
45164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
45165         memcmp for PPC32.
45166         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
45167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
45168         multiarch objects.
45169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45170         (__libc_ifunc_impl_list): Likewise.
45172         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
45173         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45174         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45175         file.
45176         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45177         file.
45178         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45179         file.
45180         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45181         multiarch memcpy for PPC32.
45182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45183         multiarch objects.
45184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45185         (__libc_ifunc_impl_list): Likewise.
45187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45188         support multiarch for POWER/PPC32.
45189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45190         Likewise.
45191         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45193         Implies file to make multiarch folder appers before the fpu and
45194         default folder for power4 configuration.
45196 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45198         * scripts/bench.pl: Append volatile keyword to type.
45200 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45202         * sysdeps/sh/sotruss-lib.c: New file.
45203         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45205 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45209 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45211         [BZ #6810]
45212         * math/w_tgamma.c: Include <errno.h>.
45213         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45214         * math/w_tgammaf.c: Include <errno.h>.
45215         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45216         * math/w_tgammal.c: Include <errno.h>.
45217         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45218         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45219         underflow.  Add more tgamma tests.
45220         * math/auto-libm-test-out: Regenerated.
45221         * sysdeps/i386/fpu/libm-test-ulps: Update.
45222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45224         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45225         sin, sinh, tan, tanh, tgamma, y0 and y1.
45226         * math/auto-libm-test-out: Regenerated.
45227         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45228         (TEST_COND_x86): Likewise.
45229         (M_E2l): Remove macro.
45230         (M_E3l): Likewise.
45231         (M_2_SQRT_PIl): Likewise.
45232         (M_SQRT_PIl): Likewise.
45233         (M_1_DIV_El): Likewise.
45234         (log_test_data): Use AUTO_TESTS_f_f.
45235         (log10_test_data): Likewise.
45236         (log1p_test_data): Likewise.
45237         (log2_test_data): Likewise.
45238         (sin_test_data): Likewise.
45239         (sin_tonearest_test_data): Likewise.
45240         (sin_towardzero_test_data): Likewise.
45241         (sin_downward_test_data): Likewise.
45242         (sin_upward_test_data): Likewise.
45243         (sinh_test_data): Likewise.
45244         (sinh_tonearest_test_data): Likewise.
45245         (sinh_towardzero_test_data): Likewise.
45246         (sinh_downward_test_data): Likewise.
45247         (sinh_upward_test_data): Likewise.
45248         (tan_test_data): Likewise.
45249         (tan_tonearest_test_data): Likewise.
45250         (tan_towardzero_test_data): Likewise.
45251         (tan_downward_test_data): Likewise.
45252         (tan_upward_test_data): Likewise.
45253         (tanh_test_data): Likewise.
45254         (tgamma_test_data): Likewise.
45255         (y0_test_data): Likewise.
45256         (y1_test_data): Likewise.
45257         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45258         (special_real_inputs): Add pi/4.
45259         * sysdeps/i386/fpu/libm-test-ulps: Update.
45260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45262 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45264         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45265         "longjmp_target" static probes.
45266         (__longjmp): Rename to __longjmp_symbol.
45267         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45268         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45269         on which longjmp to generate.
45270         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45271         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45272         probe.
45273         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45274         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45275         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45276         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45277         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45278         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45280         __longjmp_symbol based on which __longjmp to generate.
45281         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45282         probe.
45283         (setjmp): Rename to setjmp_symbol.
45284         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45285         (_setjmp): Rename to _setjmp_symbol.
45286         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45287         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45288         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45289         which setjmp to generate.
45290         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45291         "longjmp_target" static probes.
45293 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45295         * benchtests/README: Add note about output arguments.
45296         * benchtests/bench-sincos.c: Remove file.
45297         * benchtests/sincos-inputs: New file.
45298         * scripts/bench.pl: Identify output arguments and define
45299         static variables for them.
45301         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45303         [BZ #15941]
45304         * Makefile (INSTALL): Add install-plain.texi as the primary
45305         dependency.
45306         * manual/install-plain.texi: New file.
45307         * manual/install.texi: Include node directive only for
45308         non-plaintext output.
45310 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45312         * stdlib/longlong.h: Update from GCC.
45314         [BZ #6807]
45315         [BZ #15901]
45316         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45317         * math/w_j0f.c (y0f): Likewise.
45318         * math/w_j0l.c (__y0l): Likewise.
45319         * math/w_j1.c (y1): Likewise.
45320         * math/w_j1f.c (y1f): Likewise.
45321         * math/w_j1l.c (__y1l): Likewise.
45322         * math/w_jn.c (yn): Likewise.
45323         * math/w_jnf.c (ynf): Likewise.
45324         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45325         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45326         value for Bessel function domain errors outside _SVID_ mode.
45327         Adjust sign of return value for yn (negative integer, 0).
45328         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45329         by zero in return for negative x and set sign appropriately for
45330         negative n.
45331         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45332         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45333         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45334         expectations in error cases.
45335         (y1_test_data): Likewise.
45336         (yn_test_data): Likewise.
45337         * sysdeps/i386/fpu/libm-test-ulps: Update.
45338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45340 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45342         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45343         "64" to "64-v1".  Add "64-v2".
45344         (abi-64-options): Rename to ...
45345         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45346         (abi-64-condition): Rename to ...
45347         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45348         (abi-64-ld-soname): Rename to ...
45349         (abi-64-v1-ld-soname): ... this.
45350         (abi-64-v2-options): Define.
45351         (abi-64-v2-condition): Likewise.
45352         (abi-64-v2-ld-soname): Likewise.
45353         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45354         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45359 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45360             Alan Modra  <amodra@gmail.com>
45362         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45363         New versions for use with the ELFv2 ABI.
45364         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45365         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45366         declaration.
45367         (struct La_ppc64v2_retval): Likewise.
45368         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45369         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45370         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45371         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45372         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45373         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45374         Do not save or restore CR.
45375         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45376         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45377         return values for ELFv2 ABI.  Fix location of FPR return registers.
45378         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45379         updated values for _CALL_ELF == 2.
45380         (La_regs, La_retval, int_retval): Likewise.
45382 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45384         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45385         (FRAME_MIN_SIZE_PARM): Likewise.
45386         (FRAME_BACKCHAIN): Likewise.
45387         (FRAME_CR_SAVE): Likewise.
45388         (FRAME_LR_SAVE): Likewise.
45389         (FRAME_TOC_SAVE): Likewise.
45390         (FRAME_PARM_SAVE): Likewise.
45391         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45392         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45393         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45394         (call_mcount_parm_offset): New macro.
45395         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45396         (PROF): Use symbolic stack frame offsets.
45397         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45398         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45399         Redefine in terms of FRAME_MIN_SIZE.
45400         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45401         (_dl_profile_resolve): Likewise.  Update comment.
45402         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45403         symbols stack frame offsets.
45404         (__sigsetjmp): Likewise.
45405         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45406         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45407         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45408         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45411         (FRAME_BACKCHAIN): Remove.
45412         (FRAME_CR_SAVE): Likewise.
45413         (FRAME_LR_SAVE): Likewise.
45414         (FRAME_COMPILER_DW): Likewise.
45415         (FRAME_LINKER_DW): Likewise.
45416         (FRAME_TOC_SAVE): Likewise.
45417         (FRAME_PARM_SAVE): Likewise.
45418         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45419         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45420         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45422         (CHECK_SP): Use symbolic stack frame offsets.
45423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45424         zone" instead of caller's parameter save area for temp storage.
45425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45426         Likewise.  Also, use symbolic stack frame offsets.
45427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45428         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45429         our own stack frame instead of the caller's.
45430         (__socket): Use symbolic stack frame offsets.
45432 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45433             Alan Modra  <amodra@gmail.com>
45435         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45436         Define.
45437         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45438         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45439         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45440         New function.
45441         (elf_machine_fixup_plt): Call it.
45442         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45443         reloc arguments.
45444         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45445         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45446         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45447         r2 before calling target.
45449 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45450             Alan Modra  <amodra@gmail.com>
45452         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45453         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45454         versions of macros to support ELFv2 ABI.
45455         (LOCALENTRY): New macro.
45456         (ENTRY, EALIGN): Use it.
45457         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45458         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45459         fall through into ENTRY entry point.
45460         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45461         Only define if _CALL_ELF != 2.
45463         (elf_machine_matches_host): Verify ABI version matches.
45464         (RTLD_START): Use LOCALENTRY.
45465         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45466         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45467         (PLT_ENTRY_WORDS): New macro.
45468         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45469         (elf_machine_runtime_setup): Support ELFv2 ABI.
45470         (elf_machine_fixup_plt): Likewise.
45471         (elf_machine_plt_conflict): Likewise.
45472         (resolve_ifunc): Likewise.
45473         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45474         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45475         Likewise.
45476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45477         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45479         (makecontext): Support ELFv2 ABI.
45480         * elf/elf.h (EF_PPC64_ABI): Define.
45482 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45484         * sysdeps/powerpc/powerpc64/sysdep.h
45485         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45486         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45487         (ENTRY) [ASSEMBLER]: ... but instead here ...
45488         (EALIGN) [ASSEMBLER]: ... and here.
45489         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45490         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45491         (ENTRY_2) [!ASSEMBLER]: Use it.
45492         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45493         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45494         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45495         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45496         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45498         Use PPC64_LOAD_FUNCPTR.
45500         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45502 2013-12-04  Alan Modra  <amodra@gmail.com>
45504         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45505         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45506         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45507         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45509         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45510         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45511         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45512         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45513         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45514         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45516 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45519         (__makecontext): Fix incorrect CFI when backtracing out of
45520         context created via makecontext.
45521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45522         (__setcontext): Fix incorrect CFI during switch to new context.
45523         (__novec_setcontext): Likewise.
45525 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45527         [BZ #4772]
45528         * time/strptime_l.c (__strptime_internal): Allow modifiers
45529         in strptime.
45530         * time/tst-strptime.c (day_tests): Add testcase.
45532 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45534         * scripts/bench.pl: Skip over blank lines.
45536 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45538         [BZ #926]
45539         * manual/time.texi (Calendar Time): Clarify what timezone functions
45540         use.
45542 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45546 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45548         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45549         implementation.
45550         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45551         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45552         * debug/memset_chk.c (__memset_chk): Likewise.
45553         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45554         * debug/strncpy_chk.c: Likewise.
45556 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45558         [BZ #15268]
45559         [BZ #15425]
45560         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45561         (__ieee754_exp): For possibly underflowing results, check size of
45562         result and force underflow exception if required.
45563         * math/auto-libm-test-in: Add more tests of exp.
45564         * math/auto-libm-test-out: Regenerated.
45565         * sysdeps/i386/fpu/libm-test-ulps: Update.
45566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45568         [BZ #16283]
45569         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45570         * math/w_exp2f.c (__exp2f): Likewise.
45571         * math/w_exp2l.c (__exp2l): Likewise.
45572         * math/auto-libm-test-in: Do not allow missing errno on exp2
45573         underflow.
45574         * math/auto-libm-test-out: Regenerated.
45576 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45578         [BZ #16274]
45579         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45580         handle filename validation.
45581         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45582         (do_open): Delete.
45584 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45586         [BZ #6786]
45587         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45588         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45589         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45590         <float.h>.
45591         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45592         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45593         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45594         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45595         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45596         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45597         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45598         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45599         Add more erfc tests.
45600         * math/auto-libm-test-out: Regenerated.
45601         * sysdeps/i386/fpu/libm-test-ulps: Update.
45602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45604         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45605         exp2, expm1, j0 and j1.
45606         * math/auto-libm-test-out: Regenerated.
45607         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45608         (erfc_test_data): Likewise.
45609         (exp_test_data): Likewise.
45610         (exp_tonearest_test_data): Likewise.
45611         (exp_towardzero_test_data): Likewise.
45612         (exp_downward_test_data): Likewise.
45613         (exp_upward_test_data): Likewise.
45614         (exp10_test_data): Likewise.
45615         (exp2_test_data): Likewise.
45616         (expm1_test_data): Likewise.
45617         (j0_test_data): Likewise.
45618         (j1_test_data): Likewise.
45619         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45620         (input_flag_type): Add flag_xfail_rounding.
45621         (input_flags): Add xfail-rounding.
45622         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45623         (output_for_one_input_case): Handle flag_xfail_rounding.
45624         * sysdeps/i386/fpu/libm-test-ulps: Update.
45625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45627 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45629         [BZ #16289]
45630         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45631         division by 0.
45633 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45635         [BZ #16195]
45636         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45637         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45638         (STAP_PROBE0): New macro.
45639         (STAP_PROBE1): Likewise.
45640         (STAP_PROBE2): Likewise.
45641         (STAP_PROBE3): Likewise.
45642         (STAP_PROBE4): Likewise.
45644 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45646         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45648 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45650         * benchtests/Makefile (bench): Add sqrt.
45651         (LDLIBS-bench-sqrt): New.
45652         * benchtests/sqrt-input: New.
45654 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45656         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45657         (GAIH_EAI): Likewise.
45658         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45659         (gaih_inet): Likewise.
45660         (getaddrinfo): Don't use GAIH_EAI.
45662         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45663         (struct gaih): Remove definition.
45665 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45667         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45668         Use HERRNOP directly.
45670 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45674 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45676         * math/gen-auto-libm-tests.c (test_functions): Add more
45677         single-argument functions.
45678         (special_fill_pi_2): New function.
45679         (special_fill_minus_pi_2): Likewise.
45680         (special_fill_pi_6): Likewise.
45681         (special_fill_minus_pi_6): Likewise.
45682         (special_fill_pi_3): Likewise.
45683         (special_fill_2pi_3): Likewise.
45684         (special_fill_e): Likewise.
45685         (special_fill_1_e): Likewise.
45686         (special_fill_e_minus_1): Likewise.
45687         (special_real_inputs): Add more special inputs.
45688         (output_for_one_input_case): Do not require ERANGE on underflow to
45689         zero if round-to-nearest result does not underflow to zero, unless
45690         exact results required.
45691         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45692         atan, atanh, cbrt, cos and cosh.
45693         * math/auto-libm-test-out: Regenerated.
45694         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45695         (acos_tonearest_test_data): Likewise.
45696         (acos_towardzero_test_data): Likewise.
45697         (acos_downward_test_data): Likewise.
45698         (acos_upward_test_data): Likewise.
45699         (acosh_test_data): Likewise.
45700         (asin_test_data): Likewise.
45701         (asin_tonearest_test_data): Likewise.
45702         (asin_towardzero_test_data): Likewise.
45703         (asin_upward_test_data): Likewise.
45704         (asinh_test_data): Likewise.
45705         (atan_test_data): Likewise.
45706         (atanh_test_data): Likewise.
45707         (cbrt_test_data): Likewise.
45708         (cos_test_data): Likewise.
45709         (cos_tonearest_test_data): Likewise.
45710         (cos_towardzero_test_data): Likewise.
45711         (cos_downward_test_data): Likewise.
45712         (cos_upward_test_data): Likewise.
45713         (cosh_test_data): Likewise.
45714         (cosh_tonearest_test_data): Likewise.
45715         (cosh_towardzero_test_data): Likewise.
45716         (cosh_downward_test_data): Likewise.
45717         (cosh_upward_test_data): Likewise.
45718         * sysdeps/i386/fpu/libm-test-ulps: Update.
45719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45721 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45723         [BZ #6787]
45724         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45725         * math/w_exp10f.c (__exp10f): Likewise.
45726         * math/w_exp10l.c (__exp10l): Likewise.
45727         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45728         errno settings in existing tests.
45730         [BZ #14032]
45731         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45732         precision control set to double precision.
45733         * sysdeps/i386/fpu/w_sqrt.c: New file.
45734         * math/auto-libm-test-in: Add more tests.
45735         * math/auto-libm-test-out: Update.
45737         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45738         (sqrt_test_tonearest): New function.
45739         (sqrt_towardzero_test_data): New variable.
45740         (sqrt_test_towardzero): New function.
45741         (sqrt_downward_test_data): New variable.
45742         (sqrt_test_downward): New function.
45743         (sqrt_upward_test_data): New variable.
45744         (sqrt_test_upward): New function.
45745         (main): Call the new functions.
45747         * math/gen-auto-libm-tests.c: New file.
45748         * math/auto-libm-test-in: Likewise.
45749         * math/auto-libm-test-out: New generated file.
45750         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45751         variables.
45752         (%beautify): Add generated representations of zero.
45753         (top level): Set $auto_input and call parse_auto_input.
45754         (beautify): Remove trailing "f" from hex float constants.
45755         (parse_args): Handle XFAIL_TEST.
45756         (convert_condition): New function.
45757         (or_value): Likewise.
45758         (or_cond_value): Likewise.
45759         (generate_testfile): Handle AUTO_TESTS_* lines.
45760         (parse_auto_input): New function.
45761         * math/libm-test.inc (XFAIL_TEST): New macro.
45762         (ERRNO_UNCHANGED): Update value.
45763         (ERRNO_EDOM): Likewise.
45764         (ERRNO_ERANGE): Likewise.
45765         (IGNORE_RESULT): Likewise.
45766         (TEST_COND_flt_32): New macro.
45767         (TEST_COND_dbl_64): Likewise.
45768         (TEST_COND_ldbl_96_intel): Likewise.
45769         (TEST_COND_ldbl_96_m68k): Likewise.
45770         (TEST_COND_ldbl_128): Likewise.
45771         (TEST_COND_ldbl_128ibm): Likewise.
45772         (TEST_COND_long32): Likewise.
45773         (TEST_COND_long64): Likewise.
45774         (TEST_COND_before_rounding): Likewise.
45775         (TEST_COND_after_rounding): Likewise.
45776         (enable_test): Handle XFAIL_TEST flag.
45777         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45778         with finite results.
45779         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45780         auto-libm-test-out.
45782 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45783             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45785         [BZ #16214]
45786         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45787         __tls_get_addr_internal instead of __tls_get_offset in order to
45788         avoid GOT pointer dependency.  Make rtld export
45789         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45790         __tls_get_addr since we are a __tls_get_offset platform.
45791         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45792         GOT pointer being set up before.
45793         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45795 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45797         * manual/math.texi (Errors in Math Functions): Document accuracy
45798         goals.
45800         [BZ #15004]
45801         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45802         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45803         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45804         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45805         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45806         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45807         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45808         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45809         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45810         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45811         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45812         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45813         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45814         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45815         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45816         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45818         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45819         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45820         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45821         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45822         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45823         Likewise.
45824         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45825         Likewise.
45826         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45827         Likewise.
45828         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45829         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45830         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45831         atomic-feupdateenv and flt-rounds.
45832         * sysdeps/powerpc/nofpu/Versions (libc): Add
45833         __atomic_feholdexcept, __atomic_feclearexcept,
45834         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45835         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45836         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45837         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45838         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45839         here.
45840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45841         Update.
45843         * manual/arith.texi (FP Exceptions): Document that exceptions may
45844         not be raised when matherr is used.
45845         (Math Error Reporting): Document overflow in directed rounding
45846         modes.  Document that errno may not be set when finite values are
45847         returned on overflow.  Document intent to set errno on underflow
45848         only for underflow to zero.
45850         [BZ #16271]
45851         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45852         round-to-nearest then adjust result for other rounding modes.
45853         * include/fenv.h (fegetround): Use libm_hidden_proto.
45854         * math/fegetround.c (fegetround): Use libm_hidden_def.
45855         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45856         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45857         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45858         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45859         Likewise.
45860         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45861         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45862         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45863         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45865 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45867         [BZ #16077]
45868         * nss/Versions (libnss_files): Add
45869         _nss_files_gethostbyname3_r.
45870         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45871         New function.
45872         (HOST_DB_LOOKUP): Remove macro.
45873         (_nss_files_gethostbyname_r): Implement function without the
45874         HOST_DB_LOOKUP macro.
45875         (_nss_files_gethostbyname2_r): Likewise.
45877 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45879         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45881 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45883         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45884         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45885         warning.
45887 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45889         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45890         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45891         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45892         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45893         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45894         __fe_nomask_env_priv and attribute_hidden.
45895         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45896         (libc_feupdateenv_test_ppc): Likewise.
45897         (libc_feresetround_ppc): Likewise.
45898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45899         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45900         compat_symbol macro.
45901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45902         (__fe_nomask_env): Likewise.
45903         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45905 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45907         * string/Makefile: Remove ifunc tests.
45908         * string/test-string.h: Define TEST_IFUNC.
45909         * string/test-bcopy-ifunc.c: Remove.
45910         * string/test-bzero-ifunc.c: Likewise.
45911         * string/test-memccpy-ifunc.c: Likewise.
45912         * string/test-memchr-ifunc.c: Likewise.
45913         * string/test-memcmp-ifunc.c: Likewise.
45914         * string/test-memcpy-ifunc.c: Likewise.
45915         * string/test-memmem-ifunc.c: Likewise.
45916         * string/test-memmove-ifunc.c: Likewise.
45917         * string/test-mempcpy-ifunc.c: Likewise.
45918         * string/test-memrchr-ifunc.c: Likewise.
45919         * string/test-memset-ifunc.c: Likewise.
45920         * string/test-rawmemchr-ifunc.c: Likewise.
45921         * string/test-stpcpy-ifunc.c: Likewise.
45922         * string/test-stpncpy-ifunc.c: Likewise.
45923         * string/test-strcasecmp-ifunc.c: Likewise.
45924         * string/test-strcasestr-ifunc.c: Likewise.
45925         * string/test-strcat-ifunc.c: Likewise.
45926         * string/test-strchr-ifunc.c: Likewise.
45927         * string/test-strchrnul-ifunc.c: Likewise.
45928         * string/test-strcmp-ifunc.c: Likewise.
45929         * string/test-strcpy-ifunc.c: Likewise.
45930         * string/test-strcspn-ifunc.c: Likewise.
45931         * string/test-strlen-ifunc.c: Likewise.
45932         * string/test-strncasecmp-ifunc.c: Likewise.
45933         * string/test-strncat-ifunc.c: Likewise.
45934         * string/test-strncmp-ifunc.c: Likewise.
45935         * string/test-strncpy-ifunc.c: Likewise.
45936         * string/test-strnlen-ifunc.c: Likewise.
45937         * string/test-strpbrk-ifunc.c: Likewise.
45938         * string/test-strrchr-ifunc.c: Likewise.
45939         * string/test-strspn-ifunc.c: Likewise.
45940         * string/test-strstr-ifunc.c: Likewise.
45942 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45944         * benchtests/Makefile: Remove ifunc tests.
45945         * benchtests/bench-string.h: Define TEST_IFUNC.
45946         * benchtests/bench-bcopy-ifunc.c: Remove.
45947         * benchtests/bench-bzero-ifunc.c: Likewise.
45948         * benchtests/bench-memccpy-ifunc.c: Likewise.
45949         * benchtests/bench-memchr-ifunc.c: Likewise.
45950         * benchtests/bench-memcmp-ifunc.c: Likewise.
45951         * benchtests/bench-memcpy-ifunc.c: Likewise.
45952         * benchtests/bench-memmem-ifunc.c: Likewise.
45953         * benchtests/bench-memmove-ifunc.c: Likewise.
45954         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45955         * benchtests/bench-memrchr-ifunc.c: Likewise.
45956         * benchtests/bench-memset-ifunc.c: Likewise.
45957         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45958         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45959         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45960         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45961         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45962         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45963         * benchtests/bench-strcat-ifunc.c: Likewise.
45964         * benchtests/bench-strchr-ifunc.c: Likewise.
45965         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45966         * benchtests/bench-strcmp-ifunc.c: Likewise.
45967         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45968         * benchtests/bench-strcpy-ifunc.c: Likewise.
45969         * benchtests/bench-strcspn-ifunc.c: Likewise.
45970         * benchtests/bench-strlen-ifunc.c: Likewise.
45971         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45972         * benchtests/bench-strncat-ifunc.c: Likewise.
45973         * benchtests/bench-strncmp-ifunc.c: Likewise.
45974         * benchtests/bench-strncpy-ifunc.c: Likewise.
45975         * benchtests/bench-strnlen-ifunc.c: Likewise.
45976         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45977         * benchtests/bench-strrchr-ifunc.c: Likewise.
45978         * benchtests/bench-strsep-ifunc.c: Likewise.
45979         * benchtests/bench-strspn-ifunc.c: Likewise.
45980         * benchtests/bench-strstr-ifunc.c: Likewise.
45982 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45984         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45986 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45988         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45989         * rt/aio.h: Likewise.
45990         * sysdeps/gnu/bits/utmp.h: Likewise.
45991         * sysdeps/gnu/bits/utmpx.h: Likewise.
45992         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45993         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45994         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45995         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45996         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45997         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45998         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45999         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
46000         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
46001         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
46002         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
46003         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
46004         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
46005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
46006         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46007         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
46008         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
46009         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
46010         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
46011         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
46012         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
46013         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
46014         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
46015         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46016         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
46017         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46018         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
46019         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
46020         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
46021         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
46022         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
46023         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
46024         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
46025         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46026         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
46027         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
46028         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46029         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
46030         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
46031         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46032         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
46033         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46035 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
46037         [BZ #16245]
46038         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
46039         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
46041 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
46043         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
46044         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
46045         Likewise.
46047 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46049         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
46050         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
46051         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
46052         (__fesetround): Remove define.
46053         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
46054         rounding and exceptions handling.
46055         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
46056         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
46057         (__fe_nomask_env): Likewise.
46058         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
46059         __fegetround instead of fegetround.
46060         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46061         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
46063 2013-11-21  Roland McGrath  <roland@hack.frob.com>
46065         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
46066         it's there.
46068         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
46070 2013-11-21  Meador Inge  <meadori@codesourcery.com>
46072         [BZ #11157]
46073         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
46074         (encrypt_r): Likewise.
46075         * malloc/obstack.h (obstack_free): Likewise.
46076         * posix/unistd.h (encrypt): Likewise.
46078 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
46080         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
46081         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
46082         DL_CALL_DT_FINI() that call the functions directly.
46083         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
46084         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
46085         * elf/dl-fini.c: Likewise.
46087 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
46089         * malloc/hooks.c (memalign_check): Add alignment rounding.
46090         * malloc/malloc.c (_mid_memalign): New function.
46091         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
46092         Implement by calling _mid_memalign.
46093         * manual/probes.texi (Memory Allocation Probes): Remove
46094         memory_valloc_retry and memory_pvalloc_retry.
46096 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46098         * locale/programs/locarchive.c (open_archive): Add const
46099         qualifier to ARCHIVEFNAME and copy default fname to
46100         DEFAULT_FNAME.
46102         [BZ #15601]
46103         * libio/tst-widetext.input: Rename Oriya to Odia.
46104         * locale/iso-639.def: Likewise.
46106         * manual/probes.texi (Mathematical Function Probes): Add
46107         documentation for sin, cos, asin and acos probes.
46108         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
46109         (__sin32): Add slowasin probe.
46110         (__cos32): Add slowacos probe.
46111         (__mpsin): Add slowsin probe.
46112         (__mpcos): Add slowcos probe.
46114 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
46116         [BZ #15483]
46117         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
46118         thread-local __sim_exceptions_thread and global
46119         __sim_exceptions_global.
46120         (__sim_disabled_exceptions): Change to thread-local
46121         __sim_disabled_exceptions_thread and global
46122         __sim_disabled_exceptions_global.
46123         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46124         and global __sim_round_mode_global.
46125         (__simulate_exceptions): Use thread-local floating-point state and
46126         set global state from it as needed.
46127         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
46128         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
46129         __sim_round_mode_thread.
46130         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
46131         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46132         and global __sim_exceptions_global.
46133         (__sim_disabled_exceptions): Change to thread-local
46134         __sim_disabled_exceptions_thread and global
46135         __sim_disabled_exceptions_global.
46136         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46137         and global __sim_round_mode_global.
46138         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46139         (SIM_SET_GLOBAL): Likewise.
46140         * sysdeps/powerpc/soft-fp/sfp-machine.h
46141         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46142         __sim_round_mode_thread.
46143         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46144         __sim_disabled_exceptions_thread.
46145         (__sim_exceptions): Change to __sim_exceptions_thread.
46146         (__sim_disabled_exceptions): Change to
46147         __sim_disabled_exceptions_thread.
46148         (__sim_round_mode): Change to __sim_round_mode_thread.
46149         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46150         thread-local floating-point state and set global state from it as
46151         needed.
46152         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46153         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46154         (__sim_disabled_exceptions): Remove extern declaration.
46155         (feenableexcept): Use thread-local floating-point state and set
46156         global state from it as needed.
46157         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
46158         extern declaration.
46159         (__sim_disabled_exceptions): Likewise.
46160         (__sim_round_mode): Likewise.
46161         (__fegetenv): Use thread-local floating-point state.
46162         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46163         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46164         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
46165         floating-point state and set global state from it as needed.
46166         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
46167         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
46168         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
46169         Likewise.
46170         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46171         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46172         Likewise.
46173         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46174         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46175         Use __sim_round_mode_thread.
46176         * math/test-fenv-tls.c: New file.
46177         * math/Makefile (tests): Add test-fenv-tls.
46178         ($(objpfx)test-fenv-tls): Depend on
46179         $(common-objpfx)nptl/libpthread.so.
46181 2013-11-19  Andreas Schwab  <schwab@suse.de>
46183         * locale/programs/locale.c (show_info): Decode wordarray elements.
46184         * locale/categories.def (LC_MONETARY): Add element for
46185         _NL_MONETARY_CRNCYSTR.
46186         * locale/C-monetary.c (conversion_rate): New variable.
46187         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46188         element.
46190 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46192         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46193         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46195 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46197         * elf/Makefile (tst-auxv): New test.
46198         * elf/tst-auxv.c: New
46199         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46201 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46203         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46204         (hidden_proto): Caller changed.
46205         (hidden_tls_proto): New macro.
46206         (libc_hidden_tls_proto): Likewise.
46207         (rtld_hidden_tls_proto): Likewise.
46208         (libm_hidden_tls_proto): Likewise.
46209         (libresolv_hidden_tls_proto): Likewise.
46210         (librt_hidden_tls_proto): Likewise.
46211         (libdl_hidden_tls_proto): Likewise.
46212         (libnss_files_hidden_tls_proto): Likewise.
46213         (libnsl_hidden_tls_proto): Likewise.
46214         (libnss_nisplus_hidden_tls_proto): Likewise.
46215         (libutil_hidden_tls_proto): Likewise.
46217 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46219         [BZ #10253]
46220         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46221         (decompose_rpath): Defer expansion to fillin_rpath.
46222         (_dl_init_paths): Pass linkmap to fillin_rpath.
46224 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46226         * benchtests/Makefile: Add strsep.
46227         * benchtests/bench-strsep.c: New file: strsep benchtest.
46228         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46230 2013-11-18  Andreas Schwab  <schwab@suse.de>
46232         * locale/programs/locale.c (show_info) [case byte]: Check for
46233         '\377' instead of '\177'.
46234         * locale/C-monetary.c (not_available): Always use "\377".
46235         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46236         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46237         detect unavailable sign_posn locale elements.
46238         * locale/localeconv.c (__localeconv): For grouping and
46239         mon_grouping handle "\177" and "\377" like no grouping.
46240         (INT_ELEM): New macro.  Use it to set all numeric members.
46241         * locale/programs/ld-monetary.c (monetary_read)
46242         <tok_mon_grouping>: Normalize single -1 to the empty string.
46243         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46244         Likewise.
46246 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46248         [BZ #16055]
46249         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46250         when we match (nil).
46251         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46253 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46255         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46256         (NO_TEST_INLINE): Update value.
46257         (ERRNO_UNCHANGED): Likewise.
46258         (ERRNO_EDOM): Likewise.
46259         (ERRNO_ERANGE): Likewise.
46260         (IGNORE_RESULT): Likewise.
46261         (check_float_internal): Check signs of NaN results if
46262         TEST_NAN_SIGN used.
46263         (check_complex): Pass TEST_NAN_SIGN flag through to second
46264         check_float_internal call.
46265         (copysign_test_data): Add tests with quiet NaNs as second
46266         argument.  Use TEST_NAN_SIGN.
46267         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46268         TEST_NAN_SIGN.
46269         (signbit_test_data): Add tests of quiet NaN argument.
46270         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46272         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46273         $ignore_result.
46274         (parse_args): Handle function results specified as IGNORE.
46275         * math/libm-test.inc (IGNORE_RESULT): New macro.
46276         (check_float_internal): Do not check numerical result if flag
46277         IGNORE_RESULT set.
46278         (check_complex): Pass through IGNORE_RESULT to second
46279         check_float_internal call.
46280         (check_int): Do not check numerical result if flag IGNORE_RESULT
46281         set.
46282         (check_long): Likewise.
46283         (check_bool): Likewise.
46284         (check_longlong): Likewise.
46285         (lrint_test_data): Add tests of infinite and NaN arguments.
46286         (lrint_tonearest_test_data): Likewise.
46287         (lrint_towardzero_test_data): Likewise.
46288         (lrint_downward_test_data): Likewise.
46289         (lrint_upward_test_data): Likewise.
46290         (llrint_test_data): Likewise.
46291         (llrint_tonearest_test_data): Likewise.
46292         (llrint_towardzero_test_data): Likewise.
46293         (llrint_downward_test_data): Likewise.
46294         (llrint_upward_test_data): Likewise.
46295         (lround_test_data): Likewise.
46296         (llround_test_data): Likewise.
46298         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46299         (ERRNO_UNCHANGED): Update value.
46300         (ERRNO_EDOM): Likewise.
46301         (ERRNO_ERANGE): Likewise.
46302         (NO_TEST_INLINE_FLOAT): New macro.
46303         (NO_TEST_INLINE_DOUBLE): Likewise.
46304         (enable_test): New function.
46305         (RUN_TEST_f_f): Check enable_test before running test.
46306         (RUN_TEST_2_f): Likewise.
46307         (RUN_TEST_fff_f): Likewise.
46308         (RUN_TEST_c_f): Likewise.
46309         (RUN_TEST_f_f1): Likewise.
46310         (RUN_TEST_fF_f1): Likewise.
46311         (RUN_TEST_fI_f1): Likewise.
46312         (RUN_TEST_ffI_f1): Likewise.
46313         (RUN_TEST_c_c): Likewise.
46314         (RUN_TEST_cc_c): Likewise.
46315         (RUN_TEST_f_i): Likewise.
46316         (RUN_TEST_f_i_tg): Likewise.
46317         (RUN_TEST_ff_i_tg): Likewise.
46318         (RUN_TEST_f_b): Likewise.
46319         (RUN_TEST_f_b_tg): Likewise.
46320         (RUN_TEST_f_l): Likewise.
46321         (RUN_TEST_f_L): Likewise.
46322         (RUN_TEST_fFF_11): Likewise.
46323         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46324         conditionals.
46325         (cosh_test_data): Likewise.
46326         (exp_test_data): Likewise.
46327         (expm1_test_data): Likewise.
46328         (hypot_test_data): Likewise.
46329         (pow_test_data): Likewise.
46330         (sinh_test_data): Likewise.
46331         (tanh_test_data): Likewise.
46332         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46333         flags argument.
46335         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46336         tests with quiet NaN input and output.
46337         (acosh_test_data): Likewise.
46338         (asin_test_data): Likewise.
46339         (asinh_test_data): Likewise.
46340         (atan_test_data): Likewise.
46341         (atanh_test_data): Likewise.
46342         (atan2_test_data): Likewise.
46343         (cbrt_test_data): Likewise.
46344         (cos_test_data): Likewise.
46345         (cosh_test_data): Likewise.
46346         (erf_test_data): Likewise.
46347         (erfc_test_data): Likewise.
46348         (exp_test_data): Likewise.
46349         (exp10_test_data): Likewise.
46350         (exp2_test_data): Likewise.
46351         (expm1_test_data): Likewise.
46352         (hypot_test_data): Likewise.
46353         (j0_test_data): Likewise.
46354         (j1_test_data): Likewise.
46355         (jn_test_data): Likewise.
46356         (lgamma_test_data): Likewise.
46357         (log_test_data): Likewise.
46358         (log10_test_data): Likewise.
46359         (log1p_test_data): Likewise.
46360         (log2_test_data): Likewise.
46361         (pow_test_data): Likewise.
46362         (scalb_test_data): Likewise.
46363         (sin_test_data): Likewise.
46364         (sincos_test_data): Likewise.
46365         (sinh_test_data): Likewise.
46366         (tan_test_data): Likewise.
46367         (tanh_test_data): Likewise.
46368         (tgamma_test_data): Likewise.
46369         (y0_test_data): Likewise.
46370         (y1_test_data): Likewise.
46371         (yn_test_data): Likewise.
46373         [BZ #16167]
46374         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46375         argument being NaN and avoid computations with second argument in
46376         that case.
46377         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46378         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46379         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46381 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46383         * locale/iso-639.def: Add Chitwani Tharu (the).
46385 2013-11-14  Andreas Schwab  <schwab@suse.de>
46387         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46388         word instead of empty string.
46390 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46393         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46395         (__fe_nomask_env): Likewise.
46397 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46399         * benchtests/bench-timing.h: Include time.h.
46401 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46403         [BZ #15997]
46404         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46405         to 3.4.0 for x32.
46406         * sysdeps/unix/sysv/linux/configure: Regenerated.
46408 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46410         [BZ #16151]
46411         * stdlib/strtod_l.c (round_and_return): Do not consider
46412         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46413         exponent one less than half the least subnormal exponent.
46414         * stdlib/test-strtod-round-data: Add more tests.
46415         * stdlib/tst-strtod-round.c (tests): Regenerated.
46417 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46419         [BZ #14143]
46420         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46421         (__fe_mask_env): Likewise.
46422         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46423         libm_hidden_proto and add function prototype.
46424         (__fe_mask_env): Add function prototype.
46425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46426         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46428         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46430         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46432 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46434         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46435         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46437 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46439         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46440         of htab_find_slot().
46442 2013-11-11  David S. Miller  <davem@davemloft.net>
46444         [BZ #16150]
46445         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46446         symbol in the non-vis3 case in static builds.
46447         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46448         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46449         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46450         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46452 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46454         [BZ #387]
46455         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46456         it is empty.
46458 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46460         * benchtests/Makefile: Add bench-strtod.
46461         * benchtests/bench-strtod.c: New file: strtod benchtest
46463 2013-11-11  Andreas Schwab  <schwab@suse.de>
46465         [BZ #16153]
46466         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46467         terminating NUL in key length.
46469 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46471         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46472         Add artificial ODP entry for vDSO symbol for PPC64.
46473         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46474         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46476 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46478         [BZ #15374]
46479         * nss/getent.c (services_keys): Recognize services starting with digit.
46481 2013-11-06  David S. Miller  <davem@davemloft.net>
46483         [BZ #15985]
46484         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46485         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46487 2013-11-06  Will Newton  <will.newton@linaro.org>
46489         * manual/memory.texi (Malloc Examples): Remove register
46490         keyword from examples.
46492 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46494         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46496 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46498         [BZ #6981]
46499         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46500         depending on [__GCC_IEC_559 > 0].
46501         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46502         depending on [__GCC_IEC_559_COMPLEX > 0].
46504 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46506         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46507         to iso-639.def.
46509 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46511         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46513 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46515         [BZ #16112]
46516         * malloc/malloc (malloc_info): Do not handle first bin as
46517         special case.
46519 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46521         * locale/iso-639.def: Add Central Nahuatl (nhn).
46523 2013-11-01  Bruno Haible  <bruno@clisp.org>
46525         [BZ #7003]
46526         * manual/math.texi (BSD Random): Specify range upper bound as
46527         in POSIX.
46529 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46531         * locale/iso-639.def: Add Meadow Mari (mhr).
46533 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46535         [BZ #14752], [BZ #15763]
46536         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46537         Validate name.
46538         * rt/tst_shm.c: Add test for escaping directory.
46540 2013-10-31  Andreas Schwab  <schwab@suse.de>
46542         [BZ #15917]
46543         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46544         followed by 'x' as part of digit sequence.
46545         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46547 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46549         [BZ #16037]
46550         * configure.ac: allow GNU Make 4.0 and greater.
46551         * configure: Regenerated.
46553 2013-10-30  Will Newton  <will.newton@linaro.org>
46555         [BZ #16038]
46556         * malloc/hooks.c (memalign_check): Limit alignment to the
46557         maximum representable power of two.
46558         * malloc/malloc.c (__libc_memalign): Likewise.
46559         * malloc/tst-memalign.c (do_test): Add test for very
46560         large alignment values.
46561         * malloc/tst-posix_memalign.c (do_test): Likewise.
46563 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46565         [BZ #11087]
46566         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46567         (munmap_chunk): Likewise.
46568         (mremap_chunk): Likewise.
46570 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46572         [BZ #15799]
46573         * stdlib/div.c (div): Remove obsolete code.
46574         * stdlib/ldiv.c (ldiv): Likewise.
46575         * stdlib/lldiv.c (lldiv): Likewise.
46577 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46579         [BZ #16071]
46580         * nss/nss_files/files-XXX.c (get_contents_ret): New
46581         enumerator.
46582         (get_contents): New function.
46583         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46585 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46587         * configure.in: Moved to ...
46588         * configure.ac: ... here. Change reference to configure.in
46589         to configure.ac.
46590         * sysdeps/arm/preconfigure.ac: ... here.
46591         configure.in to configure.ac.
46592         * sysdeps/gnu/configure.in: Moved to ...
46593         * sysdeps/gnu/configure.ac: ... here.
46594         * sysdeps/i386/configure.in: Moved to ...
46595         * sysdeps/i386/configure.ac: ... here.
46596         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46597         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46598         * sysdeps/mach/configure.in: Moved to ...
46599         * sysdeps/mach/configure.ac: ... here.
46600         * sysdeps/mach/hurd/configure.in: Moved to ...
46601         * sysdeps/mach/hurd/configure.ac: ... here.
46602         * sysdeps/powerpc/configure.in: Moved to ...
46603         * sysdeps/powerpc/configure.ac: ... here.
46604         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46605         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46606         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46607         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46608         * sysdeps/s390/s390-32/configure.in: Moved to ...
46609         * sysdeps/s390/s390-32/configure.ac: ... here.
46610         * sysdeps/s390/s390-64/configure.in: Moved to ...
46611         * sysdeps/s390/s390-64/configure.ac: ... here.
46612         * sysdeps/sh/configure.in: Moved to ...
46613         * sysdeps/sh/configure.ac: ... here.
46614         * sysdeps/sparc/configure.in: Moved to ...
46615         * sysdeps/sparc/configure.ac: ... here.
46616         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46617         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46618         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46619         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46620         * sysdeps/x86_64/configure.in: Moved to ...
46621         * sysdeps/x86_64/configure.ac: ... here.
46622         * sysdeps/x86_64/preconfigure.in: Moved to ...
46623         * sysdeps/x86_64/preconfigure.ac: ... here.
46624         * aclocal.m4: Change reference to configure.in to configure.ac.
46625         * config.h.in: Likewise.
46626         * manual/install.texi: Likewise.
46627         * manual/maint.texi: Likewise.
46628         * Makefile: Likewise.
46629         * malloc/Makefile: Likewise.
46630         * nscd/Makefile: Likewise.
46631         * Makeconfig: Change reference to configure.in and
46632         preconfigure.in to configure.ac and preconfigure.ac
46633         respectively.
46634         * INSTALL: Regenerated.
46635         * configure: Likewise.
46636         * sysdeps/gnu/configure: Likewise.
46637         * sysdeps/i386/configure: Likewise.
46638         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46639         * sysdeps/mach/configure: Likewise.
46640         * sysdeps/mach/hurd/configure: Likewise.
46641         * sysdeps/powerpc/configure: Likewise.
46642         * sysdeps/powerpc/powerpc32/configure: Likewise.
46643         * sysdeps/powerpc/powerpc64/configure: Likewise.
46644         * sysdeps/s390/s390-32/configure: Likewise.
46645         * sysdeps/s390/s390-64/configure: Likewise.
46646         * sysdeps/sh/configure: Likewise.
46647         * sysdeps/sparc/configure: Likewise.
46648         * sysdeps/unix/sysv/linux/configure: Likewise.
46649         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46650         * sysdeps/x86_64/configure: Likewise.
46651         * sysdeps/x86_64/preconfigure: Likewise.
46653 2013-10-29  Andreas Schwab  <schwab@suse.de>
46655         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46657 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46659         * benchtests/pow-inputs: Add new inputs.
46661         * benchtests/exp-inputs: Add new inputs.
46663         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46664         conditional check for return value.
46665         (__cos32): Likewise.
46667 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46669         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46670         to provide a boost for large inputs with word alignment.
46671         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46672         implementation based on optimized PPC64 strcpy.
46673         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46674         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46675         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46676         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46678 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46680         [BZ #2801]
46681         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46683 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46685         [BZ #14876]
46686         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46687         * time/tst-strptime.c (day_tests): Add testcase.
46689 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46691         [BZ #14029]
46692         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46694 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46696         [BZ #16074]
46697         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46698         MAP_FAILED on error.
46700 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46702         [BZ #16072]
46703         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46704         heap for large requests.
46706 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46708         [BZ #9954]
46709         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46710         result if the result has no associated interface.
46711         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46712         interface for all 127.X.Y.Z addresses.
46714 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46716         * locale/iso-639.def: Add Ligurian (lij)
46718 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46720         [BZ #15825]
46721         * sunrpc/rpc_main.c: Document rpcgen -5.
46723 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46725         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46727 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46729         [BZ #10278]
46730         * posix/glob.c: Match only directories when trailing slash is present.
46731         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46732         (main): Add testcase.
46734 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46736         [BZ #15670]
46737         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46739 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46741         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46742         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46743         AUTH_DES and cindex for FIPS 140-2.
46744         (DES Encryption): Add cindex FIPS 46-3.
46746         * locale/locarchive.h (struct locarhandle): Add fname.
46747         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46748         if an optional argument was specified to --list-archive,
46749         otherwise NULL.
46750         * locale/programs/locarchive.c (show_archive_content): Take new
46751         argument fname and pass it via ah.fname to open_archive.
46752         * locale/programs/localedef.h: Update decl.
46753         (open_archive): If AH->fname is non-null, open that file
46754         rather than the default file name, and don't ignore ENOENT.
46755         (create_archive): Set AH.fname to NULL.
46756         (delete_locales_from_archive): Likewise.
46757         (add_locales_to_archive): Likewise.
46758         * locale/programs/locfile.c (write_all_categories): Likewise.
46760 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46761             Aldy Hernandez  <aldyh@redhat.com>
46763         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46764         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46765         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46766         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46767         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46768         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46769         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46770         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46771         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46772         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46773         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46774         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46775         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46776         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46777         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46778         Likewise.
46779         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46780         Likewise.
46781         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46782         Likewise.
46783         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46784         Likewise.
46785         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46786         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46787         Likewise.
46788         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46789         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46790         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46791         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46792         Likewise.
46793         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46794         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46795         * sysdeps/powerpc/preconfigure: Likewise.
46796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46797         Likewise.
46798         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46799         Replace contents of file by #include of <fenv_libc.h>.
46800         * sysdeps/powerpc/soft-fp/sfp-machine.h
46801         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46802         and <sys/prctl.h>.
46803         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46804         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46805         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46806         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46807         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46808         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46810         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46811         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46812         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46813         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46814         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46816         Allow copysignl PLT reference to be missing.
46818 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46819             Joseph Myers  <joseph@codesourcery.com
46821         [BZ #15948]
46822         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46823         single character.
46824         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46826 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46828         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46829         * elf/tst-tls1.c: Likewise.
46830         * elf/tst-tls10.h: Likewise.
46831         * elf/tst-tls14.c: Likewise.
46832         * elf/tst-tls2.c: Likewise.
46833         * elf/tst-tls3.c: Likewise.
46834         * elf/tst-tls4.c: Likewise.
46835         * elf/tst-tls5.c: Likewise.
46836         * elf/tst-tls6.c: Likewise.
46837         * elf/tst-tls7.c: Likewise.
46838         * elf/tst-tls8.c: Likewise.
46839         * elf/tst-tls9.c: Likewise.
46840         * elf/tst-tlsmod1.c: Likewise.
46841         * elf/tst-tlsmod13.c: Likewise.
46842         * elf/tst-tlsmod13a.c: Likewise.
46843         * elf/tst-tlsmod14a.c: Likewise.
46844         * elf/tst-tlsmod16a.c: Likewise.
46845         * elf/tst-tlsmod16b.c: Likewise.
46846         * elf/tst-tlsmod2.c: Likewise.
46847         * elf/tst-tlsmod3.c: Likewise.
46848         * elf/tst-tlsmod4.c: Likewise.
46849         * elf/tst-tlsmod5.c: Likewise.
46850         * elf/tst-tlsmod6.c: Likewise.
46852 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46854         [BZ #12486]
46855         * malloc/malloc.c: remove checks for statistics.
46857 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46859         [BZ #15277]
46860         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46861         * inet/tst-network.c: Add testcase.
46863 2013-10-17  Andreas Schwab  <schwab@suse.de>
46865         [BZ #15218]
46866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46867         to determine canonical name.
46869 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46871         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46872         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46873         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46874         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46875         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46876         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46877         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46878         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46879         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46880         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46881         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46882         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46883         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46884         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46885         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46886         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46887         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46888         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46889         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46890         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46891         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46892         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46893         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46894         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46895         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46896         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46897         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46898         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46899         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46900         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46901         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46902         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46903         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46904         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46905         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46906         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46907         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46908         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46909         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46910         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46911         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46912         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46913         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46914         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46915         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46916         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46917         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46918         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46919         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46920         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46921         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46922         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46923         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46924         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46925         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46926         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46927         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46928         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46930 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46932         [BZ #16041]
46933         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46934         make result into a quiet NaN.
46936 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46938         * soft-fp/adddf3.c: Fix horizontal whitespace.
46939         * soft-fp/addsf3.c: Likewise.
46940         * soft-fp/addtf3.c: Likewise.
46941         * soft-fp/divdf3.c: Likewise.
46942         * soft-fp/divsf3.c: Likewise.
46943         * soft-fp/divtf3.c: Likewise.
46944         * soft-fp/double.h: Likewise.
46945         * soft-fp/eqdf2.c: Likewise.
46946         * soft-fp/eqsf2.c: Likewise.
46947         * soft-fp/eqtf2.c: Likewise.
46948         * soft-fp/extenddftf2.c: Likewise.
46949         * soft-fp/extended.h: Likewise.
46950         * soft-fp/extendsfdf2.c: Likewise.
46951         * soft-fp/extendsftf2.c: Likewise.
46952         * soft-fp/extendxftf2.c: Likewise.
46953         * soft-fp/fixdfdi.c: Likewise.
46954         * soft-fp/fixdfsi.c: Likewise.
46955         * soft-fp/fixdfti.c: Likewise.
46956         * soft-fp/fixsfdi.c: Likewise.
46957         * soft-fp/fixsfsi.c: Likewise.
46958         * soft-fp/fixsfti.c: Likewise.
46959         * soft-fp/fixtfdi.c: Likewise.
46960         * soft-fp/fixtfsi.c: Likewise.
46961         * soft-fp/fixtfti.c: Likewise.
46962         * soft-fp/fixunsdfdi.c: Likewise.
46963         * soft-fp/fixunsdfsi.c: Likewise.
46964         * soft-fp/fixunsdfti.c: Likewise.
46965         * soft-fp/fixunssfdi.c: Likewise.
46966         * soft-fp/fixunssfsi.c: Likewise.
46967         * soft-fp/fixunssfti.c: Likewise.
46968         * soft-fp/fixunstfdi.c: Likewise.
46969         * soft-fp/fixunstfsi.c: Likewise.
46970         * soft-fp/fixunstfti.c: Likewise.
46971         * soft-fp/floatdidf.c: Likewise.
46972         * soft-fp/floatdisf.c: Likewise.
46973         * soft-fp/floatditf.c: Likewise.
46974         * soft-fp/floatsidf.c: Likewise.
46975         * soft-fp/floatsisf.c: Likewise.
46976         * soft-fp/floatsitf.c: Likewise.
46977         * soft-fp/floattidf.c: Likewise.
46978         * soft-fp/floattisf.c: Likewise.
46979         * soft-fp/floattitf.c: Likewise.
46980         * soft-fp/floatundidf.c: Likewise.
46981         * soft-fp/floatundisf.c: Likewise.
46982         * soft-fp/floatunditf.c: Likewise.
46983         * soft-fp/floatunsidf.c: Likewise.
46984         * soft-fp/floatunsisf.c: Likewise.
46985         * soft-fp/floatunsitf.c: Likewise.
46986         * soft-fp/floatuntidf.c: Likewise.
46987         * soft-fp/floatuntisf.c: Likewise.
46988         * soft-fp/floatuntitf.c: Likewise.
46989         * soft-fp/fmadf4.c: Likewise.
46990         * soft-fp/fmasf4.c: Likewise.
46991         * soft-fp/fmatf4.c: Likewise.
46992         * soft-fp/gedf2.c: Likewise.
46993         * soft-fp/gesf2.c: Likewise.
46994         * soft-fp/getf2.c: Likewise.
46995         * soft-fp/ledf2.c: Likewise.
46996         * soft-fp/lesf2.c: Likewise.
46997         * soft-fp/letf2.c: Likewise.
46998         * soft-fp/muldf3.c: Likewise.
46999         * soft-fp/mulsf3.c: Likewise.
47000         * soft-fp/multf3.c: Likewise.
47001         * soft-fp/negdf2.c: Likewise.
47002         * soft-fp/negsf2.c: Likewise.
47003         * soft-fp/negtf2.c: Likewise.
47004         * soft-fp/op-1.h: Likewise.
47005         * soft-fp/op-2.h: Likewise.
47006         * soft-fp/op-4.h: Likewise.
47007         * soft-fp/op-8.h: Likewise.
47008         * soft-fp/op-common.h: Likewise.
47009         * soft-fp/quad.h: Likewise.
47010         * soft-fp/single.h: Likewise.
47011         * soft-fp/soft-fp.h: Likewise.
47012         * soft-fp/sqrtdf2.c: Likewise.
47013         * soft-fp/sqrtsf2.c: Likewise.
47014         * soft-fp/sqrttf2.c: Likewise.
47015         * soft-fp/subdf3.c: Likewise.
47016         * soft-fp/subsf3.c: Likewise.
47017         * soft-fp/subtf3.c: Likewise.
47018         * soft-fp/truncdfsf2.c: Likewise.
47019         * soft-fp/trunctfdf2.c: Likewise.
47020         * soft-fp/trunctfsf2.c: Likewise.
47021         * soft-fp/trunctfxf2.c: Likewise.
47022         * soft-fp/unorddf2.c: Likewise.
47023         * soft-fp/unordsf2.c: Likewise.
47024         * soft-fp/unordtf2.c: Likewise.
47026 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
47028         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
47029         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
47031 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
47033         * elf/dl-libc.c: Clear initfini list after freeing.
47035 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
47037         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
47038         * soft-fp/addsf3.c: Likewise.
47039         * soft-fp/addtf3.c: Likewise.
47040         * soft-fp/divdf3.c: Likewise.
47041         * soft-fp/divsf3.c: Likewise.
47042         * soft-fp/divtf3.c: Likewise.
47043         * soft-fp/double.h: Likewise.
47044         * soft-fp/eqdf2.c: Likewise.
47045         * soft-fp/eqsf2.c: Likewise.
47046         * soft-fp/eqtf2.c: Likewise.
47047         * soft-fp/extenddftf2.c: Likewise.
47048         * soft-fp/extended.h: Likewise.
47049         * soft-fp/extendsfdf2.c: Likewise.
47050         * soft-fp/extendsftf2.c: Likewise.
47051         * soft-fp/extendxftf2.c: Likewise.
47052         * soft-fp/fixdfdi.c: Likewise.
47053         * soft-fp/fixdfsi.c: Likewise.
47054         * soft-fp/fixdfti.c: Likewise.
47055         * soft-fp/fixsfdi.c: Likewise.
47056         * soft-fp/fixsfsi.c: Likewise.
47057         * soft-fp/fixsfti.c: Likewise.
47058         * soft-fp/fixtfdi.c: Likewise.
47059         * soft-fp/fixtfsi.c: Likewise.
47060         * soft-fp/fixtfti.c: Likewise.
47061         * soft-fp/fixunsdfdi.c: Likewise.
47062         * soft-fp/fixunsdfsi.c: Likewise.
47063         * soft-fp/fixunsdfti.c: Likewise.
47064         * soft-fp/fixunssfdi.c: Likewise.
47065         * soft-fp/fixunssfsi.c: Likewise.
47066         * soft-fp/fixunssfti.c: Likewise.
47067         * soft-fp/fixunstfdi.c: Likewise.
47068         * soft-fp/fixunstfsi.c: Likewise.
47069         * soft-fp/fixunstfti.c: Likewise.
47070         * soft-fp/floatdidf.c: Likewise.
47071         * soft-fp/floatdisf.c: Likewise.
47072         * soft-fp/floatditf.c: Likewise.
47073         * soft-fp/floatsidf.c: Likewise.
47074         * soft-fp/floatsisf.c: Likewise.
47075         * soft-fp/floatsitf.c: Likewise.
47076         * soft-fp/floattidf.c: Likewise.
47077         * soft-fp/floattisf.c: Likewise.
47078         * soft-fp/floattitf.c: Likewise.
47079         * soft-fp/floatundidf.c: Likewise.
47080         * soft-fp/floatundisf.c: Likewise.
47081         * soft-fp/floatunsidf.c: Likewise.
47082         * soft-fp/floatunsisf.c: Likewise.
47083         * soft-fp/floatuntidf.c: Likewise.
47084         * soft-fp/floatuntisf.c: Likewise.
47085         * soft-fp/floatuntitf.c: Likewise.
47086         * soft-fp/fmadf4.c: Likewise.
47087         * soft-fp/fmasf4.c: Likewise.
47088         * soft-fp/fmatf4.c: Likewise.
47089         * soft-fp/gedf2.c: Likewise.
47090         * soft-fp/gesf2.c: Likewise.
47091         * soft-fp/getf2.c: Likewise.
47092         * soft-fp/ledf2.c: Likewise.
47093         * soft-fp/lesf2.c: Likewise.
47094         * soft-fp/letf2.c: Likewise.
47095         * soft-fp/muldf3.c: Likewise.
47096         * soft-fp/mulsf3.c: Likewise.
47097         * soft-fp/multf3.c: Likewise.
47098         * soft-fp/negdf2.c: Likewise.
47099         * soft-fp/negsf2.c: Likewise.
47100         * soft-fp/negtf2.c: Likewise.
47101         * soft-fp/op-1.h: Likewise.
47102         * soft-fp/op-2.h: Likewise.
47103         * soft-fp/op-4.h: Likewise.
47104         * soft-fp/op-8.h: Likewise.
47105         * soft-fp/op-common.h: Likewise.
47106         * soft-fp/quad.h: Likewise.
47107         * soft-fp/single.h: Likewise.
47108         * soft-fp/soft-fp.h: Likewise.
47109         * soft-fp/sqrtdf2.c: Likewise.
47110         * soft-fp/sqrtsf2.c: Likewise.
47111         * soft-fp/sqrttf2.c: Likewise.
47112         * soft-fp/subdf3.c: Likewise.
47113         * soft-fp/subsf3.c: Likewise.
47114         * soft-fp/subtf3.c: Likewise.
47115         * soft-fp/truncdfsf2.c: Likewise.
47116         * soft-fp/trunctfdf2.c: Likewise.
47117         * soft-fp/trunctfsf2.c: Likewise.
47118         * soft-fp/trunctfxf2.c: Likewise.
47119         * soft-fp/unorddf2.c: Likewise.
47120         * soft-fp/unordsf2.c: Likewise.
47121         * soft-fp/unordtf2.c: Likewise.
47123 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
47125         [BZ #15672]
47126         * misc/error.c (error_tail): Fix possible buffer overflow.
47128 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
47130         [BZ #13028]
47131         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
47132         address.
47134 2013-10-14  P. J. McDermott  <pj@pehjota.net>
47136         [BZ #832]
47137         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
47138         testing pipefail option.
47140 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47142         * soft-fp/double.h: Indent preprocessor directives inside #if.
47143         * soft-fp/extended.h: Likewise.
47144         * soft-fp/op-2.h: Likewise.
47145         * soft-fp/op-4.h: Likewise.
47146         * soft-fp/op-common.h: Likewise.
47147         * soft-fp/quad.h: Likewise.
47148         * soft-fp/single.h: Likewise.
47149         * soft-fp/soft-fp.h: Likewise.
47151 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
47153         * iconv/iconv_prog.c: Fix typos.
47154         * stdio-common/psiginfo-data.h: Likewise.
47156 2013-10-12   Reuben Thomas <rrt@sc3d.org>
47158         [BZ #15764]
47159         * locale/setlocale.c: Fix typo.
47161 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47163         [BZ #16036]
47164         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
47165         signaling NaN arguments.
47166         * soft-fp/unordsf2.c (__unordsf2): Likewise.
47167         * soft-fp/unordtf2.c (__unordtf2): Likewise.
47169         [BZ #14910]
47170         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47171         unordered operands.
47172         * soft-fp/gesf2.c (__gesf2): Likewise.
47173         * soft-fp/getf2.c (__getf2): Likewise.
47174         * soft-fp/ledf2.c (__ledf2): Likewise.
47175         * soft-fp/lesf2.c (__lesf2): Likewise.
47176         * soft-fp/letf2.c (__letf2): Likewise.
47178         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47179         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47180         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47181         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47182         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47183         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47184         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47185         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47186         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47187         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47188         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47189         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47190         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47191         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47192         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47193         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47194         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47195         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47196         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47197         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47198         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47199         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47200         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47201         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47202         * soft-fp/floattidf.c (__floattidf): Likewise.
47203         * soft-fp/floattisf.c (__floattisf): Likewise.
47204         * soft-fp/floattitf.c (__floattitf): Likewise.
47205         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47206         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47207         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47208         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47209         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47210         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47211         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47212         * soft-fp/gesf2.c (__gesf2): Likewise.
47213         * soft-fp/getf2.c (__getf2): Likewise.
47214         * soft-fp/ledf2.c (__ledf2): Likewise.
47215         * soft-fp/lesf2.c (__lesf2): Likewise.
47216         * soft-fp/letf2.c (__letf2): Likewise.
47218         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47219         Undefine and redefine.
47220         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47221         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47222         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47223         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47224         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47225         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47226         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47227         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47228         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47229         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47230         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47231         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47232         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47233         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47234         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47236         [BZ #16032]
47237         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47238         without decrementing exponent if mantissa >= that for the
47239         denominator, not >.
47240         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47241         denominator, not >.  Decrement exponent in < case instead of
47242         incrementing in >= case.
47243         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47244         without decrementing exponent if mantissa >= that for the
47245         denominator, not >.
47247         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47248         computing saturated result for unsigned overflow.
47250 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47251             Jeff Law  <law@redhat.com>
47253         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47254         (atan2Mp): Add systemtap probe marker.
47255         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47256         (__ieee754_log): Add systemtap probe marker.
47257         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47258         (atanMp): Add systemtap probe marker.
47259         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47260         (tanMp): Add systemtap probe marker.
47261         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47262         (__slowexp): Add systemtap probe marker.
47263         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47264         (__slowpow): Add systemtap probe marker.
47265         * manual/probes.texi: Document probes.
47267 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47269         [BZ #15362]
47270         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47271         written.
47272         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47273         written.
47274         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47275         written to buffer but not flushed.
47276         * libio/iofwrite_u.c:  Likewise.
47277         * libio/iopadn.c:  Return bytes returned even if EOF was
47278         encountered.
47279         * libio/iowpadn.c:  Likewise.
47280         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47281         if _IO_padn does not write the whole buffer.
47282         [!COMPILE_WPRINTF] (PAD): Likewise.
47284 2013-10-10  David S. Miller  <davem@davemloft.net>
47286         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47287         directory block.
47289 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47291         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47292         instead of FSF address.
47293         * soft-fp/fixdfti.c: Likewise.
47294         * soft-fp/fixsfti.c: Likewise.
47295         * soft-fp/fixtfti.c: Likewise.
47296         * soft-fp/fixunsdfti.c: Likewise.
47297         * soft-fp/fixunssfti.c: Likewise.
47298         * soft-fp/fixunstfti.c: Likewise.
47299         * soft-fp/floattidf.c: Likewise.
47300         * soft-fp/floattisf.c: Likewise.
47301         * soft-fp/floattitf.c: Likewise.
47302         * soft-fp/floatuntidf.c: Likewise.
47303         * soft-fp/floatuntisf.c: Likewise.
47304         * soft-fp/floatuntitf.c: Likewise.
47305         * soft-fp/trunctfxf2.c: Likewise.
47307         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47308         * soft-fp/fixdfti.c: Likewise.
47309         * soft-fp/fixsfti.c: Likewise.
47310         * soft-fp/fixtfti.c: Likewise.
47311         * soft-fp/fixunsdfti.c: Likewise.
47312         * soft-fp/fixunssfti.c: Likewise.
47313         * soft-fp/fixunstfti.c: Likewise.
47314         * soft-fp/floattidf.c: Likewise.
47315         * soft-fp/floattisf.c: Likewise.
47316         * soft-fp/floattitf.c: Likewise.
47317         * soft-fp/floatuntidf.c: Likewise.
47318         * soft-fp/floatuntisf.c: Likewise.
47319         * soft-fp/floatuntitf.c: Likewise.
47320         * soft-fp/trunctfxf2.c: Likewise.
47322 2013-10-10  David S. Miller  <davem@davemloft.net>
47324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47326 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47328         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47329         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47330         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47331         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47332         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47333         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47334         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47336         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47337         for NaNs before doing comparisons on argument.
47338         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47339         Likewise.
47341 2013-10-10  Will Newton  <will.newton@linaro.org>
47343         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47344         passed to _int_memalign does not overflow.
47346 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47348         * scripts/bench.pl: Add include-sources directive.
47349         * benchtests/README: Update documentation.
47351 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47353         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47354         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47355         instead of FP_INIT_ROUNDMODE.
47356         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47357         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47359         [BZ #16034]
47360         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47361         copy class of input value.
47362         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47363         not handle exceptions.
47364         * soft-fp/negsf2.c (__negsf2): Likewise.
47365         * soft-fp/negtf2.c (__negtf2): Likewise.
47366         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47368 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47370         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47371         semicolon.  From Linux kernel.
47373 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47375         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47377 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47379         [BZ #156]
47380         * manual/socket.texi: Added statement about buffer
47381         for gethostbyname2_r.
47383 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47385         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47386         Use .p2align directive instead, throughout.
47387         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47388         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47389         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47390         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47391         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47392         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47393         * sysdeps/x86_64/strchr.S: Likewise.
47394         * sysdeps/x86_64/strrchr.S: Likewise.
47396 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47398         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47400         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47402         * sysdeps/generic/math_private.h (__mpsin1): Remove
47403         declaration.
47404         (__mpcos1): Likewise.
47405         (__mpsin): New argument __range_reduce.
47406         (__mpcos): Likewise.
47407         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47408         (slow): Use __mpsin and __mpcos.
47409         (slow1): Likewise.
47410         (slow2): Likewise.
47411         (sloww): Likewise.
47412         (sloww1): Likewise.
47413         (sloww2): Likewise.
47414         (bsloww): Likewise.
47415         (bsloww1): Likewise.
47416         (bsloww2): Likewise.
47417         (cslow2): Likewise.
47418         (csloww): Likewise.
47419         (csloww1): Likewise.
47420         (csloww2): Likewise.
47421         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47422         range_reduce.  Merge in __mpsin1.
47423         (__mpcos): Likewise.
47424         (__mpsin1): Remove.
47425         (__mpcos1): Likewise.
47427 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47429         * locale/loadlocale.c (_nl_intern_locale_data): Use
47430         LOCFILE_ALIGNED_P.
47431         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47432         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47433         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47434         obstack data is appropriately aligned.
47435         (obstack_int32_grow_fast): Likewise.
47436         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47437         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47438         (add_locale_uint32_array): Likewise.
47440 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47442         * benchtests/Makefile: Remove ARGLIST and RET variables.
47443         ($(objpfx)bench-%.c): Pass only function name to the script.
47444         * benchtests/README: Update documentation.
47445         * benchtests/acos-inputs: Add new directives.
47446         * benchtests/acosh-inputs: Likewise.
47447         * benchtests/asin-inputs: Likewise.
47448         * benchtests/asinh-inputs: Likewise.
47449         * benchtests/atan-inputs: Likewise.
47450         * benchtests/atanh-inputs: Likewise.
47451         * benchtests/cos-inputs: Likewise.
47452         * benchtests/cosh-inputs: Likewise.
47453         * benchtests/exp-inputs: Likewise.
47454         * benchtests/log-inputs: Likewise.
47455         * benchtests/pow-inputs: Likewise.
47456         * benchtests/rint-inputs: Likewise.
47457         * benchtests/sin-inputs: Likewise.
47458         * benchtests/sinh-inputs: Likewise.
47459         * benchtests/tan-inputs: Likewise.
47460         * benchtests/tanh-inputs: Likewise.
47461         * scripts/bench.pl: Add support for new directives.
47463 2013-10-07  Alan Modra  <amodra@gmail.com>
47465         * README: Fix careless merge.
47467 2013-10-05  Alan Modra  <amodra@gmail.com>
47469         * NEWS: Mention powerpc64le support and bugs fixed.
47470         * README: Both big-endian and little-endian powerpc64 supported.
47472 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47474         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47475         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47476         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47477         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47479 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47481         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47482         match prototype.
47484 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47486         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47487         Move -mhard-float appending from
47488         ports/sysdeps/powerpc/powerpc32/Makefile.
47489         [$(with-fp) = yes] (ASFLAGS): Likewise.
47490         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47491         * sysdeps/powerpc/nofpu: Move directory from
47492         ports/sysdeps/powerpc/nofpu.
47493         * sysdeps/powerpc/soft-fp: Move directory from
47494         ports/sysdeps/powerpc/soft-fp.
47495         * sysdeps/powerpc/powerpc32/405: Move directory from
47496         ports/sysdeps/powerpc/powerpc32/405.
47497         * sysdeps/powerpc/powerpc32/440: Move directory from
47498         ports/sysdeps/powerpc/powerpc32/440.
47499         * sysdeps/powerpc/powerpc32/464: Move directory from
47500         ports/sysdeps/powerpc/powerpc32/464.
47501         * sysdeps/powerpc/powerpc32/476: Move directory from
47502         ports/sysdeps/powerpc/powerpc32/476.
47503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47504         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47506         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47508         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47510         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47512         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47513         * README: Update for powerpc-*-linux-gnu software floating point
47514         support in libc.
47516         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47517         case to powerpc/powerpc32*.
47518         * sysdeps/unix/sysv/linux/configure: Regenerated.
47520         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47521         (_FPU_MASK_OM): Define as 0x04.
47522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47524         0x00c10080.
47525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47526         0x0000003c.
47527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47530         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47531         getcontext_e500.
47532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47533         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47534         setcontext_e500.
47535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47536         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47537         and setcontext_e500.
47539 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47541         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47543 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47545         * manual/threads.texi (Default Thread Attributes): Fix typo.
47547 2013-10-04  Will Newton  <will.newton@linaro.org>
47549         * malloc/Makefile: Add tst-memalign.
47550         * malloc/tst-memalign.c: New file.
47552         * malloc/tst-posix_memalign.c: Add comments.
47553         (do_test): Add comments and call free on all potentially
47554         allocated pointers. Add space after cast.
47556         * malloc/tst-pvalloc.c: Add comments.
47557         (do_test): Add comments and call free on all potentially
47558         allocated pointers. Remove duplicate check for NULL pointer.
47559         Add space after cast.
47561         * malloc/tst-valloc.c: Add comments.
47562         (do_test): Add comments and call free on all potentially
47563         allocated pointers. Remove duplicate check for NULL pointer.
47564         Add space after cast.
47566 2013-10-04  Alan Modra  <amodra@gmail.com>
47568         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47569         Use stdint types in rather than __attribute__((mode())).
47570         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47572 2013-10-04  Alan Modra  <amodra@gmail.com>
47574         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47575         Correct handling of unaligned relocs for little-endian.
47576         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47578 2013-10-04  Alan Modra  <amodra@gmail.com>
47580         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47581         * configure: Regenerate.
47582         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47583         * shlib-versions: Likewise.
47585 2013-10-04  Alan Modra  <amodra@gmail.com>
47587         * string/tester.c (test_memrchr): Increment reported test cycle.
47589 2013-10-04  Alan Modra  <amodra@gmail.com>
47591         * string/test-memcpy.c (do_one_test): When reporting errors, print
47592         string address and don't overrun end of string.
47594 2013-10-04  Alan Modra  <amodra@gmail.com>
47596         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47597         insrdi.  Make better use of reg selection to speed exit slightly.
47598         Schedule entry path a little better.  Remove useless "are we done"
47599         checks on entry to main loop.  Handle wrapping around zero address.
47600         Correct main loop count.  Handle single left-over word from main
47601         loop inline rather than by using loop_small.  Remove extra word
47602         case in loop_small caused by wrong loop count.  Add little-endian
47603         support.
47604         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47605         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47606         cache hint.
47607         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47608         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47609         support.  Avoid rlwimi.
47610         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47612 2013-10-04  Alan Modra  <amodra@gmail.com>
47614         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47615         insrdi.  Formatting.
47616         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47617         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47618         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47619         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47620         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47621         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47623 2013-10-04  Alan Modra  <amodra@gmail.com>
47625         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47626         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47627         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47628         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47629         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47630         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47631         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47632         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47633         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47634         use of regs.  Use power7 mtocrf.  Tidy function tails.
47636 2013-10-04  Alan Modra  <amodra@gmail.com>
47638         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47639         Formatting.  Consistently use rXXX register defines or rN defines.
47640         Use early exit labels that avoid restoring unused non-volatile regs.
47641         Make cr field use more consistent with rWORDn compares.  Rename
47642         regs used as shift registers for unaligned loop, using rN defines
47643         for short lifetime/multiple use regs.
47644         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47645         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47646         addi 1,1,64 to pop stack frame.  Simplify return value code.
47647         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47649 2013-10-04  Alan Modra  <amodra@gmail.com>
47651         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47652         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47653         rather than rlwimi.
47654         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47655         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47656         little-endian support.  Correct typos.
47657         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47658         rather than rlwimi.
47659         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47660         in loop and entry code to keep "and." results.
47661         (strchr): Add little-endian support.  Comment.  Move cntlzd
47662         earlier in tail.
47663         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47665 2013-10-04  Alan Modra  <amodra@gmail.com>
47667         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47668         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47669         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47670         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47672 2013-10-04  Alan Modra  <amodra@gmail.com>
47674         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47675         (rTMP): Define as r11.
47676         (strcmp): Add little-endian support.  Optimise tail.
47677         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47678         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47679         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47680         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47681         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47682         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47683         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47685 2013-10-04  Alan Modra  <amodra@gmail.com>
47687         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47688         little-endian support.  Remove unnecessary "are we done" tests.
47689         Handle "s" wrapping around zero and extremely large "size".
47690         Correct main loop count.  Handle single left-over word from main
47691         loop inline rather than by using small_loop.  Correct comments.
47692         Delete "zero" tail, use "end_max" instead.
47693         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47695 2013-10-04  Alan Modra  <amodra@gmail.com>
47697         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47698         support.  Don't branch over align.
47699         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47700         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47701         support.  Rearrange tmp reg use to suit.  Comment.
47702         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47704 2013-10-04  Alan Modra  <amodra@gmail.com>
47706         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47708 2013-10-04  Alan Modra  <amodra@gmail.com>
47710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47711         conditional form of branch and link when obtaining pc.
47712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47714 2013-10-04  Alan Modra  <amodra@gmail.com>
47716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47717         HIWORD/LOWORD.
47718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47721 2013-10-04  Alan Modra  <amodra@gmail.com>
47723         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47724         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47725         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47726         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47727         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47728         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47729         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47730         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47731         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47732         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47734 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47735             Alistair Popple <alistair@ozlabs.au.ibm.com>
47736             Alan Modra <amodra@gmail.com>
47738         [BZ #15723]
47739         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47740         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47741         _dl_hwcap access for little-endian.
47742         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47743         destroy vmx regs when saving unaligned.
47744         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47745         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47746         destroy vmx regs when saving unaligned.
47748 2013-10-04  Alan Modra  <amodra@gmail.com>
47750         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47751         Don't use a union to pack hi/low value.
47753 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47755         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47756         for little-endian.
47757         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47758         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47759         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47760         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47761         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47763 2013-10-04  Alan Modra  <amodra@gmail.com>
47765         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47766         constants to usual value for .cst8 section, and remove redundant
47767         high address load.
47768         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47769         constant for 0x1p52.  Load little-endian words of double from
47770         correct stack offsets.
47772 2013-10-04  Alan Modra  <amodra@gmail.com>
47774         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47775         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47776         words of double from correct stack offsets.
47777         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47778         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47779         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47780         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47781         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47782         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47783         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47784         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47785         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47786         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47787         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47788         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47789         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47790         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47791         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47792         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47793         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47795 2013-10-04  Alan Modra  <amodra@gmail.com>
47797         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47798         64-bit int/double union.
47799         (_FPU_SETCW): Likewise.
47800         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47801         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47803 2013-10-04  Alan Modra  <amodra@gmail.com>
47805         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47806         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47808 2013-10-04  Alan Modra  <amodra@gmail.com>
47810         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47811         use vector int constants.
47812         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47814 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47816         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47817         array with long long.
47818         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47819         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47820         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47821         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47822         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47823         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47824         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47825         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47826         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47827         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47828         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47829         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47830         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47832 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47834         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47835         (__signbit): Likewise.  Correct for little-endian.
47836         (__signbitl): Call __signbit.
47837         (lrint): Correct for little-endian.
47838         (lrintf): Call lrint.
47840 2013-10-04  Alan Modra  <amodra@gmail.com>
47842         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47843         union 32-bit int array member with 64-bit int array.
47844         (t515, tm256): Double rather than long double.
47845         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47847 2013-10-04  Alan Modra  <amodra@gmail.com>
47849         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47850         Delete.
47851         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47852         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47853         version of math_ldbl.h.
47855 2013-10-04  Alan Modra  <amodra@gmail.com>
47857         [BZ #15734], [BZ #15735]
47858         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47859         all uses of ieee875 long double macros and unions.  Simplify test
47860         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47861         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47862         normalize after ldbl_extract_mantissa, and don't add hidden bit
47863         already handled.  Don't treat low word of ieee854 mantissa like
47864         low word of IBM long double and mask off bit when testing for
47865         zero.
47866         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47867         all uses of ieee875 long double macros and unions.  Simplify tests
47868         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47869         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47870         two1022, instead use their values.  Recognise that tests for large
47871         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47872         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47873         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47874         test for 0.0L and nan.  Correct negation.
47875         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47876         ieee875 long double macros and unions.  Correct output for large
47877         magnitude x.  Correct absolute value calculation.
47878         (__erfcl): Likewise.
47879         * math/libm-test.inc: Add tests for errors discovered in IBM long
47880         double versions of fmodl, remainderl, erfl and erfcl.
47882 2013-10-04  Alan Modra  <amodra@gmail.com>
47884         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47885         all uses of ieee854 long double macros and unions.  Simplify tests
47886         for long doubles that are fully specified by the high double.
47887         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47888         Likewise.
47889         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47890         Remove dead code too.
47891         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47892         (__ieee754_ynl): Likewise.
47893         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47894         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47895         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47896         Remove dead code too.
47897         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47898         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47899         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47900         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47901         Simplify.
47902         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47903         Simplify.
47904         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47905         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47906         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47907         Comment on variable precision.
47908         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47909         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47910         Likewise.
47911         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47912         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47913         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47914         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47915         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47917 2013-10-04  Alan Modra  <amodra@gmail.com>
47919         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47920         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47921         all uses of ieee854 long double macros and unions.
47922         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47923         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47924         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47925         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47926         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47927         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47928         Likewise.
47929         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47930         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47931         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47932         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47933         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47934         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47935         Simplify sign and nan test too.
47936         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47937         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47938         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47939         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47940         Likewise.
47941         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47942         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47943         Likewise.
47944         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47945         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47946         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47947         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47948         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47949         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47951 2013-10-04  Alan Modra  <amodra@gmail.com>
47953         * stdio-common/printf_size.c (__printf_size): Don't use
47954         union ieee854_long_double in fpnum union.
47955         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47956         signbit macro to retrieve sign from long double.
47957         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47958         retrieve sign from long double.
47959         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47960         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47961         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47962         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47963         * math/test-misc.c (main): Don't use union ieee854_long_double.
47965 2013-10-04  Alan Modra  <amodra@gmail.com>
47967         [BZ #15680]
47968         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47969         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47970         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47971         calculation.  Remove unnecessary test for denormal exponent.
47972         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47973         Correct handling of denormals.  Avoid undefined shift behaviour.
47974         Correct normalisation of low mantissa when low double is denormal.
47975         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47976         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47977         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47978         Correct normalisation of low mantissa.  Test for overflow of high
47979         mantissa and normalise.
47980         (ldbl_nearbyint): Use more readable constant for two52.
47981         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47982         (__mpn_construct_long_double): Fix test for overflow of high
47983         mantissa and correct normalisation.  Avoid undefined shift.
47985 2013-10-04  Alan Modra  <amodra@gmail.com>
47987         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47988         (union ibm_extended_long_double): Define as an array of ieee754_double.
47989         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47990         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47991         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47992         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47993         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47994         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47995         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47996         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47997         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47998         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47999         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48001 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
48003         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
48004         page size instead of calling getpagesize.
48006         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
48007         (LOCFILE_ALIGN_MASK): Likewise.
48008         (LOCFILE_ALIGN_UP): Likewise.
48009         (LOCFILE_ALIGNED_P): Likewise.
48010         * locale/programs/ld-collate.c (collate_output): Use the new
48011         macros instead of __alignof__ (int32_t).
48012         * locale/weight.h (findidx): Likewise.
48014 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
48016         [BZ #431]
48017         * manual/string.texi: Fix strncat and wcsncat.
48019 2013-10-03  Brooks Moses  <bmoses@google.com>
48021         [BZ #15915]
48022         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
48023         * Makerules: ...here, and adjust associated comments.
48025 2013-10-02  Will Newton  <will.newton@linaro.org>
48027         * malloc/Makefile: Add tst-pvalloc.
48028         * malloc/tst-pvalloc.c: New file.
48030 2013-10-02  Will Newton  <will.newton@linaro.org>
48032         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
48033         improve test coverage.
48035 2013-10-02  Will Newton  <will.newton@linaro.org>
48037         * malloc/Makefile: Add tst-posix_memalign.
48038         * malloc/tst-posix_memalign.c: New file.
48040 2013-10-01  Eric Blake  <eblake@redhat.com>
48042         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
48043         Use __THROWNL rather than __THROW on static functions.
48045 2013-09-30  Petr Machata  <pmachata@redhat.com>
48047         * elf/elf.h (R_AARCH64_ABS16): New macro.
48048         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
48049         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
48050         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48051         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
48052         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
48053         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
48054         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
48055         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
48056         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
48057         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
48058         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
48059         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
48060         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
48061         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
48062         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
48063         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
48064         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
48065         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48066         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
48067         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
48068         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
48069         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
48070         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
48071         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48072         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
48073         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
48074         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
48075         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
48076         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
48077         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
48078         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
48079         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
48080         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
48081         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
48082         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
48083         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
48084         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
48085         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
48086         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
48087         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
48088         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
48089         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
48090         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
48091         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
48092         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
48093         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
48094         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
48095         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
48096         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
48097         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
48098         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
48099         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
48100         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
48101         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
48102         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
48103         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
48104         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
48105         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
48106         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
48107         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
48108         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
48109         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
48110         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
48111         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
48112         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
48113         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
48114         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
48115         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
48116         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
48117         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
48118         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
48119         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
48120         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
48121         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
48122         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
48123         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
48124         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
48125         (R_AARCH64_TLSDESC_LDR): Likewise.
48126         (R_AARCH64_TLSDESC_ADD): Likewise.
48127         (R_AARCH64_TLSDESC_CALL): Likewise.
48129 2013-09-30  Andreas Schwab  <schwab@suse.de>
48131         [BZ #15048]
48132         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
48133         the nss database lookup.
48134         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48137 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
48139         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48141 2013-09-28  P. J. McDermott  <pj@pehjota.net>
48143         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48144         ${Bash-specific parameter/pattern/string} parameter expansion.
48145         * sysdeps/unix/make-syscalls.sh: Likewise.
48147 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48149         * sysdeps/sh/stackguard-macros.h: New file.
48151 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
48153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48154         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48155         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48156         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
48157         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48158         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
48160 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48162         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48163         Fix thread ID register.
48165 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
48167         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
48168         [POSIX || UNIX98]: Require rather than permitting all symbols from
48169         <time.h>.
48170         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48171         element of struct sched_param.
48172         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48173         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48174         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48175         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48176         constant.
48178 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48180         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48181         argument calculation.
48183 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48185         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48186         Expect macro.
48187         [POSIX] (pthread_attr_t): Do not require type.
48188         [POSIX] (pthread_cond_t): Likewise.
48189         [POSIX] (pthread_condattr_t): Likewise.
48190         [POSIX] (pthread_key_t): Likewise.
48191         [POSIX] (pthread_mutex_t): Likewise.
48192         [POSIX] (pthread_mutexattr_t): Likewise.
48193         [POSIX] (pthread_once_t): Likewise.
48194         [POSIX] (pthread_t): Likewise.
48195         [POSIX-based standards] (pthread_atfork): Expect function.
48197 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48198             Richard Sandiford  <richard@codesourcery.com>
48200         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48201         (swap_endianness_p): New extern variable.
48202         (set_big_endian): New inline function.
48203         (maybe_swap_uint32): Likewise.
48204         (maybe_swap_uint32_array): Likewise.
48205         (maybe_swap_uint32_obstack): Likewise.
48206         * locale/programs/locfile.c: Include <stdbool.h>.
48207         (swap_endianness_p): New variable.
48208         (add_locale_uint32): Call maybe_swap_uint32.
48209         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48210         (write_locale_data): Call maybe_swap_uint32_array.
48211         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48212         maybe_swap_uint32.
48213         (obstack_int32_grow_fast): Likewise.
48214         (output_weightwc): Call maybe_swap_uint32_obstack.
48215         (collate_output): Likewise.
48216         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48217         (OPT_LITTLE_ENDIAN): Likewise.
48218         (options): Add --little-endian and --big-endian options.
48219         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48220         * locale/programs/locarchive.c: Include "locfile.h".
48221         (GET): New macro.
48222         (SET): Likewise.
48223         (INC): Likewise.
48224         (create_archive): Use the new macros to access fields of
48225         structures directly mapped from or written to locale archives.
48226         (oldlocrecentcmp): Likewise.
48227         (enlarge_archive): Likewise.
48228         (insert_name): Likewise.
48229         (add_alias): Likewise.
48230         (add_locale): Likewise.
48231         (delete_locales_from_archive): Likewise.
48232         (show_archive_content): Likewise.
48233         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48234         locale data.
48236 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48238         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48239         http://www.gnu.org/doc/freemanuals.texi.
48240         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48242 2013-09-24  Will Newton  <will.newton@linaro.org>
48244         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48245         macro.
48247 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48249         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48250         unsigned char.
48252 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48254         * manual/threads.texi (POSIX Threads): Fix a typo.
48256 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48258         [BZ #14547]
48259         * string/tst-strcoll-overflow.c: New test case.
48260         * string/Makefile (xtests): Add tst-strcoll-overflow.
48261         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48262         cache if string sizes may cause integer overflow.
48264         [BZ #14547]
48265         * string/strcoll_l.c (coll_seq): New members rule, idx,
48266         save_idx and back_us.
48267         (get_next_seq_nocache): New function.
48268         (do_compare_nocache): New function.
48269         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48270         when malloc fails.
48272 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48274         [BZ #15754]
48275         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48276         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48277         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48279         [BZ #15754]
48280         * elf/Makefile (tests): Add tst-ptrguard1.
48281         (tests-static): Add tst-ptrguard1-static.
48282         (tst-ptrguard1-ARGS): Define.
48283         (tst-ptrguard1-static-ARGS): Define.
48284         * elf/tst-ptrguard1.c: New file.
48285         * elf/tst-ptrguard1-static.c: New file.
48286         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48287         * sysdeps/i386/stackguard-macros.h: Likewise.
48288         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48289         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48290         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48291         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48292         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48293         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48295 2013-09-23  Hector Marco  <hecmargi@upv.es>
48296             Ismael Ripoll  <iripoll@disca.upv.es>
48297             Carlos O'Donell  <carlos@redhat.com>
48299         [BZ #15754]
48300         * sysdeps/generic/stackguard-macros.h: Define
48301         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48302         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48303         Define __pointer_chk_guard_local.
48304         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48305         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48307 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48309         [BZ #15859]
48310         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48312 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48314         * include/string.h (__ffs): Declare as hidden.
48315         * string/ffs.c (__ffs): Define as hidden.
48316         * sysdeps/i386/ffs.c (__ffs): Likewise.
48317         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48318         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48319         * sysdeps/s390/ffs.c (__ffs): Likewise.
48320         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48322 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48324         * NEWS: Mention malloc probes.
48326         * malloc/arena.c (new_heap): New memory_heap_new probe.
48327         (grow_heap): New memory_heap_more probe.
48328         (shrink_heap): New memory_heap_less probe.
48329         (heap_trim): New memory_heap_free probe.
48330         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48331         (systrim): New memory_sbrk_less probe.
48332         * manual/probes.texi: Document them.
48334         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48335         * manual/probes.texi: Document it.
48337         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48338         (__libc_realloc): Add memory_realloc_retry probe.
48339         (__libc_memalign): Add memory_memalign_retry probe.
48340         (__libc_valloc): Add memory_valloc_retry probe.
48341         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48342         (__libc_calloc): Add memory_calloc_retry probe.
48343         * manual/probes.texi: Document them.
48345         * malloc/arena.c (get_free_list): Add probe
48346         memory_arena_reuse_free_list.
48347         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48348         and memory_arena_reuse.
48349         (arena_get2) [!PER_THREAD]: Likewise.
48350         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48351         memory_arena_reuse_realloc.
48352         * manual/probes.texi: Document them.
48354         * malloc/malloc.c (__libc_free): Add
48355         memory_mallopt_free_dyn_thresholds probe.
48356         (__libc_mallopt): Add multiple memory_mallopt probes.
48357         * manual/probes.texi: Document them.
48359         * malloc/malloc.c: Include stap-probe.h.
48360         (__libc_mallopt): Add memory_mallopt probe.
48361         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48362         * manual/probes.texi: New.
48363         * manual/Makefile (chapters): Add probes.
48364         * manual/threads.texi: Set next node.
48366 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48368         [BZ #15963, #13985]
48369         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48370         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48371         Add `Chinese' to `nan' entry name.
48373 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48375         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48376         (POLYNOMIAL): Likewise.
48377         (TAYLOR_SINCOS): Likewise.
48378         (TAYLOR_SLOW): Likewise.
48379         (__sin): Use TAYLOR_SINCOS.
48380         (__cos): Likewise.
48381         (slow): Use TAYLOR_SLOW.
48382         (sloww): Likewise.
48383         (bsloww): Likewise.
48384         (csloww): Likewise.
48386 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48388         * stdlib/strtod_l.c: Fix buffer overrun.
48390 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48392         * benchtests/Makefile (bench): Add sincos.
48393         * benchtests/bench-sincos.c: New file.
48395         * math/libm-test.inc (cos_test_data): New test inputs.
48396         (sin_test_data): Likewise.
48398         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48399         macro.
48400         (__sin): Use it.
48401         (__cos): Likewise.
48402         (slow1): Likewise.
48403         (slow2): Likewise.
48404         (sloww1): Likewise.
48405         (sloww2): Likewise.
48406         (bsloww1): Likewise.
48407         (bsloww2): Likewise.
48408         (cslow2): Likewise.
48409         (csloww1): Likewise.
48410         (csloww2): Likewise.
48412         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48413         function.
48414         (__sin): Use it.
48415         (__cos): Likewise.
48417         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48418         gotos.
48419         (__cos): Likewise.
48421 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48423         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48424         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48425         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48426         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48427         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48428         * elf/cache.c (print_entry): Handle the new cache flags.
48430 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48431             Aldy Hernandez  <aldyh@redhat.com>
48433         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48434         Change condition to [_SOFT_FLOAT].
48435         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48437         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48440         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48441         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48444         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48447         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48450         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48451         declaration.
48453 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48455         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48456         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48457         (__longjmp): Use LOAD_GP to load saved GPRs.
48458         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48459         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48460         (__sigsetjmp): Use SAVE_GP to save GPRs.
48462         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48463         Do not append -msoft-float.
48464         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48466 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48468         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48470 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48472         [BZ #15966]
48473         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48474         (_FPU_GETCW): Use initial "__" on variable and field names but not
48475         on macro parameter name.
48476         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48477         parentheses around reference to macro parameter.
48479 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48481         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48482         prototype.
48483         (ctype_startup): Use uint32_t in cast and sizeof for
48484         ctype->charnames.
48486 2013-09-11  Jia Liu  <proljc@gmail.com>
48488         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48489         __daddr_t_defined.
48490         [__FreeBSD__]: Likewise.
48492 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48495         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48496         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48497         (strchr): Remove __strchr_sse42 ifunc selection.
48498         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48499         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48501 2013-09-11  Will Newton  <will.newton@linaro.org>
48503         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48504         parameter to RES. Remove hardcoded 1000 value.
48505         * benchtests/bench-skeleton.c (main): Pass RES parameter
48506         to TIMING_INIT and multiply result by 1000.
48508 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48512 2013-09-11  Andreas Schwab  <schwab@suse.de>
48514         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48515         if not defined.
48516         (O_TMPFILE) [__USE_GNU]: Define.
48517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48518         Define.
48520 2013-09-11  Will Newton  <will.newton@linaro.org>
48522         [BZ #15857]
48523         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48524         does not overflow.
48526 2013-09-11  Will Newton  <will.newton@linaro.org>
48528         [BZ #15856]
48529         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48530         does not overflow.
48532 2013-09-11  Will Newton  <will.newton@linaro.org>
48534         [BZ #15855]
48535         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48536         does not overflow.
48538 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48540         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48541         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48542         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48543         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48544         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48546 2013-09-10  Allan McRae  <allan@archlinux.org>
48548         [BZ #15748]
48549         * manual/arith.texi (Parsing of Floats): Clarify
48550         cross-reference.
48552         [BZ #15849]
48553         * manual/install.texi (Running make install): Mention
48554         --enable-pt-chown.
48555         * INSTALL: Regenerated.
48557 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48559         * csu/init-first.c (_init): Remove the !SHARED condition around
48560         FPU control word initialization.
48561         * elf/dl-support.c (_dl_fpu_control): New variable.
48562         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48563         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48564         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48565         * math/test-fpucw-static.c: New file.
48566         * math/test-fpucw-ieee.c: New file.
48567         * math/test-fpucw-ieee-static.c: New file.
48568         * math/Makefile (tests): Add `test-fpucw-ieee' and
48569         `$(tests-static)'.
48570         (tests-static): New variable.
48571         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48572         dependency to...
48573         [($(build-shared),yes)]
48574         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48575         ... this.
48576         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48577         New dependency.
48579 2013-09-09  Allan McRae  <allan@archlinux.org>
48581         [BZ #15939]
48582         * manual/string.texi (Collation Functions): Fix typo in
48583         strcoll example.
48584         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48586         [BZ #15893]
48587         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48589         [BZ #15892]
48590         * libio/memstream.c (open_memstream): Fix memory leak.
48591         * libio/wmemstream.c (open_wmemstream): Likewise.
48593         [BZ #15895]
48594         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48596 2013-09-09  Will Newton  <will.newton@linaro.org>
48598         * malloc/Makefile: Add tst-realloc to tests.
48599         * malloc/tst-realloc.c: New file.
48601 2013-09-09  Allan McRae  <allan@archlinux.org>
48603         [BZ #15844]
48604         * COPYING: Update from GNU website to fix FSF address.
48605         * COPYING.LIB: Likewise.
48607 2013-09-06  David S. Miller  <davem@davemloft.net>
48609         * po/zh_TW.po: Update Chinese (traditional) translation from
48610         translation project.
48612 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48613             Joseph Myers  <joseph@codesourcery.com>
48615         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48616         "localeinfo.h".
48617         (obstack_chunk_alloc): New macro.
48618         (obstack_chunk_free): Likewise.
48619         (record_offset): New function.
48620         (init_locale_data): Likewise.
48621         (align_locale_data): Likewise.
48622         (add_locale_empty): Likewise.
48623         (add_locale_raw_data): Likewise.
48624         (add_locale_raw_obstack): Likewise.
48625         (add_locale_string): Likewise.
48626         (add_locale_wstring): Likewise.
48627         (add_locale_uint32): Likewise.
48628         (add_locale_uint32_array): Likewise.
48629         (add_locale_char): Likewise.
48630         (start_locale_structure): Likewise.
48631         (end_locale_structure): Likewise.
48632         (start_locale_prelude): Likewise.
48633         (end_locale_prelude): Likewise.
48634         (write_locale_data): Take locale_file structure rather than an
48635         iovec.
48636         * locale/programs/locfile.h: Include "obstack.h".
48637         (struct locale_file): Change to store locale file contents instead
48638         of header.
48639         (init_locale_data): New prototype.
48640         (align_locale_data): Likewise.
48641         (add_locale_empty): Likewise.
48642         (add_locale_raw_data): Likewise.
48643         (add_locale_raw_obstack): Likewise.
48644         (add_locale_string): Likewise.
48645         (add_locale_wstring): Likewise.
48646         (add_locale_uint32): Likewise.
48647         (add_locale_uint32_array): Likewise.
48648         (add_locale_char): Likewise.
48649         (start_locale_structure): Likewise.
48650         (end_locale_structure): Likewise.
48651         (start_locale_prelude): Likewise.
48652         (end_locale_prelude): Likewise.
48653         (write_locale_data): Update prototype.
48654         * locale/programs/3level.h (struct TABLE): Remove result field.
48655         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48656         Use new locale_file interface.
48657         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48658         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48659         * locale/programs/ld-address.c (address_output): Use new
48660         locale_file interface.
48661         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48662         NO_ADD_LOCALE.
48663         (collate_finish): Don't call collseq_table_finalize.
48664         (collate_output): Use new locale_file interface.
48665         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48666         in file.
48667         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48668         (TABLE): Move defines earlier in file.
48669         (ELEMENT): Likewise.
48670         (DEFAULT): Likewise.
48671         (wctrans_table_add): Move macro and inline function earlier in
48672         file.
48673         (struct wctype_table): Move type earlier in file.
48674         (add_locale_wctype_table): New static prototype.
48675         (struct locale_ctype_t): Use logical types instead of struct iovec
48676         pointers for members.
48677         (ctype_output): Use new locale_file interface.
48678         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48679         new locale_file interface.
48680         (allocate_arrays): Update for use of new locale_file interface.
48681         * locale/programs/ld-identification.c (identification_output): Use
48682         new locale_file interface.
48683         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48684         * locale/programs/ld-messages.c (messages_output): Likewise.
48685         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48686         * locale/programs/ld-name.c (name_output): Likewise.
48687         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48688         * locale/programs/ld-paper.c (paper_output): Likewise.
48689         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48690         * locale/programs/ld-time.c (time_output): Likewise.
48692 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48694         * benchtests/Makefile: Add memrchr benchmark.
48695         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48696         benchmark as memrchr.
48697         * benchtests/bench-memrchr-ifunc.c: New file.
48698         * benchtests/bench-memrchr.c: New file.
48700 2013-09-06   Will Newton  <will.newton@linaro.org>
48702         * benchtests/Makefile (string-bench): Add memcpy.
48704 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48705             Cong Wang  <amwang@redhat.com>
48707         [BZ #15850]
48708         * sysdeps/unix/sysv/linux/bits/in.h
48709         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48710         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48711         before __USE_KERNEL_IPV6_DEFS uses.
48712         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48713         IPPROTO_BEETPH.
48714         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48715         sockaddr_in6, or ipv6_mreq.
48717 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48719         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48720         memory access for final bytes in some large inputs.
48721         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48723 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48725         * string/test-memrchr.c: New file.
48726         * string/test-memrchr-ifunc.c: New file.
48727         * string/Makefile: Add new memrchr testcase.
48729 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48731         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48732         fanotify_init returns EPERM.
48734 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48736         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48737         errors.
48738         (top level): Treat second token from macro or constant entries for
48739         allowed headers as allowed.
48740         * include/complex.h: Condition internal declarations on
48741         [!_ISOMAC].
48742         * include/fenv.h: Condition include of <stdbool.h> and internal
48743         declarations on [!_ISOMAC].
48745 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48747         [BZ #15923]
48748         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48750 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48752         * configure.in (--enable-versioning): Remove configure option.
48753         (libc_cv_asm_symver_directive): Remove configure test.
48754         (libc_cv_ld_version_script_option): Likewise.
48755         (VERSIONING): Remove variable and AC_SUBST.
48756         (DO_VERSIONING): Remove AC_DEFINE.
48757         * configure: Regenerated.
48758         * config.h.in (DO_VERSIONING): Remove macro.
48759         * Makerules [$(versioning) = yes]: Change conditionals to
48760         [$(build-shared) = yes].
48761         * config.make.in (versioning): Remove variable.
48762         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48763         [$(build-shared) = yes].
48764         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48765         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48766         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48767         [$(build-shared) = yes].
48768         * extra-lib.mk [$(versioning) = yes]: Likewise.
48769         * hurd/Makefile [$(versioning) = yes]: Likewise.
48770         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48771         [SHARED].
48772         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48773         [SHARED].
48774         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48775         [SHARED && !NO_HIDDEN].
48776         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48777         [SHARED].
48778         [SHARED && DO_VERSIONING]: Likewise..
48779         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48780         [$(build-shared) = yes].
48781         * manual/install.texi (--disable-versioning): Remove
48782         documentation.
48783         * INSTALL: Regenerated.
48784         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48785         to [SHARED].
48786         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48787         [$(build-shared) = yes].
48788         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48789         * sysdeps/i386/i686/multiarch/strstr-c.c
48790         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48791         [SHARED && !NO_HIDDEN].
48792         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48793         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48794         * sysdeps/powerpc/powerpc32/dl-machine.c
48795         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48796         * sysdeps/powerpc/powerpc32/sysdep.h
48797         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48798         to [SHARED && PIC && !NO_HIDDEN].
48799         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48800         conditional to [SHARED].
48802 2013-09-04   Will Newton  <will.newton@linaro.org>
48804         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48805         * benchtests/bench-string.h: Include bench-timing.h instead
48806         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48807         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48808         call to HP_TIMING_DIFF_INIT.
48809         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48810         instead of hp-timing.h macros.
48811         * benchtests/bench-memchr.c: Likewise.
48812         * benchtests/bench-memcmp.c: Likewise.
48813         * benchtests/bench-memcpy.c: Likewise.
48814         * benchtests/bench-memmem.c: Likewise.
48815         * benchtests/bench-memmove.c: Likewise.
48816         * benchtests/bench-memset.c: Likewise.
48817         * benchtests/bench-rawmemchr.c: Likewise.
48818         * benchtests/bench-strcasecmp.c: Likewise.
48819         * benchtests/bench-strcasestr.c: Likewise.
48820         * benchtests/bench-strcat.c: Likewise.
48821         * benchtests/bench-strchr.c: Likewise.
48822         * benchtests/bench-strcmp.c: Likewise.
48823         * benchtests/bench-strcpy.c: Likewise.
48824         * benchtests/bench-strcpy_chk.c: Likewise.
48825         * benchtests/bench-strlen.c: Likewise.
48826         * benchtests/bench-strncasecmp.c: Likewise.
48827         * benchtests/bench-strncat.c: Likewise.
48828         * benchtests/bench-strncmp.c: Likewise.
48829         * benchtests/bench-strncpy.c: Likewise.
48830         * benchtests/bench-strnlen.c: Likewise.
48831         * benchtests/bench-strpbrk.c: Likewise.
48832         * benchtests/bench-strrchr.c: Likewise.
48833         * benchtests/bench-strspn.c: Likewise.
48834         * benchtests/bench-strstr.c: Likewise.
48836 2013-09-04  Will Newton  <will.newton@linaro.org>
48838         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48840 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48842         [BZ #15427]
48843         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48844         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48845         * math/libm-test.inc (lgamma_test_data): Add more tests.
48846         * sysdeps/i386/fpu/libm-test-ulps: Update.
48847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48849 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48851         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48853         Add ifunc.
48854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48855         Add strcmp-sse2-unaligned
48856         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48858 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48860         * Versions.def (libc): Add GLIBC_2.19.
48862 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48864         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48865         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48867 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48869         [BZ #14155]
48870         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48871         intermediate calculations in recurrence.
48872         (__ieee754_ynf): Likewise.
48873         * math/libm-test.inc (jn_test_data): Do not allow spurious
48874         underflow exception.  Add more tests.
48875         (yn_test_data): Add more tests.
48876         * sysdeps/i386/fpu/libm-test-ulps: Update.
48877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48879 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48881         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48883 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48885         * csu/init-first.c: Fix then/than typos.
48886         * locale/programs/ld-collate.c: Likewise.
48887         * locale/programs/linereader.h: Likewise.
48888         * manual/charset.texi: Likewise.
48889         * manual/filesys.texi: Likewise.
48890         * manual/stdio.texi: Likewise.
48891         * manual/string.texi: Likewise.
48892         * stdlib/fmtmsg.c: Likewise.
48893         * sysdeps/i386/stpncpy.S: Likewise.
48894         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48895         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48896         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48897         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48899 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48901         * elf/dl-open.c: Fix typos.
48902         * iconvdata/gbbig5.c: Likewise.
48903         * iconvdata/iso-2022-jp.c: Likewise.
48904         * iconv/gconv_int.h: Likewise.
48905         * iconv/loop.c: Likewise.
48906         * nis/rpcsvc/nis.h: Likewise.
48907         * resolv/ns_name.c: Likewise.
48908         * stdio-common/vfscanf.c: Likewise.
48909         * streams/stropts.h: Likewise.
48910         * sunrpc/rpc_thread.c: Likewise.
48911         * sysdeps/i386/strpbrk.S: Likewise.
48912         * sysdeps/ieee754/k_standard.c: Likewise.
48913         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48914         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48915         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48916         * sysdeps/mach/hurd/profil.c: Likewise.
48917         * sysdeps/s390/dl-procinfo.h: Likewise.
48918         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48919         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48920         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48921         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48922         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48924 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48926         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48929 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48931         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48932         aix specific files.
48933         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48934         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48935         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48936         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48937         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48938         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48939         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48940         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48942 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48943             Roland McGrath  <roland@hack.frob.com>
48945         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48946         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48948 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48950         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48951         __executable_start symbol instead of _start.
48953 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48955         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48956         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48957         Move macros to...
48958         * sysdeps/gnu/ldsodefs.h: ... this new file.
48960         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48961         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48962         instead of ELFOSABI_LINUX.
48964         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48965         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48966         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48967         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48968         Likewise.
48969         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48970         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48971         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48972         Likewise.
48973         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48974         (ibm_extended_long_double): Add ieee_nan member.
48975         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48976         (do_test): New function.
48978         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48979         TEST_TRUNC.
48980         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48981         functions, renamed from truncdfsf_test, trunctfsf_test,
48982         trunctfdf_test.
48983         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48984         functions.
48985         (do_test): Run all these.
48987 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48989         * argp/argp-help.c: Fix typos.
48990         * argp/argp-parse.c: Likewise.
48991         * debug/backtracesyms.c: Likewise.
48992         * elf/elf.h: Likewise.
48993         * malloc/malloc.c: Likewise.
48994         * nis/nis_print.c: Likewise.
48995         * resolv/res_comp.c: Likewise.
48996         * stdlib/stdlib.h: Likewise.
48997         * sunrpc/clnt_tcp.c: Likewise.
48998         * sunrpc/clnt_udp.c: Likewise.
48999         * sunrpc/clnt_unix.c: Likewise.
49000         * sysdeps/unix/bsd/ptsname.c: Likewise.
49001         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49002         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
49003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
49004         Likewise.
49005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
49006         Likewise.
49007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
49008         Likewise.
49009         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49011 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49013         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
49014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49016 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
49018         [BZ #15897]
49019         * dlfcn/Makefile (tests): Add bug-dl-leaf.
49020         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
49021         ($(objpfx)bug-dl-leaf): New rule.
49022         ($(objpfx)bug-dl-leaf.so): Likewise.
49023         ($(objpfx)bug-dl-leaf.out): Likewise.
49024         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
49025         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
49026         * dlfcn/bug-dl-leaf.c: New test.
49027         * dlfcn/bug-dl-leaf-lib.c: Likewise.
49028         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
49029         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
49030         (dlclose): Likewise.
49031         (dlmopen): Likewise.
49033 2013-08-27  Roland McGrath  <roland@hack.frob.com>
49035         * include/netdb.h [!_ISOMAC]:
49036         Don't include <tls.h>.
49037         (h_errno, __libc_h_errno): Move declaration and macros out of
49038         [_LIBC_REENTRANT].
49040         * include/resolv.h [_RESOLV_H_]:
49041         Don't include <tls.h>.
49042         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
49043         * resolv/res_libc.c: Don't include <tls.h>.
49044         (_res): Use __attribute__ ((nocommon)) in place of
49045         __attribute__ ((section (".bss"))).
49047         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
49048         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
49050         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
49052         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
49053         only under [SIOCGIFCONF && SIOCGIFNETMASK].
49055         * resolv/res_mkquery.c: Include <sys/time.h>.
49057         * inet/ifreq.c: Moved to ...
49058         * sysdeps/unix/ifreq.c: ... here.
49059         * inet/ifreq.c: New file, true stub version.
49061         * socket/sa_len.c: New file.
49062         * socket/Makefile (aux): Add it.
49063         * sysdeps/unix/sysv/linux/Makefile
49064         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
49065         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
49066         and #include <socket/sa_len.c>.
49067         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
49068         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
49070         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
49071         * bits/socket.h: ... here.
49073         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
49074         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
49075         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
49077 2013-08-27  Andreas Schwab  <schwab@suse.de>
49079         [BZ #15736]
49080         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
49081         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
49082         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
49083         * string/test-strcasecmp.c (test_main): Run tests in several
49084         locales.
49085         * string/test-strncasecmp.c (test_main): Likewise.
49087         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
49088         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
49089         to __strcasecmp_nonascii and __strncasecmp_nonascii.
49090         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
49091         (__strncasecmp_ssse3) [PIC]: Likewise.
49093 2013-08-26  Roland McGrath  <roland@hack.frob.com>
49095         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
49097         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
49098         instead of explicitly declaring xdecrypt.
49099         * nis/nss_nis/nis-publickey.c: Likewise.
49101 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49103         [BZ #15890]
49104         * nscd/aicache.c: Include res_hconf.h.
49105         (addhstaiX): Initialize res_hconf.
49107 2013-08-26  Andreas Schwab  <schwab@suse.de>
49109         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
49110         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
49112 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49114         * nscd/aicache.c (addhstaiX): Fix indentation.
49116 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
49118         * configure.ac: Quote $build_pt_chown test.
49119         * configure: Regenerated.
49121 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
49123         [BZ #15532]
49124         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
49125         * math/s_cexpf.c (__cexpf): Likewise.
49126         * math/s_cexpl.c (__cexpl): Likewise.
49127         * math/libm-test.inc (cexp_test_data): Correct expected return
49128         value for NaN + i0.  Add another test.
49130 2013-08-22  David S. Miller  <davem@davemloft.net>
49132         * po/ca.po: Update Catalan translation from translation project.
49133         * po/uk.po: Add Ukrainian translations from translation project.
49135 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
49137         [BZ #15797]
49138         * math/s_fdim.c (__fdim): Check for infinite arguments if result
49139         is infinite, not alongside NaN test.
49140         * math/s_fdimf.c (__fdimf): Likewise.
49141         * math/s_fdiml.c (__fdiml): Likewise.
49142         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
49143         errno is unchanged.
49145 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
49147         * argp/argp-help.c: Fix typos.
49148         * crypt/speeds.c: Likewise.
49149         * csu/check_fds.c: Likewise.
49150         * elf/dl-load.c: Likewise.
49151         * elf/dl-open.c: Likewise.
49152         * elf/reldep3.c: Likewise.
49153         * elf/reldep.c: Likewise.
49154         * elf/sprof.c: Likewise.
49155         * iconv/iconv_charmap.c: Likewise.
49156         * iconv/skeleton.c: Likewise.
49157         * iconv/strtab.c: Likewise.
49158         * io/lockf64.c: Likewise.
49159         * libio/libioP.h: Likewise.
49160         * resolv/gai_notify.c: Likewise.
49161         * resolv/ns_name.c: Likewise.
49162         * resolv/ns_samedomain.c: Likewise.
49163         * resolv/res_send.c: Likewise.
49164         * stdlib/random.c: Likewise.
49165         * sunrpc/rpc/xdr.h: Likewise.
49166         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
49167         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49168         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49169         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49170         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49171         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49172         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49173         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49174         * sysdeps/mach/hurd/check_fds.c: Likewise.
49175         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49176         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49177         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49178         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49179         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49180         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49181         * sysdeps/pthread/aio_notify.c: Likewise.
49182         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49183         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49184         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49185         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49186         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49188 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49190         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49191         version if bit_Slow_SSE4_2 is set.
49192         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49193         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49195 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49197         [BZ #15867]
49198         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49199         trampoline stack frame information.
49200         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49201         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49202         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49203         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49204         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49205         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49206         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49207         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49208         sa_flags value.
49209         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49210         interrupting a syscall and set with option SA_SIGINFO.
49212 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49214         [BZ #15531]
49215         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49216         argument is infinite.
49217         * math/s_cprojf.c (__cprojf): Likewise.
49218         * math/s_cprojl.c (__cprojl): Likewise.
49219         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49220         * math/libm-test.inc (cproj_test_data): Add more tests.
49222         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49224         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49225         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49226         size.  Use __ffs to determine corresponding shift.
49228 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49229             Roland McGrath  <roland@hack.frob.com>
49231         * Makefile (INSTALL): Remove trailing blank lines from output of
49232         makeinfo.
49234 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49236         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49237         Align 32 bit compat elf_greg to 8 bytes.
49239 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49241         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49243 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49245         * string/strcoll_l.c (coll_seq): New structure.
49246         (get_next_seq_cached): New function.
49247         (get_next_seq): New function.
49248         (do_compare): New function.
49249         (STRCOLL): Use GNU style definition.  Simplify implementation
49250         by using get_next_seq, get_next_seq_cached and do_compare.
49252 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49254         [BZ #14699]
49255         CVE-2013-4237
49256         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49257         member.
49258         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49259         member.
49260         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49261         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49262         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49263         conditional.
49264         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49265         GETDENTS_64BIT_ALIGNED.
49266         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49267         * manual/filesys.texi (Reading/Closing Directory): Document
49268         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49269         strongly.
49270         * manual/conf.texi (Limits for Files): Add portability note to
49271         NAME_MAX, PATH_MAX.
49272         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49274 2013-08-13  Andreas Schwab  <schwab@suse.de>
49276         [BZ #15749]
49277         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49278         of fabs.
49279         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49280         LDBL_MAX_EXP >= 16384]: Add tests for it.
49282 2013-08-12  David S. Miller  <davem@davemloft.net>
49284         * version.h (RELEASE): Set to "development".
49285         (VERSION): Set to "2.18.90".
49286         * NEWS: Add 2.19 section.
49288 2013-08-03  David S. Miller  <davem@davemloft.net>
49290         * po/ko.po: Update Korean translation from translation project.
49292 2013-08-01  David S. Miller  <davem@davemloft.net>
49294         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49295         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49296         Bilka.
49298 2013-07-30  David S. Miller  <davem@davemloft.net>
49300         * po/fr.po: Update French translation from translation project.
49302 2013-07-28  David S. Miller  <davem@davemloft.net>
49304         * po/cs.po: Update Czech translation from translation project.
49306         * po/sv.po: Update Swedish translation from translation project.
49308 2013-07-27  David S. Miller  <davem@davemloft.net>
49310         * po/eo.po: Update Esperanto translation from translation project.
49312         * po/vi.po: Update Vietnamese translation from translation project.
49314         * po/de.po: Update German translation from translation project.
49316 2013-07-26  David S. Miller  <davem@davemloft.net>
49318         * po/bg.po: Update Bulgarian translation from translation project.
49320         * po/nl.po: Update Dutch translation from translation project.
49321         * po/pl.po: Update Polish translation from translation project.
49322         * po/ru.po: Update Russian translation from translation project.
49324 2013-07-24  David S. Miller  <davem@davemloft.net>
49326         * po/libc.pot: Update.
49328 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49330         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49331         variable page size.
49332         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49333         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49334         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49336 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49338         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49340 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49341             Andreas Schwab  <schwab@suse.de>
49342             Roland McGrath  <roland@hack.frob.com>
49343             Joseph Myers  <joseph@codesourcery.com>
49344             Carlos O'Donell  <carlos@redhat.com>
49346         [BZ #15755]
49347         * config.h.in: Define HAVE_PT_CHOWN.
49348         * config.make.in (build-pt-chown): New variable.
49349         * configure.in (--enable-pt_chown): New configure option.
49350         * configure: Regenerate.
49351         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49352         build-pt-chown is enabled.
49353         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49354         pt_chown to fix pty ownership.
49355         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49356         CLOSE_ALL_FDS.
49357         * manual/install.texi (Configuring and compiling): Mention
49358         --enable-pt_chown. Add @findex for grantpt.
49359         * INSTALL: Regenerate.
49361 2013-07-20  David S. Miller  <davem@davemloft.net>
49363         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49364         difference between 32-bit and 64-bit.
49366 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49368         [BZ #15711]
49369         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49370         Avoid system header dependency with -ffreestanding.
49371         ($(objpfx)bits/syscall%d): Likewise.
49373 2013-07-13  David S. Miller  <davem@davemloft.net>
49375         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49376         underflows from atanl/atan2l due to bug 15319.
49377         (casinh_test_data): Likewise.
49379 2013-07-07  David S. Miller  <davem@davemloft.net>
49381         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49383 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49385         * sysdeps/i386/fpu/libm-test-ulps: Update.
49386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49388 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49390         * configure.in (--enable-lock-elision): Fix message text.
49391         * INSTALL: Regenerate.
49392         * configure: Regenerate.
49394 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49398 2013-07-03  Andreas Jaeger  <aj@suse.de>
49400         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49401         define.
49402         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49403         (ptrace_peeksiginfo_args): Add.
49404         (__ptrace_peeksiginfo_flags): Add.
49405         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49406         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49407         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49409 2013-07-03  Allan McRae  <allan@archlinux.org>
49411         * sysdeps/i386/fpu/libm-test-ulps: Update.
49413 2013-07-02  David S. Miller  <davem@davemloft.net>
49415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49417 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49421 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49423         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49426 2013-07-02  Andi Kleen <ak@linux.intel.com>
49428         * config.h.in (ENABLE_LOCK_ELISION): Add.
49429         * configure.in (--enable-lock-elision): Add option.
49430         * manual/install.texi: Document --enable lock elision.
49431         * configure: Regenerate
49432         * INSTALL: Regenerate.
49434 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49436         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49437         SSE4.2 strcasecmp for libc.a.
49438         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49440 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49442         [BZ #13304]
49443         * soft-fp/op-common.h (_FP_FMA): New macro.
49444         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49445         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49446         (_FP_MUL_MEAT_1_imm): ... here.
49447         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49448         (_FP_MUL_MEAT_1_wide): ... here.
49449         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49450         (_FP_MUL_MEAT_1_hard): ... here.
49451         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49452         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49453         (_FP_MUL_MEAT_2_wide): ... here.
49454         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49455         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49456         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49457         (_FP_MUL_MEAT_2_gmp): ... here.
49458         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49459         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49460         (_FP_MUL_MEAT_4_wide): ... here.
49461         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49462         (_FP_MUL_MEAT_4_gmp): ... here.
49463         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49464         (_FP_WFRACBITS_DW_S): Likewise.
49465         (_FP_WFRACXBITS_DW_S): Likewise.
49466         (_FP_HIGHBIT_DW_S): Likewise.
49467         (FP_FMA_S): Likewise.
49468         (_FP_FRAC_HIGH_DW_S): Likewise.
49469         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49470         (_FP_WFRACBITS_DW_D): Likewise.
49471         (_FP_WFRACXBITS_DW_D): Likewise.
49472         (_FP_HIGHBIT_DW_D): Likewise.
49473         (FP_FMA_D): Likewise.
49474         (_FP_FRAC_HIGH_DW_D): Likewise.
49475         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49476         (_FP_WFRACBITS_DW_E): Likewise.
49477         (_FP_WFRACXBITS_DW_E): Likewise.
49478         (_FP_HIGHBIT_DW_E): Likewise.
49479         (FP_FMA_E): Likewise.
49480         (_FP_FRAC_HIGH_DW_E): Likewise.
49481         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49482         (_FP_WFRACBITS_DW_Q): Likewise.
49483         (_FP_WFRACXBITS_DW_Q): Likewise.
49484         (_FP_HIGHBIT_DW_Q): Likewise.
49485         (FP_FMA_Q): Likewise.
49486         (_FP_FRAC_HIGH_DW_Q): Likewise.
49487         * soft-fp/fmasf4.c: New file.
49488         * soft-fp/fmadf4.c: Likewise.
49489         * soft-fp/fmatf4.c: Likewise.
49491 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49494         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49495         Silvermont.
49496         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49497         macro.
49498         (index_Slow_SSE4_2): Likewise.
49499         (index_Prefer_PMINUB_for_stringop): Likewise.
49500         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49501         bit_Slow_SSE4_2 is set.
49502         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49503         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49505 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49507         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49508         rtld_global._dl_hwcap2.
49509         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49510         POWER8.
49511         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49512         POWER8 feature descriptions defined in _dl_hwcap2.
49513         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49514         string handling for POWER8 feature bits.
49515         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49516         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49517         _dl_powerpc_cap_flags.
49518         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49519         * sysdeps/powerpc/rtld-global-offsets.sym
49520         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49521         _dl_hwcap2 in the rtld_global_ro structure.
49523 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49525         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49526         hardware capabilities in support of AT_HWCAP2.
49527         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49528         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49529         GLRO(dl_hwcap2).
49530         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49531         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49532         explicitly the unknown a_type display mechanism is used.
49533         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49534         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49535         struct member.
49536         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49537         to macro prototype for AT_HWCAP2 support.
49538         * sysdeps/i386/dl-procinfo.h: Likewise.
49539         * sysdeps/s390/dl-procinfo.h: Likewise.
49540         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49541         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49542         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49543         return -1 for unknown a_type display fallback.
49544         * sysdeps/sparc/dl-procinfo.h: Likewise.
49545         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49546         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49548 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49550         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49551         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49553 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49555         [BZ #12492]
49556         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49557         mprotect making __stack_prot writable.
49559 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49560             Joseph Myers  <joseph@codesourcery.com>
49562         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49563         as being properly aligned.
49565 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49567         * dlfcn/modstatic5.c: New file.
49568         * dlfcn/tststatic5.c: New file.
49569         * dlfcn/Makefile (tests): Add tststatic5.
49570         (tests-static): Likewise.
49571         (modules-names): Add modstatic5.
49572         (tststatic5-ENV): New variable.
49573         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49575         [BZ #15022]
49576         * elf/dl-support.c (_dl_main_map): New variable.
49577         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49578         (_dl_nns, _dl_load_adds): Set to 1.
49579         (_dl_initial_searchlist): Refer to _dl_main_map.
49580         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49581         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49582         call to _dl_get_origin.
49583         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49584         around call_map.
49585         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49586         * dlfcn/modstatic3.c: New file.
49587         * dlfcn/tststatic3.c: New file.
49588         * dlfcn/tststatic4.c: New file.
49589         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49590         (tests-static): Likewise.
49591         (modules-names): Add modstatic3.
49592         (tststatic3-ENV, tststatic4-ENV): New variables.
49593         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49594         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49596 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49598         * configure.in (CC): Require GCC version 4.4 or later.
49599         * configure: Regenerated.
49600         * manual/install.texi (Tools for Compilation): Update GCC version
49601         requirement.
49602         * INSTALL: Regenerated.
49604 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49606         [BZ #15674]
49607         * string/test-memcmp.c (check2): New.
49608         (main): Call check2.
49610         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49612 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49614         [BZ #15022]
49615         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49616         over to...
49617         (dl_open_worker) [!SHARED]: ... here.
49619 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49621         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49623 2013-06-25  Richard Henderson  <rth@redhat.com>
49625         * locale/programs/locarchive.c: Include <libc-internal.h>
49627 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49629         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49630         trailing whitespace removed.
49632 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49634         [BZ #10283]
49635         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49636         * locale/programs/locarchive.c: Include libc-mmap.h.
49637         (prepare_address_space): Take two new outputs (the mmap base and len).
49638         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49639         values.
49640         (create_archive): Declare new mmap base and len values for
49641         prepare_address_space, and store the result in ah.
49642         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49643         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49644         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49645         Declare new mmap base and len values for
49646         prepare_address_space, and store the result in new_ah.
49647         (open_archive): Declare new mmap base and len values for
49648         prepare_address_space, and store the result in ah.
49649         (close_archive): If ah->mmap_base is not NULL, use that and
49650         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49651         * sysdeps/generic/libc-mmap.h: New file.
49653 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49655         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49656         (ALIGN_UP): Likewise.
49657         (PTR_ALIGN_DOWN): Likewise.
49658         (PTR_ALIGN_UP): Likewise.
49660 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49662         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49663         entry mapped to PPC_PLATFORM_POWER8.
49664         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49665         POWER8.
49666         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49667         (_dl_string_platform): Add case for exporting platform position for
49668         POWER8.
49669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49670         search path to sysdeps/powerpc/powerpc32/power8 directory.
49671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49672         search path to sysdeps/powerpc/powerpc64/power8 directory.
49673         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49674         power7 directories.
49675         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49676         power7 directories.
49678 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49680         * INSTALL: Regenerate.
49682         * nscd/connections.c (nscd_init): Fix comment.
49684 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49686         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49688         [BZ #15667]
49689         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49690         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49692 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49694         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49695         DL_DST_REQ_STATIC.
49696         (DL_DST_REQ_STATIC): Remove macro.
49698 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49700         [BZ #7006]
49701         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49702         with a shift of 0 bits.
49704 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49706         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49707         $(tststatic-ENV).
49709 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49711         [BZ #15655]
49712         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49714 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49716         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49717         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49718         accepts -fno-tree-loop-distribute-patterns.
49719         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49720         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49721         recursive call.
49722         * string/memset.c (memset): Likewise.
49723         * string/test-memmove.c (simple_memmove): Disable loop transformation
49724         to library calls.
49725         * string/test-memset.c (simple_memset): Likewise.
49726         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49727         * benchtests/bench-memset.c (simple_memset): Likewise.
49728         * configure: Regenerated.
49730 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49732         * math/test-misc.c (main): Ignore fesetround failure when failures
49733         of subsequent rounding tests would be ignored.
49735         [BZ #15654]
49736         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49737         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49738         * math/fegetenv.c (__fegetenv): Return 0.
49739         * math/fegetexcept.c (fegetexcept): Return 0.
49740         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49741         FE_TONEAREST.
49742         * math/feholdexcpt.c (feholdexcept): Return 0.
49743         * math/fesetenv.c (__fesetenv): Return 0.
49744         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49745         argument FE_TONEAREST.
49746         * math/feupdateenv.c (__feupdateenv): Return 0.
49747         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49749 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49751         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49752         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49753         ($(objpfx)rtld-%.os rules): Use them.
49755 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49757         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49758         fields.
49760 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49762         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49763         length of target pattern, then descending length of dependency pattern.
49764         * configure.in (AWK): Require gawk 3.1.2 or newer.
49765         * manual/install.texi (Tools for Compilation): Say that we do.
49766         * configure: Regenerated.
49768         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49769         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49770         * scripts/sysd-rules.awk: ... this new script.
49771         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49772         than a glob-style pattern.
49774 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49776         * math/test-misc.c (main): Do not treat incorrectly rounded
49777         conversions as failure unless ROUNDING_TESTS passes.
49779 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49781         [BZ #15631]
49782         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49783         restore exception state around main square root computation, then
49784         check for inexactness explicitly.
49786         * math/libm-test.inc (fma_test_data): Add another test.
49788 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49790         * manual/threads.texi (Non-POSIX Extensions): New document
49791         node.  Document pthread_getattr_default_np and
49792         pthread_setattr_default_np.
49794         * Versions.def (libpthread): Add GLIBC_2.18.
49795         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49797         Likewise.
49798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49799         Likewise.
49800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49801         Likewise.
49802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49803         Likewise.
49804         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49805         Likewise.
49806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49807         Likewise.
49808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49809         Likewise.
49810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49811         Likewise.
49812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49813         Likewise.
49815 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49818         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49820 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49821             H.J. Lu  <hjl.tools@gmail.com>
49823         [BZ #15627]
49824         * sysdeps/x86_64/rtld-memset.c: Remove file.
49825         * sysdeps/x86_64/rtld-memset.S: New file.
49827 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49829         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49830         (test_in_one_mode): Take arguments for whether the rounding mode
49831         is supported for each floating-point type.
49832         (do_test): Pass new arguments to test_in_one_mode using
49833         ROUNDING_TESTS.
49835 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49837         * posix/tst-waitid.c (do_test): Distinguish different instances of
49838         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49839         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49840         before entering the kernel for waitpid.
49842 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49844         * NEWS: Fix note on clock function precision.  Text by Roland
49845         McGrath.
49847 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49849         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49850         it into place only when and if the sanity check passes.
49852 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49854         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49855         output for whether conversion result is exact.  Take argument
49856         indicating whether type is IBM long double.
49857         (round_for_all): Change need_exact field to ibm_ld.
49858         * stdlib/tst-strtod-round.c (struct exactness): New type.
49859         (struct test): Change bool ld_ok field to struct exactness exact.
49860         (TEST): Update all definitions for change to field.
49861         (tests): Regenerate array contents.
49862         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49863         field value.  Check for IBM long double here.
49864         (do_test): Update calls to test_in_one_mode.
49866 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49868         [BZ #12515]
49869         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49870         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49872 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49874         [BZ #15605]
49875         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49876         generated by the compiler on loop optimizations.
49877         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49878         general definitions.
49880 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49882         * math/bug-nextafter.c: Include <math-tests.h>.
49883         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49884         the relevant type.
49885         * math/bug-nexttoward.c: Include <math-tests.h>.
49886         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49887         the relevant type.
49888         * math/test-misc.c: Include <math-tests.h>.
49889         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49890         the relevant type.
49892 2013-06-12  Andreas Jaeger  <aj@suse.de>
49894         * po/ia.po: Update Interlingua translation from translation
49895         project.
49897 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49899         * include/fenv.h: Include stdbool.h.
49900         (struct rm_ctx): New structure.
49901         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49902         Define macro.
49903         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49904         (SET_RESTORE_ROUNDF): Likewise.
49905         (SET_RESTORE_ROUNDL): Likewise.
49906         (SET_RESTORE_ROUND_NOEX): Likewise.
49907         (SET_RESTORE_ROUND_NOEXF): Likewise.
49908         (SET_RESTORE_ROUND_NOEXL): Likewise.
49909         (SET_RESTORE_ROUND_53BIT): Likewise.
49910         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49911         (libc_feresetround_noexf_ctx): Likewise.
49912         (libc_feresetround_noexl_ctx): Likewise.
49913         (libc_feholdsetround_53bit_ctx): Likewise.
49914         (libc_feresetround_53bit_ctx): Likewise.
49915         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49916         (libc_feholdexcept_setround_sse_ctx): New function.
49917         (libc_fesetenv_sse_ctx): Likewise.
49918         (libc_feupdateenv_sse_ctx): Likewise.
49919         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49920         (libc_feholdexcept_setround_387_ctx): Likewise.
49921         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49922         (libc_feholdsetround_387_prec_ctx): Likewise.
49923         (libc_feholdsetround_387_ctx): Likewise.
49924         (libc_feholdsetround_387_53bit_ctx): Likewise.
49925         (libc_feholdsetround_sse_ctx): Likewise.
49926         (libc_feresetround_sse_ctx): Likewise.
49927         (libc_feresetround_387_ctx): Likewise.
49928         (libc_feupdateenv_387_ctx): Likewise.
49929         (libc_feholdexcept_setroundf_ctx): Define macro.
49930         (libc_fesetenvf_ctx): Likewise.
49931         (libc_feupdateenvf_ctx): Likewise.
49932         (libc_feholdsetroundf_ctx): Likewise.
49933         (libc_feresetroundf_ctx): Likewise.
49934         (libc_feholdexcept_setround_ctx): Likewise.
49935         (libc_fesetenv_ctx): Likewise.
49936         (libc_feupdateenv_ctx): Likewise.
49937         (libc_feholdsetround_ctx): Likewise.
49938         (libc_feresetround_ctx): Likewise.
49939         (libc_feholdexcept_setroundl_ctx): Likewise.
49940         (libc_feupdateenvl_ctx): Likewise.
49941         (libc_feholdsetroundl_ctx): Likewise.
49942         (libc_feresetroundl_ctx): Likewise.
49943         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49944         (libc_feresetround_53bit_ctx): Likewise.
49946 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49948         * locale/iso-639.def: Convert to UTF-8.
49950 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49952         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49953         (EXCEPTION_TESTS_double): Likewise.
49954         (EXCEPTION_TESTS_long_double): Likewise.
49955         (EXCEPTION_TESTS): Likewise.
49956         * math/libm-test.inc (test_exceptions): Only test exceptions if
49957         EXCEPTION_TESTS (FLOAT).
49959 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49961         * benchtests/Makefile (string-bench): Add strcpy_chk and
49962         stpcpy_chk.
49963         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49964         * benchtests/bench-stpcpy_chk.c: New file.
49965         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49966         * benchtests/bench-strcpy_chk.c: New file.
49967         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49968         code.
49969         (do_test): Likewise.
49971 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49973         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49974         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49975         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49976         with tabs where appropriate.
49977         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49978         dl-procinfo.h.
49979         [PPC_PLATFORM_PPC440]: Likewise.
49980         [PPC_PLATFORM_PPC464]: Likewise.
49981         [PPC_PLATFORM_PPC476]: Likewise.
49982         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49983         ppc464, and ppc476 platform strings merging from ports/
49984         dl-procinfo.h.
49986 2013-06-11  Andreas Schwab  <schwab@suse.de>
49988         [BZ #14991]
49989         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49990         (from_ucs4_idx): Regenerate.
49991         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49992         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49993         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49994         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49995         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49996         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49997         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49998         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49999         from FROM_LOOP and TO_LOOP specific macros.
50000         (BODY): Handle combining characters.
50001         * iconvdata/BIG5HKSCS.irreversible: Update.
50002         * iconvdata/BIG5HKSCS.precomposed: New file.
50003         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
50004         characters.
50005         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
50007 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50009         * include/sys/time.h: Fix indentation and add copyright header.
50011         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
50012         (do_test): Likewise.
50013         * string/test-memchr.c (do_one_test): Likewise.
50014         (do_test): Likewise.
50015         * string/test-memcmp.c (do_one_test): Likewise.
50016         (do_test): Likewise.
50017         * string/test-memcpy.c (do_one_test): Likewise.
50018         (do_test): Likewise.
50019         * string/test-memmem.c (do_one_test): Likewise.
50020         (do_test): Likewise.
50021         (do_random_tests): Likewise.
50022         * string/test-memmove.c (do_one_test): Likewise.
50023         (do_test): Likewise.
50024         * string/test-memset.c (do_one_test): Likewise.
50025         (do_test): Likewise.
50026         * string/test-rawmemchr.c (do_one_test): Likewise.
50027         (do_test): Likewise.
50028         * string/test-strcasecmp.c (do_one_test): Likewise.
50029         (do_test): Likewise.
50030         * string/test-strcasestr.c (do_one_test): Likewise.
50031         (do_test): Likewise.
50032         * string/test-strcat.c (do_one_test): Likewise.
50033         (do_test): Likewise.
50034         * string/test-strchr.c (do_one_test): Likewise.
50035         (do_test): Likewise.
50036         * string/test-strcmp.c (do_one_test): Likewise.
50037         (do_test): Likewise.
50038         * string/test-strcpy.c (do_one_test): Likewise.
50039         (do_test): Likewise.
50040         * string/test-string.h: Likewise.
50041         (test_init): Likewise.
50042         * string/test-strlen.c (do_one_test): Likewise.
50043         (do_test): Likewise.
50044         * string/test-strncasecmp.c (do_one_test): Likewise.
50045         (do_test): Likewise.
50046         * string/test-strncat.c (do_one_test): Likewise.
50047         (do_test): Likewise.
50048         * string/test-strncmp.c (do_one_test): Likewise.
50049         (do_test_limit): Likewise.
50050         (do_test): Likewise.
50051         * string/test-strncpy.c (do_one_test): Likewise.
50052         (do_test): Likewise.
50053         * string/test-strnlen.c (do_one_test): Likewise.
50054         (do_test): Likewise.
50055         * string/test-strpbrk.c (do_one_test): Likewise.
50056         (do_test): Likewise.
50057         * string/test-strrchr.c (do_one_test): Likewise.
50058         (do_test): Likewise.
50059         * string/test-strspn.c (do_one_test): Likewise.
50060         (do_test): Likewise.
50061         * string/test-strstr.c (do_one_test): Likewise.
50062         (do_test): Likewise.
50064         * benchtests/Makefile (string-bench): Add string benchmarks.
50065         * benchtests/bench-bcopy-ifunc.c: New file.
50066         * benchtests/bench-bcopy.c: New file.
50067         * benchtests/bench-bzero-ifunc.c: New file.
50068         * benchtests/bench-bzero.c: New file.
50069         * benchtests/bench-memccpy-ifunc.c: New file.
50070         * benchtests/bench-memccpy.c: New file.
50071         * benchtests/bench-memchr-ifunc.c: New file.
50072         * benchtests/bench-memchr.c: New file.
50073         * benchtests/bench-memcmp-ifunc.c: New file.
50074         * benchtests/bench-memcmp.c: New file.
50075         * benchtests/bench-memmem-ifunc.c: New file.
50076         * benchtests/bench-memmem.c: New file.
50077         * benchtests/bench-memmove-ifunc.c: New file.
50078         * benchtests/bench-memmove.c: New file.
50079         * benchtests/bench-mempcpy-ifunc.c: New file.
50080         * benchtests/bench-mempcpy.c: New file.
50081         * benchtests/bench-memset-ifunc.c: New file.
50082         * benchtests/bench-memset.c: New file.
50083         * benchtests/bench-rawmemchr-ifunc.c: New file.
50084         * benchtests/bench-rawmemchr.c: New file.
50085         * benchtests/bench-stpcpy-ifunc.c: New file.
50086         * benchtests/bench-stpcpy.c: New file.
50087         * benchtests/bench-stpncpy-ifunc.c: New file.
50088         * benchtests/bench-stpncpy.c: New file.
50089         * benchtests/bench-strcasecmp-ifunc.c: New file.
50090         * benchtests/bench-strcasecmp.c: New file.
50091         * benchtests/bench-strcasestr-ifunc.c: New file.
50092         * benchtests/bench-strcasestr.c: New file.
50093         * benchtests/bench-strcat-ifunc.c: New file.
50094         * benchtests/bench-strcat.c: New file.
50095         * benchtests/bench-strchr-ifunc.c: New file.
50096         * benchtests/bench-strchr.c: New file.
50097         * benchtests/bench-strchrnul-ifunc.c: New file.
50098         * benchtests/bench-strchrnul.c: New file.
50099         * benchtests/bench-strcmp-ifunc.c: New file.
50100         * benchtests/bench-strcmp.c: New file.
50101         * benchtests/bench-strcpy-ifunc.c: New file.
50102         * benchtests/bench-strcpy.c: New file.
50103         * benchtests/bench-strcspn-ifunc.c: New file.
50104         * benchtests/bench-strcspn.c: New file.
50105         * benchtests/bench-strlen-ifunc.c: New file.
50106         * benchtests/bench-strlen.c: New file.
50107         * benchtests/bench-strncasecmp-ifunc.c: New file.
50108         * benchtests/bench-strncasecmp.c: New file.
50109         * benchtests/bench-strncat-ifunc.c: New file.
50110         * benchtests/bench-strncat.c: New file.
50111         * benchtests/bench-strncmp-ifunc.c: New file.
50112         * benchtests/bench-strncmp.c: New file.
50113         * benchtests/bench-strncpy-ifunc.c: New file.
50114         * benchtests/bench-strncpy.c: New file.
50115         * benchtests/bench-strnlen-ifunc.c: New file.
50116         * benchtests/bench-strnlen.c: New file.
50117         * benchtests/bench-strpbrk-ifunc.c: New file.
50118         * benchtests/bench-strpbrk.c: New file.
50119         * benchtests/bench-strrchr-ifunc.c: New file.
50120         * benchtests/bench-strrchr.c: New file.
50121         * benchtests/bench-strspn-ifunc.c: New file.
50122         * benchtests/bench-strspn.c: New file.
50123         * benchtests/bench-strstr-ifunc.c: New file.
50124         * benchtests/bench-strstr.c: New file.
50126         * benchtests/Makefile: Disable parallel execution of targets.
50127         (string-bench): Add memcpy.
50128         (benchset): New variable to store a list of benchmark sets.
50129         (bench-func): Renamed from bench.
50130         (bench-set): New target.
50131         (bench): Depend on bench-func and bench-set.
50132         * benchtests/README: Add section on benchmark sets.
50133         * benchtests/bench-memcpy-ifunc.c: New file.
50134         * benchtests/bench-memcpy.c: New file.
50135         * benchtests/bench-string.h: New file.
50137 2013-06-11  Andreas Schwab  <schwab@suse.de>
50139         [BZ #15577]
50140         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50141         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50142         values in the triple.
50143         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50144         terminator in the group key.
50146 2013-06-11  Andreas Jaeger  <aj@suse.de>
50148         * po/zh_TW.po: Update Chinese (traditional) translation from
50149         translation project.
50151 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50153         * include/time.h (__clock_gettime): Add libc_hidden_proto.
50154         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50155         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
50156         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50157         (clock_getcpuclockid): Likewise.
50158         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
50159         Add weak_alias and libc_hidden_def.
50160         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
50161         * rt/clock_gettime.c (clock_gettime): Rename to
50162         __clock_gettime.  Add weak_alias and libc_hidden_def.
50163         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
50164         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
50165         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
50166         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
50167         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
50168         Likewise.
50169         * rt/clock_settime.c (clock_settime): Rename to
50170         __clock_settime.  Add weak_alias and libc_hidden_def.
50171         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50173 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
50175         * mach/err_boot.sub: Remove trailing whitespace.
50176         * mach/err_ipc.sub: Likewise.
50177         * mach/err_mach.sub: Likewise.
50179         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50180         (ROUNDING_TESTS_double): Likewise.
50181         (ROUNDING_TESTS_long_double): Likewise.
50182         (ROUNDING_TESTS): Likewise.
50183         * math/libm-test.inc: Include <math-tests.h>.
50184         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50185         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50186         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50187         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50189 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50191         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50192         of assigning.
50194 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50196         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50197         otherwise empty TRANS lines.
50198         * sysdeps/gnu/errlist.c: Regenerated.
50200         * catgets/gencat.c (error_print): Use (void) in function
50201         definition.
50202         * crypt/crypt_util.c (__init_des): Likewise.
50203         * crypt/speeds.c (Stop): Likewise.
50204         (main): Likewise.
50205         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50206         * inet/ruserpass.c (token): Likewise.
50207         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50208         * intl/localealias.c (extend_alias_table): Likewise.
50209         * intl/plural-exp.c (init_germanic_plural): Likewise.
50210         * libio/fcloseall.c (__fcloseall): Likewise.
50211         * libio/genops.c (_IO_flush_all): Likewise.
50212         (_IO_flush_all_linebuffered): Likewise.
50213         (_IO_cleanup): Likewise.
50214         (_IO_iter_begin): Likewise.
50215         (_IO_iter_end): Likewise.
50216         (_IO_list_lock): Likewise.
50217         (_IO_list_unlock): Likewise.
50218         (_IO_list_resetlock): Likewise.
50219         * libio/getchar.c (getchar): Likewise.
50220         * libio/getchar_u.c (getchar_unlocked): Likewise.
50221         * libio/getwchar.c (getwchar): Likewise.
50222         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50223         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50224         * login/getpt.c (__getpt): Likewise.
50225         * login/tst-utmp.c (main): Likewise.
50226         * malloc/hooks.c (__malloc_check_init): Likewise.
50227         * malloc/malloc.c (__malloc_stats): Likewise.
50228         * malloc/mtrace.c (tr_break): Likewise.
50229         (mtrace): Likewise.
50230         (muntrace): Likewise.
50231         * misc/fstab.c (endfsent): Likewise.
50232         * misc/getclktck.c (__getclktck): Likewise.
50233         * misc/getdtsz.c (__getdtablesize): Likewise.
50234         * misc/gethostid.c (gethostid): Likewise.
50235         * misc/getpagesize.c (__getpagesize): Likewise.
50236         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50237         (__get_nprocs): Likewise.
50238         (__get_phys_pages): Likewise.
50239         (__get_avphys_pages): Likewise.
50240         * misc/getttyent.c (getttyent): Likewise.
50241         (setttyent): Likewise.
50242         (endttyent): Likewise.
50243         * misc/getusershell.c (getusershell): Likewise.
50244         (endusershell): Likewise.
50245         (setusershell): Likewise.
50246         (initshells): Likewise.
50247         * misc/hsearch.c (__hdestroy): Likewise.
50248         * misc/sync.c (sync): Likewise.
50249         * misc/syslog.c (closelog_internal): Likewise.
50250         (closelog): Likewise.
50251         * misc/ttyslot.c (ttyslot): Likewise.
50252         * misc/vhangup.c (vhangup): Likewise.
50253         * posix/fork.c (__fork): Likewise.
50254         * posix/getegid.c (__getegid): Likewise.
50255         * posix/geteuid.c (__geteuid): Likewise.
50256         * posix/getgid.c (__getgid): Likewise.
50257         * posix/getpid.c (__getpid): Likewise.
50258         * posix/getppid.c (__getppid): Likewise.
50259         * posix/getuid.c (__getuid): Likewise.
50260         * posix/pause.c (pause): Likewise.
50261         * posix/setpgrp.c (setpgrp): Likewise.
50262         * posix/setsid.c (__setsid): Likewise.
50263         * posix/test-vfork.c (noop): Likewise.
50264         * resolv/gethnamaddr.c (_endhtent): Likewise.
50265         (_gethtent): Likewise.
50266         (ht_endhostent): Likewise.
50267         (gethostent): Likewise.
50268         (dns_service): Likewise.
50269         * stdlib/drand48.c (drand48): Likewise.
50270         * stdlib/lrand48.c (lrand48): Likewise.
50271         * stdlib/mrand48.c (mrand48): Likewise.
50272         * stdlib/rand.c (rand): Likewise.
50273         * stdlib/random.c (__random): Likewise.
50274         * stdlib/setenv.c (clearenv): Likewise.
50275         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50276         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50277         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50278         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50279         (__get_nprocs): Likewise.
50280         (__get_phys_pages): Likewise.
50281         (__get_avphys_pages): Likewise.
50282         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50283         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50284         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50285         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50286         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50287         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50288         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50289         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50290         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50291         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50292         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50293         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50294         * sysdeps/posix/clock.c (clock): Likewise.
50295         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50296         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50297         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50298         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50299         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50300         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50301         (__get_nprocs_conf): Likewise.
50302         (__get_phys_pages): Likewise.
50303         (__get_avphys_pages): Likewise.
50304         * time/clock.c (clock): Likewise.
50305         * time/tzset.c (__tzname_max): Likewise.
50307 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50309         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50310         (__bswap_32): Do not use "register".
50311         * crypt/crypt.c (_ufc_doit_r): Likewise.
50312         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50313         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50314         * gmon/gmon.c (__monstartup): Likewise.
50315         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50316         * hurd/hurdmalloc.c (more_memory): Likewise.
50317         (malloc): Likewise.
50318         (free): Likewise.
50319         (realloc): Likewise.
50320         (malloc_fork_prepare): Likewise.
50321         (malloc_fork_parent): Likewise.
50322         (malloc_fork_child): Likewise.
50323         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50324         (_svcauth_des): Likewise.
50325         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50326         * inet/inet_net.c (inet_network): Likewise.
50327         * inet/inet_netof.c (inet_netof): Likewise.
50328         * inet/rcmd.c (__validuser2_sa): Likewise.
50329         * io/fts.c (fts_open): Likewise.
50330         (fts_load): Likewise.
50331         (fts_close): Likewise.
50332         (fts_read): Likewise.
50333         (fts_children): Likewise.
50334         (fts_build): Likewise.
50335         (fts_stat): Likewise.
50336         (fts_sort): Likewise.
50337         (fts_alloc): Likewise.
50338         (fts_lfree): Likewise.
50339         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50340         (_IO_file_xsgetn): Likewise.
50341         (_IO_file_xsgetn_mmap): Likewise.
50342         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50343         (_IO_cookie_write): Likewise.
50344         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50345         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50346         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50347         * malloc/obstack.c (_obstack_begin): Likewise.
50348         (_obstack_begin_1): Likewise.
50349         (_obstack_newchunk): Likewise.
50350         (_obstack_allocated_p): Likewise.
50351         (obstack_free): Likewise.
50352         (_obstack_memory_used): Likewise.
50353         * misc/getttyent.c (getttynam): Likewise.
50354         (getttyent): Likewise.
50355         (skip): Likewise.
50356         (value): Likewise.
50357         * misc/getusershell.c (initshells): Likewise.
50358         * misc/syslog.c (__vsyslog_chk): Likewise.
50359         * misc/ttyslot.c (ttyslot): Likewise.
50360         * nis/nis_hash.c (__nis_hash): Likewise.
50361         * posix/fnmatch_loop.c (FCT): Likewise.
50362         * posix/getconf.c (print_all): Likewise.
50363         (main): Likewise.
50364         * posix/getopt.c (exchange): Likewise.
50365         * posix/glob.c (globfree): Likewise.
50366         (prefix_array): Likewise.
50367         (__glob_pattern_type): Likewise.
50368         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50369         (NS_GET32): Likewise.
50370         (NS_PUT16): Likewise.
50371         (NS_PUT32): Likewise.
50372         * resolv/gethnamaddr.c (getanswer): Likewise.
50373         (gethostbyname2): Likewise.
50374         (gethostbyaddr): Likewise.
50375         (_gethtent): Likewise.
50376         (_gethtbyname2): Likewise.
50377         (_gethtbyaddr): Likewise.
50378         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50379         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50380         * resolv/res_init.c (__res_vinit): Likewise.
50381         (net_mask): Likewise.
50382         * resolv/res_mkquery.c (outchar): Likewise.
50383         (PRINT): Likewise.
50384         * stdio-common/printf_fp.c (outchar): Likewise.
50385         (PRINT): Likewise.
50386         * stdio-common/printf_fphex.c (outchar): Likewise.
50387         (PRINT): Likewise.
50388         * stdio-common/printf_size.c (outchar): Likewise.
50389         (PRINT): Likewise.
50390         * stdio-common/test_rdwr.c (main): Likewise.
50391         * stdio-common/tfformat.c (matches): Likewise.
50392         * stdio-common/vfprintf.c (outchar): Likewise.
50393         (printf_unknown): Likewise.
50394         (buffered_vfprintf): Likewise.
50395         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50396         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50397         (ReadFile): Likewise.
50398         * stdlib/qsort.c (SWAP): Likewise.
50399         (_quicksort): Likewise.
50400         * stdlib/setenv.c (__add_to_environ): Likewise.
50401         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50402         * stdlib/strtol_l.c (__strtol_l): Likewise.
50403         * stdlib/tst-strtod.c (main): Likewise.
50404         * stdlib/tst-strtol.c (main): Likewise.
50405         * stdlib/tst-strtoll.c (main): Likewise.
50406         * string/bits/string2.h (__strcmp_cc): Likewise.
50407         (__strcmp_cg): Likewise.
50408         (__strcspn_c1): Likewise.
50409         (__strcspn_c2): Likewise.
50410         (__strcspn_c3): Likewise.
50411         (__strspn_c1): Likewise.
50412         (__strspn_c2): Likewise.
50413         (__strspn_c3): Likewise.
50414         (__strsep_1c): Likewise.
50415         (__strsep_2c): Likewise.
50416         (__strsep_3c): Likewise.
50417         * string/memccpy.c (__memccpy): Likewise.
50418         * string/stpcpy.c (__stpcpy): Likewise.
50419         * string/strcmp.c (strcmp): Likewise.
50420         * string/strrchr.c (strrchr): Likewise.
50421         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50422         Likewise.
50423         * sysdeps/mach/hurd/getcwd.c
50424         (_hurd_canonicalize_directory_name_internal): Likewise.
50425         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50426         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50427         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50428         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50429         Likewise, in both definitions.
50430         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50431         definitions.
50432         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50433         64] (__bswap_64): Likewise.
50434         * time/test_time.c (main): Likewise.
50435         * time/tzfile.c (__tzfile_read): Likewise.
50436         (__tzfile_compute): Likewise.
50437         * time/tzset.c (__tzset_parse_tz): Likewise.
50438         (tzset_internal): Likewise.
50439         (compute_change): Likewise.
50440         * wcsmbs/wcscat.c (__wcscat): Likewise.
50441         * wcsmbs/wcschr.c (wcschr): Likewise.
50442         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50443         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50444         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50445         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50446         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50447         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50448         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50449         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50450         * wcsmbs/wmemset.c (wmemset): Likewise.
50452 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50454         * scripts/config.guess: Update to version 2013-05-16.
50455         * scripts/config.sub: Update to version 2013-04-24.
50456         * scripts/install-sh: Update to version 2011-11-20.07.
50457         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50458         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50460 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50462         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50463         * elf/sln.c: Likewise.
50464         * hurd/hurd/ioctl.h: Likewise.
50465         * hurd/hurdmalloc.c: Likewise.
50466         * hurd/xattr.c: Likewise.
50467         * include/shlib-compat.h: Likewise.
50468         * inet/ruserpass.c: Likewise.
50469         * libio/iofgets_u.c: Likewise.
50470         * libio/iofgetws_u.c: Likewise.
50471         * locale/programs/ld-identification.c: Likewise.
50472         * locale/programs/ld-time.c: Likewise.
50473         * mach/msg-destroy.c: Likewise.
50474         * nss/nss_files/files-netgrp.c: Likewise.
50475         * resolv/res_data.c: Likewise.
50476         * soft-fp/op-1.h: Likewise.
50477         * soft-fp/op-2.h: Likewise.
50478         * soft-fp/op-4.h: Likewise.
50479         * soft-fp/op-common.h: Likewise.
50480         * stdio-common/printf_fphex.c: Likewise.
50481         * stdlib/strtod_l.c: Likewise.
50482         * sunrpc/rpc/clnt.h: Likewise.
50483         * sysdeps/generic/framestate.c: Likewise.
50484         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50485         * sysdeps/i386/bsd-setjmp.S: Likewise.
50486         * sysdeps/i386/__longjmp.S: Likewise.
50487         * sysdeps/i386/setjmp.S: Likewise.
50488         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50489         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50490         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50491         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50492         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50493         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50494         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50495         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50496         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50497         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50498         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50499         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50500         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50501         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50502         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50503         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50504         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50505         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50506         * sysdeps/ieee754/support.c: Likewise.
50507         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50508         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50509         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50510         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50511         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50512         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50513         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50514         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50515         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50516         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50517         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50518         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50519         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50520         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50521         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50522         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50523         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50526 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50528         * posix/transbug.c: Remove executable mode.
50530 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50532         * crypt/speeds.c: Remove trailing whitespace.
50533         * dlfcn/default.c: Likewise.
50534         * elf/ifuncdep2.c: Likewise.
50535         * elf/ifuncmain1.c: Likewise.
50536         * elf/ifuncmain1vis.c: Likewise.
50537         * elf/testobj.h: Likewise.
50538         * elf/tst-stackguard1.c: Likewise.
50539         * gmon/sys/gmon.h: Likewise.
50540         * hurd/hurdmsg.c: Likewise.
50541         * hurd/new-fd.c: Likewise.
50542         * hurd/ports-get.c: Likewise.
50543         * iconvdata/ibm1008_420.c: Likewise.
50544         * inet/tst-getni1.c: Likewise.
50545         * inet/tst-getni2.c: Likewise.
50546         * libio/ioungetc.c: Likewise.
50547         * libio/wfiledoalloc.c: Likewise.
50548         * manual/libm-err-tab.pl: Likewise.
50549         * math/w_dremf.c: Likewise.
50550         * misc/ftruncate.c: Likewise.
50551         * posix/bug-glob2.c: Likewise.
50552         * posix/tst-pcre.c: Likewise.
50553         * posix/wait4.c: Likewise.
50554         * resolv/README: Likewise.
50555         * resolv/res_debug.h: Likewise.
50556         * resolv/tst-inet_ntop.c: Likewise.
50557         * setjmp/bug269-setjmp.c: Likewise.
50558         * soft-fp/extended.h: Likewise.
50559         * soft-fp/op-1.h: Likewise.
50560         * soft-fp/op-2.h: Likewise.
50561         * soft-fp/op-4.h: Likewise.
50562         * soft-fp/op-8.h: Likewise.
50563         * soft-fp/testit.c: Likewise.
50564         * stdio-common/bug16.c: Likewise.
50565         * stdlib/random.c: Likewise.
50566         * sunrpc/rpcsvc/rquota.x: Likewise.
50567         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50568         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50569         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50570         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50571         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50572         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50573         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50574         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50575         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50576         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50577         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50578         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50579         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50580         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50581         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50582         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50583         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50584         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50585         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50586         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50587         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50588         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50589         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50590         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50591         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50592         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50593         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50594         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50595         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50596         * sysdeps/ieee754/s_lib_version.c: Likewise.
50597         * sysdeps/mach/hurd/check_fds.c: Likewise.
50598         * sysdeps/mach/hurd/getsockname.c: Likewise.
50599         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50600         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50601         * sysdeps/powerpc/bits/link.h: Likewise.
50602         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50603         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50604         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50605         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50606         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50607         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50608         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50609         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50610         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50611         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50612         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50613         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50614         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50615         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50616         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50617         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50618         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50619         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50620         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50621         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50622         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50623         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50624         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50625         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50626         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50627         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50628         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50629         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50630         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50631         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50633         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50634         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50635         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50636         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50637         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50638         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50639         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50640         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50641         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50642         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50643         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50644         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50645         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50646         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50647         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50648         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50649         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50650         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50651         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50652         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50654         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50655         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50656         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50657         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50658         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50659         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50660         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50661         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50662         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50663         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50664         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50665         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50666         * sysdeps/powerpc/sysdep.h: Likewise.
50667         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50668         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50669         * sysdeps/sh/dl-trampoline.S: Likewise.
50670         * sysdeps/sh/memset.S: Likewise.
50671         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50672         * sysdeps/sh/strlen.S: Likewise.
50673         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50674         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50675         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50676         * sysdeps/sparc/sparc32/rem.S: Likewise.
50677         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50678         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50679         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50680         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50681         * sysdeps/sparc/sparc32/urem.S: Likewise.
50682         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50683         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50684         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50685         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50686         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50687         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50688         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50689         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50690         * sysdeps/unix/bsd/times.c: Likewise.
50691         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50692         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50696         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50697         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50698         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50699         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50700         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50701         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50702         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50703         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50704         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50705         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50706         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50707         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50708         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50709         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50710         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50711         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50712         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50713         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50714         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50715         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50716         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50717         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50718         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50719         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50720         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50721         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50722         * sysdeps/x86_64/strcspn.S: Likewise.
50724 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50726         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50727         generated file.  Regenerate properly from gen-translit.pl.
50728         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50729         locale/C-translit.h.
50731 2013-06-05  Andreas Schwab  <schwab@suse.de>
50733         [BZ #15100]
50734         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50735         week as 6 instead of -1.
50736         * time/tst-strptime.c (day_tests): Add test case.
50738 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50740         * sysdeps/generic/math_private.h
50741         (libc_feholdexcept_setround_53bit): Replace with
50742         libc_feholdsetround_53bit.
50743         (libc_feupdateenv_53bit): Replace with
50744         libc_feresetround_53bit.
50745         (SET_RESTORE_ROUND_53BIT): Adjust.
50747 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50749         * string/test-strchrnul.c: Add copyright header.
50751         * posix/tst-getaddrinfo4.c: Increase test timeout.
50753 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50755         [BZ #15536]
50756         * math/libm-test.inc (MAX_EXP): Remove
50757         (MIN_EXP): Define.
50758         (ulp): Use MIN_EXP - MANT_DIG.
50759         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50761 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50763         * po/be.po: Revert last change.
50764         * po/zh_CN.po: Likewise.
50765         * po/header.pot: Likewise.
50767 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50769         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50770         link-libc-deps to empty as target-specific variable.
50771         * Makerules (link-libc-args): New variable.
50772         (libc-for-link): Likewise.
50773         (link-libc-deps): Likewise.
50774         (lib%.so): Depend on $(link-libc-deps).  Link with
50775         $(link-libc-args).
50776         (build-module): Link with $(link-libc-args).
50777         (build-module-asneeded): Likewise.
50778         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50779         list of objects.
50780         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50781         target-specific variable.
50782         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50783         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50784         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50785         libc.
50786         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50787         libc and ld.so.
50788         ($(objpfx)libpcprofile.so): Likewise.
50789         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50790         libc_nonshared.a.
50791         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50792         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50793         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50794         $(link-libc-deps).
50795         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50796         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50797         * login/Makefile ($(objpfx)libutil.so): Likewise.
50798         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50799         * math/Makefile ($(objpfx)libm.so): Likewise.
50800         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50801         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50802         variable instead of depending directly on libc.
50803         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50804         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50805         $(link-libc-deps).
50806         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50807         libc.
50808         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50809         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50810         ($(objpfx)libanl.so): Likewise.
50811         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50812         ld.so.
50813         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50814         $(link-libc-deps).
50815         * sysdeps/i386/fpu/Makefile: Remove file.
50816         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50817         ($(objpfx)libm.so): Remove dependency on ld.so.
50819 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50821         [BZ # 15553]
50822         * nis/yp_xdr.c (XDRMAXNAME): Define.
50823         (XDRMAXRECORD): Define.
50824         (xdr_domainname): Use XDRMAXNAME.
50825         (xdr_mapname): Likewise.
50826         (xdr_peername): Likewise.
50827         (xdr_keydat): Use XDRMAXRECORD.
50828         (xdr_valdat): Likewise.
50830 2013-05-30  Jeff Law  <law@redhat.com>
50832         [BZ #14256]
50833         * manual/errno.texi (ESTALE): Update to account for more than
50834         just NFS file systems.
50835         * sysdeps/gnu/errlist.c: Regenerated.
50837 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50839         [BZ #15465]
50840         * elf/Makefile (tests): Add tst-null-argv.
50841         (modules-names):  Add tst-null-argv-lib.
50842         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50843         (tst-null-argv-ENV): Set environment for tst-null-argv.
50844         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50845         (RTLD_PROGNAME): New macro.
50846         * elf/tst-null-argv.c: New test case.
50847         * elf/tst-null-argv-lib.c: Library for test case.
50848         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50849         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50850         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50851         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50852         * elf/dl-init.c (call_init): Likewise.
50853         (_dl_init): Likewise.
50854         * elf/dl-load.c (print_search_path): Likewise.
50855         (_dl_map_object): Likewise.
50856         * elf/dl-lookup.c (do_lookup_x): Likewise.
50857         (add_dependency): Likewise.
50858         (_dl_lookup_symbol_x): Likewise.
50859         (_dl_debug_bindings): Likewise.
50860         * elf/dl-open.c (_dl_show_scope): Likewise.
50861         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50862         * elf/dl-version.c (match_symbol): Likewise.
50863         (_dl_check_map_versions): Likewise.
50864         * elf/rtld.c (dl_main): Likewise.
50865         (print_unresolved): Use RTLD_PROGNAME.
50866         (print_missing_version): Likewise.
50867         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50868         (elf_machine_rela): Likewise.
50869         * sysdeps/powerpc/powerpc32/dl-machine.c
50870         (__process_machine_rela): Likewise.
50871         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50872         Likewise.
50873         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50874         Likewise.
50875         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50876         Likewise.
50877         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50879         Likewise.
50880         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50881         Likewise.
50882         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50884 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50886         * po/be.po: Add descriptive title.
50887         * po/zh_CN.po: Likewise.
50888         * po/header.pot: Likewise.
50890 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50892         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50893         error message.
50894         (enlarge_archive): Likewise.
50896 2013-05-28  Ben North  <ben@redfrontdoor.org>
50898         * manual/arith.texi (frexp): It is the magnitude of the return
50899         value which lies in [0.5, 1), not the return value itself.
50901 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50905 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50907         * stdio-common/bug26.c (main): Correct fscanf template.
50909         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50910         declare _dl_skip_args.
50912         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50913         Don't declare.
50915         * manual/platform.texi: Add missing @end deftypefun.
50917 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50919         [BZ #15529]
50920         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50921         bit of mantissa of 2^16382.
50922         * math/libm-test.inc (hypot_test_data): Add more tests.
50924         * math/libm-test.inc: Add drem and pow10 to list of tested
50925         functions.
50926         (pow10_test): New function.
50927         (drem_test): Likewise.
50928         (drem_test_tonearest): Likewise.
50929         (drem_test_towardzero): Likewise.
50930         (drem_test_downward): Likewise.
50931         (drem_test_upward): Likewise.
50932         (main): Call the new functions.
50934         * math/libm-test.inc (finite_test_data): Remove.
50935         (finite_test): Run tests from isfinite_test_data.
50936         (gamma_test_data): Remove.
50937         (gamma_test): Run tests from lgamma_test_data.
50938         * sysdeps/i386/fpu/libm-test-ulps: Update.
50939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50941 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50943         * manual/platform.texi: Add PowerPC PPR function set documentation.
50944         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50945         implementation.
50947 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50949         * math/libm-test.inc (MAX_EXP): Define.
50950         (ULPDIFF): Define.
50951         (ulp): New function.
50952         (check_float_internal): Use ULPDIFF.
50953         (cpow_test): Disable failing test.
50954         (check_ulp): Test ulp() implemetnation.
50955         (main): Call check_ulp before starting tests.
50957 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50959         * math/gen-libm-test.pl (generate_testfile): Do not handle
50960         START_DATA and END_DATA.
50961         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50962         END_DATA.
50963         (acos_tonearest_test_data): Likewise.
50964         (acos_towardzero_test_data): Likewise.
50965         (acos_downward_test_data): Likewise.
50966         (acos_upward_test_data): Likewise.
50967         (acosh_test_data): Likewise.
50968         (asin_test_data): Likewise.
50969         (asin_tonearest_test_data): Likewise.
50970         (asin_towardzero_test_data): Likewise.
50971         (asin_downward_test_data): Likewise.
50972         (asin_upward_test_data): Likewise.
50973         (asinh_test_data): Likewise.
50974         (atan_test_data): Likewise.
50975         (atanh_test_data): Likewise.
50976         (atan2_test_data): Likewise.
50977         (cabs_test_data): Likewise.
50978         (cacos_test_data): Likewise.
50979         (cacosh_test_data): Likewise.
50980         (carg_test_data): Likewise.
50981         (casin_test_data): Likewise.
50982         (casinh_test_data): Likewise.
50983         (catan_test_data): Likewise.
50984         (catanh_test_data): Likewise.
50985         (cbrt_test_data): Likewise.
50986         (ccos_test_data): Likewise.
50987         (ccosh_test_data): Likewise.
50988         (ceil_test_data): Likewise.
50989         (cexp_test_data): Likewise.
50990         (cimag_test_data): Likewise.
50991         (clog_test_data): Likewise.
50992         (clog10_test_data): Likewise.
50993         (conj_test_data): Likewise.
50994         (copysign_test_data): Likewise.
50995         (cos_test_data): Likewise.
50996         (cos_tonearest_test_data): Likewise.
50997         (cos_towardzero_test_data): Likewise.
50998         (cos_downward_test_data): Likewise.
50999         (cos_upward_test_data): Likewise.
51000         (cosh_test_data): Likewise.
51001         (cosh_tonearest_test_data): Likewise.
51002         (cosh_towardzero_test_data): Likewise.
51003         (cosh_downward_test_data): Likewise.
51004         (cosh_upward_test_data): Likewise.
51005         (cpow_test_data): Likewise.
51006         (cproj_test_data): Likewise.
51007         (creal_test_data): Likewise.
51008         (csin_test_data): Likewise.
51009         (csinh_test_data): Likewise.
51010         (csqrt_test_data): Likewise.
51011         (ctan_test_data): Likewise.
51012         (ctan_tonearest_test_data): Likewise.
51013         (ctan_towardzero_test_data): Likewise.
51014         (ctan_downward_test_data): Likewise.
51015         (ctan_upward_test_data): Likewise.
51016         (ctanh_test_data): Likewise.
51017         (ctanh_tonearest_test_data): Likewise.
51018         (ctanh_towardzero_test_data): Likewise.
51019         (ctanh_downward_test_data): Likewise.
51020         (ctanh_upward_test_data): Likewise.
51021         (erf_test_data): Likewise.
51022         (erfc_test_data): Likewise.
51023         (exp_test_data): Likewise.
51024         (exp_tonearest_test_data): Likewise.
51025         (exp_towardzero_test_data): Likewise.
51026         (exp_downward_test_data): Likewise.
51027         (exp_upward_test_data): Likewise.
51028         (exp10_test_data): Likewise.
51029         (exp2_test_data): Likewise.
51030         (expm1_test_data): Likewise.
51031         (fabs_test_data): Likewise.
51032         (fdim_test_data): Likewise.
51033         (finite_test_data): Likewise.
51034         (floor_test_data): Likewise.
51035         (fma_test_data): Likewise.
51036         (fma_towardzero_test_data): Likewise.
51037         (fma_downward_test_data): Likewise.
51038         (fma_upward_test_data): Likewise.
51039         (fmax_test_data): Likewise.
51040         (fmin_test_data): Likewise.
51041         (fmod_test_data): Likewise.
51042         (fpclassify_test_data): Likewise.
51043         (frexp_test_data): Likewise.
51044         (gamma_test_data): Likewise.
51045         (hypot_test_data): Likewise.
51046         (ilogb_test_data): Likewise.
51047         (isfinite_test_data): Likewise.
51048         (isgreater_test_data): Likewise.
51049         (isgreaterequal_test_data): Likewise.
51050         (isinf_test_data): Likewise.
51051         (isless_test_data): Likewise.
51052         (islessequal_test_data): Likewise.
51053         (islessgreater_test_data): Likewise.
51054         (isnan_test_data): Likewise.
51055         (isnormal_test_data): Likewise.
51056         (issignaling_test_data): Likewise.
51057         (isunordered_test_data): Likewise.
51058         (j0_test_data): Likewise.
51059         (j1_test_data): Likewise.
51060         (jn_test_data): Likewise.
51061         (ldexp_test_data): Likewise.
51062         (lgamma_test_data): Likewise.
51063         (lrint_test_data): Likewise.
51064         (lrint_tonearest_test_data): Likewise.
51065         (lrint_towardzero_test_data): Likewise.
51066         (lrint_downward_test_data): Likewise.
51067         (lrint_upward_test_data): Likewise.
51068         (llrint_test_data): Likewise.
51069         (llrint_tonearest_test_data): Likewise.
51070         (llrint_towardzero_test_data): Likewise.
51071         (llrint_downward_test_data): Likewise.
51072         (llrint_upward_test_data): Likewise.
51073         (log_test_data): Likewise.
51074         (log10_test_data): Likewise.
51075         (log1p_test_data): Likewise.
51076         (log2_test_data): Likewise.
51077         (logb_test_data): Likewise.
51078         (logb_downward_test_data): Likewise.
51079         (lround_test_data): Likewise.
51080         (llround_test_data): Likewise.
51081         (modf_test_data): Likewise.
51082         (nearbyint_test_data): Likewise.
51083         (nextafter_test_data): Likewise.
51084         (nexttoward_test_data): Likewise.
51085         (pow_test_data): Likewise.
51086         (pow_tonearest_test_data): Likewise.
51087         (pow_towardzero_test_data): Likewise.
51088         (pow_downward_test_data): Likewise.
51089         (pow_upward_test_data): Likewise.
51090         (remainder_test_data): Likewise.
51091         (remainder_tonearest_test_data): Likewise.
51092         (remainder_towardzero_test_data): Likewise.
51093         (remainder_downward_test_data): Likewise.
51094         (remainder_upward_test_data): Likewise.
51095         (remquo_test_data): Likewise.
51096         (rint_test_data): Likewise.
51097         (rint_tonearest_test_data): Likewise.
51098         (rint_towardzero_test_data): Likewise.
51099         (rint_downward_test_data): Likewise.
51100         (rint_upward_test_data): Likewise.
51101         (round_test_data): Likewise.
51102         (scalb_test_data): Likewise.
51103         (scalbn_test_data): Likewise.
51104         (scalbln_test_data): Likewise.
51105         (signbit_test_data): Likewise.
51106         (sin_test_data): Likewise.
51107         (sin_tonearest_test_data): Likewise.
51108         (sin_towardzero_test_data): Likewise.
51109         (sin_downward_test_data): Likewise.
51110         (sin_upward_test_data): Likewise.
51111         (sincos_test_data): Likewise.
51112         (sinh_test_data): Likewise.
51113         (sinh_tonearest_test_data): Likewise.
51114         (sinh_towardzero_test_data): Likewise.
51115         (sinh_downward_test_data): Likewise.
51116         (sinh_upward_test_data): Likewise.
51117         (sqrt_test_data): Likewise.
51118         (tan_test_data): Likewise.
51119         (tan_tonearest_test_data): Likewise.
51120         (tan_towardzero_test_data): Likewise.
51121         (tan_downward_test_data): Likewise.
51122         (tan_upward_test_data): Likewise.
51123         (tanh_test_data): Likewise.
51124         (tgamma_test_data): Likewise.
51125         (trunc_test_data): Likewise.
51126         (y0_test_data): Likewise.
51127         (y1_test_data): Likewise.
51128         (yn_test_data): Likewise.
51129         (significand_test_data): Likewise.
51131         * math/gen-libm-test.pl (@functions): Remove variable.
51132         (generate_testfile): Don't handle START and END lines.
51133         * math/libm-test.inc (START): New macro.
51134         (END): Likewise.
51135         (END_COMPLEX): Likewise.
51136         (acos_test): Use END macro without arguments.
51137         (acos_test_tonearest): Likewise.
51138         (acos_test_towardzero): Likewise.
51139         (acos_test_downward): Likewise.
51140         (acos_test_upward): Likewise.
51141         (acosh_test): Likewise.
51142         (asin_test): Likewise.
51143         (asin_test_tonearest): Likewise.
51144         (asin_test_towardzero): Likewise.
51145         (asin_test_downward): Likewise.
51146         (asin_test_upward): Likewise.
51147         (asinh_test): Likewise.
51148         (atan_test): Likewise.
51149         (atanh_test): Likewise.
51150         (atan2_test): Likewise.
51151         (cabs_test): Likewise.
51152         (cacos_test): Use END_COMPLEX macro without arguments.
51153         (cacosh_test): Likewise.
51154         (carg_test): Use END macro without arguments.
51155         (casin_test): Use END_COMPLEX macro without arguments.
51156         (casinh_test): Likewise.
51157         (catan_test): Likewise.
51158         (catanh_test): Likewise.
51159         (cbrt_test): Use END macro without arguments.
51160         (ccos_test): Use END_COMPLEX macro without arguments.
51161         (ccosh_test): Likewise.
51162         (ceil_test): Use END macro without arguments.
51163         (cexp_test): Use END_COMPLEX macro without arguments.
51164         (cimag_test): Use END macro without arguments.
51165         (clog_test): Use END_COMPLEX macro without arguments.
51166         (clog10_test): Likewise.
51167         (conj_test): Likewise.
51168         (copysign_test): Use END macro without arguments.
51169         (cos_test): Likewise.
51170         (cos_test_tonearest): Likewise.
51171         (cos_test_towardzero): Likewise.
51172         (cos_test_downward): Likewise.
51173         (cos_test_upward): Likewise.
51174         (cosh_test): Likewise.
51175         (cosh_test_tonearest): Likewise.
51176         (cosh_test_towardzero): Likewise.
51177         (cosh_test_downward): Likewise.
51178         (cosh_test_upward): Likewise.
51179         (cpow_test): Use END_COMPLEX macro without arguments.
51180         (cproj_test): Likewise.
51181         (creal_test): Use END macro without arguments.
51182         (csin_test): Use END_COMPLEX macro without arguments.
51183         (csinh_test): Likewise.
51184         (csqrt_test): Likewise.
51185         (ctan_test): Likewise.
51186         (ctan_test_tonearest): Likewise.
51187         (ctan_test_towardzero): Likewise.
51188         (ctan_test_downward): Likewise.
51189         (ctan_test_upward): Likewise.
51190         (ctanh_test): Likewise.
51191         (ctanh_test_tonearest): Likewise.
51192         (ctanh_test_towardzero): Likewise.
51193         (ctanh_test_downward): Likewise.
51194         (ctanh_test_upward): Likewise.
51195         (erf_test): Use END macro without arguments.
51196         (erfc_test): Likewise.
51197         (exp_test): Likewise.
51198         (exp_test_tonearest): Likewise.
51199         (exp_test_towardzero): Likewise.
51200         (exp_test_downward): Likewise.
51201         (exp_test_upward): Likewise.
51202         (exp10_test): Likewise.
51203         (exp2_test): Likewise.
51204         (expm1_test): Likewise.
51205         (fabs_test): Likewise.
51206         (fdim_test): Likewise.
51207         (finite_test): Likewise.
51208         (floor_test): Likewise.
51209         (fma_test): Likewise.
51210         (fma_test_towardzero): Likewise.
51211         (fma_test_downward): Likewise.
51212         (fma_test_upward): Likewise.
51213         (fmax_test): Likewise.
51214         (fmin_test): Likewise.
51215         (fmod_test): Likewise.
51216         (fpclassify_test): Likewise.
51217         (frexp_test): Likewise.
51218         (gamma_test): Likewise.
51219         (hypot_test): Likewise.
51220         (ilogb_test): Likewise.
51221         (isfinite_test): Likewise.
51222         (isgreater_test): Likewise.
51223         (isgreaterequal_test): Likewise.
51224         (isinf_test): Likewise.
51225         (isless_test): Likewise.
51226         (islessequal_test): Likewise.
51227         (islessgreater_test): Likewise.
51228         (isnan_test): Likewise.
51229         (isnormal_test): Likewise.
51230         (issignaling_test): Likewise.
51231         (isunordered_test): Likewise.
51232         (j0_test): Likewise.
51233         (j1_test): Likewise.
51234         (jn_test): Likewise.
51235         (ldexp_test): Likewise.
51236         (lgamma_test): Likewise.
51237         (lrint_test): Likewise.
51238         (lrint_test_tonearest): Likewise.
51239         (lrint_test_towardzero): Likewise.
51240         (lrint_test_downward): Likewise.
51241         (lrint_test_upward): Likewise.
51242         (llrint_test): Likewise.
51243         (llrint_test_tonearest): Likewise.
51244         (llrint_test_towardzero): Likewise.
51245         (llrint_test_downward): Likewise.
51246         (llrint_test_upward): Likewise.
51247         (log_test): Likewise.
51248         (log10_test): Likewise.
51249         (log1p_test): Likewise.
51250         (log2_test): Likewise.
51251         (logb_test): Likewise.
51252         (logb_test_downward): Likewise.
51253         (lround_test): Likewise.
51254         (llround_test): Likewise.
51255         (modf_test): Likewise.
51256         (nearbyint_test): Likewise.
51257         (nextafter_test): Likewise.
51258         (nexttoward_test): Likewise.
51259         (pow_test): Likewise.
51260         (pow_test_tonearest): Likewise.
51261         (pow_test_towardzero): Likewise.
51262         (pow_test_downward): Likewise.
51263         (pow_test_upward): Likewise.
51264         (remainder_test): Likewise.
51265         (remainder_test_tonearest): Likewise.
51266         (remainder_test_towardzero): Likewise.
51267         (remainder_test_downward): Likewise.
51268         (remainder_test_upward): Likewise.
51269         (remquo_test): Likewise.
51270         (rint_test): Likewise.
51271         (rint_test_tonearest): Likewise.
51272         (rint_test_towardzero): Likewise.
51273         (rint_test_downward): Likewise.
51274         (rint_test_upward): Likewise.
51275         (round_test): Likewise.
51276         (scalb_test): Likewise.
51277         (scalbn_test): Likewise.
51278         (scalbln_test): Likewise.
51279         (signbit_test): Likewise.
51280         (sin_test): Likewise.
51281         (sin_test_tonearest): Likewise.
51282         (sin_test_towardzero): Likewise.
51283         (sin_test_downward): Likewise.
51284         (sin_test_upward): Likewise.
51285         (sincos_test): Likewise.
51286         (sinh_test): Likewise.
51287         (sinh_test_tonearest): Likewise.
51288         (sinh_test_towardzero): Likewise.
51289         (sinh_test_downward): Likewise.
51290         (sinh_test_upward): Likewise.
51291         (sqrt_test): Likewise.
51292         (tan_test): Likewise.
51293         (tan_test_tonearest): Likewise.
51294         (tan_test_towardzero): Likewise.
51295         (tan_test_downward): Likewise.
51296         (tan_test_upward): Likewise.
51297         (tanh_test): Likewise.
51298         (tgamma_test): Likewise.
51299         (trunc_test): Likewise.
51300         (y0_test): Likewise.
51301         (y1_test): Likewise.
51302         (yn_test): Likewise.
51303         (significand_test): Likewise.
51305 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51307         [BZ #15381]
51308         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51310 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51312         [BZ #14894]
51313         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51314         __ppc_mdoio and __ppc_mdoom.
51315         * manual/platform.texi: Document new functions __ppc_yield,
51316         __ppc_mdoio and __ppc_mdoom.
51318 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51320         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51321         (main): Mention "tls" pseudo-hwcap is legacy.
51322         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51324 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51326         * math/gen-libm-test.pl (parse_args): Output only string of
51327         arguments as text for test name, not full call or descriptions of
51328         tests for extra outputs.
51329         (generate_testfile): Do not pass function name to parse_args.
51330         Generate this_func variable from START.
51331         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51332         field to arg_str.
51333         (struct test_ff_f_data): Likewise.
51334         (test_ff_f_data_nexttoward): Likewise.
51335         (struct test_fi_f_data): Likewise.
51336         (struct test_fl_f_data): Likewise.
51337         (struct test_if_f_data): Likewise.
51338         (struct test_fff_f_data): Likewise.
51339         (struct test_c_f_data): Likewise.
51340         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51341         (struct test_fF_f1_data): Likewise.
51342         (struct test_ffI_f1_data): Likewise.
51343         (struct test_c_c_data): Rename test_name field to arg_str.
51344         (struct test_cc_c_data): Likewise.
51345         (struct test_f_i_data): Likewise.
51346         (struct test_ff_i_data): Likewise.
51347         (struct test_f_l_data): Likewise.
51348         (struct test_f_L_data): Likewise.
51349         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51350         and extra2_name.
51351         (COMMON_TEST_SETUP): New macro.
51352         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51353         (COMMON_TEST_CLEANUP): Likewise.
51354         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51355         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51356         macros.
51357         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51358         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51359         macros.
51360         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51361         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51362         cleanup macros.
51363         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51364         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51365         macros.
51366         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51367         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51368         macros.
51369         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51370         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51371         cleanup macros.
51372         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51373         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51374         cleanup macros.
51375         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51376         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51377         cleanup macros.
51378         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51379         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51380         macros.
51381         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51382         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51383         macros.
51384         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51385         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51386         macros.
51387         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51388         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51389         cleanup macros.
51390         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51391         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51392         cleanup macros.
51393         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51394         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51395         macros.
51396         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51397         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51398         cleanup macros.
51399         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51400         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51401         macros.
51402         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51403         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51404         macros.
51405         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51406         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51407         cleanup macros.
51408         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51410 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51412         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51413         to _sifields.sigfault.
51414         (si_addr_lsb): Define new macro.
51415         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51416         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51417         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51419 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51421         [BZ #15441]
51422         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51423         returns -1.
51424         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51425         null return -1.
51426         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51427         loading the domain.
51429 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51431         * math/gen-libm-test.pl (parse_args): Do not include expected
51432         result in test name.
51433         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51434         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51435         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51436         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51437         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51440 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51442         * benchtests/Makefile: Sort function entries.
51444         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51445         tanh, asinh, acosh, atanh.
51446         * benchtests/acos-inputs: New file.
51447         * benchtests/acosh-inputs: New file.
51448         * benchtests/asin-inputs: New file.
51449         * benchtests/asinh-inputs: New file.
51450         * benchtests/atanh-inputs: New file.
51451         * benchtests/cosh-inputs: New file.
51452         * benchtests/log-inputs: New file.
51453         * benchtests/sinh-inputs: New file.
51454         * benchtests/tanh-inputs: New file.
51456 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51458         [BZ #15339]
51459         * posix/tst-getaddrinfo4.c: New test.
51460         * posix/Makefile (tests): Add it.
51462 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51464         [BZ #15339]
51465         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51466         when no services were used.
51467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51468         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51470 2013-05-21  Andreas Schwab  <schwab@suse.de>
51472         [BZ #15014]
51473         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51474         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51475         successful.
51476         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51477         redundant variable declarations and reallocation of buffer when
51478         parsing as IPv6 address.  Always set NSS status when called from
51479         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51480         buffer too small.  Correct computation of needed size.
51481         * nss/Makefile (tests): Add test-digits-dots.
51482         * nss/test-digits-dots.c: New test.
51484 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51486         * benchtests/Makefile: Remove instructions for adding
51487         benchmark tests.
51488         * benchtests/README: New file to explain how to execute and
51489         enhance the benchmark tests.
51491 2013-05-21  Andreas Schwab  <schwab@suse.de>
51493         [BZ #15493]
51494         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51495         * setjmp/tst-sigsetjmp.c: New test.
51497 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51499         * sysdeps/x86_64/memset.S (memset): New implementation.
51500         (__bzero): Likewise.
51501         (__memset_tail): New function.
51503 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51505         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51506         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51507         __memcpy_sse2_unaligned ifunc selection.
51508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51509         Add memcpy-sse2-unaligned.S.
51510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51511         Add: __memcpy_sse2_unaligned.
51513 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51515         [BZ #15490]
51516         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51517         math_force_eval before restoring floating-point envrionment.
51518         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51519         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51520         Likewise.
51521         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51522         <math_private.h>.
51523         (__nearbyintl): Use math_force_eval before restoring
51524         floating-point environment.
51525         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51527         * math/gen-libm-test.pl (special_functions): Remove.
51528         (parse_args): Don't handle TEST_extra.  Handle functions with no
51529         return value.
51530         * math/libm-test.inc (struct test_sincos_data): Replace with
51531         struct test_fFF_11_data.
51532         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51533         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51534         (sincos_test_data): Change element type to struct
51535         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51536         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51537         RUN_TEST_LOOP_sincos.
51538         * math/README.libm-test: Don't mention special handling of
51539         individual functions.
51540         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51541         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51542         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51543         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51544         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51547         * math/gen-libm-test.pl (get_variable): Remove function.
51548         (parse_args): Don't show pointer parameters to call in test
51549         names.  Use "extra output N" in test names for extra outputs
51550         rather than naming variables.
51552 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51554         [BZ #15488]
51555         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51556         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51557         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51558         double tests.
51559         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51560         disable.
51561         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51562         check_long_double.
51564         * math/gen-libm-test.pl (@tests): Remove variable.
51565         ($count): Likewise.
51566         (new_test): Remove function.
51567         (show_exceptions): New function.
51568         (special_functions): Use show_exceptions instead of new_test.
51569         (parse_args): Likewise.
51570         (generate_testfile): Pass only function name in generated call to
51571         print_max_error or print_complex_max_error.
51572         (get_ulps): Do not handle complex tests specially.
51573         (output_test): Rename to ...
51574         (get_all_ulps_for_test): ... this.  Return a string rather than
51575         printing to a file.  Require ulps to be present.
51576         (output_ulps): Generate arrays rather than #defines.
51577         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51578         (struct ulp_data): New type.
51579         (BUILD_COMPLEX_ULP): Remove macro.
51580         (compare_ulp_data): New function.
51581         (find_ulps): Likewise.
51582         (find_test_ulps): Likewise.
51583         (find_function_ulps): Likewise.
51584         (find_complex_function_ulps): Likewise.
51585         (print_max_error): Determine allowed ulps using
51586         find_function_ulps.
51587         (print_complex_max_error): Determine allowed ulps using
51588         find_complex_function_ulps.
51589         (check_float_internal): Determine max ulps using find_test_ulps.
51590         (check_float): Do not take max_ulp parameter.  Update call to
51591         check_float_internal.
51592         (check_complex): Likewise.
51593         (check_int): Do not take max_ulp parameter.
51594         (check_long): Likewise.
51595         (check_bool): Likewise.
51596         (check_longlong): Likewise.
51597         (struct test_f_f_data): Remove max_ulp field.
51598         (struct test_ff_f_data): Likewise.
51599         (struct test_ff_f_data_nexttoward): Likewise.
51600         (struct test_fi_f_data): Likewise.
51601         (struct test_fl_f_data): Likewise.
51602         (struct test_if_f_data): Likewise.
51603         (struct test_fff_f_data): Likewise.
51604         (struct test_c_f_data): Likewise.
51605         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51606         (struct test_fF_f1_data): Likewise.
51607         (struct test_ffI_f1_data): Likewise.
51608         (struct test_c_c_data): Remove max_ulp field.
51609         (struct test_cc_c_data): Likewise.
51610         (struct test_f_i_data): Likewise.
51611         (struct test_ff_i_data): Likewise.
51612         (struct test_f_l_data): Likewise.
51613         (struct test_f_L_data): Likewise.
51614         (struct test_sincos_data): Likewise.
51615         (RUN_TEST_f_f): Do not handle ulps.
51616         (RUN_TEST_LOOP_f_f): Likewise.
51617         (RUN_TEST_2_f): Likewise.
51618         (RUN_TEST_LOOP_2_f): Likewise.
51619         (RUN_TEST_fff_f): Likewise.
51620         (RUN_TEST_LOOP_fff_f): Likewise.
51621         (RUN_TEST_c_f): Likewise.
51622         (RUN_TEST_LOOP_c_f): Likewise.
51623         (RUN_TEST_f_f1): Likewise.
51624         (RUN_TEST_LOOP_f_f1): Likewise.
51625         (RUN_TEST_fF_f1): Likewise.
51626         (RUN_TEST_LOOP_fF_f1): Likewise.
51627         (RUN_TEST_fI_f1): Likewise.
51628         (RUN_TEST_LOOP_fI_f1): Likewise.
51629         (RUN_TEST_ffI_f1): Likewise.
51630         (RUN_TEST_LOOP_ffI_f1): Likewise.
51631         (RUN_TEST_c_c): Likewise.
51632         (RUN_TEST_LOOP_c_c): Likewise.
51633         (RUN_TEST_cc_c): Likewise.
51634         (RUN_TEST_LOOP_cc_c): Likewise.
51635         (RUN_TEST_f_i): Likewise.
51636         (RUN_TEST_LOOP_f_i): Likewise.
51637         (RUN_TEST_f_i_tg): Likewise.
51638         (RUN_TEST_LOOP_f_i_tg): Likewise.
51639         (RUN_TEST_ff_i_tg): Likewise.
51640         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51641         (RUN_TEST_f_b): Likewise.
51642         (RUN_TEST_LOOP_f_b): Likewise.
51643         (RUN_TEST_f_b_tg): Likewise.
51644         (RUN_TEST_LOOP_f_b_tg): Likewise.
51645         (RUN_TEST_f_l): Likewise.
51646         (RUN_TEST_LOOP_f_l): Likewise.
51647         (RUN_TEST_f_L): Likewise.
51648         (RUN_TEST_LOOP_f_L): Likewise.
51649         (RUN_TEST_sincos): Likewise.
51650         (RUN_TEST_LOOP_sincos): Likewise.
51652 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51654         [BZ #15480]
51655         [BZ #15485]
51656         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51657         main case of finite arguments, set rounding mode to FE_TONEAREST
51658         and discard exceptions.
51659         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51660         exceptions.
51661         (remainder_tonearest_test_data): New variable.
51662         (remainder_test_tonearest): New function.
51663         (remainder_towardzero_test_data): New variable.
51664         (remainder_test_towardzero): New function.
51665         (remainder_downward_test_data): New variable.
51666         (remainder_test_downward): New function.
51667         (remainder_upward_test_data): New variable.
51668         (remainder_test_upward): New function.
51669         (main): Call the new test functions.
51671         * math/libm-test.inc (struct test_f_f1_data): Remove field
51672         extra_init.
51673         (struct test_fF_f1_data): Likewise.
51674         (struct test_ffI_f1_data): Likewise.
51675         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51676         based on value of EXTRA_EXPECTED.
51677         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51678         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51679         EXTRA_VAR based on value of EXTRA_EXPECTED.
51680         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51681         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51682         EXTRA_VAR based on value of EXTRA_EXPECTED.
51683         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51684         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51685         EXTRA_VAR based on value of EXTRA_EXPECTED.
51686         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51687         * math/gen-libm-test.pl (parse_args): Don't output initializers
51688         for extra output values.
51690         * math/libm-test.inc (check_int): Expect result to be exactly
51691         equal to expected value and do not handle ulps.
51692         (check_long): Likewise.
51693         (check_longlong): Likewise.
51695         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51696         exceptions.
51697         (cimag_test_data): Likewise.
51698         (conj_test_data): Likewise.
51699         (copysign_test_data): Likewise.
51700         (cproj_test_data): Likewise.
51701         (creal_test_data): Likewise.
51702         (fabs_test_data): Likewise.
51703         (fdim_test_data): Likewise.
51704         (finite_test_data): Likewise.
51705         (floor_test_data): Likewise.
51706         (fmax_test_data): Likewise.
51707         (fmin_test_data): Likewise.
51708         (fmod_test_data): Likewise.
51709         (fpclassify_test_data): Likewise.
51710         (frexp_test_data): Likewise.
51711         (ilogb_test_data): Likewise.
51712         (isfinite_test_data): Likewise.
51713         (isgreater_test_data): Likewise.
51714         (isgreaterequal_test_data): Likewise.
51715         (isinf_test_data): Likewise.
51716         (isless_test_data): Likewise.
51717         (islessequal_test_data): Likewise.
51718         (islessgreater_test_data): Likewise.
51719         (isnan_test_data): Likewise.
51720         (isnormal_test_data): Likewise.
51721         (issignaling_test_data): Likewise.
51722         (isunordered_test_data): Likewise.
51723         (ldexp_test_data): Likewise.
51724         (lrint_test_data): Likewise.
51725         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51726         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51727         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51728         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51729         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51730         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51731         test input.
51732         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51733         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51734         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51735         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51736         that test input.
51737         (lrint_downward_test_data): Test for "inexact" exceptions.
51738         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51739         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51740         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51741         test input.
51742         (lrint_upward_test_data): Test for "inexact" exceptions.
51743         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51744         test input.
51745         (llrint_test_data): Test for "inexact" exceptions.
51746         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51747         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51748         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51749         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51750         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51751         (llrint_downward_test_data): Test for "inexact" exceptions.
51752         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51753         (llrint_upward_test_data): Test for "inexact" exceptions.
51754         (logb_test_data): Likewise.
51755         (logb_downward_test_data): Likewise.
51756         (nextafter_test_data): Likewise.
51757         (nexttoward_test_data): Likewise.
51758         (remainder_test_data): Likewise.
51759         (remquo_test_data): Likewise.
51760         (scalbn_test_data): Likewise.
51761         (scalbln_test_data): Likewise.
51762         (signbit_test_data): Likewise.
51763         (sqrt_test_data): Likewise.
51764         (significand_test_data): Likewise.
51766 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51768         [BZ #15424]
51769         * benchtests/bench-modf.c (struct args): Mark arg0 as
51770         volatile.
51771         * scripts/bench.pl: Mark members of struct args as volatile.
51773 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51775         [BZ # 15497]
51776         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51777         negative infinity on POWER6 or lower.
51778         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51780 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51782         [BZ #15442]
51783         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51784         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51785         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51786         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51787         (_FP_SETQNAN): New macro.
51788         (_FP_SETQNAN_SEMIRAW): Likewise.
51789         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51790         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51791         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51792         (FP_EXTEND): Use _FP_FRAC_SNANP.
51793         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51794         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51795         into account.
51796         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51797         New macro.
51798         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51799         Likewise.
51801 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51803         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51804         with DIVIDE_BY_ZERO_EXCEPTION.
51805         (gamma_test_data): Likewise.
51806         (lgamma_test_data): Likewise.
51807         (log_test_data): Likewise.
51808         (log10_test_data): Likewise.
51809         (log2_test_data): Likewise.
51810         (tgamma_test_data): Likewise.
51812         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51813         (acos_test_tonearest): Likewise.
51814         (acos_test_towardzero): Likewise.
51815         (acos_test_downward): Likewise.
51816         (acos_test_upward): Likewise.
51817         (acosh_test): Likewise.
51818         (asin_test): Likewise.
51819         (asin_test_tonearest): Likewise.
51820         (asin_test_towardzero): Likewise.
51821         (asin_test_downward): Likewise.
51822         (asin_test_upward): Likewise.
51823         (asinh_test): Likewise.
51824         (atan_test): Likewise.
51825         (atanh_test): Likewise.
51826         (atan2_test): Likewise.
51827         (cabs_test): Likewise.
51828         (cacos_test): Likewise.
51829         (cacosh_test): Likewise.
51830         (casin_test): Likewise.
51831         (casinh_test): Likewise.
51832         (catan_test): Likewise.
51833         (catanh_test): Likewise.
51834         (cbrt_test): Likewise.
51835         (ccos_test): Likewise.
51836         (ccosh_test): Likewise.
51837         (cexp_test): Likewise.
51838         (clog_test): Likewise.
51839         (clog10_test): Likewise.
51840         (cos_test): Likewise.
51841         (cos_test_tonearest): Likewise.
51842         (cos_test_towardzero): Likewise.
51843         (cos_test_downward): Likewise.
51844         (cos_test_upward): Likewise.
51845         (cosh_test): Likewise.
51846         (cosh_test_tonearest): Likewise.
51847         (cosh_test_towardzero): Likewise.
51848         (cosh_test_downward): Likewise.
51849         (cosh_test_upward): Likewise.
51850         (cpow_test): Likewise.
51851         (csin_test): Likewise.
51852         (csinh_test): Likewise.
51853         (csqrt_test): Likewise.
51854         (ctan_test): Likewise.
51855         (ctan_test_tonearest): Likewise.
51856         (ctan_test_towardzero): Likewise.
51857         (ctan_test_downward): Likewise.
51858         (ctan_test_upward): Likewise.
51859         (ctanh_test): Likewise.
51860         (ctanh_test_tonearest): Likewise.
51861         (ctanh_test_towardzero): Likewise.
51862         (ctanh_test_downward): Likewise.
51863         (ctanh_test_upward): Likewise.
51864         (erf_test): Likewise.
51865         (erfc_test): Likewise.
51866         (exp_test): Likewise.
51867         (exp_test_tonearest): Likewise.
51868         (exp_test_towardzero): Likewise.
51869         (exp_test_downward): Likewise.
51870         (exp_test_upward): Likewise.
51871         (exp10_test): Likewise.
51872         (exp2_test): Likewise.
51873         (expm1_test): Likewise.
51874         (fmod_test): Likewise.
51875         (gamma_test): Likewise.
51876         (hypot_test): Likewise.
51877         (j0_test): Likewise.
51878         (j1_test): Likewise.
51879         (jn_test): Likewise.
51880         (lgamma_test): Likewise.
51881         (log_test): Likewise.
51882         (log10_test): Likewise.
51883         (log1p_test): Likewise.
51884         (log2_test): Likewise.
51885         (logb_test_downward): Likewise.
51886         (pow_test): Likewise.
51887         (pow_test_tonearest): Likewise.
51888         (pow_test_towardzero): Likewise.
51889         (pow_test_downward): Likewise.
51890         (pow_test_upward): Likewise.
51891         (remainder_test): Likewise.
51892         (remquo_test): Likewise.
51893         (sin_test): Likewise.
51894         (sin_test_tonearest): Likewise.
51895         (sin_test_towardzero): Likewise.
51896         (sin_test_downward): Likewise.
51897         (sin_test_upward): Likewise.
51898         (sincos_test): Likewise.
51899         (sinh_test): Likewise.
51900         (sinh_test_tonearest): Likewise.
51901         (sinh_test_towardzero): Likewise.
51902         (sinh_test_downward): Likewise.
51903         (sinh_test_upward): Likewise.
51904         (sqrt_test): Likewise.
51905         (tan_test): Likewise.
51906         (tan_test_tonearest): Likewise.
51907         (tan_test_towardzero): Likewise.
51908         (tan_test_downward): Likewise.
51909         (tan_test_upward): Likewise.
51910         (tanh_test): Likewise.
51911         (tgamma_test): Likewise.
51912         (y0_test): Likewise.
51913         (y1_test): Likewise.
51914         (yn_test): Likewise.
51916         * math/gen-libm-test.pl (adjust_arg): Remove function.
51917         (special_function): Remove argument $in_func.  Only handle
51918         generating output for tables of tests, not inside functions.
51919         (parse_args): Likewise.
51920         (generate_testfile): Remove variable $in_func.  Update call to
51921         parse_args.
51922         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51923         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51924         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51925         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51926         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51927         (MAX_VALUE_INIT): Rename macro to max_value.
51928         (MIN_VALUE_INIT): Rename macro to min_value.
51929         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51930         (plus_zero): Remove variable.
51931         (minus_zero): Likewise.
51932         (plus_infty): Likewise.
51933         (minus_infty): Likewise.
51934         (qnan_value): Likewise.
51935         (max_value): Likewise.
51936         (min_value): Likewise.
51937         (min_subnorm_value): Likewise.
51939 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51941         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51942         uint64_t or uint32_t usage.
51943         * crypt/sha256-block.c: Likewise.
51944         * crypt/sha256-crypt.c: Likewise.
51945         * crypt/sha256.c: Likewise.
51946         * crypt/sha512-block.c: Likewise.
51947         * crypt/sha512-crypt.c: Likewise.
51948         * crypt/sha512.c: Likewise.
51949         * debug/backtrace-tst.c: Likewise.
51950         * debug/pcprofiledump.c: Likewise.
51951         * elf/cache.c: Likewise.
51952         * elf/dl-cache.c: Likewise.
51953         * elf/dl-misc.c: Likewise.
51954         * elf/dl-profile.c: Likewise.
51955         * elf/dl-support.c: Likewise.
51956         * elf/ldconfig.c: Likewise.
51957         * elf/sprof.c: Likewise.
51958         * iconv/dummy-repertoire.c: Likewise.
51959         * iconv/iconv_charmap.c: Likewise.
51960         * iconv/skeleton.c: Likewise.
51961         * iconvdata/8bit-generic.c: Likewise.
51962         * iconvdata/cp737.h: Likewise.
51963         * iconvdata/cp775.h: Likewise.
51964         * iconvdata/ibm1008.h: Likewise.
51965         * iconvdata/ibm1025.h: Likewise.
51966         * iconvdata/ibm1046.h: Likewise.
51967         * iconvdata/ibm1097.h: Likewise.
51968         * iconvdata/ibm1112.h: Likewise.
51969         * iconvdata/ibm1122.h: Likewise.
51970         * iconvdata/ibm1123.h: Likewise.
51971         * iconvdata/ibm1124.h: Likewise.
51972         * iconvdata/ibm1129.h: Likewise.
51973         * iconvdata/ibm1130.h: Likewise.
51974         * iconvdata/ibm1132.h: Likewise.
51975         * iconvdata/ibm1133.h: Likewise.
51976         * iconvdata/ibm1137.h: Likewise.
51977         * iconvdata/ibm1140.h: Likewise.
51978         * iconvdata/ibm1141.h: Likewise.
51979         * iconvdata/ibm1142.h: Likewise.
51980         * iconvdata/ibm1143.h: Likewise.
51981         * iconvdata/ibm1144.h: Likewise.
51982         * iconvdata/ibm1145.h: Likewise.
51983         * iconvdata/ibm1146.h: Likewise.
51984         * iconvdata/ibm1147.h: Likewise.
51985         * iconvdata/ibm1148.h: Likewise.
51986         * iconvdata/ibm1149.h: Likewise.
51987         * iconvdata/ibm1153.h: Likewise.
51988         * iconvdata/ibm1154.h: Likewise.
51989         * iconvdata/ibm1155.h: Likewise.
51990         * iconvdata/ibm1156.h: Likewise.
51991         * iconvdata/ibm1157.h: Likewise.
51992         * iconvdata/ibm1158.h: Likewise.
51993         * iconvdata/ibm1160.h: Likewise.
51994         * iconvdata/ibm1161.h: Likewise.
51995         * iconvdata/ibm1162.h: Likewise.
51996         * iconvdata/ibm1163.h: Likewise.
51997         * iconvdata/ibm1164.h: Likewise.
51998         * iconvdata/ibm1166.h: Likewise.
51999         * iconvdata/ibm1167.h: Likewise.
52000         * iconvdata/ibm12712.h: Likewise.
52001         * iconvdata/ibm1390.h: Likewise.
52002         * iconvdata/ibm1399.h: Likewise.
52003         * iconvdata/ibm16804.h: Likewise.
52004         * iconvdata/ibm4517.h: Likewise.
52005         * iconvdata/ibm4899.h: Likewise.
52006         * iconvdata/ibm4909.h: Likewise.
52007         * iconvdata/ibm4971.h: Likewise.
52008         * iconvdata/ibm5347.h: Likewise.
52009         * iconvdata/ibm803.h: Likewise.
52010         * iconvdata/ibm856.h: Likewise.
52011         * iconvdata/ibm901.h: Likewise.
52012         * iconvdata/ibm902.h: Likewise.
52013         * iconvdata/ibm9030.h: Likewise.
52014         * iconvdata/ibm9066.h: Likewise.
52015         * iconvdata/ibm921.h: Likewise.
52016         * iconvdata/ibm922.h: Likewise.
52017         * iconvdata/ibm9448.h: Likewise.
52018         * iconvdata/isiri-3342.h: Likewise.
52019         * iconvdata/jis0201.h: Likewise.
52020         * include/link.h: Likewise.
52021         * include/netdb.h: Likewise.
52022         * inet/check_native.c: Likewise.
52023         * inet/check_pf.c: Likewise.
52024         * inet/getipv4sourcefilter.c: Likewise.
52025         * inet/getnameinfo.c: Likewise.
52026         * inet/getsourcefilter.c: Likewise.
52027         * inet/htonl.c: Likewise.
52028         * inet/setipv4sourcefilter.c: Likewise.
52029         * inet/setsourcefilter.c: Likewise.
52030         * inet/test-inet6_opt.c: Likewise.
52031         * inet/tst-network.c: Likewise.
52032         * locale/C-collate.c: Likewise.
52033         * locale/C-ctype.c: Likewise.
52034         * locale/C-time.c: Likewise.
52035         * locale/C-translit.h: Likewise.
52036         * locale/loadarchive.c: Likewise.
52037         * locale/programs/3level.h: Likewise.
52038         * locale/programs/charmap.c: Likewise.
52039         * locale/programs/charmap.h: Likewise.
52040         * locale/programs/ld-address.c: Likewise.
52041         * locale/programs/ld-collate.c: Likewise.
52042         * locale/programs/ld-ctype.c: Likewise.
52043         * locale/programs/ld-identification.c: Likewise.
52044         * locale/programs/ld-measurement.c: Likewise.
52045         * locale/programs/ld-messages.c: Likewise.
52046         * locale/programs/ld-monetary.c: Likewise.
52047         * locale/programs/ld-name.c: Likewise.
52048         * locale/programs/ld-numeric.c: Likewise.
52049         * locale/programs/ld-paper.c: Likewise.
52050         * locale/programs/ld-telephone.c: Likewise.
52051         * locale/programs/ld-time.c: Likewise.
52052         * locale/programs/linereader.c: Likewise.
52053         * locale/programs/locale.c: Likewise.
52054         * locale/programs/locarchive.c: Likewise.
52055         * locale/programs/locfile.h: Likewise.
52056         * locale/programs/repertoire.c: Likewise.
52057         * locale/programs/simple-hash.c: Likewise.
52058         * locale/programs/simple-hash.h: Likewise.
52059         * malloc/memusage.c: Likewise.
52060         * malloc/memusagestat.c: Likewise.
52061         * nis/nis_defaults.c: Likewise.
52062         * nis/nis_hash.c: Likewise.
52063         * nis/nis_print.c: Likewise.
52064         * nis/nis_xdr.c: Likewise.
52065         * nscd/connections.c: Likewise.
52066         * nscd/hstcache.c: Likewise.
52067         * nscd/nscd_gethst_r.c: Likewise.
52068         * nscd/nscd_getserv_r.c: Likewise.
52069         * nscd/nscd_helper.c: Likewise.
52070         * nscd/servicescache.c: Likewise.
52071         * nss/makedb.c: Likewise.
52072         * nss/nss_db/db-XXX.c: Likewise.
52073         * nss/nss_db/db-initgroups.c: Likewise.
52074         * nss/nss_db/db-netgrp.c: Likewise.
52075         * nss/nss_files/files-network.c: Likewise.
52076         * nss/nss_files/files-parse.c: Likewise.
52077         * posix/bug-regex5.c: Likewise.
52078         * posix/fnmatch_loop.c: Likewise.
52079         * posix/regcomp.c: Likewise.
52080         * posix/regexec.c: Likewise.
52081         * posix/tst-rfc3484-2.c: Likewise.
52082         * posix/tst-rfc3484-3.c: Likewise.
52083         * posix/tst-rfc3484.c: Likewise.
52084         * resolv/nss_dns/dns-canon.c: Likewise.
52085         * resolv/nss_dns/dns-network.c: Likewise.
52086         * resolv/res_init.c: Likewise.
52087         * resolv/res_mkquery.c: Likewise.
52088         * resolv/tst-aton.c: Likewise.
52089         * stdlib/cxa_atexit.c: Likewise.
52090         * stdlib/cxa_finalize.c: Likewise.
52091         * stdlib/gen-fpioconst.c: Likewise.
52092         * stdlib/strtol_l.c: Likewise.
52093         * string/tst-endian.c: Likewise.
52094         * sunrpc/auth_des.c: Likewise.
52095         * sunrpc/clnt_udp.c: Likewise.
52096         * sunrpc/rtime.c: Likewise.
52097         * sunrpc/svcauth_des.c: Likewise.
52098         * sunrpc/xdr.c: Likewise.
52099         * sunrpc/xdr_intXX_t.c: Likewise.
52100         * sunrpc/xdr_rec.c: Likewise.
52101         * sysdeps/generic/ldconfig.h: Likewise.
52102         * sysdeps/generic/ldsodefs.h: Likewise.
52103         * sysdeps/generic/memusage.h: Likewise.
52104         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52105         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
52106         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
52107         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52108         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52110         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52111         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52112         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52113         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52114         * sysdeps/posix/getaddrinfo.c: Likewise.
52115         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52116         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52117         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52118         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52119         * sysdeps/powerpc/test-gettimebase.c: Likewise.
52120         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
52121         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
52122         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
52123         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
52124         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
52125         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52126         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52127         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
52128         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
52129         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
52130         * sysdeps/x86_64/dl-tls.h: Likewise.
52131         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
52132         * time/alt_digit.c: Likewise.
52133         * time/era.c: Likewise.
52134         * wcsmbs/tst-c16c32-1.c: Likewise.
52136 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52138         * math/libm-test.inc (struct test_sincos_data): New type.
52139         (RUN_TEST_LOOP_sincos): New macro.
52140         (sincos_test_data): New variable.
52141         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52143 2013-05-16  Richard Henderson  <rth@redhat.com>
52145         * math/atest-exp2.c (LIMB64): New macro.
52146         (CONSTSZ): New macro.
52147         (mp_exp1, mp_exp_m1, mp_log2): New variables.
52148         (hexdig): Move ...
52149         (print_mpn_fp): ... to function scope.
52150         (read_mpn_hex): Remove.
52151         (get_log2): Remove.
52152         (exp2_mpn): Use mp_log2.
52153         (main): Use mp_exp1.
52155 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52157         * math/libm-test.inc: Remove comment about not testing "inexact"
52158         exceptions.
52159         (INEXACT_EXCEPTION): New macro.
52160         (NO_INEXACT_EXCEPTION): Likewise.
52161         (INVALID_EXCEPTION_OK): Update value.
52162         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52163         (OVERFLOW_EXCEPTION_OK): Likewise.
52164         (UNDERFLOW_EXCEPTION_OK): Likewise.
52165         (IGNORE_ZERO_INF_SIGN): Likewise.
52166         (ERRNO_UNCHANGED): Likewise.
52167         (ERRNO_EDOM): Likewise.
52168         (ERRNO_ERANGE): Likewise.
52169         (test_exceptions): Handle testing "inexact" exceptions.
52170         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52171         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52172         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52173         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52174         INEXACT_EXCEPTION.
52175         (rint_towardzero_test_data): Likewise.
52176         (rint_downward_test_data): Likewise.
52177         (rint_upward_test_data): Likewise.
52179         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52180         with OVERFLOW_EXCEPTION.
52181         (exp10_test_data): Likewise.
52182         (exp2_test_data): Likewise.
52183         (expm1_test_data): Likewise.
52184         (lgamma_test_data): Likewise.
52185         (pow_test_data): Likewise.
52186         (tgamma_test_data): Likewise.
52187         (yn_test_data): Remove duplicate test of overflow.
52189         * math/libm-test.inc (struct test_cc_c_data): New type.
52190         (RUN_TEST_LOOP_cc_c): New macro.
52191         (cpow_test_data): New variable.
52192         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52194         * math/libm-test.inc (struct test_f_L_data): New type.
52195         (RUN_TEST_LOOP_f_L): New macro.
52196         (llrint_test_data): New variable.
52197         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52198         (llrint_tonearest_test_data): New variable.
52199         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52200         (llrint_towardzero_test_data): New variable.
52201         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52202         (llrint_downward_test_data): New variable.
52203         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52204         (llrint_upward_test_data): New variable.
52205         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52206         (llround_test_data): New variable.
52207         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52209 2013-05-13  Peter Collingbourne  <pcc@google.com>
52211         * math/atest-exp2.c (get_log2): Remove const attribute.
52213 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52215         * math/libm-test.inc (struct test_f_l_data): New type.
52216         (RUN_TEST_LOOP_f_l): New macro.
52217         (lrint_test_data): New variable.
52218         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52219         (lrint_tonearest_test_data): New variable.
52220         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52221         (lrint_towardzero_test_data): New variable.
52222         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52223         (lrint_downward_test_data): New variable.
52224         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52225         (lrint_upward_test_data): New variable.
52226         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52227         (lround_test_data): New variable.
52228         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52230 2013-05-15  Peter Collingbourne  <pcc@google.com>
52232         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52233         (EXTRACT_WORDS64) Use where appropriate.
52234         (INSERT_WORDS64) Likewise.
52236         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52237         constraints with x constraints.
52238         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52240         * malloc/obstack.c (_obstack_compat): Add initializer.
52242 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52244         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52245         si_trapno and add si_addr_lsb to _sifields.sigfault.
52246         (si_trapno): Remove macro.
52247         (si_addr_lsb): Define new macro.
52248         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52250 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52252         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52253         instead of TEST_f_l.
52254         (llrint_test_tonearest): Likewise.
52255         (llrint_test_towardzero): Likewise.
52256         (llrint_test_downward): Likewise.
52257         (llrint_test_upward): Likewise.
52258         (llround_test): Likewise.
52260         * math/libm-test.inc (struct test_f_i_data): Add comment.
52261         (RUN_TEST_LOOP_f_b): New macro.
52262         (RUN_TEST_LOOP_f_b_tg): Likewise.
52263         (finite_test_data): New variable.
52264         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52265         (isfinite_test_data): New variable.
52266         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52267         (isinf_test_data): New variable.
52268         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52269         (isnan_test_data): New variable.
52270         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52271         (isnormal_test_data): New variable.
52272         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52273         (issignaling_test_data): New variable.
52274         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52275         (signbit_test_data): New variable.
52276         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52278         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52279         with INVALID_EXCEPTION.
52280         (acosh_test_data): Likewise.
52281         (asin_test_data): Likewise.
52282         (atanh_test_data): Likewise.
52283         (fmod_test_data): Likewise.
52284         (log_test_data): Likewise.
52285         (log10_test_data): Likewise.
52286         (log2_test_data): Likewise.
52287         (pow_test_data): Likewise.
52288         (sqrt_test_data): Likewise.
52289         (y0_test_data): Likewise.
52290         (y1_test_data): Likewise.
52291         (yn_test_data): Likewise.
52293         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52294         function contents.
52296         * math/libm-test.inc (struct test_ff_i_data): New type.
52297         (RUN_TEST_LOOP_ff_i_tg): New macro.
52298         (isgreater_test_data): New variable.
52299         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52300         (isgreaterequal_test_data): New variable.
52301         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52302         (isless_test_data): New variable.
52303         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52304         (islessequal_test_data): New variable.
52305         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52306         (islessgreater_test_data): New variable.
52307         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52308         (isunordered_test_data): New variable.
52309         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52311 2013-05-14  David S. Miller  <davem@davemloft.net>
52313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52315 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52317         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52319         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52320         extra_test to int.
52321         (struct test_f_i_data): Change type of max_ulp to int.
52323         * math/libm-test.inc (test_ffI_f1_data): New type.
52324         (RUN_TEST_LOOP_ffI_f1): New macro.
52325         (remquo_test_data): New variable.
52326         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52328         * setjmp/tst-setjmp-fp.c: New file.
52329         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52330         (link-libm): New variable.
52331         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52333         * math/libm-test.inc (struct test_f_i_data): New type.
52334         (RUN_TEST_LOOP_f_i): New macro.
52335         (RUN_TEST_LOOP_f_i_tg): Likewise.
52336         (fpclassify_test_data): New variable.
52337         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52338         (ilogb_test_data): New variable.
52339         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52341         * math/libm-test.inc (scalbln_test): Correct function name in END
52342         call.
52344         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52345         (RUN_TEST_LOOP_fI_f1): New macro.
52346         (frexp_test_data): New variable.
52347         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52349         * math/libm-test.inc (struct test_fF_f1_data): New type.
52350         (RUN_TEST_LOOP_fF_f1): New macro.
52351         (modf_test_data): New variable.
52352         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52354         * math/libm-test.inc (struct test_f_f1_data): New type.
52355         (RUN_TEST_LOOP_f_f1): New macro.
52356         (gamma_test_data): New variable.
52357         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52358         (lgamma_test_data): New variable.
52359         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52361 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52363         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52364         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52365         (main): Comment "tls" pseudo-hwcap.
52367 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52369         * math/libm-test.inc (struct test_fl_f_data): New type.
52370         (RUN_TEST_LOOP_fl_f): New variable.
52371         (scalbln_test_data): New variable.
52372         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52374         * math/libm-test.inc (struct test_fi_f_data): New type.
52375         (RUN_TEST_LOOP_fi_f): New macro.
52376         (ldexp_test_data): New variable.
52377         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52378         (scalbn_test_data): New variable.
52379         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52381         * math/libm-test.inc (struct test_c_f_data): New type.
52382         (RUN_TEST_LOOP_c_f): New macro.
52383         (cabs_test_data): New variable.
52384         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52385         (carg_test_data): New variable.
52386         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52387         (cimag_test_data): New variable.
52388         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52389         (creal_test_data): New variable.
52390         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52392         * math/libm-test.inc (struct test_if_f_data): New type.
52393         (RUN_TEST_LOOP_if_f): New macro.
52394         (jn_test_data): New variable.
52395         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52396         (yn_test_data): New variable.
52397         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52399         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52401 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52403         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52404         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52406 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52408         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52409         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52410         (bench-deps): Add bench-timing.h.
52411         * benchtests-bench-skeleton.c: Include bench-timing.h.
52412         (main): Use TIMING_* macros instead of clock_gettime.
52413         * benchtests/bench-timing.h: New file.
52415         [BZ #14582]
52416         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52417         Renamed from _LIB_VERSION.
52418         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52420 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52422         * math/libm-test.inc (struct test_fff_f_data): New type.
52423         (RUN_TEST_LOOP_fff_f): New macro.
52424         (fma_test_data): New variable.
52425         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52426         (fma_towardzero_test_data): New variable.
52427         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52428         (fma_downward_test_data): New variable.
52429         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52430         (fma_upward_test_data): New variable.
52431         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52433         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52434         (struct test_c_c_data): New type.
52435         (RUN_TEST_LOOP_c_c): New macro.
52436         (cacos_test_data): New variable.
52437         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52438         (cacosh_test_data): New variable.
52439         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52440         (casin_test_data): New variable.
52441         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52442         (casinh_test_data): New variable.
52443         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52444         (catan_test_data): New variable.
52445         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52446         (catanh_test_data): New variable.
52447         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52448         (ccos_test_data): New variable.
52449         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52450         (ccosh_test_data): New variable.
52451         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52452         (cexp_test_data): New variable.
52453         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52454         (clog_test_data): New variable.
52455         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52456         (clog10_test_data): New variable.
52457         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52458         (conj_test_data): New variable.
52459         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52460         (cproj_test_data): New variable.
52461         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52462         (csin_test_data): New variable.
52463         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52464         (csinh_test_data): New variable.
52465         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52466         (csqrt_test_data): New variable.
52467         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52468         (ctan_test_data): New variable.
52469         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52470         (ctan_tonearest_test_data): New variable.
52471         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52472         (ctan_towardzero_test_data): New variable.
52473         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52474         (ctan_downward_test_data): New variable.
52475         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52476         (ctan_upward_test_data): New variable.
52477         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52478         (ctanh_test_data): New variable.
52479         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52480         (ctanh_tonearest_test_data): New variable.
52481         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52482         (ctanh_towardzero_test_data): New variable.
52483         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52484         (ctanh_downward_test_data): New variable.
52485         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52486         (ctanh_upward_test_data): New variable.
52487         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52488         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52489         of BUILD_COMPLEX.
52491         * math/libm-test.inc (struct test_ff_f_data): New type.
52492         (struct test_ff_f_data_nexttoward): Likewise.
52493         (RUN_TEST_LOOP_2_f): New macro.
52494         (RUN_TEST_LOOP_ff_f): Likewise.
52495         (atan2_test_data): New variable.
52496         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52497         (copysign_test_data): New variable.
52498         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52499         (fdim_test_data): New variable.
52500         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52501         (fmax_test_data): New variable.
52502         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52503         (fmin_test_data): New variable.
52504         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52505         (fmod_test_data): New variable.
52506         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52507         (hypot_test_data): New variable.
52508         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52509         (nextafter_test_data): New variable.
52510         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52511         (nexttoward_test_data): New variable.
52512         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52513         (pow_test_data): New variable.
52514         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52515         (pow_tonearest_test_data): New variable.
52516         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52517         (pow_towardzero_test_data): New variable.
52518         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52519         (pow_downward_test_data): New variable.
52520         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52521         (pow_upward_test_data): New variable.
52522         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52523         (remainder_test_data): New variable.
52524         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52525         (scalb_test_data): New variable.
52526         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52527         * sysdeps/i386/fpu/libm-test-ulps: Update.
52529 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52531         * math/libm-test.inc (fma_test): Use max_value instead of local
52532         variable fltmax.
52533         (nextafter_test): Likewise.
52535         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52536         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52537         (acos_downward_test_data): New variable.
52538         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52539         (acos_upward_test_data): New variable.
52540         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52541         (acosh_test_data): New variable.
52542         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52543         (asin_test_data): New variable.
52544         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52545         (asin_tonearest_test_data): New variable.
52546         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52547         (asin_towardzero_test_data): New variable.
52548         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52549         (asin_downward_test_data): New variable.
52550         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52551         (asin_upward_test_data): New variable.
52552         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52553         (asinh_test_data): New variable.
52554         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52555         (atan_test_data): New variable.
52556         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52557         (atanh_test_data): New variable.
52558         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52559         (cbrt_test_data): New variable.
52560         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52561         (ceil_test_data): New variable.
52562         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52563         (cos_test_data): New variable.
52564         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52565         (cos_tonearest_test_data): New variable.
52566         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52567         (cos_towardzero_test_data): New variable.
52568         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52569         (cos_downward_test_data): New variable.
52570         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52571         (cos_upward_test_data): New variable.
52572         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52573         (cosh_test_data): New variable.
52574         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52575         (cosh_tonearest_test_data): New variable.
52576         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52577         (cosh_towardzero_test_data): New variable.
52578         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52579         (cosh_downward_test_data): New variable.
52580         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52581         (cosh_upward_test_data): New variable.
52582         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52583         (erf_test_data): New variable.
52584         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52585         (erfc_test_data): New variable.
52586         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52587         (exp_test_data): New variable.
52588         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52589         (exp_tonearest_test_data): New variable.
52590         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52591         (exp_towardzero_test_data): New variable.
52592         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52593         (exp_downward_test_data): New variable.
52594         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52595         (exp_upward_test_data): New variable.
52596         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52597         (exp10_test_data): New variable.
52598         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52599         (exp2_test_data): New variable.
52600         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52601         (expm1_test_data): New variable.
52602         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52603         (fabs_test_data): New variable.
52604         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52605         (floor_test_data): New variable.
52606         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52607         (j0_test_data): New variable.
52608         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52609         (j1_test_data): New variable.
52610         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52611         (log_test_data): New variable.
52612         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52613         (log10_test_data): New variable.
52614         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52615         (log1p_test_data): New variable.
52616         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52617         (log2_test_data): New variable.
52618         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52619         (logb_test_data): New variable.
52620         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52621         (logb_downward_test_data): New variable.
52622         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52623         (nearbyint_test_data): New variable.
52624         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52625         (rint_test_data): New variable.
52626         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52627         (rint_tonearest_test_data): New variable.
52628         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52629         (rint_towardzero_test_data): New variable.
52630         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52631         (rint_downward_test_data): New variable.
52632         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52633         (rint_upward_test_data): New variable.
52634         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52635         (round_test_data): New variable.
52636         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52637         (sin_test_data): New variable.
52638         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52639         (sin_tonearest_test_data): New variable.
52640         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52641         (sin_towardzero_test_data): New variable.
52642         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52643         (sin_downward_test_data): New variable.
52644         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52645         (sin_upward_test_data): New variable.
52646         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52647         (sinh_test_data): New variable.
52648         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52649         (sinh_tonearest_test_data): New variable.
52650         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52651         (sinh_towardzero_test_data): New variable.
52652         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52653         (sinh_downward_test_data): New variable.
52654         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52655         (sinh_upward_test_data): New variable.
52656         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52657         (sqrt_test_data): New variable.
52658         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52659         (tan_test_data): New variable.
52660         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52661         (tan_tonearest_test_data): New variable.
52662         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52663         (tan_towardzero_test_data): New variable.
52664         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52665         (tan_downward_test_data): New variable.
52666         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52667         (tan_upward_test_data): New variable.
52668         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52669         (tanh_test_data): New variable.
52670         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52671         (tgamma_test_data): New variable.
52672         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52673         (trunc_test_data): New variable.
52674         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52675         (y0_test_data): New variable.
52676         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52677         (y1_test_data): New variable.
52678         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52679         (significand_test_data): New variable.
52680         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52682 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52684         [BZ #12387]
52685         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52687 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52689         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52691 2013-05-10  Andreas Jaeger  <aj@suse.de>
52693         [BZ #15448]
52694         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52695         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52697 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52699         * math/gen-libm-test.pl (adjust_arg): New function.
52700         (special_functions): Handle generating output in both functions
52701         and arrays.
52702         (parse_args): Likewise.
52703         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52704         $in_func argument to parse_args.
52705         * math/libm-test.inc (struct test_f_f_data): New type.
52706         (IF_ROUND_INIT_): New macro.
52707         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52708         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52709         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52710         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52711         (ROUND_RESTORE_): Likewise.
52712         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52713         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52714         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52715         (ROUND_RESTORE_FE_UPWARD): Likewise.
52716         (RUN_TEST_LOOP_f_f): New macro.
52717         (acos_test_data): New variable.
52718         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52719         (acos_tonearest_test_data): New variable.
52720         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52722 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52724         * benchtests/bench-skeleton.c (startup): Fix coding style.
52726 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52728         [BZ #6809]
52729         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52730         negative infinity argument.
52731         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52732         negative infinity argument.
52733         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52734         negative infinity argument.
52735         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52736         domain errors.
52738 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52740         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52741         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52742         * iconv/iconv_prog.c (main): Likewise.
52743         * locale/programs/charmap-dir.c (charmap_readdir)
52744         (fopen_uncompressed): Likewise.
52745         * locale/programs/locfile.c (siblings_uncached)
52746         (write_locale_data): Use lstat64 instead of lstat.
52747         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52748         stat.
52750 2013-05-10  Andreas Jaeger  <aj@suse.de>
52752         [BZ #15395]
52753         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52754         localization.
52755         Include <locale.h>.
52757 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52759         * elf/dl-close.c (_dl_close_worker): Add comments.
52761 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52763         [BZ #15359]
52764         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52765         high part of pi/2.
52766         (__ieee754_rem_pio2l): Update comments.
52768         [BZ #15429]
52769         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52770         high part of pi/2.
52771         (__ieee754_rem_pio2l): Update comments.
52773         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52774         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52776         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52777         M_PI_4l.
52779         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52780         (M_PI_34_LOG10El): Likewise.
52781         (M_PI2_LOG10El): Likewise.
52782         (M_PI4_LOG10El): Likewise.
52783         (M_PI_LOG10El): Likewise.
52785 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52789 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52791         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52792         (MINUS_ZERO_INIT): Likewise.
52793         (PLUS_INFTY_INIT): Likewise.
52794         (MINUS_INFTY_INIT): Likewise.
52795         (QNAN_VALUE_INIT): Likewise.
52796         (MAX_VALUE_INIT): Likewise.
52797         (MIN_VALUE_INIT): Likewise.
52798         (MIN_SUBNORM_VALUE_INIT): Likewise.
52799         (plus_zero): Initialize with PLUS_ZERO_INIT.
52800         (minus_zero): Initialize with MINUS_ZERO_INIT.
52801         (plus_infty): Initialize with PLUS_INFTY_INIT.
52802         (minus_infty): Initialize with MINUS_INFTY_INIT.
52803         (qnan_value): Initialize with QNAN_VALUE_INIT.
52804         (max_value): Initialize with MAX_VALUE_INIT.
52805         (min_value): Initialize with MIN_VALUE_INIT.
52806         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52808         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52809         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52810         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52811         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52813         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52814         (RUN_TEST_2_f): Likewise.
52815         (RUN_TEST_ff_f): Likewise.
52816         (RUN_TEST_fi_f): Likewise.
52817         (RUN_TEST_fl_f): Likewise.
52818         (RUN_TEST_fff_f): Likewise.
52819         (RUN_TEST_c_f): Likewise.
52820         (RUN_TEST_f_f1): Likewise.
52821         (RUN_TEST_fF_f1): Likewise.
52822         (RUN_TEST_fI_f1): Likewise.
52823         (RUN_TEST_ffI_f1): Likewise.
52824         (RUN_TEST_c_c): Likewise.
52825         (RUN_TEST_cc_c): Likewise.
52826         (RUN_TEST_f_i): Likewise.
52827         (RUN_TEST_f_i_tg): Likewise.
52828         (RUN_TEST_ff_i_tg): Likewise.
52829         (RUN_TEST_f_b): Likewise.
52830         (RUN_TEST_f_b_tg): Likewise.
52831         (RUN_TEST_f_l): Likewise.
52832         (RUN_TEST_f_L): Likewise.
52833         (RUN_TEST_sincos): Likewise.
52834         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52835         whether to show exceptions.  Do not include ");\n" in return
52836         value.
52837         (special_functions): Output call to RUN_TEST_sincos instead of
52838         check_float calls.  Update calls to new_test.
52839         (parse_args): Output call to single RUN_TEST_* macro instead of
52840         check_* calls and other assignments.  Update calls to new_test.
52842         [BZ #2546]
52843         [BZ #2560]
52844         [BZ #5159]
52845         [BZ #15426]
52846         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52847         input to result for tgamma overflow.
52848         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52849         (gamma_coeff): New variable.
52850         (NCOEFF): New macro.
52851         (gamma_positive): New function.
52852         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52853         underflow here.  Use gamma_positive instead of exp (lgamma) for
52854         other arguments.
52855         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52856         (gamma_coeff): New variable.
52857         (NCOEFF): New macro.
52858         (gammaf_positive): New function.
52859         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52860         underflow here.  Use gamma_positive instead of exp (lgamma) for
52861         other arguments.
52862         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52863         (gamma_coeff): New variable.
52864         (NCOEFF): New macro.
52865         (gammal_positive): New function.
52866         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52867         underflow here.  Use gamma_positive instead of exp (lgamma) for
52868         other arguments.
52869         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52870         (gamma_coeff): New variable.
52871         (NCOEFF): New macro.
52872         (gammal_positive): New function.
52873         (__ieee754_gammal_r): Handle positive infinity, overflow and
52874         underflow here.  Handle NaN the same as positive infinity.  Remove
52875         check x < 0xffffffff for negative integers.  Use gamma_positive
52876         instead of exp (lgamma) for other arguments.
52877         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52878         (gamma_coeff): New variable.
52879         (NCOEFF): New macro.
52880         (gammal_positive): New function.
52881         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52882         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52883         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52884         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52885         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52886         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52887         * sysdeps/generic/math_private.h (__gamma_productf): New
52888         prototype.
52889         (__gamma_product): Likewise.
52890         (__gamma_productl): Likewise.
52891         * math/Makefile (libm-calls): Add gamma_product.
52892         * math/libm-test.inc (tgamma_test): Add more tests.
52893         * sysdeps/i386/fpu/libm-test-ulps: Update.
52894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52896 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52898         * benchtests/bench-skeleton.c (main): Preheat CPU.
52900 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52902         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52904 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52906         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52907         and _dl_skip_args_internal.
52909 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52911         * manual/message.texi (Message Translation): Talk about users.
52912         Message to key mapping impacts design.
52914 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52916         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52918         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52920         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52921         * sysdeps/wordsize-64/glob64.c: ... here.
52923         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52924         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52925         New macros.
52927         * debug/getlogin_r_chk.c: Moved to ...
52928         * login/getlogin_r_chk.c: ... here.
52929         * debug/Makefile (routines): Move getlogin_r_chk to ...
52930         * login/Makefile (routines): ... here.
52931         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52932         * login/Versions (libc: GLIBC_2.4): ... here.
52934         * io/poll.c (__poll): Renamed from poll.
52935         Add libc_hidden_def.
52936         (poll): Define as weak alias.
52938         * debug/ptsname_r_chk.c: Moved to ...
52939         * login/ptsname_r_chk.c: ... here.
52940         * debug/Makefile (routines): Move ptsname_r_chk to ...
52941         * login/Makefile (routines): ... here.
52942         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52943         * login/Versions (libc: GLIBC_2.4): ... here.
52945         * posix/getlogin.c: Moved to ...
52946         * login/getlogin.c: ... here.
52947         * posix/getlogin_r.c: Moved to ...
52948         * login/getlogin_r.c: ... here.
52949         * posix/getlogin_r.c: Moved to ...
52950         * login/getlogin_r.c: ... here.
52951         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52952         * login/Makefile (routines): ... here.
52953         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52954         * login/Versions (libc: GLIBC_2.0): ... here.
52956         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52957         (setrlimit): Define as weak alias.
52959         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52960         Call __ names for open, ftruncate, and close.
52961         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52962         (truncate): Define as weak alias.
52964 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52966         * math/gen-libm-test.pl (parse_args): Initialize x before each
52967         test of frexp, modf and remquo.
52969         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52970         test signgam value.
52972 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52974         [BZ #15418]
52975         [BZ #15419]
52976         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52977         internal tests.
52978         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52980 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52982         * elf/dl-writev.h: New file.
52983         * elf/dl-misc.c: Include it.
52984         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52985         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52987 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52989         * math/libm-test.inc (noXFails): Remove variable.
52990         (noXPasses): Likewise.
52991         (BUILD_COMPLEX_INT): Remove macro.
52992         (print_screen): Remove xfail argument.
52993         (print_screen_max_error): Likewise.
52994         (update_stats): Likewise.
52995         (print_max_error): Likewise.  Update calls to other affected
52996         functions.
52997         (print_complex_max_error): Likewise.
52998         (test_single_exception): Update calls to print_screen.
52999         (test_single_errno): Likewise.
53000         (check_float_internal): Remove xfail argument.  Update calls to
53001         other affected functions.
53002         (check_float): Likewise.
53003         (check_complex): Likewise.
53004         (check_int): Likewise.
53005         (check_long): Likewise.
53006         (check_bool): Likewise.
53007         (check_longlong): Likewise.
53008         (main): Don't print noXFails and noXPasses.
53009         * math/gen-libm-test.pl (top level): Don't mention expected
53010         failure handling in comment.
53011         (new_test): Don't handle expected failures.
53012         (parse_args): Don't mention expected failure handling in comment.
53013         (generate_testfile): Don't handle expected failures.
53014         (parse_ulps): Likewise.
53015         (print_ulps_file): Likewise.
53016         (get_failure): Remove function.
53017         (output_test): Don't handle expected failures.
53018         * make/README.libm-test: Don't mention expected failure handling.
53020         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
53021         (minus_zero): Likewise.
53022         (plus_infty): Likewise.
53023         (minus_infty): Likewise.
53024         (qnan_value): Likewise.
53025         (max_value): Likewise.
53026         (min_value): Likewise.
53027         (min_subnorm_value): Likewise.
53028         (initialize): Do not initialize those variables dynamically.
53030 2013-05-03  Roland McGrath  <roland@hack.frob.com>
53032         * io/open.c (__open_2): Moved to ...
53033         * io/open_2.c: ... this new file.
53034         * io/open64.c (__open64_2): Moved to ...
53035         * io/open64_2.c: ... this new file.
53036         * io/openat.c (__openat_2): Moved to ...
53037         * io/openat_2.c: ... this new file.
53038         * io/openat64.c (__openat64_2): Moved to ...
53039         * io/openat64_2.c: ... this new file.
53040         * io/Makefile (routines): Add them.
53041         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
53042         * sysdeps/unix/sysv/linux/open_2.c: File removed.
53043         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
53044         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
53045         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
53046         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
53047         (__openat64): Add hidden_ver.
53048         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
53049         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
53051         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
53052         Separately conditionalize setting of GLRO(dl_sysinfo) so
53053         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
53054         as well, but the actual setting is only under [NEED_DL_SYSINFO].
53056 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53058         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
53059         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
53060         definition.
53061         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
53062         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53063         (_libc_vdso_platform_setup): Add __vdso_time initialization.
53064         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
53065         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
53067 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
53069         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
53070         test signgam value.
53072         * math/libm-test.inc (hypot_test): Do not use
53073         IGNORE_ZERO_INF_SIGN.
53075 2013-05-03  Andreas Jaeger  <aj@suse.de>
53077         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
53078         Linux 3.9.
53079         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
53080         (PF_MAX): Adjust for VSOCK change.
53082 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53086 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
53088         [BZ #15264]
53089         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
53090         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
53091         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
53093 2013-05-02  David S. Miller  <davem@davemloft.net>
53095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53097 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
53099         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
53101 2013-05-01  Roland McGrath  <roland@hack.frob.com>
53103         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
53105 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
53107         [BZ #14952]
53108         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
53109         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53110         Use __attribute__ ((__gnu_inline__)).
53111         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53112         Don't use __attribute__ ((__gnu_inline__)).
53114 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
53116         [BZ #15423]
53117         * math/s_catan.c (__catan): Handle small real or imaginary part of
53118         input specially to avoid spurious underflow.
53119         * math/s_catanf.c (__catanf): Likewise.
53120         * math/s_catanh.c (__catanh): Likewise.
53121         * math/s_catanhf.c (__catanhf): Likewise.
53122         * math/s_catanhl.c (__catanhl): Likewise.
53123         * math/s_catanl.c (__catanl): Likewise.
53124         * math/libm-test.inc (catan_test): Add more tests.
53125         (catanh_test): Likewise.
53126         * sysdeps/i386/fpu/libm-test-ulps: Update.
53127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53129 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53133 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53135         [BZ #15416]
53136         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
53137         accurately for denominator in atan2.
53138         * math/s_catanf.c (__catanf): Likewise.
53139         * math/s_catanh.c (__catanh): Likewise.
53140         * math/s_catanhf.c (__catanhf): Likewise.
53141         * math/s_catanhl.c (__catanhl): Likewise.
53142         * math/s_catanl.c (__catanl): Likewise.
53143         * math/libm-test.inc (catan_test): Add more tests.
53144         (catanh_test): Likewise.
53145         * sysdeps/i386/fpu/libm-test-ulps: Update.
53146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53148 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53150         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53152         * benchtests/Makefile (bench): Remove slow benchmarks.
53153         * benchtests/atan-inputs: Add slow benchmark inputs.
53154         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53155         (BENCH_FUNC): Accept variant offset.
53156         (VARIANT): Define.
53157         * benchtests/bench-skeleton.c (main): Run benchmark for each
53158         variant.
53159         * benchtests/cos-inputs: Add slow benchmark inputs.
53160         * benchtests/exp-inputs: Likewise.
53161         * benchtests/pow-inputs: Likewise.
53162         * benchtests/sin-inputs: Likewise.
53163         * benchtests/slowatan-inputs: Remove.
53164         * benchtests/slowatan.c: Remove.
53165         * benchtests/slowcos-inputs: Remove.
53166         * benchtests/slowcos.c: Remove.
53167         * benchtests/slowexp-inputs: Remove.
53168         * benchtests/slowexp.c: Remove.
53169         * benchtests/slowpow-inputs: Remove.
53170         * benchtests/slowpow.c: Remove.
53171         * benchtests/slowsin-inputs: Remove.
53172         * benchtests/slowsin.c: Remove.
53173         * benchtests/slowtan-inputs: Remove.
53174         * benchtests/slowtan.c: Remove.
53175         * benchtests/tan-inputs: Add slow benchmark inputs.
53176         * scripts/bench.pl: Parse comments and directives.
53178         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53179         in CPPFLAGS.
53180         ($(objpfx)bench-%.c): Remove *-ITER.
53181         * benchtests/bench-modf.c: Remove definition of ITER.
53182         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53183         (main): Loop for DURATION seconds instead of fixed number of
53184         iterations.
53185         * scripts/bench.pl: Don't expect iterations in parameters.
53187 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53189         * io/fchdir.c (__fchdir): Renamed from fchdir.
53190         (fchdir): Define as weak alias.
53192 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53194         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53195         (ERRNO_EDOM): Likewise.
53196         (ERRNO_ERANGE): Likewise.
53197         (noErrnoTests): New variable.
53198         (init_max_error): Set errno to 0.
53199         (test_single_errno): New function.
53200         (test_errno): Likewise.
53201         (check_float_internal): Call test_errno.  Set errno to 0.
53202         (check_complex): Refer to errno tests in comment.
53203         (check_int): Call test_errno.  Set errno to 0.
53204         (check_long): Likewise.
53205         (check_bool): Likewise.
53206         (check_longlong): Likewise.
53207         (cos_test): Use ERRNO_* flags for errno tests instead of
53208         check_int.
53209         (expm1_test): Likewise.
53210         (fmod_test): Likewise.
53211         (ilogb_test): Likewise.
53212         (lgamma_test): Likewise.
53213         (pow_test): Likewise.
53214         (remainder_test): Likewise.
53215         (sin_test): Likewise.
53216         (tan_test): Likewise.
53217         (yn_test): Likewise.
53218         (initialize): Set errno to 0.
53219         (main): Print number of errno tests.
53220         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53222 2013-04-29  Andreas Jaeger  <aj@suse.de>
53224         [BZ #15084]
53225         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53226         and RES_USEVC.
53228         [BZ #15085]
53229         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53230         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53231         unimplemented.
53233         [BZ #15380]
53234         * stdlib/random.c (__initstate): Return NULL if
53235         __initstate fails.
53237         [BZ #15086]
53238         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53239         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53240         RES_SNGLKUPREOP.
53242 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53246 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53248         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53249         of individual tests.
53250         (casin_test): Likewise.
53251         (casinh_test): Likewise.
53253 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53255         [BZ #15409]
53256         * math/s_catan.c (__catan): Handle arguments with large real or
53257         imaginary part separately without squaring.
53258         * math/s_catanf.c (__catanf): Likewise.
53259         * math/s_catanh.c (__catanh): Likewise.
53260         * math/s_catanhf.c (__catanhf): Likewise.
53261         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53262         and redefine.
53263         (__catanhl): Handle arguments with large real or imaginary part
53264         separately without squaring.
53265         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53266         and redefine.
53267         (__catanl): Handle arguments with large real or imaginary part
53268         separately without squaring.
53269         * math/libm-test.inc (catan_test): Add more tests.
53270         (catanh_test): Likewise.
53271         * sysdeps/i386/fpu/libm-test-ulps: Update.
53272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53274 2013-04-27  Andreas Jaeger  <aj@suse.de>
53276         [BZ #15007]
53277         * stdlib/stdlib.h: Update guards for qecvt.
53278         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53279         <stdlib.h>.
53281 2013-04-27  Allan McRae  <allan@archlinux.org>
53283         * sysdeps/i386/fpu/libm-test-ulps: Update.
53285 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53287         [BZ #15406]
53288         * math/s_catan.c: Include <float.h>.
53289         (__catan): Ensure underflow exception occurs for underflowed
53290         result.
53291         * math/s_catanf.c: Include <float.h>.
53292         (__catanf): Ensure underflow exception occurs for underflowed
53293         result.
53294         * math/s_catanh.c: Include <float.h>.
53295         (__catanh): Ensure underflow exception occurs for underflowed
53296         result.
53297         * math/s_catanhf.c: Include <float.h>.
53298         (__catanhf): Ensure underflow exception occurs for underflowed
53299         result.
53300         * math/s_catanhl.c: Include <float.h>.
53301         (__catanhl): Ensure underflow exception occurs for underflowed
53302         result.
53303         * math/s_catanl.c: Include <float.h>.
53304         (__catanl): Ensure underflow exception occurs for underflowed
53305         result.
53306         * math/libm-test.inc (catan_test): Add more tests.
53307         (catanh_test): Likewise.
53309         [BZ #15405]
53310         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53311         underflowed result.
53312         * math/s_ccoshf.c (__ccoshf): Likewise.
53313         * math/s_ccoshl.c (__ccoshl): Likewise.
53314         * math/s_csin.c (__csin): Likewise.
53315         * math/s_csinf.c (__csinf): Likewise.
53316         * math/s_csinh.c (__csinh): Likewise.
53317         * math/s_csinhf.c (__csinhf): Likewise.
53318         * math/s_csinhl.c (__csinhl): Likewise.
53319         * math/s_csinl.c (__csinl): Likewise.
53320         * math/libm-test.inc (ccos_test): Add more tests.
53321         (ccosh_test): Likewise.
53322         (csin_test): Likewise.
53323         (csinh_test): Likewise.
53325 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53327         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53328         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53329         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53330         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53331         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53332         powerpc/power5+/fpu folders.
53333         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53336 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53340 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53342         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53343         additions to variable.
53344         [$(config-machine) = x86_64] (modules-names): Likewise.
53345         ($(objpfx)tst-audit3): Remove dependency.
53346         ($(objpfx)tst-audit3.out): Likewise.
53347         ($(objpfx)tst-audit4): Likewise.
53348         ($(objpfx)tst-audit4.out): Likewise.
53349         ($(objpfx)tst-audit5): Likewise.
53350         ($(objpfx)tst-audit5.out): Likewise.
53351         ($(objpfx)tst-audit6): Likewise.
53352         ($(objpfx)tst-audit6.out): Likewise.
53353         ($(objpfx)tst-audit7): Likewise.
53354         ($(objpfx)tst-audit7.out): Likewise.
53355         (tst-audit3-ENV): Remove variable.
53356         (tst-audit4-ENV): Likewise.
53357         (tst-audit5-ENV): Likewise.
53358         (tst-audit6-ENV): Likewise.
53359         (tst-audit7-ENV): Likewise.
53360         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53361         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53362         addition to variable.
53363         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53364         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53365         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53366         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53367         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53368         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53369         tst-audit3, tst-audit4 and tst-audit5.
53370         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53371         tst-audit6 and tst-audit7.
53372         [$(subdir) = elf] (modules-names): Add audit modules for those
53373         tests.
53374         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53375         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53376         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53377         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53378         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53379         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53380         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53381         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53382         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53383         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53384         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53385         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53386         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53387         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53388         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53389         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53390         Likewise.
53391         [$(subdir) = elf && $(config-cflags-avx) = yes]
53392         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53393         [$(subdir) = elf && $(config-cflags-avx) = yes]
53394         (CFLAGS-tst-auditmod4a.c): Likewise.
53395         [$(subdir) = elf && $(config-cflags-avx) = yes]
53396         (CFLAGS-tst-auditmod4b.c): Likewise.
53397         [$(subdir) = elf && $(config-cflags-avx) = yes]
53398         (CFLAGS-tst-auditmod6b.c): Likewise.
53399         [$(subdir) = elf && $(config-cflags-avx) = yes]
53400         (CFLAGS-tst-auditmod6c.c): Likewise.
53401         [$(subdir) = elf && $(config-cflags-avx) = yes]
53402         (CFLAGS-tst-auditmod7b.c): Likewise.
53403         * elf/tst-audit3.c: Move to ...
53404         * sysdeps/x86_64/tst-audit3.c: ... here.
53405         * elf/tst-audit4.c: Move to ...
53406         * sysdeps/x86_64/tst-audit4.c: ... here.
53407         * elf/tst-audit5.c: Move to ...
53408         * sysdeps/x86_64/tst-audit5.c: ... here.
53409         * elf/tst-audit6.c: Move to ...
53410         * sysdeps/x86_64/tst-audit6.c: ... here.
53411         * elf/tst-audit7.c: Move to ...
53412         * sysdeps/x86_64/tst-audit7.c: ... here.
53413         * elf/tst-auditmod3a.c: Move to ...
53414         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53415         * elf/tst-auditmod3b.c: Move to ...
53416         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53417         * elf/tst-auditmod4a.c: Move to ...
53418         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53419         * elf/tst-auditmod4b.c: Move to ...
53420         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53421         * elf/tst-auditmod5a.c: Move to ...
53422         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53423         * elf/tst-auditmod5b.c: Move to ...
53424         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53425         * elf/tst-auditmod6a.c: Move to ...
53426         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53427         * elf/tst-auditmod6b.c: Move to ...
53428         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53429         * elf/tst-auditmod6c.c: Move to ...
53430         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53431         * elf/tst-auditmod7a.c: Move to ...
53432         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53433         * elf/tst-auditmod7b.c: Move to ...
53434         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53436 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53438         [BZ #15366]
53439         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53440         define unconditionally.
53441         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53442         define unconditionally.
53443         (INT8_C, INT16_C, etc.): Likewise.
53445 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53447         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53448         __ehdr_start with hidden visibility.
53450         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53452 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53454         * math/libm-test.inc (cos_test): Use accurate hex constants.
53455         (sincost_test): Likewise.
53457 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53459         * math/libm-test.inc (catan_test): Add more tests.
53460         (catanh_test): Likewise.
53462         * math/s_catanf.c (__catanf): Use suffixed floating-point
53463         constants.
53464         * math/s_catanhf.c (__catanhf): Likewise.
53465         * math/s_catanhl.c (__catanhl): Likewise.
53466         * math/s_catanl.c (__catanl): Likewise.
53468         [BZ #15394]
53469         * math/s_catan.c (__catan): Calculate imaginary part of result
53470         with log1p not log unless computing log of number close to 0.
53471         * math/s_catanf.c (__catanf): Likewise.
53472         * math/s_catanl.c (__catanl): Likewise.
53473         * math/s_catanh.c (__catanh): Calculate real part of result with
53474         log1p not log unless computing log of number close to 0.
53475         * math/s_catanhf.c (__catanhf): Likewise.
53476         * math/s_catanhl.c (__catanhl): Likewise.
53477         * math/libm-test.inc (catan_test): Add more tests.
53478         (catanh_test): Likewise.
53479         * sysdeps/i386/fpu/libm-test-ulps: Update.
53480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53482 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53484         * benchtests/Makefile: Mention files in which fast and slow
53485         paths of math functions are implemented.
53487 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53489         * sysdeps/posix/timespec_get.c: New file.
53491 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53493         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53494         POWER.
53495         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53496         for POWER.
53497         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53498         powerpc/power5/fpu folders.
53499         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53500         * benchtests/Makefile: Add modf testcase.
53501         * benchtests/bench-modf.c: New file: Benchmark test for mo
53503 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53505         [BZ #14888]
53506         * time/Makefile (tests): Add tst-strptime-whitespace.
53507         * time/strptime_l.c (get_number): Use ISSPACE.
53508         (__strptime_internal): Likewise.
53509         * time/tst-strptime-whitespace.c: New test case.
53511 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53513         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53514         member.
53515         (_nss_files_init): Set it here.
53517 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53519         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53520         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53521         unsigned.
53523 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53525         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53527 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53529         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53530         size just once.
53532 2013-04-21  David S. Miller  <davem@davemloft.net>
53534         * po/ru.po: Update Russion translation from translation project.
53536 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53538         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53539         and setfsgid.
53541 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53543         * configure.in: Remove i386 configure warning. Remove i386 case.
53544         * configure: Regenerate.
53545         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53546         Add example to error message.
53547         * sysdeps/i386/configure: Regenerate.
53549 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53551         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53552         slowtan.
53553         * benchtests/cos-inputs: New file.
53554         * benchtests/slowcos-inputs: New file.
53555         * benchtests/slowcos.c: New file.
53556         * benchtests/slowtan-inputs: New file.
53557         * benchtests/slowtan.c: New file.
53558         * benchtests/tan-inputs: New file.
53560 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53562         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53563         considered kosher.
53565 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53567         * benchtests/Makefile: Include cppflags-iterator.mk to add
53568         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53570         * Makefile.in (bench-clean): New target.
53571         * benchtests/Makefile (bench-clean): Likewise.
53573 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53575         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53577 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53579         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53581 2013-04-15  Andreas Schwab  <schwab@suse.de>
53583         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53584         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53585         * nscd/pwdcache.c (cache_addpw): Likewise.
53586         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53587         more than recsize.
53589 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53591         * benchtests/Makefile (bench): Write all output to
53592         bench-out.tmp together.
53594 2013-04-15  Andreas Schwab  <schwab@suse.de>
53596         * nscd/nscd.c (main): Don't fork again after closing files.
53598 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53600         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53602         * benchtests/Rules (bench-deps): Collect dependencies into a
53603         single variable.  Add Makefile to dependencies.
53604         ($(objpfx)bench-%.c): Depend on bench-deps.
53606 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53607             Xavier Roche  <roche+kml2@exalead.com>
53609         [BZ #15361]
53610         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53611         just that it's a file descriptor.
53612         * manual/llio.texi (Synchronizing AIO Operations): Update description
53613         for EBADF error from aio_fsync.
53615 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53617         * Rules (bench): Move target definition...
53618         * benchtests/Makefile: ... here.
53620 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53622         * math/libm-test.inc (cos_test): Fix PI/2 test.
53623         (sincos_test): Likewise.
53624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53625         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53627 2013-04-11  Andreas Schwab  <schwab@suse.de>
53629         [BZ #13988]
53630         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53631         accept exponent character only when digits were seen.
53632         * stdio-common/Makefile (tests): Add bug26.
53633         * stdio-common/bug26.c: New file.
53635         [BZ #14293]
53636         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53637         non-freeable.
53639 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53641         * Makeconfig (rtld-prefix): Define built linker prefix.
53642         * Rules (run-bench): Use it.
53643         * math/Makefile (run-regen-ulps): Likewise.
53645         * Rules (bench): Remove eval.
53647 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53648             Roland McGrath  <roland@hack.frob.com>
53649             Ondrej Bilka  <neleai@seznam.cz>
53651         [BZ #15346]
53652         * time/getdate.c: Include ctype.h and alloca.h.
53653         (__getdate_r): Trim leading and trailing spaces of input.
53654         * time/tst-getdate.c (tests): Add tests with leading and
53655         trailing spaces.
53657 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53659         [BZ #14280]
53660         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53661         when computing value.
53663 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53665         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53666         Use testrun.sh to run libm tests.
53668         [BZ #15309]
53669         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53671 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53673         [BZ #15264]
53674         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53676 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53678         * Makefile.in (regen-ulps): New target.
53679         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53680         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53681         [ifneq (no,$(PERL)] (regen-ulps): New target.
53682         [ifeq (no,$(PERL)] (regen-ulps): New target.
53683         * math/libm-test.inc (ulps_file_name): Define.
53684         (output_dir): New variable.
53685         (options): Add "output-dir" option.
53686         (parse_opt): Handle 'o' case.
53687         (main): If output_dir is non-NULL use it as a prefix
53688         otherwise use "".
53689         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53691 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53693         [BZ #10060, #10062]
53694         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53695         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53696         fail configure if __sync_val_compare_and_swap is not inlined.
53697         * sysdeps/i386/configure: Regenerate.
53698         * configure.in: Build for i686 when configured for i386.
53699         * configure: Regenerate.
53700         * README: Remove i386 reference.
53702 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53704         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53705         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53707 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53709         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53710         (lmsnanval): New variables.
53711         (F): Add conversion tests.
53712         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53713         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53715         * stdio-common/tstdiomisc.c (F): Properly collect individual
53716         tests' results.
53718         [BZ #14686, #15336]
53719         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53720         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53721         Instead, use input NaN values or generate a qNaN by arithmetic
53722         operation.  Also fix bugs to comply with the standard.
53723         * math/libm-test.inc (remainder_test): Add more tests.
53725         [BZ #15335, #15342]
53726         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53727         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53728         input NaN values or generate a qNaN by arithmetic operation.
53730         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53731         unreachable code.
53733         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53734         definitions.
53736 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53738         [BZ #14478]
53739         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53740         underflowed result.
53741         * math/s_cexpf.c (__cexpf): Likewise.
53742         * math/s_cexpl.c (__cexpl): Likewise.
53743         * math/libm-test.inc (cexp_test): Add more tests.
53745 2013-04-03  Andreas Schwab  <schwab@suse.de>
53747         [BZ #15330]
53748         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53749         order arrays from heap if bigger than alloca cutoff.
53751 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53753         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53754         (SNAN_TESTS_double): Refer to GCC PR56831.
53755         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53756         GCC PR56828.
53758 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53760         * Rules (bench): Move bench.out after the run is complete.
53762         * Rules (bench): Echo currently running benchmark.
53764         * benchtests/Makefile (bench): Add atan and slowatan.
53765         * benchtests/atan-inputs: New file.
53766         * benchtests/slowatan-inputs: New file.
53767         * benchtests/slowatan.c: New file.
53769         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53770         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53771         its value.
53773         [BZ #15305]
53774         * sysdeps/unix/sysv/linux/kernel-features.h
53775         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53776         __ASSUME_XFS_RESTRICTED_CHOWN.
53777         * sysdeps/unix/sysv/linux/pathconf.c
53778         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53779         Save and restore errno.
53781 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53783         [BZ #15327]
53784         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53785         arguments using __kernel_casinh.
53786         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53787         arguments using __kernel_casinhf.
53788         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53789         arguments using __kernel_casinhl.
53790         * math/libm-test.inc (cacosh_test): Add more tests.
53791         * sysdeps/i386/fpu/libm-test-ulps: Update.
53792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53794 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53796         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53799         * bench/Makefile (bench): Add sin and slowsin.
53800         * benchtests/sin-inputs: New file.
53801         * benchtests/slowsin-inputs: New file.
53802         * benchtests/slowsin.c: New file.
53804         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53805         (bench): Add slowexp and slowpow.
53806         (exp-ITER): Increase iterations.
53807         (pow-ITER): Likewise.
53808         * benchtests/exp-inputs: Change input.
53809         * benchtests/pow-inputs: Likewise.
53810         * benchtests/slowexp-inputs: New file.
53811         * benchtests/slowexp.c: New file.
53812         * benchtests/slowpow-inputs: New file.
53813         * benchtests/slowpow.c: New file.
53815 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53817         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53818         instructions.
53819         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53820         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53821         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53822         * benchtests/Makefile: Add rint benchtest.
53823         * benchtests/rint-inputs: Input for rint benchtest.
53825 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53827         * Versions.def (libm): Add GLIBC_2.18.
53828         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53829         hidden libm prototypes.
53830         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53831         * math/Makefile (libm-calls): Add s_issignaling.
53832         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53833         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53834         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53835         declaration.
53836         * math/math.h [__USE_GNU] (issignaling): New macro.
53837         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53838         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53839         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53840         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53841         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53842         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53843         * manual/arith.texi (issignaling): New section.
53844         * manual/libm-err-tab.pl (@all_functions): Update comment.
53845         * math/gen-libm-test.pl (parse_args): Apply special handling for
53846         issignaling.
53847         * math/libm-test.inc (print_float, issignaling_test): New
53848         functions.
53849         (check_float_internal): Add issignaling checks.
53850         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53851         default definition.
53852         * sysdeps/powerpc/math-tests.h: New file.
53853         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53854         tests.
53855         * math/test-snan.c (TEST_FUNC): Likewise.
53857 2013-03-30  David S. Miller  <davem@davemloft.net>
53859         * po/de.po: Update from translation team.
53861 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53863         [BZ #10357]
53864         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53865         imaginary part less than 1.0 and real part less than 0.5
53866         specially.
53867         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53868         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53869         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53870         (cacos_test): Add more tests.
53871         (casin_test): Likewise.
53872         (casinh_test): Likewise.
53873         * sysdeps/i386/fpu/libm-test-ulps: Update.
53874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53876 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53878         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53879         ONE with its value.
53881         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53882         (__pow_mp): Replace ONE and MONE with their values.
53883         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53884         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53885         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53886         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53887         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53888         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53890         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53892         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53893         (__pow_mp): Replace ZERO and MZERO with their values.
53894         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53895         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53896         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53897         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53898         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53899         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53900         (__sqr): Likewise.
53902         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53904         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53906 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53908         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53909         Declare with __attribute__ ((weak)).
53910         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53911         Call __call_tls_dtors only if it's not NULL.
53913 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53915         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53916         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53917         magic __ehdr_start linker symbol if it's defined.
53918         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53919         them up here if it was already done.
53921         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53922         (_dl_aux_init): Use const in cast when setting it.
53923         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53924         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53925         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53927         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53928         Declare them here.
53929         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53930         * csu/libc-tls.c: Nor here.
53931         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53933         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53934         (__libc_message): Never call vsyslog.
53936 2013-03-28  Alan Modra  <amodra@gmail.com>
53938         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53939         Define as empty.
53940         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53941         Likewise.
53943 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53945         [BZ #15214]
53946         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53947         underflow.
53948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53950 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53952         [BZ #15304]
53953         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53954         Don't add gid passed as argument.
53956         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53958 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53960         [BZ #15307]
53961         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53962         imaginary part between 1.0 and 1.5 and real part less than 0.5
53963         specially.
53964         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53965         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53966         * math/libm-test.inc (cacos_test): Add more tests.
53967         (casin_test): Likewise.
53968         (casinh_test): Likewise.
53969         * sysdeps/i386/fpu/libm-test-ulps: Update.
53970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53972 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53974         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53975         constants.
53976         (norm): Likewise.
53977         (denorm): Likewise.
53978         (__dbl_mp): Likewise.
53979         (add_magnitudes): Likewise.
53980         (sub_magnitudes): Likewise.
53981         (__add): Likewise.
53982         (__sub): Likewise.
53983         (__mul): Likewise.
53984         (__sqr): Likewise.
53985         (__inv): Likewise.
53986         (__dvd): Likewise.
53988         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53989         commented code.
53990         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53991         (__dubcos): Likewise.
53992         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53993         (__ieee754_acos): Likewise.
53994         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53995         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53996         (__exp1): Likewise.
53997         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53999         (log1): Likewise.
54000         (my_log2): Likewise.
54001         (checkint): Likewise.
54002         * sysdeps/ieee754/dbl-64/e_remainder.c
54003         (__ieee754_remainder): Likewise.
54004         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54005         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
54006         (bsloww): Likewise.
54007         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54009         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54010         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
54011         MANTISSA_STORE_T to store computations on mantissa.  Use
54012         macros for rounding and division.
54013         (denorm): Likewise.
54014         (__dbl_mp): Likewise.
54015         (add_magnitudes): Likewise.
54016         (sub_magnitudes): Likewise.
54017         (__mul): Likewise.
54018         (__sqr): Likewise.
54019         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54020         powers of two in terms of TWOPOW macro.
54021         (mp_no): Make type of mantissa as MANTISSA_T.
54022         [!RADIXI]: Define RADIXI.
54023         [!TWO52]: Define TWO52.
54024         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54026 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54028         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
54029         llroundl symbol when building for PPC32.
54031 2013-03-24  Mark H Weaver  <mhw@netris.org>
54033         * manual/arith.texi (Normalization Functions): Fix prototypes for
54034         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
54036 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54038         [BZ #13889]
54039         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
54040         high value to check if expl overflow.
54041         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
54042         to check for underflow and overflow.
54043         * math/libm-test.inc: Add exp test.
54045 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
54047         [BZ #11120]
54048         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
54049         with NOT_IN_libc.
54051 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54053         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
54054         symbol.
54056 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54058         * math/gen-libm-test.pl (parse_args, special_functions): Properly
54059         wrap blocks consisting of several statements.
54061         * sysdeps/generic/math-tests.h: New file.
54062         * sysdeps/i386/fpu/math-tests.h: Likewise.
54063         * math/test-snan.c: Include it.
54064         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
54066 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54068         [BZ #15285]
54069         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
54070         (__ieee754_j0l): Do not improve calculations using cos of twice
54071         input for inputs above LDBL_MAX / 2.0L.
54072         (__ieee754_y0l): Likewise.
54073         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
54074         (__ieee754_j1l): Do not improve calculations using cos of twice
54075         input for inputs above LDBL_MAX / 2.0L.
54076         (__ieee754_y1l): Likewise.
54077         * math/libm-test.inc (j0_test): Add another test.
54078         (j1_test): Likewise.
54079         (y0_test): Likewise.
54080         (y1_test): Likewise.
54081         * sysdeps/i386/fpu/libm-test-ulps: Update.
54083 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54085         * Rules ($(objpfx)bench-%.c): Include code from a C source
54086         file.
54088 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54090         [BZ #15287]
54091         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54092         imaginary part 1.0 and real part less than 0.5 specially.
54093         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54094         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54095         * math/libm-test.inc (cacos_test): Add more tests.
54096         (casin_test): Likewise.
54097         (casinh_test): Likewise.
54098         * sysdeps/i386/fpu/libm-test-ulps: Update.
54099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54101 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54103         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
54104         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
54106 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
54108         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
54109         * config.make.in (config-cflags-sse4): Remove variable.
54110         (config-cflags-avx): Likewise.
54111         (config-cflags-sse2avx): Likewise.
54112         (config-cflags-novzeroupper): Likewise.
54113         (config-asflags-i686): Likewise.
54114         (have-mfma4): Likewise.
54115         (have-as-vis3): Likewise.
54116         (MIG): Likewise.
54117         * configure.in (MIG): Do not AC_SUBST.
54118         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
54119         (libc_cv_cc_sse4): Do not AC_SUBST.
54120         (libc_cv_cc_avx): Likewise.
54121         (libc_cv_cc_sse2avx): Likewise.
54122         (libc_cv_cc_novzeroupper): Likewise.
54123         (libc_cv_cc_fma4): Likewise.
54124         (libc_cv_as_i686): Likewise.
54125         (libc_cv_sparc_as_vis3): Likewise.
54126         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
54127         LIBC_CONFIG_VAR.
54128         (config-asflags-i686): Likewise.
54129         (config-cflags-avx): Likewise.
54130         (config-cflags-sse2avx): Likewise.
54131         (have-mfma4): Likewise.
54132         (config-cflags-novzeroupper): Likewise.
54133         * sysdeps/mach/configure.in (MIG): Likewise.
54134         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
54135         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54136         LIBC_CONFIG_VAR.
54137         (config-cflags-avx): Likewise.
54138         (config-cflags-sse2avx): Likewise.
54139         (have-mfma4): Likewise.
54140         (config-cflags-novzeroupper): Likewise.
54141         * configure: Regenerated.
54142         * sysdeps/i386/configure: Likewise.
54143         * sysdeps/mach/configure: Likewise.
54144         * sysdeps/sparc/configure: Likewise.
54145         * sysdeps/x86_64/configure: Likewise.
54147 2013-03-20  Roland McGrath  <roland@hack.frob.com>
54149         [BZ #14812]
54150         * locale/programs/localedef.c (options): Put N_ translation marker
54151         on argument names, not just descriptions.
54153 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54155         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
54157 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
54159         [BZ #14176]
54160         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54162 2013-03-19  Roland McGrath  <roland@hack.frob.com>
54164         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
54165         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
54166         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
54167         [!BEFORE_ABORT] (before_abort): New function.
54168         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
54169         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
54170         (writev_for_fatal): New function.
54171         (WRITEV_FOR_FATAL): New macro; call that.
54172         (backtrace_and_maps): New function.
54173         (BEFORE_ABORT): New macro; call that.
54174         (struct str_list): Type removed.
54175         (__libc_message, __libc_fatal): Functions removed.
54176         Include <sysdeps/posix/libc_fatal.c> instead.
54178 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54180         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54181         constants.
54182         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54183         double constants.
54185 2013-03-19  Andreas Schwab  <schwab@suse.de>
54187         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54188         * sysdeps/gnu/configure: Regenerate.
54190         * configure.in: Substitute libc_cv_rtlddir.
54191         * configure: Regenerate.
54192         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54193         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54194         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54195         * elf/Makefile (install-others, CFLAGS-interp.c)
54196         (ldso_install, common-ldd-rewrite): Likewise.
54197         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54198         $(inst_slibdir)/$(rtld-installed-name).
54199         * scripts/rellns-sh: Add -p option.
54200         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54201         for source.
54203 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54205         * manual/nptl.texi: Renamed to ...
54206         * manual/threads.texi: ... this.
54207         * manual/Makefile (chapters): Update.
54209 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54211         [BZ #14812]
54212         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54213         on argument names, not just descriptions.
54214         * malloc/memusagestat.c (options): Likewise.
54215         * nss/getent.c (options): Likewise.
54217 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54219         [BZ #14812]
54220         * iconv/iconv_prog.c (options): Put N_ translation marker
54221         on argument names, not just descriptions.
54222         * iconv/iconvconfig.c (options): Likewise.
54224 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54226         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54227         implementation which is faster on all x86_64 architectures.
54228         Tested on AMD, Intel Nehalem, SNB, IVB.
54229         * sysdeps/x86_64/strnlen.S: Likewise.
54231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54232         Remove all multiarch strlen and strnlen versions.
54233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54234         Remove strlen and strnlen related parts.
54236         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54237         Inline strlen part.
54238         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54240         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54241         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54242         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54243         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54244         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54245         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54247 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54249         * manual/memory.texi (Malloc Tunable Parameters):
54250         Sort parameters alphabetically. Add comments for missing entries.
54252 2013-03-17  David S. Miller  <davem@davemloft.net>
54254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54256 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54258         [BZ #15283]
54259         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54260         for arguments at most half maximum finite value.
54261         * math/libm-test.inc (j0_test): Add more tests.
54262         (j1_test): Likewise.
54263         (y0_test): Likewise.
54264         (y1_test): Likewise.
54265         * sysdeps/i386/fpu/libm-test-ulps: Update.
54266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54268         [BZ #14155]
54269         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54270         1 / x and functions P and Q for arguments above 0x1p256L.
54271         (__ieee754_y0l): Likewise.
54272         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54273         (__ieee754_y1l): Likewise.
54274         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54275         (j1_test): Likewise.
54276         (y0_test): Likewise.
54277         (y1_test): Likewise.
54279 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54281         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54282         variable.
54284 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54286         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54287         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54288         zero since it's initialized to EXEC_PAGESIZE.
54290         * sysdeps/unix/sysv/linux/ldsodefs.h
54291         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54292         * sysdeps/generic/ldsodefs.h: ... here.
54294 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54296         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54298         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54299         math/test-snan.c.
54300         * math/test-snan.c: Renamed from
54301         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54302         * math/Makefile (tests): Add test-snan.
54303         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54304         test-powerpc-snan.
54306         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54307         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54308         functions.
54309         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54310         __builtin_nan family of functions.
54311         * math/libm-test.inc (initialize): Initialize qnan_value with
54312         __builtin_nan family of functions.
54313         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54314         Remove variables.
54315         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54316         Remove functions.
54317         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54318         storage class.  Initialize qNaN_var and sNaN_var with
54319         __builtin_nan and __builtin_nans families of functions,
54320         respectively.
54322         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54323         (sqrt_test): Remove duplicate test with qNaN input.
54324         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54325         (round_test, signbit_test, significand_test): Note missing +/-Inf
54326         as well as qNaN tests.
54328         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54329         qNaN_var.  Fix a few strings, too.
54330         * math/libm-test.inc (nan_value): Rename to qnan_value.
54331         * math/gen-libm-test.pl (%beautify): Adjust to that.
54332         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54333         * math/test-misc.c (main): Likewise.
54334         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54335         to __qnan_bytes, and __qnan_union, respectively.
54336         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54337         Likewise.
54338         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54339         and lqnanval, respectively.
54340         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54341         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54342         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54343         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54345         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54346         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54347         doubles.
54349         * math/test-misc.c (main): Fix copy'n'pastos.
54350         * misc/tst-efgcvt.c (special): Likewise.
54352         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54353         Remove declarations.
54355 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54357         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54358         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54359         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54360         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54362 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54364         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54365         macro to return vdso values correctly in IFUNC implementations.
54366         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54367         Optimization by using IFUNC.
54369 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54370             Richard Henderson  <rth@redhat.com>
54371             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54373         * Makefile.in (bench): New target.
54374         * NEWS: Mention the benchmark framework.
54375         * Rules (bench): Likewise.
54376         (binaries-bench): Generate binaries for functions to
54377         benchmark.
54378         * benchtests/Makefile: New makefile for benchmark tests.
54379         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54380         programs.
54381         * benchtests/exp-inputs: New input file for EXP function.
54382         * benchtests/pow-inputs: New input file for POW function.
54383         * scripts/bench.pl: New script to generate source files for
54384         benchmark programs.
54386 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54388         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54389         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54390         computations on mantissa.  Use macros for rounding and
54391         division.
54392         (denorm): Likewise.
54393         (__dbl_mp): Likewise.
54394         (add_magnitudes): Likewise.
54395         (sub_magnitudes): Likewise.
54396         (__mul): Likewise.
54397         (__sqr): Likewise.
54398         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54399         powers of two in terms of TWOPOW macro.
54400         (mp_no): Make type of mantissa as MANTISSA_T.
54401         [!RADIXI]: Define RADIXI.
54402         [!TWO52]: Define TWO52.
54403         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54405         * manual/nptl.texi (cindex): Modify threads to pthreads.
54407 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54409         * sysdeps/x86_64/preconfigure: Regenerated.
54411 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54413         [BZ #14155]
54414         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54415         0x1p28 and above.
54416         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54417         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54418         0x1p28 and above.
54419         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54420         * math/libm-test.inc (j0_test): Do not allow one spurious
54421         underflow exception.
54422         (y1_test): Likewise.
54424 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54426         * manual/Makefile (chapters): Add nptl.
54427         * manual/debug.texi (Debugging Support): Add link to Threads
54428         chapter.
54429         * manual/nptl.texi: New file.
54431         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54433 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54435         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54436         for non-NULL pointer before the memory validity test. Pointed
54437         out by Holger Brunck <holger.brunck@keymile.com>.
54439 2013-03-13  Andreas Schwab  <schwab@suse.de>
54441         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54442         instead of .os.
54444 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54446         * timezone/zic.c: Update from tzcode 2013b.
54448 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54450         * manual/install.texi (Configuring and compiling):
54451         Mention i686 and i586.
54452         * INSTALL: Regenerate.
54454 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54456         * sysdeps/init_array/elf-init.c: New file.
54457         * csu/elf-init.c
54458         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54459         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54461         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54462         __gmon_start__ as global, but as static with a .preinit_array pointer.
54463         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54464         * sysdeps/init_array/crti.S: New file, empty except for comments.
54465         * sysdeps/init_array/crtn.S: Likewise.
54467 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54469         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54470         definining bcopy.
54471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54472         Remove Prefer_SSE_for_memop.
54473         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54474         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54475         HAS_PREFER_SSE_FOR_MEMOP.
54476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54477         memset-x86-64.
54478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54479         Remove bzero, memset ifunc support.
54480         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54481         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54482         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54483         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54485 2013-03-11  Andreas Schwab  <schwab@suse.de>
54487         [BZ #15234]
54488         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54489         by SHLIB_COMPAT.
54490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54491         (GLIBC_2.16): Remove pthread_atfork.
54493 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54495         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54496         (ptestcases.h): Likewise.
54498 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54500         * Makeconfig ($(common-objpfx)config.status): Depend on
54501         sysdeps/*/preconfigure{,.in} too.
54503 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54505         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54506         (__free_hook): Use void * instead of __malloc_ptr_t.
54507         (__malloc_hook): Likewise.
54508         (__realloc_hook): Likewise.
54509         (__memalign_hook): Likewise.
54510         (__after_morecore_hook): Likewise.
54511         * malloc/arena.c (save_malloc_hook): Likewise.
54512         (save_free_hook): Likewise.
54513         * malloc/hooks.c (malloc_hook_ini): Likewise.
54514         (realloc_hook_ini): Likewise.
54515         (memalign_hook_ini): Likewise.
54516         * malloc/malloc.c (malloc_hook_ini): Likewise.
54517         (realloc_hook_ini): Likewise.
54518         (memalign_hook_ini): Likewise.
54519         (__free_hook): Likewise.
54520         (__malloc_hook): Likewise.
54521         (__realloc_hook): Likewise.
54522         (__memalign_hook): Likewise.
54523         (__libc_malloc): Likewise.
54524         (__libc_free): Likewise.
54525         (__libc_realloc): Likewise.
54526         (__libc_memalign): Likewise.
54527         (__libc_valloc): Likewise.
54528         (__libc_pvalloc): Likewise.
54529         (__libc_calloc): Likewise.
54530         (__posix_memalign): Likewise.
54531         * malloc/morecore.c (__sbrk): Likewise.
54532         (__default_morecore): Likewise.
54534         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54536         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54537         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54538         __malloc_ptrdiff_t.
54540         * malloc/malloc.h (__malloc_size_t): Remove macro.
54541         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54542         __malloc_size_t.
54543         (old_memalign_hook): Likewise.
54544         (old_realloc_hook): Likewise.
54545         (struct hdr): Likewise.
54546         (flood): Likewise.
54547         (mallochook): Likewise.
54548         (memalignhook): Likewise.
54549         (reallochook): Likewise.
54550         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54551         (tr_old_realloc_hook): Likewise.
54552         (tr_old_memalign_hook): Likewise.
54553         (tr_mallochook): Likewise.
54554         (tr_reallochook): Likewise.
54555         (tr_memalignhook): Likewise.
54557 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54560         default_ldbl_pack and using as default implementation.
54561         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54562         implementation.
54563         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54564         redundant definition.
54565         (ldbl_insert_mantissa): Likewise.
54566         (ldbl_canonicalize): Likewise.
54567         (ldbl_nearbyint): Likewise.
54568         (ldbl_pack): Rename to ldbl_pack_ppc.
54569         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54570         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54571         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54573 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54576         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54577         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54578         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54580         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54581         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54582         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54584 2013-03-07  Andreas Jaeger  <aj@suse.de>
54586         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54587         bits/mman-linux.h.
54589 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54591         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54592         Include mpa.h and declare __MPEXP.
54593         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54594         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54595         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54596         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54597         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54598         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54599         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54601         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54602         (__slowpow): Use long double EXPL and LOGL functions to
54603         compute POW.
54604         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54605         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54606         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54607         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54608         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54609         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54612         intermediate variable to calculate exponent.
54613         (__sqr): Likewise.
54614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54615         Likewise.
54616         (__sqr): Likewise.
54618         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54619         [!NO__SQR]: Define __sqr.
54620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54621         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54622         sysdeps/ieee754/dbl-64/mpa.c.
54623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54625         [BZ #12723]
54626         * posix/Makefile (tests): Add tst-pathconf.
54627         * posix/tst-pathconf.c: New test case.
54628         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54629         _PC_PIPE_BUF.
54630         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54632 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54634         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54636 2013-03-06  Andreas Jaeger  <aj@suse.de>
54638         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54639         definition via __MAP_ANONYMOUS.
54641         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54642         it's not part of Linux headers.
54644         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54645         (MAP_HUGE_MASK): Define.
54647         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54648         Define.
54649         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54650         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54651         Define.
54652         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54653         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54654         Define.
54655         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54656         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54657         Define.
54658         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54660         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54661         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54662         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54663         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54664         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54665         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54667         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54668         Handle f2fs.
54670         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54671         Handle f2fs and efivarfs.
54673         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54674         f2fs.
54676         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54677         (EFIVARFS_MAGIC): Add.
54678         (F2FS_LINK_MAX): Add.
54680 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54682         * stdio-common/vfprintf.c: Replace __builtin_expect with
54683         __glibc_unlikely.
54685 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54687         [BZ #13550]
54688         * sysdeps/generic/bp-sym.h: Remove file.
54689         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54690         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54691         <bp-sym.h> and <bp-asm.h>.
54692         (__longjmp): Don't use BP_SYM.
54693         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54694         and <bp-asm.h>.
54695         (memcpy): Don't use BP_SYM.
54696         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54697         <bp-sym.h> and <bp-asm.h>.
54698         (memcpy): Don't use BP_SYM.
54699         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54700         <bp-asm.h>.
54701         (memcpy): Don't use BP_SYM.
54702         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54703         <bp-asm.h>.
54704         (memset): Don't use BP_SYM.
54705         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54706         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54707         (__bzero): Don't use BP_SYM.
54708         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54709         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54710         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54711         <bp-sym.h> and <bp-asm.h>.
54712         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54713         pointers.
54714         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54715         <bp-sym.h> and <bp-asm.h>.
54716         (memcpy): Don't use BP_SYM.
54717         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54718         <bp-sym.h> and <bp-asm.h>.
54719         (memset): Don't use BP_SYM.
54720         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54721         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54722         (__bzero): Don't use BP_SYM.
54723         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54724         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54725         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54726         <bp-sym.h> and <bp-asm.h>.
54727         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54728         pointers.
54729         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54730         <bp-sym.h> and <bp-asm.h>.
54731         (memcpy): Don't use BP_SYM.
54732         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54733         <bp-sym.h> and <bp-asm.h>.
54734         (memset): Don't use BP_SYM.
54735         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54736         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54737         (__bzero): Don't use BP_SYM.
54738         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54739         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54740         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54741         <bp-sym.h> and <bp-asm.h>.
54742         (__memchr): Don't use BP_SYM.
54743         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54744         <bp-sym.h> and <bp-asm.h>.
54745         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54746         pointers.
54747         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54748         <bp-sym.h> and <bp-asm.h>.
54749         (memcpy): Don't use BP_SYM.
54750         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54751         <bp-sym.h> and <bp-asm.h>.
54752         (__mempcpy): Don't use BP_SYM.
54753         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54754         <bp-sym.h> and <bp-asm.h>.
54755         (__memrchr): Don't use BP_SYM.
54756         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54757         <bp-sym.h> and <bp-asm.h>.
54758         (memset): Don't use BP_SYM.
54759         (__bzero): Likewise.
54760         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54761         <bp-sym.h> and <bp-asm.h>.
54762         (__rawmemchr): Don't use BP_SYM.
54763         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54764         <bp-sym.h> and <bp-asm.h>.
54765         (__STRCMP): Don't use BP_SYM.
54766         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54767         <bp-sym.h> and <bp-asm.h>.
54768         (strchr): Don't use BP_SYM.
54769         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54770         <bp-sym.h> and <bp-asm.h>.
54771         (__strchrnul): Don't use BP_SYM.
54772         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54773         <bp-sym.h> and <bp-asm.h>.
54774         (strlen): Don't use BP_SYM.
54775         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54776         <bp-sym.h> and <bp-asm.h>.
54777         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54778         pointers.
54779         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54780         <bp-sym.h> and <bp-asm.h>.
54781         (__strnlen): Don't use BP_SYM.
54782         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54783         <bp-sym.h> and <bp-asm.h>.
54784         (__GI__setjmp): Don't use BP_SYM.
54785         (_setjmp): Likewise.
54786         (__sigsetjmp): Likewise.
54787         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54788         (L(start_addresses)): Don't use BP_SYM.
54789         (_start): Likewise.
54790         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54791         <bp-asm.h>.
54792         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54793         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54794         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54795         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54796         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54797         <bp-asm.h>.
54798         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54799         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54800         about bounded pointers.
54801         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54802         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54803         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54804         <bp-asm.h>.
54805         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54806         about bounded pointers.  Remove GKM FIXME comments.
54807         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54808         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54809         <bp-asm.h>.
54810         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54811         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54812         Remove GKM FIXME comments.
54813         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54814         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54815         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54816         <bp-asm.h>.
54817         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54818         about bounded pointers.  Remove GKM FIXME comment.
54819         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54820         and <bp-asm.h>.
54821         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54822         pointers.
54823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54824         <bp-sym.h> and <bp-asm.h>.
54825         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54827         <bp-sym.h> and <bp-asm.h>.
54828         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54829         comment.
54831 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54833         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54834         call free(NULL).
54836 2013-03-05  David S. Miller  <davem@davemloft.net>
54838         * po/es.po: Update from translation team.
54840 2013-03-05  Andreas Jaeger  <aj@suse.de>
54842         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54843         <bits/mman-linux.h>.
54844         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54845         is fine.
54846         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54847         <bits/mman-linux.h> to end of file.
54848         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54849         is fine.
54850         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54851         <bits/mman-linux.h> to end of file.
54852         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54853         is fine.
54854         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54855         <bits/mman-linux.h> to end of file.
54857         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54858         (MCL_CURRENT, MCL_FUTURE): Define here.
54860 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54862         [BZ #15232]
54863         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54864         attribute_hidden.
54865         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54867 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54869         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54870         fourth parameter needed for rt_sigprocmask syscall.
54871         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54872         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54873         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54874         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54875         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54876         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54878 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54880         [BZ #13550]
54881         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54882         comment about bounded pointers.
54883         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54884         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54886 2013-03-04  Andreas Jaeger  <aj@suse.de>
54888         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54889         common definitions.
54891         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54892         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54893         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54894         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54895         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54896         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54898 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54900         [BZ #15055]
54901         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54902         __ieee754_sqrl instead of __sqrl.
54904 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54906         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54907         * sysdeps/powerpc/fpu_control.h: ... here.
54908         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54909         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54910         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54911         * sysdeps/powerpc/bits/mathinline.h: ... here.
54913 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54915         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54916         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54917         to just [NEED_DL_SYSINFO_DSO].
54918         * elf/dl-support.c: Likewise.
54919         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54920         * elf/rtld.c (dl_main): Likewise.
54921         * elf/setup-vdso.h (setup_vdso): Likewise.
54922         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54923         * sysdeps/unix/sysv/linux/dl-sysdep.c
54924         (_dl_discover_osversion): Likewise.
54926 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54928         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54929         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54931 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54933         * NEWS: Mention libm performance improvements and non-x86 PI
54934         futex support.
54936         * csu/libc-start.c (__pthread_initialize_minimal): Change
54937         function arguments.
54938         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54940 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54942         [BZ #13550]
54943         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54944         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54945         <bp-sym.h> and <bp-asm.h>.
54946         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54947         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54948         and <bp-asm.h>.
54949         (memcpy): Don't use BP_SYM.
54950         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54951         <bp-asm.h>.
54952         (__mpn_add_n): Don't use BP_SYM.
54953         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54954         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54955         and <bp-asm.h>.
54956         (__mpn_addmul_1): Don't use BP_SYM.
54957         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54958         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54959         <bp-sym.h>.
54960         (_setjmp): Don't use BP_SYM.
54961         (__novmx_setjmp): Likewise.
54962         (__GI__setjmp): Likewise.
54963         (__vmx_setjmp): Likewise.
54964         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54965         <bp-sym.h>.
54966         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54967         (__bzero): Don't use BP_SYM.
54968         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54969         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54970         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54971         <bp-sym.h> and <bp-asm.h>.
54972         (memcpy): Don't use BP_SYM.
54973         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54974         <bp-sym.h> and <bp-asm.h>.
54975         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54976         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54977         <bp-sym.h> and <bp-asm.h>.
54978         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54979         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54980         <bp-asm.h>.
54981         (__mpn_lshift): Don't use BP_SYM.
54982         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54983         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54984         <bp-asm.h>.
54985         (memset): Don't use BP_SYM.
54986         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54987         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54988         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54989         <bp-asm.h>.
54990         (__mpn_mul_1): Don't use BP_SYM.
54991         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54992         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54993         <bp-sym.h> and <bp-asm.h>.
54994         (memcmp): Don't use BP_SYM.
54995         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54996         <bp-sym.h> and <bp-asm.h>.
54997         (memcpy): Don't use BP_SYM.
54998         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54999         <bp-sym.h> and <bp-asm.h>.
55000         (memset): Don't use BP_SYM.
55001         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
55002         <bp-sym.h> and <bp-asm.h>.
55003         (strncmp): Don't use BP_SYM.
55004         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
55005         <bp-sym.h> and <bp-asm.h>.
55006         (memcpy): Don't use BP_SYM.
55007         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
55008         <bp-sym.h> and <bp-asm.h>.
55009         (memset): Don't use BP_SYM.
55010         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
55011         <bp-sym.h> and <bp-asm.h>.
55012         (__memchr): Don't use BP_SYM.
55013         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
55014         <bp-sym.h> and <bp-asm.h>.
55015         (memcmp): Don't use BP_SYM.
55016         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
55017         <bp-sym.h> and <bp-asm.h>.
55018         (memcpy): Don't use BP_SYM.
55019         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
55020         <bp-sym.h> and <bp-asm.h>.
55021         (__mempcpy): Don't use BP_SYM.
55022         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
55023         <bp-sym.h> and <bp-asm.h>.
55024         (__memrchr): Don't use BP_SYM.
55025         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
55026         <bp-sym.h> and <bp-asm.h>.
55027         (memset): Don't use BP_SYM.
55028         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
55029         <bp-sym.h> and <bp-asm.h>.
55030         (__rawmemchr): Don't use BP_SYM.
55031         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
55032         <bp-sym.h> and <bp-asm.h>.
55033         (__STRCMP): Don't use BP_SYM.
55034         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
55035         <bp-sym.h> and <bp-asm.h>.
55036         (strchr): Don't use BP_SYM.
55037         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
55038         <bp-sym.h> and <bp-asm.h>.
55039         (__strchrnul): Don't use BP_SYM.
55040         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
55041         <bp-sym.h> and <bp-asm.h>.
55042         (strlen): Don't use BP_SYM.
55043         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
55044         <bp-sym.h> and <bp-asm.h>.
55045         (strncmp): Don't use BP_SYM.
55046         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
55047         <bp-sym.h> and <bp-asm.h>.
55048         (__strnlen): Don't use BP_SYM.
55049         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
55050         <bp-asm.h>.
55051         (__mpn_rshift): Don't use BP_SYM.
55052         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55053         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
55054         <bp-sym.h> and <bp-asm.h>.
55055         (__sigsetjmp): Don't use BP_SYM.
55056         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
55057         (L(start_addresses)): Don't use BP_SYM.
55058         (_start): Likewise.
55059         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
55060         <bp-asm.h>.
55061         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
55062         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55063         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55064         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
55065         <bp-asm.h>.
55066         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
55067         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55068         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55069         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
55070         <bp-asm.h>.
55071         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55072         comments.
55073         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55074         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
55075         <bp-asm.h>.
55076         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
55077         FIXME comments.
55078         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55079         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55080         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
55081         <bp-asm.h>.
55082         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55083         comment.
55084         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
55085         and <bp-asm.h>.
55086         (strncmp): Don't use BP_SYM,
55087         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
55088         <bp-asm.h>.
55089         (__mpn_sub_n): Don't use BP_SYM.
55090         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55091         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
55092         and <bp-asm.h>.
55093         (__mpn_submul_1): Don't use BP_SYM.
55094         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
55096         <bp-sym.h> and <bp-asm.h>.
55097         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
55099         <bp-sym.h> and <bp-asm.h>.
55100         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55101         comment.
55103 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55105         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
55106         Use ZK to minimize writes to Z.
55107         (sub_magnitudes): Simplify code a bit.
55108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
55109         Use ZK to minimize writes to Z.
55110         (sub_magnitudes): Simplify code a bit.
55112 2013-02-27  Roland McGrath  <roland@hack.frob.com>
55114         * csu/gmon-start.c: Add special exception to license text.
55116 2013-02-27  Richard Henderson  <rth@redhat.com>
55118         * scripts/config.guess: Update from config.git.
55119         * scripts/config.sub: Likewise.
55121 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55123         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
55125         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
55127         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
55129         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
55131         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
55133 2013-02-26  Roland McGrath  <roland@hack.frob.com>
55135         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
55136         [$(build-shared = yes].
55138 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55140         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55141         (__mul): Reduce iterations for calculating mantissa.
55143         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55144         MPTWO.
55145         (__mpranred): Likewise.
55147         [BZ #15160]
55148         * malloc/memusagestat.c (main): Draw graphs for heap and stack
55149         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55151 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
55153         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55154         Define __attribute__.
55156 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55158         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
55159         unused.
55160         * posix/regex_internal.h (__attribute): Remove.
55161         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55162         (re_string_context_at): Likewise.
55163         (bitset_not): Use __attribute__ and mark function as possibly
55164         unused.
55165         (bitset_merge): Likewise.
55166         (bitset_mask): Likewise.
55167         (re_string_char_size_at): Likewise.
55168         (re_string_wchar_at): Likewise.
55169         (re_string_elem_size_at): Likewise.
55171 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55173         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55174         code.
55175         (cc32): Likewise.
55177         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55178         (__acr): Likewise.
55179         (__cpy): Likewise.
55180         (norm): Likewise.
55181         (denorm): Likewise.
55182         (__dbl_mp): Likewise.
55183         (add_magnitudes): Likewise.
55184         (sub_magnitudes): Likewise.
55185         (__mul): Likewise.
55186         (__inv): Likewise.
55188         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55189         style.
55191         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55192         style.
55194         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55195         code.
55197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55198         up changes with default code.
55199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55200         Likewise.
55202 2013-02-24  Allan McRae  <allan@archlinux.org>
55204         * manual/socket.texi (The Internet Namespace): Order menu items
55205         to match that in the file.
55207         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55208         node listing of the info page menu.
55210 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55212         [BZ #13550]
55213         * sysdeps/i386/bp-asm.h: Remove file.
55214         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55215         (PARMS): Do not use macros from bp-asm.h.
55216         (S1): Likewise.
55217         (S2): Likewise.
55218         (SIZE): Likewise.
55219         (__mpn_add_n): Do not use BP_SYM
55220         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55221         "bp-asm.h".
55222         (PARMS): Do not use macros from bp-asm.h.
55223         (S1): Likewise.
55224         (SIZE): Likewise.
55225         (__mpn_addmul_1): Do not use BP_SYM
55226         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55227         "bp-asm.h".
55228         (PARMS): Do not use macros from bp-asm.h.
55229         (SIGMSK): Likewise.
55230         (_setjmp): Likewise.  Do not use BP_SYM.
55231         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55232         "bp-asm.h".
55233         (PARMS): Do not use macros from bp-asm.h.
55234         (SIGMSK): Likewise.
55235         (setjmp): Likewise.  Do not use BP_SYM.
55236         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55237         "bp-asm.h".
55238         (PARMS): Do not use macros from bp-asm.h.
55239         (__frexp): Do not use BP_SYM.
55240         (frexp): Likewise.
55241         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55242         "bp-asm.h".
55243         (PARMS): Do not use macros from bp-asm.h.
55244         (__frexpf): Do not use BP_SYM.
55245         (frexpf): Likewise.
55246         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55247         "bp-asm.h".
55248         (PARMS): Do not use macros from bp-asm.h.
55249         (__frexpl): Do not use BP_SYM.
55250         (frexpl): Likewise.
55251         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55252         "bp-asm.h".
55253         (PARMS): Do not use macros from bp-asm.h.
55254         (__remquo): Do not use BP_SYM.
55255         (remquo): Likewise.
55256         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55257         "bp-asm.h".
55258         (PARMS): Do not use macros from bp-asm.h.
55259         (__remquof): Do not use BP_SYM.
55260         (remquof): Likewise.
55261         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55262         "bp-asm.h".
55263         (PARMS): Do not use macros from bp-asm.h.
55264         (__remquol): Do not use BP_SYM.
55265         (remquol): Likewise.
55266         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55267         "bp-asm.h".
55268         (PARMS): Do not use macros from bp-asm.h.
55269         (DEST): Likewise.
55270         (SRC): Likewise.
55271         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55272         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55273         "bp-asm.h".
55274         (PARMS): Do not use macros from bp-asm.h.
55275         (strlen): Do not use BP_SYM.
55276         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55277         "bp-asm.h".
55278         (PARMS): Do not use macros from bp-asm.h.
55279         (S1): Likewise.
55280         (S2): Likewise.
55281         (SIZE): Likewise.
55282         (__mpn_add_n): Do not use BP_SYM.
55283         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55284         "bp-asm.h".
55285         (PARMS): Do not use macros from bp-asm.h.
55286         (S1): Likewise.
55287         (SIZE): Likewise.
55288         (__mpn_addmul_1): Do not use BP_SYM.
55289         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55290         weak_alias.
55291         (bzero): Likewise.
55292         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55293         "bp-asm.h".
55294         (PARMS): Do not use macros from bp-asm.h.
55295         (S): Likewise.
55296         (SIZE): Likewise.
55297         (__mpn_lshift): Do not use BP_SYM.
55298         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55299         "bp-asm.h".
55300         (PARMS): Do not use macros from bp-asm.h.
55301         (DEST): Likewise.
55302         (SRC): Likewise.
55303         (LEN): Likewise.
55304         (memcpy): Likewise.  Do not use BP_SYM.
55305         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55306         libc_hidden_def and weak_alias.
55307         (mempcpy): Do not use BP_SYM in weak_alias.
55308         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55309         "bp-asm.h".
55310         (PARMS): Do not use macros from bp-asm.h.
55311         (DEST): Likewise.
55312         (LEN): Likewise.
55313         [!BZERO_P] (CHR): Likewise.
55314         (memset): Likewise.  Do not use BP_SYM.
55315         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55316         "bp-asm.h".
55317         (PARMS): Do not use macros from bp-asm.h.
55318         (S1): Likewise.
55319         (SIZE): Likewise.
55320         (__mpn_mul_1): Do not use BP_SYM.
55321         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55322         "bp-asm.h".
55323         (PARMS): Do not use macros from bp-asm.h.
55324         (S): Likewise.
55325         (SIZE): Likewise.
55326         (__mpn_rshift): Do not use BP_SYM.
55327         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55328         "bp-asm.h".
55329         (PARMS): Do not use macros from bp-asm.h.
55330         (STR): Likewise.
55331         (CHR): Likewise.
55332         (strchr): Likewise.  Do not use BP_SYM.
55333         (index): Do not use BP_SYM in weak_alias.
55334         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55335         "bp-asm.h".
55336         (PARMS): Do not use macros from bp-asm.h.
55337         (DEST): Likewise.
55338         (SRC): Likewise.
55339         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55340         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55341         "bp-asm.h".
55342         (PARMS): Do not use macros from bp-asm.h.
55343         (strlen): Do not use BP_SYM.
55344         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55345         "bp-asm.h".
55346         (PARMS): Do not use macros from bp-asm.h.
55347         (S1): Likewise.
55348         (S2): Likewise.
55349         (SIZE): Likewise.
55350         (__mpn_sub_n): Do not use BP_SYM.
55351         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55352         "bp-asm.h".
55353         (PARMS): Do not use macros from bp-asm.h.
55354         (S1): Likewise.
55355         (SIZE): Likewise.
55356         (__mpn_submul_1): Do not use BP_SYM.
55357         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55358         "bp-asm.h".
55359         (PARMS): Do not use macros from bp-asm.h.
55360         (S1): Likewise.
55361         (S2): Likewise.
55362         (SIZE): Likewise.
55363         (__mpn_add_n): Do not use BP_SYM.
55364         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55365         weak_alias.
55366         (bzero): Likewise.
55367         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55368         "bp-asm.h".
55369         (PARMS): Do not use macros from bp-asm.h.
55370         (BLK2): Likewise.
55371         (LEN): Likewise.
55372         (memcmp): Do not use BP_SYM.
55373         (bcmp): Do not use BP_SYM in weak_alias.
55374         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55375         "bp-asm.h".
55376         (PARMS): Do not use macros from bp-asm.h.
55377         (DEST): Likewise.
55378         (SRC): Likewise.
55379         (LEN): Likewise.
55380         (memcpy): Likewise.  Do not use BP_SYM.
55381         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55382         "bp-asm.h".
55383         (PARMS): Do not use macros from bp-asm.h.
55384         (DEST): Likewise.
55385         (SRC): Likewise.
55386         (LEN): Likewise.
55387         (memmove): Likewise.  Do not use BP_SYM.
55388         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55389         "bp-asm.h".
55390         (PARMS): Do not use macros from bp-asm.h.
55391         (DEST): Likewise.
55392         (SRC): Likewise.
55393         (LEN): Likewise.
55394         (__mempcpy): Likewise.  Do not use BP_SYM.
55395         (mempcpy): Do not use BP_SYM in weak_alias.
55396         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55397         "bp-asm.h".
55398         (PARMS): Do not use macros from bp-asm.h.
55399         (DEST): Likewise.
55400         (LEN): Likewise.
55401         [!BZERO_P] (CHR): Likewise.
55402         (memset): Likewise.  Do not use BP_SYM.
55403         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55404         "bp-asm.h".
55405         (PARMS): Do not use macros from bp-asm.h.
55406         (STR2): Likewise.
55407         (strcmp): Do not use BP_SYM.
55408         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55409         "bp-asm.h".
55410         (PARMS): Do not use macros from bp-asm.h.
55411         (STR): Likewise.
55412         (DELIM): Likewise.
55413         [USE_AS_STRTOK_R] (SAVE): Likewise.
55414         (FUNCTION): Likewise.  Do not use BP_SYM.
55415         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55416         aliases.
55417         (strtok_r): Likewise.
55418         (__GI___strtok_r): Likewise.
55419         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55420         (PARMS): Do not use macros from bp-asm.h.
55421         (S): Likewise.
55422         (SIZE): Likewise.
55423         (__mpn_lshift): Do not use BP_SYM.
55424         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55425         (PARMS): Do not use macros from bp-asm.h.
55426         (STR): Likewise.
55427         (CHR): Likewise.
55428         (__memchr): Do not use BP_SYM.
55429         (memchr): Do not use BP_SYM in weak_alias.
55430         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55431         (PARMS): Do not use macros from bp-asm.h.
55432         (BLK2): Likewise.
55433         (LEN): Likewise.
55434         (memcmp): Do not use BP_SYM.
55435         (bcmp): Do not use BP_SYM in weak_alias.
55436         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55437         (PARMS): Do not use macros from bp-asm.h.
55438         (S1): Likewise.
55439         (SIZE): Likewise.
55440         (__mpn_mul_1): Do not use BP_SYM.
55441         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55442         "bp-asm.h".
55443         (PARMS): Do not use macros from bp-asm.h.
55444         (STR): Likewise.
55445         (CHR): Likewise.
55446         (__rawmemchr): Do not use BP_SYM.
55447         (rawmemchr): Do not use BP_SYM in weak_alias.
55448         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55449         (PARMS): Do not use macros from bp-asm.h.
55450         (S): Likewise.
55451         (SIZE): Likewise.
55452         (__mpn_rshift): Do not use BP_SYM.
55453         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55454         (PARMS): Do not use macros from bp-asm.h.
55455         (SIGMSK): Likewise.
55456         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55457         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55458         (_start): Do not use BP_SYM.
55459         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55460         (PARMS): Do not use macros from bp-asm.h.
55461         (DEST): Likewise.
55462         (SRC): Likewise.
55463         (__stpcpy): Likewise.  Do not use BP_SYM.
55464         (stpcpy): Do not use BP_SYM in weak_alias.
55465         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55466         "bp-asm.h".
55467         (PARMS): Do not use macros from bp-asm.h.
55468         (DEST): Likewise.
55469         (SRC): Likewise.
55470         (LEN): Likewise.
55471         (__stpncpy): Likewise.  Do not use BP_SYM.
55472         (stpncpy): Do not use BP_SYM in weak_alias.
55473         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55474         (PARMS): Do not use macros from bp-asm.h.
55475         (STR): Likewise.
55476         (CHR): Likewise.
55477         (strchr): Likewise.  Do not use BP_SYM.
55478         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55479         "bp-asm.h".
55480         (PARMS): Do not use macros from bp-asm.h.
55481         (STR): Likewise.
55482         (CHR): Likewise.
55483         (__strchrnul): Likewise.  Do not use BP_SYM.
55484         (strchrnul): Do not use BP_SYM in weak_alias.
55485         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55486         "bp-asm.h".
55487         (PARMS): Do not use macros from bp-asm.h.
55488         (STOP): Likewise.
55489         (strcspn): Do not use BP_SYM.
55490         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55491         "bp-asm.h".
55492         (PARMS): Do not use macros from bp-asm.h.
55493         (STR): Likewise.
55494         (STOP): Likewise.
55495         (strpbrk): Likewise.  Do not use BP_SYM.
55496         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55497         "bp-asm.h".
55498         (PARMS): Do not use macros from bp-asm.h.
55499         (STR): Likewise.
55500         (CHR): Likewise.
55501         (strrchr): Likewise.  Do not use BP_SYM.
55502         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55503         (PARMS): Do not use macros from bp-asm.h.
55504         (SKIP): Likewise.
55505         (strspn): Do not use BP_SYM.
55506         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55507         (PARMS): Do not use macros from bp-asm.h.
55508         (STR): Likewise.
55509         (DELIM): Likewise.
55510         (SAVE): Likewise.
55511         (FUNCTION): Likewise.  Do not use BP_SYM.
55512         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55513         aliases.
55514         (strtok_r): Likewise.
55515         (__GI___strtok_r): Likewise.
55516         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55517         (PARMS): Do not use macros from bp-asm.h.
55518         (S1): Likewise.
55519         (S2): Likewise.
55520         (SIZE): Likewise.
55521         (__mpn_sub_n): Do not use BP_SYM.
55522         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55523         "bp-asm.h".
55524         (PARMS): Do not use macros from bp-asm.h.
55525         (S1): Likewise.
55526         (SIZE): Likewise.
55527         (__mpn_submul_1): Do not use BP_SYM.
55528         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55529         <bp-sym.h>.
55530         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55531         and <bp-asm.h>.
55532         (PARMS): Do not use macros from bp-asm.h.
55533         (FLAGS): Likewise.
55534         (PTID): Likewise.
55535         (TLS): Likewise.
55536         (CTID): Likewise.
55537         (__clone): Do not use BP_SYM.
55538         (clone): Do not use BP_SYM in weak_alias.
55539         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55540         and <bp-asm.h>.
55541         (PARMS): Do not use macros from bp-asm.h.
55542         (LEN): Likewise.
55543         (__mmap64): Do not use BP_SYM.
55544         (mmap64): Do not use BP_SYM in weak_alias.
55545         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55546         <bp-sym.h> and <bp-asm.h>.
55547         (PARMS): Do not use macros from bp-asm.h.
55548         (__posix_fadvise64_l64): Do not use BP_SYM.
55549         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55550         (PARMS): Do not use macros from bp-asm.h.
55551         (NSOPS): Likewise.
55552         (semtimedop): Do not use BP_SYM.
55553         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55554         and <bp-asm.h>.
55556 2013-02-21  Allan McRae  <allan@archlinux.org>
55558         * manual/message.texi (Charset conversion in gettext):
55559         Move @end statement to beginning of line.
55561 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55564         static.
55565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55566         Likewise.
55568         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55569         (denorm): Likewise.
55570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55573 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55575         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55576         tail-call to the resolved function if pltexit isn't needed.
55578 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55581         or Y being zero as being unlikely.
55582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55583         Likewise.
55585 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55587         * manual/nss.texi (System Databases and Name Service Switch):
55588         Remove frobnicate @pxref.
55590 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55592         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55593         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55595 2013-02-20  Petr Machata  <pmachata@redhat.com>
55597         * elf/elf.h (R_ARM_TARGET1): New macro.
55598         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55599         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55600         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55601         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55602         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55603         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55604         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55605         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55606         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55607         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55608         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55609         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55610         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55611         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55612         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55613         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55614         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55615         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55616         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55617         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55618         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55619         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55620         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55621         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55622         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55623         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55624         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55625         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55626         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55627         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55628         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55629         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55630         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55631         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55632         (R_ARM_THM_GOT_BREL12): Likewise.
55633         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55634         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55635         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55636         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55637         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55638         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55639         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55640         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55641         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55643 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55645         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55646         __attribute_used__ to __attribute__ ((unused)).
55648 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55650         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55651         powerpc mpa.c.
55652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55653         comment formatting.
55654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55656 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55658         [BZ #13550]
55659         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55660         Remove macro.
55661         (ENTER): Remove both macro definitions.
55662         (LEAVE): Likewise.
55663         (CHECK_BOUNDS_LOW): Likewise.
55664         (CHECK_BOUNDS_HIGH): Likewise.
55665         (CHECK_BOUNDS_BOTH): Likewise.
55666         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55667         (RETURN_BOUNDED_POINTER): Likewise.
55668         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55669         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55670         (POP_ERRNO_LOCATION_RETURN): Likewise.
55671         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55672         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55673         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55674         macros.
55675         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55676         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55677         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55678         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55679         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55680         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55681         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55682         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55683         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55684         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55685         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55686         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55687         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55688         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55689         removed macros.
55690         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55691         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55692         macros.
55693         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55694         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55695         * sysdeps/i386/i586/memset.S (memset): Likewise.
55696         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55697         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55698         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55699         macros.
55700         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55701         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55702         Change uses of L(2) to L(out).
55703         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55704         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55705         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55706         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55707         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55708         removed macros.
55709         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55710         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55711         macros.
55712         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55713         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55714         (RETURN): Do not use macro LEAVE.
55715         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55716         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55717         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55718         * sysdeps/i386/i686/memset.S (memset): Likewise.
55719         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55720         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55721         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55722         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55723         Likewise.
55724         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55725         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55726         L(1_2) and L(1_3) into L(1).
55727         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55728         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55729         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55730         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55731         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55732         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55733         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55734         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55735         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55736         macros.
55737         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55738         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55739         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55740         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55741         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55742         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55743         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55744         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55745         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55746         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55747         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55748         * sysdeps/i386/strspn.S (strspn): Likewise.
55749         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55750         conditional code.
55751         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55752         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55753         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55754         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55755         L(1_3) into L(1_1).
55756         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55757         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55758         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55759         macros.
55760         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55762 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55764         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55765         macro.
55767 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55769         * math/atest-exp.c (exp_mpn): Remove ROUND.
55770         * math/atest-exp2.c (exp_mpn): Likewise.
55771         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55773         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55774         * stdlib/tst-tls-atexit-lib.c: Likewise.
55775         * stdlib/tst-tls-atexit.c: Likewise.
55777 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55779         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55780         and __attribute_alloc_size__.
55782 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55784         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55785         __attribute_alloc_size__.
55786         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55787         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55789 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55791         * include/programs/xmalloc.h: New file.
55792         * catgets/gencat.c: Include it.
55793         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55794         * elf/pldd.c: Likewise.
55795         * iconv/iconv_charmap.c: Likewise.
55796         * iconv/iconvconfig.c: Likewise.
55797         * iconv/strtab.c: Likewise.
55798         * locale/programs/locale.c: Likewise.
55799         * locale/programs/localedef.h: Likewise.
55800         * locale/programs/simple-hash.c: Likewise.
55801         * nscd/nscd.h: Likewise.
55802         * nss/makedb.c: Likewise.
55803         * sysdeps/generic/ldconfig.h: Likewise.
55805 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55807         * Versions.def: Add GLIBC_2.18.
55808         * include/link.h (struct link_map): New member l_tls_dtor_count.
55809         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55810         (__call_tls_dtors): Likewise.
55811         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55812         __cxa_thread_atexit_impl.
55813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55814         Likewise.
55815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55816         Likewise.
55817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55818         Likewise.
55819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55820         Likewise.
55821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55823         Likewise.
55824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55825         Likewise.
55826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55828         Likewise.
55829         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55830         (tests): Add test case tst-tls-atexit.
55831         (modules-names): Add shared library for tst-tls-atexit.
55832         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55833         (GLIBC_PRIVATE): Add __call_tls_dtors.
55834         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55835         for libstdc++.
55836         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55837         * stdlib/tst-tls-atexit.c: New test case.
55838         * stdlib/tst-tls-atexit-lib.c: New test case.
55840         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55842         * elf/Versions (ld): Add _dl_find_dso_for_object.
55843         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55844         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55845         (dl_open_worker): Use _dl_find_dso_for_object.
55846         * elf/dl-sym.c (do_sym): Likewise.
55847         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55849 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55851         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55852         Syntactic changes only.
55853         (_dl_runtime_profile): Do a tail-call to the resolved function.
55855 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55857         [BZ #13550]
55858         * sysdeps/x86_64/bp-asm.h: Remove file.
55859         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55860         <bp-sym.h> and <bp-asm.h>.
55861         (__clone): Do not use BP_SYM.
55862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55863         <bp-sym.h> and <bp-asm.h>.
55864         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55865         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55866         "bp-asm.h".
55867         (_setjmp): Do not use BP_SYM.
55868         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55869         "bp-asm.h".
55870         (setjmp): Do not use BP_SYM.
55871         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55872         libc_hidden_def.
55873         (mempcpy): Do not use BP_SYM in weak_alias.
55874         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55875         "bp-asm.h".
55876         (strchr): Do not use BP_SYM.
55877         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55878         "bp-asm.h".
55879         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55880         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55881         (_start): Do not use BP_SYM.
55882         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55883         "bp-asm.h".
55884         (strcat): Do not use BP_SYM.
55885         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55886         "bp-asm.h".
55887         (STRCMP): Do not use BP_SYM.
55888         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55889         "bp-asm.h".
55890         (STRCPY): Do not use BP_SYM.
55891         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55892         "bp-asm.h".
55893         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55894         "bp-asm.h".
55895         (FUNCTION): Do not use BP_SYM.
55896         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55897         weak_alias.
55898         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55900 2013-02-17  Andreas Jaeger  <aj@suse.de>
55902         * time/Versions: Sort entries.
55903         * string/Versions: Likewise.
55904         * resolv/Versions: Likewise.
55905         * posix/Versions: Likewise.
55906         * iconv/Versions: Likewise.
55907         * elf/Versions: Likewise.
55908         * wcsmbs/Versions: Likewise.
55910 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55912         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55913         loop termination condition.
55915         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55916         variable to calculate EZ.
55917         (__sqr): Likewise.
55919         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55920         the lower precision input.
55922 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55924         [BZ #13550]
55925         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55926         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55927         (run-via-rtld-prefix): Do not handle %-bp tests.
55928         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55929         (all-object-suffixes): Remove .ob.
55930         (bppfx): Remove variable.
55931         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55932         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55933         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55934         [$(build-bounded) = yes] (libtype.ob): Likewise.
55935         * Makerules (elide-routines.ob): Remove variable.
55936         (do-tests-clean): Do not handle *-bp.out.
55937         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55938         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55939         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55940         (tests): Do not include $(tests-bp.out).
55941         (xtests): Do not include $(xtests-bp.out).
55942         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55943         [$(build-bounded) = yes] ($(addprefix
55944         $(objpfx),$(binaries-bounded))): Remove rule.
55945         ($(objpfx)%-bp.out): Remove rule.
55946         * config.make.in (build-bounded): Remove variable.
55947         * crypt/Makefile [$(build-bounded) = yes]
55948         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55949         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55950         append to variable.
55951         [$(build-bounded) = yes] (install-lib): Likewise.
55952         [$(build-bounded) = yes] (generated): Likewise.
55953         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55954         Remove rule.
55955         * intl/Makefile [$(build-bounded) = yes]
55956         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55957         * math/Makefile [$(build-bounded) = yes]
55958         ($(tests:%=$(objpfx)%-bp): Likewise.
55959         * misc/Makefile [$(build-bounded) = yes]
55960         ($(objpfx)tst-tsearch-bp): Likewise.
55961         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55962         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55963         Remove dependency.
55964         * string/Makefile (o-objects.ob): Remove variable.
55965         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55966         (CFLAGS-.ob): Remove variable.
55967         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55968         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55969         both definitions of variable.
55970         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55971         (ASFLAGS-.ob): Remove variable.
55973 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55975         [BZ #13550]
55976         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55977         Remove __BOUNDED_POINTERS__ from condition.
55978         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55979         * string/bits/string2.h [!__NO_STRING_INLINES &&
55980         !__BOUNDED_POINTERS__]: Likewise.
55981         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55982         Likewise.
55983         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55984         Remove conditional code.
55985         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55986         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55987         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55988         condition.
55990         [BZ #13550]
55991         * csu/libc-start.c: Do not include <bp-sym.h>.
55992         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55993         * elf/dl-open.c: Do not include <bp-sym.h>.
55994         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55995         * math/fegetenv.c: Do not include <bp-sym.h>.
55996         (fegetenv): Do not use BP_SYM in versioned symbols.
55997         * nptl/sysdeps/pthread/bits/libc-lockP.h
55998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55999         <bp-sym.h>.
56000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56001         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
56002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56003         (__pthread_mutex_destroy): Likewise.
56004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56005         (__pthread_mutex_lock): Likewise.
56006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56007         (__pthread_mutex_trylock): Likewise.
56008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56009         (__pthread_mutex_unlock): Likewise.
56010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56011         (__pthread_mutexattr_init): Likewise.
56012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56013         (__pthread_mutexattr_destroy): Likewise.
56014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56015         (__pthread_mutexattr_settype): Likewise.
56016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56017         (__pthread_rwlock_init): Likewise.
56018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56019         (__pthread_rwlock_destroy): Likewise.
56020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56021         (__pthread_rwlock_rdlock): Likewise.
56022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56023         (__pthread_rwlock_tryrdlock): Likewise.
56024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56025         (__pthread_rwlock_wrlock): Likewise.
56026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56027         (__pthread_rwlock_trywrlock): Likewise.
56028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56029         (__pthread_rwlock_unlock): Likewise.
56030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56031         (__pthread_key_create): Likewise.
56032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56033         (__pthread_setspecific): Likewise.
56034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56035         (__pthread_getspecific): Likewise.
56036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
56037         Likewise.
56038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56039         (_pthread_cleanup_push_defer): Likewise.
56040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56041         (_pthread_cleanup_pop_restore): Likewise.
56042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56043         (pthread_setcancelstate): Likewise.
56044         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
56045         <bp-sym.h>.
56046         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
56047         (memchr): Do not use BP_SYM in weak_alias.
56048         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
56049         (fegetenv): Do not use BP_SYM in versioned symbols.
56050         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
56051         (fesetenv): Do not use BP_SYM in versioned symbols.
56052         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56053         (feupdateenv): Do not use BP_SYM in versioned symbols.
56054         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56055         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56056         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
56057         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
56058         (open64): Do not use BP_SYM in weak_alias.
56059         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
56060         (fegetenv): Do not use BP_SYM in versioned symbols.
56061         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
56062         (fesetenv): Do not use BP_SYM in versioned symbols.
56063         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56064         (feupdateenv): Do not use BP_SYM in versioned symbols.
56065         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
56066         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
56067         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
56068         (feraiseexcept): Do not use BP_SYM in versioned symbols.
56069         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56070         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56071         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
56072         <bp-sym.h>.
56073         (__libc_start_main): Do not use BP_SYM.
56075 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
56078         redundant return line.
56079         (norm): Likewise.
56080         (denorm): Likewise.
56081         (dbl_mp): Likewise.
56082         (sub_magnitudes): Likewise.
56083         (__add): Likewise.
56084         (__sub): Likewise.
56085         (__mul): Likewise.
56086         (__inv): Likewise.
56087         (__dvd): Likewise.
56088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
56089         (norm): Likewise.
56090         (denorm): Likewise.
56091         (dbl_mp): Likewise.
56092         (sub_magnitudes): Likewise.
56093         (__add): Likewise.
56094         (__sub): Likewise.
56095         (__mul): Likewise.
56096         (__inv): Likewise.
56097         (__dvd): Likewise.
56099         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
56100         instead of __mul.
56101         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56102         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
56103         (cc32): Likewise.
56105         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
56106         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
56107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
56108         of __mul for squares.
56109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
56110         function
56111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
56112         Likewise.
56113         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
56114         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56116 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
56118         [BZ #13550]
56119         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
56120         code.
56121         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
56122         prototype or function definition.  Rename ubp_* variables and
56123         parameters.  Remove argv definitions conditional on
56124         [__BOUNDED_POINTERS__].
56125         * debug/backtrace.c (__backtrace): Do not use __unbounded.
56126         * elf/dl-runtime.c (_dl_fixup): Likewise.
56127         * include/set-hooks.h (RUN_HOOK): Likewise.
56128         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
56129         definition.
56130         * string/strcpy.c (strcpy): Do not use __unbounded.
56131         * sysdeps/generic/frame.h (struct layout): Likewise.
56132         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
56133         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
56134         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
56135         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
56136         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
56137         (__backtrace): Likewise.
56138         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56139         use __ptrvalue.
56140         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56141         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56142         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56143         Likewise.
56144         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56145         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56146         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56147         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56148         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56149         Do not use __unbounded.
56150         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56151         Rename __unboundedrlimits parameter to rlimits in prototype.
56152         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56153         Do not use __unbounded.
56154         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56155         not use __ptrvalue.
56156         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56157         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
56158         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56159         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
56160         __ptrvalue or __unbounded.
56161         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56162         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56163         use __unbounded.
56164         (__new_msgctl): Do not use __ptrvalue.
56165         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
56166         __unbounded.
56167         (__libc_msgrcv): Do not use __ptrvalue.
56168         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
56169         startup_info): Do not use __unbounded.
56170         (__libc_start_main): Likewise.  Rename ubp_* variables and
56171         parameters.  Remove argv definitions conditional on
56172         [__BOUNDED_POINTERS__].
56173         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56174         __ptrvalue.
56175         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56176         use __unbounded.
56177         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56178         or __ptrvalue.
56179         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56180         use __unbounded.
56181         (__new_shmctl): Do not use __ptrvalue.
56182         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56183         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56184         Likewise.
56185         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56186         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56187         (__libc_sigaction): Likewise.
56188         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56189         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56190         Likewise.
56191         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56193 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56195         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56197         * string/mempcpy.c: Implement by calling memcpy.
56199 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56203         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56204         evaluation.
56206         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56207         values in the mantissa.
56209         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56210         minimize writes to Z.
56211         (sub_magnitudes): Simplify code a bit.
56213 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56215         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56216         from the message.  The linker prefixes all warnings with that already.
56218 2013-02-12  Andreas Schwab  <schwab@suse.de>
56220         [BZ #15078]
56221         * posix/regexec.c (extend_buffers): Add parameter min_len.
56222         (check_matching): Pass minimum needed length.
56223         (clean_state_log_if_needed): Likewise.
56224         (get_subexp): Likewise.
56225         * posix/Makefile (tests): Add bug-regex34.
56226         (bug-regex34-ENV): Define.
56227         * posix/bug-regex34.c: New file.
56229         [BZ #11561]
56230         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56231         elements compare against the byte sequence of it, not its name.
56232         * posix/Makefile (tests): Add bug-regex35.
56233         (bug-regex35-ENV): Define.
56234         * posix/bug-regex35.c: New file.
56236 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56238         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56239         comment.
56240         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56241         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56242         (CHECK_EOL): Add undef.
56244 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56246         * bits/stdlib-bsearch.h: New file.
56247         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56248         * stdlib/stdlib.h: Likewise.
56250 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56252         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56253         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56254         declaration.
56255         * manual/search.texi (Array Search Function): Add missing const in
56256         lfind prototype.
56257         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56258         declaration to use rlim_t.
56259         (Basic Scheduling Functions): Remove erroneous const from
56260         sched_getparam prototype.  Remove erroneous * from
56261         sched_get_priority_max and sched_get_priority_min prototypes.
56262         (Resource Usage): Fix summary @comment on vtimes to refer to
56263         sys/vtimes.h rather than vtimes.h.
56264         Add missing *s in vtimes prototype.
56265         (Limits on Resources): Fix ulimit prototype to return long int.
56266         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56267         prototypes to use long int rather than double.
56268         (BSD Random): Fix initstate and setstate to use char *, not void *.
56269         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56270         prototype to make second argument 'struct aiocb64 *const[]'.
56271         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56272         (Status of AIO Operations): Remove erroneous const in aio_return and
56273         aio_return64 prototypes.
56274         (Synchronizing I/O): Fix sync prototype to return void.
56275         * manual/startup.texi (Suboptions): Remove an erroneous const in
56276         getsubopt prototype.
56277         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56278         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56279         use size_t rather than int.
56280         (Scanning All Users): Likewise for getpwent_r.
56281         (Setting Groups): Add missing const to setgroups prototype.
56282         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56283         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56284         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56285         'const void *' rather than 'const char *'.
56286         (Host Address Functions): Likewise for inet_ntop.
56287         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56288         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56289         ssize_t for return value.
56290         (Sending Data): Likewise for send, sendto, sendmsg.
56291         (Socket Option Functions): Add a missing const in setsockopt prototype.
56292         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56293         use wchar_t for the argument.
56294         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56295         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56296         take no arguments.
56297         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56298         double/float/long double for second argument.
56299         Fix return types of significand, significandf, significandl.
56300         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56301         argument in fchmod prototype.
56302         (File Owner): Use uid_t and gid_t in fchown prototype.
56303         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56304         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56305         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56306         use 'const struct dirent **' as argument types to CMP function pointer
56307         argument.
56308         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56309         (File Times): Fix summary magic @comment for struct utimbuf and utime
56310         to refer to utime.h, not time.h.
56311         * manual/string.texi (Argz Functions): Add missing const in
56312         argz_extract and argz_next prototypes.
56313         (Finding Tokens in a String): Likewise for basename.
56314         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56315         (Copying and Concatenation): Fix typo in wmemmove prototype.
56316         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56317         (Signal Stack): Remove erroneous const in sigstack prototype.
56318         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56319         prototype.
56320         (Simple Calendar Time): Likewise for stime.
56321         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56322         prototype.
56323         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56324         say sys/sysctl.h instead.
56325         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56326         and vsyslog prototypes.
56328 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56330         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56331         Remove.
56333 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56335         * misc/sys/mman.h: Fix typo in mremap comment.
56337 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56339         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56340         the '\0' terminator.
56342 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56344         [BZ #13550]
56345         * debug/segfault.c: Don't include <bp-checks.h>.
56346         * sysdeps/generic/bp-checks.h: Remove file.
56347         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56348         (__GETDENTS): Don't use CHECK_N.
56349         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56350         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56351         (__getgroups): Don't use CHECK_N.
56352         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56353         (setgroups): Don't use CHECK_N.
56354         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56355         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56356         (__libc_msgrcv): Don't use CHECK_N.
56357         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56358         (__libc_msgsnd): Don't use CHECK_N.
56359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56360         <bp-checks.h>.
56361         (__libc_pread): Don't use CHECK_N.
56362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56363         include <bp-checks.h>.
56364         (__libc_pread64): Don't use CHECK_N.
56365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56366         include <bp-checks.h>.
56367         (__libc_pwrite): Don't use CHECK_N.
56368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56369         include <bp-checks.h>.
56370         (__libc_pwrite64): Don't use CHECK_N.
56371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56372         <bp-checks.h>.
56373         (__libc_pread): Don't use CHECK_N.
56374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56375         include <bp-checks.h>.
56376         (__libc_pread64): Don't use CHECK_N.
56377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56378         include <bp-checks.h>.
56379         (__libc_pwrite): Don't use CHECK_N.
56380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56381         include <bp-checks.h>.
56382         (__libc_pwrite64): Don't use CHECK_N.
56383         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56384         (do_pread): Don't use CHECK_N.
56385         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56386         (do_pread64): Don't use CHECK_N.
56387         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56388         (do_pwrite): Don't use CHECK_N.
56389         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56390         (do_pwrite64): Don't use CHECK_N.
56391         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56392         (__libc_readv): Don't use CHECK_N.
56393         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56394         (semop): Don't use CHECK_N.
56395         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56396         <bp-checks.h>.
56397         (semtimedop): Don't use CHECK_N.
56398         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56399         (__libc_pread): Don't use CHECK_N.
56400         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56401         <bp-checks.h>.
56402         (__libc_pread64): Don't use CHECK_N.
56403         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56404         <bp-checks.h>.
56405         (__libc_pwrite): Don't use CHECK_N.
56406         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56407         <bp-checks.h>.
56408         (__libc_pwrite64): Don't use CHECK_N.
56409         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56410         <bp-checks.h>.
56411         (__libc_msgrcv): Don't use CHECK_N.
56412         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56413         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56414         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56415         (__libc_writev): Don't use CHECK_N.
56417 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56419         * string/strcpy.c: Removed unused variable.
56421         * Makeconfig (+sysdep-includes): Define with := rather than =.
56422         Use an existing include/ subdir of each sysdeps dir before it.
56424 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56426         * nscd/connection.c (register_traced_file): Comment function.
56427         [HAVE_INOTIFY] (union __inev): Define.
56428         [HAVE_INOTIFY] (inotify_check_files): New function.
56429         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56430         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56431         clear_db_cache.
56432         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56434 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56436         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56437         loaded if not already and that a failure is permanent.
56439 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56441         [BZ #15006]
56442         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56443         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56445 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56447         [BZ #13550]
56448         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56449         (CHECK_1_NULL_OK): Likewise.
56450         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56451         (__fxstat): Do not use CHECK_1.
56452         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56453         <bp-checks.h>.
56454         (___fxstat64): Do not use CHECK_1.
56455         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56456         <bp-checks.h>.
56457         (__fxstatat): Do not use CHECK_1.
56458         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56459         <bp-checks.h>.
56460         (__fxstatat64): Do not use CHECK_1.
56461         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56462         <bp-checks.h>.
56463         (__fxstat): Do not use CHECK_1.
56464         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56465         <bp-checks.h>.
56466         (__fxstatat): Do not use CHECK_1.
56467         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56468         <bp-checks.h>.
56469         (__getresgid): Do not use CHECK_1.
56470         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56471         <bp-checks.h>.
56472         (__getresuid): Do not use CHECK_1.
56473         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56474         <bp-checks.h>.
56475         (__lxstat): Do not use CHECK_1.
56476         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56477         <bp-checks.h>.
56478         (__old_msgctl): Do not use CHECK_1.
56479         (__new_msgctl): Likewise.
56480         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56481         <bp-checks.h>.
56482         (__new_setrlimit): Do not use CHECK_1.
56483         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56484         <bp-checks.h>.
56485         (__old_shmctl): Do not use CHECK_1.
56486         (__new_shmctl): Likewise.
56487         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56488         <bp-checks.h>.
56489         (__xstat): Do not use CHECK_1.
56490         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56491         (__lxstat): Do not use CHECK_1.
56492         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56493         <bp-checks.h>.
56494         (___lxstat64): Do not use CHECK_1.
56495         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56496         (__old_msgctl): Do not use CHECK_1.
56497         (__new_msgctl): Likewise.
56498         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56499         <bp-checks.h>.
56500         (__gettimeofday): Do not use CHECK_1.
56501         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56502         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56503         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56504         <bp-checks.h>.
56505         (__gettimeofday): Do not use CHECK_1.
56506         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56507         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56508         (__new_shmctl): Do not use CHECK_1.
56509         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56510         <bp-checks.h>.
56511         (do_sigtimedwait): Do not use CHECK_1.
56512         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56513         <bp-checks.h>.
56514         (do_sigwaitinfo): Do not use CHECK_1.
56515         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56516         <bp-checks.h>.
56517         (msgctl): Do not use CHECK_1.
56518         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56519         <bp-checks.h>.
56520         (shmctl): Do not use CHECK_1.
56521         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56522         (ustat): Do not use CHECK_1.
56523         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56524         <bp-checks.h>.
56525         (__fxstat): Do not use CHECK_1.
56526         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56527         <bp-checks.h>.
56528         (__fxstatat): Do not use CHECK_1.
56529         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56530         <bp-checks.h>.
56531         (__lxstat): Do not use CHECK_1.
56532         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56533         <bp-checks.h>.
56534         (__xstat): Do not use CHECK_1.
56535         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56536         (__xstat): Do not use CHECK_1.
56537         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56538         (___xstat64): Do not use CHECK_1.
56540         [BZ #13550]
56541         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56542         definitions.
56543         (CHECK_BOUNDS_HIGH): Likewise.
56544         * string/strcpy.c: Do not include <bp-checks.h>.
56545         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56547 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56549         * nscd/nscd-client.h (__nscd_drop_map_ref):
56550         Add __attribute__ ((unused)).
56551         * nis/nss-nisplus.h (niserr2nss): Likewise.
56553         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56554         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56556         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56557         Remove inline keyword.
56558         * include/rounding-mode.h (round_away): Likewise.
56559         * libio/wfileops.c (adjust_wide_data): Likewise.
56560         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56561         (__m128i_strloadu_tolower): Likewise.
56562         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56563         (__m128i_strloadu_tolower): Likewise.
56564         * time/mktime.c (ydhms_diff): Likewise.
56565         * locale/elem-hash.h (elem_hash): Likewise.
56566         * locale/setlocale.c (setdata): Likewise.
56567         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56568         (re_string_wchar_at): Likewise.
56569         (bitset_not, bitset_merge, bitset_mask): Likewise.
56570         [!(__GNUC__ > 3)] (inline): Remove macro.
56571         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56572         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56573         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56574         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56575         * string/memcmp.c (memcmp_bytes): Likewise.
56576         * locale/programs/locarchive.c (compute_hashval): Likewise.
56577         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56578         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56579         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56580         * nss/getent.c (print_rpc, print_protocols): Likewise.
56581         (print_passwd, print_group, print_aliases): Likewise.
56582         * nis/nss-nisplus.h (niserr2nss): Likewise.
56583         * nscd/connections.c (restart_p): Likewise.
56584         Change return type to bool.
56586 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56588         * Makeconfig (all-Depend-files): Add existing
56589         $(sorted-subdirs:=/Depend) files.
56590         (all-subdirs): Remove nss.
56591         * sysdeps/unix/inet/Subdirs: Add it here instead.
56592         * hesiod/Depend: New file.
56594         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56595         instead of calling alloca.
56597         * io/lseek.c (__lseek): Rename to __libc_lseek.
56598         Define __lseek as an alias.
56600         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56602 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56604         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56605         else clause and remove check for non-standard endianness.
56607 2013-02-04  David S. Miller  <davem@davemloft.net>
56609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56611 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56613         [BZ #13550]
56614         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56615         (__ubp_memchr): Remove prototype.
56616         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56617         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56618         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56619         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56620         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56621         Remove alias.
56622         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56623         (__ubp_memchr): Likewise.
56624         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56625         (__ubp_memchr): Likewise.
56626         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56627         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56628         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56629         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56630         CHECK_STRING.
56631         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56632         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56633         (__getcwd): Do not use CHECK_STRING.
56634         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56635         <bp-checks.h>.
56636         (__real_chown): Do not use CHECK_STRING.
56637         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56638         <bp-checks.h>.
56639         (fchownat): Do not use CHECK_STRING.
56640         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56641         CHECK_STRING.
56642         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56643         <bp-checks.h>.
56644         (__lchown): Do not use CHECK_STRING.
56645         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56646         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56647         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56648         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56650         include <bp-checks.h>.
56651         (truncate64): Do not use CHECK_STRING.
56652         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56653         <bp-checks.h>.
56654         (__real_chown): Do not use CHECK_STRING.
56655         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56656         <bp-checks.h>.
56657         (__lchown): Do not use CHECK_STRING.
56658         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56659         <bp-checks.h>.
56660         (__chown): Do not use CHECK_STRING.
56661         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56662         <bp-checks.h>.
56663         (truncate64): Do not use CHECK_STRING.
56664         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56665         Likewise.
56666         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56667         (__xmknod): Do not use CHECK_STRING.
56668         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56669         <bp-checks.h>.
56670         (__xmknodat): Do not use CHECK_STRING.
56671         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56672         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56674 2013-02-04  Andreas Schwab  <schwab@suse.de>
56676         [BZ #14142]
56677         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56678         * include/netdb.h: Likewise for h_errno.
56679         * elf/tst-stackguard1.c: Include <tls.h>.
56681 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56683         * elf/link.h (struct link_map): Extend the l_addr comment.
56684         * include/link.h (struct link_map): Likewise.
56686 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56688         [BZ #13550]
56689         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56690         (BOUNDED_1): Remove macro.
56691         * debug/backtrace.c: Don't include <bp-checks.h>.
56692         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56693         (__backtrace): Likewise.
56694         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56695         <bp-checks.h>.
56696         (__backtrace): Don't use BOUNDED_1.
56697         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56698         <bp-checks.h>.
56699         (__backtrace): Don't use BOUNDED_1.
56700         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56701         (__backtrace): Don't use BOUNDED_1.
56702         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56703         (shmat): Don't use BOUNDED_N.
56705 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56707         [BZ #13550]
56708         * sysdeps/generic/bp-start.h: Remove file.
56709         * csu/libc-start.c: Don't include <bp-start.h>.
56710         (LIBC_START_MAIN): Set up __environ directly instead of using
56711         INIT_ARGV_and_ENVIRON.
56712         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56713         <bp-start.h>.
56715         [BZ #13550]
56716         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56717         definitions.
56718         (CHECK_FCNTL): Likewise.
56719         (CHECK_N_PAGES): Likewise.
56721         [BZ #13550]
56722         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56723         definitions.
56724         (CHECK_SIGSET_NULL_OK): Likewise.
56725         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56726         <bp-checks.h>.
56727         (sigpending): Don't use CHECK_SIGSET.
56728         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56729         <bp-checks.h>.
56730         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56731         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56732         <bp-checks.h>.
56733         (do_sigsuspend): Don't use CHECK_SIGSET.
56734         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56735         use CHECK_SIGSET.
56736         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56737         (do_sigwait): Don't use CHECK_SIGSET.
56738         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56739         use CHECK_SIGSET.
56740         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56741         include <bp-checks.h>.
56742         (sigpending): Don't use CHECK_SIGSET.
56743         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56744         include <bp-checks.h>.
56745         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56746         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56747         <bp-checks.h>.
56748         (sigpending): Don't use CHECK_SIGSET.
56749         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56750         <bp-checks.h>.
56751         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56753         [BZ #13550]
56754         * sysdeps/generic/bp-semctl.h: Remove file.
56755         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56756         <bp-checks.h> and <bp-semctl.h>.
56757         (__old_semctl): Don't use CHECK_SEMCTL.
56758         (__new_semctl): Likewise.
56759         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56760         and <bp-semctl.h>.
56761         (__old_semctl): Don't use CHECK_SEMCTL.
56762         (__new_semctl): Likewise.
56763         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56764         <bp-checks.h> and <bp-semctl.h>.
56765         (__old_semctl): Don't use CHECK_SEMCTL.
56766         (__new_semctl): Likewise.
56767         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56768         <bp-checks.h> and <bp-semctl.h>.
56769         (semctl): Don't use CHECK_SEMCTL.
56771         [BZ #13550]
56772         * Makerules (elide-bp-thunks): Remove variable.
56773         (elide-routines.oS): Don't use $(elide-bp-thunks).
56774         (elide-routines.os): Likewise.
56775         (elide-routines.o): Likewise.
56776         (elide-routines.op): Likewise.
56777         (elide-routines.og): Likewise.
56778         (objects): Don't use $(bp-thunks).
56779         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56780         include.
56781         (common-generated): Do not add s-proto-bp.d.
56782         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56783         (int): Likewise.
56784         (typ): Likewise.
56785         Do not generate makefile rules for bounded-pointer thunks.
56786         * sysdeps/generic/bp-thunks.h: Remove file.
56787         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56788         * sysdeps/unix/s-proto-bp.S: Likewise.
56790         [BZ #15062]
56791         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56792         parts of result separately when argument is not close to line from
56793         -i to i and one part of argument is small.
56794         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56795         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56796         * math/libm-test.inc (cacos_test): Add more tests.
56797         (casin_test): Likewise.
56798         (casinh_test): Likewise.
56799         * sysdeps/i386/fpu/libm-test-ulps: Update.
56800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56802 2013-01-31  David S. Miller  <davem@davemloft.net>
56804         * po/de.po: Update from translation team.
56806 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56808         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56810 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56812         * configure.in (_AC_PROG_CC_C89): New definition.
56813         * configure: Regenerate.
56815         * configure.in (AC_PROG_CPP): New definition.
56816         * configure: Regenerate.
56818 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56820         * debug/tst-backtrace.h: New file.
56821         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56822         (ret): Remove variable.
56823         (x): Likewise.
56824         (FAIL): Remove macro.
56825         (NO_INLINE): Likewise.
56826         (fn1): Use match function instead of strstr.
56827         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56828         (ret): Remove variable.
56829         (x): Likewise.
56830         (FAIL): Remove macro.
56831         (NO_INLINE): Likewise.
56832         (fn): Use match function instead of strstr.
56833         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56834         (ret): Remove variable.
56835         (x): Likewise.
56836         (FAIL): Remove macro.
56837         (NO_INLINE): Likewise.
56838         (handle_signal): Use match function instead of strstr.
56839         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56840         (ret): Remove variable.
56841         (x): Likewise.
56842         (FAIL): Remove macro.
56843         (NO_INLINE): Likewise.
56844         (handle_signal): Use match function instead of strstr.
56846 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56848         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56850 2013-01-23  David S. Miller  <davem@davemloft.net>
56852         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56853         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56854         argument of CAS if possible.
56855         * sysdeps/sparc/sparc64/bits/atomic.h
56856         (__arch_compare_and_exchange_val_32_acq): Likewise.
56857         (__arch_compare_and_exchange_val_64_acq): Likewise.
56859 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56861         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56862         * sysdeps/posix/ulimit.c: ... this.
56863         Include <limits.h>.
56864         * sysdeps/unix/bsd/ulimit.c: Remove file.
56866 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56868         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56869         (LDFLAGS-tst-array5): Likewise.
56871 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56873         [BZ #15036]
56874         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56875         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56876         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56877         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56879 2013-01-21  David S. Miller  <davem@davemloft.net>
56881         * sysdeps/sparc/backtrace.c: New file.
56882         * sysdeps/sparc/sparc32/backtrace.h: New file.
56883         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56884         * sysdeps/sparc/sparc64/backtrace.h: New file.
56885         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56886         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56887         -funwind-tables.
56889 2013-01-21  Andreas Schwab  <schwab@suse.de>
56891         [BZ #15020]
56892         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56893         closed its stdout.
56895 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56898         "mpa2.h".
56899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56901 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56902             Mark Mitchell  <mark@codesourcery.com>
56903             Tom de Vries  <tom@codesourcery.com>
56904             Paul Pluzhnikov  <ppluzhnikov@google.com>
56906         * debug/tst-backtrace2.c: New file.
56907         * debug/tst-backtrace3.c: Likewise.
56908         * debug/tst-backtrace4.c: Likewise.
56909         * debug/tst-backtrace5.c: Likewise.
56910         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56911         (CFLAGS-tst-backtrace3.c): Likewise.
56912         (CFLAGS-tst-backtrace4.c): Likewise.
56913         (CFLAGS-tst-backtrace5.c): Likewise.
56914         (LDFLAGS-tst-backtrace2): Likewise.
56915         (LDFLAGS-tst-backtrace3): Likewise.
56916         (LDFLAGS-tst-backtrace4): Likewise.
56917         (LDFLAGS-tst-backtrace5): Likewise.
56918         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56919         tst-backtrace4 and tst-backtrace5.
56921 2013-01-18  Anton Blanchard  <anton@samba.org>
56922             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56924         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56925         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56926         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56927         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56929         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56930         "+r" and remove output regs list as redundant.  Add explicit inline
56931         asm to specify register of return val to work around compiler codegen
56932         bug.  Remove (int) cast on return value.  Add return type parameter to
56933         use in macro so that this macro does not truncate return value for
56934         64-bit values.
56935         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56936         pass to INTERNAL_VSYSCALL_NCS.
56937         (INLINE_VSYSCALL): Add 'long int' as return type to
56938         INTERNAL_VSYSCALL_NCS macro invocation.
56939         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56940         INTERNAL_VSYSCALL_NCS macro invocation.
56941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56943 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56945         [BZ #14496]
56946         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56947         Fix application of SIMD FP exception mask.
56949         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56950         mp_no from a power of two.
56951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56952         __mpexp_twomm1.  Use __pow_mp.
56954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56955         multiplication.
56957 2013-01-17  David S. Miller  <davem@davemloft.net>
56959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56961 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56963         [BZ #15023]
56964         * include/complex.h: Condition contents on [!_COMPLEX_H].
56965         (__kernel_casinhf): New prototype.
56966         (__kernel_casinh): Likewise.
56967         (__kernel_casinhl): Likewise.
56968         * math/Makefile (libm_calls): Add k_casinh.
56969         * math/k_casinh.c: New file.
56970         * math/k_casinhf.c: Likewise.
56971         * math/k_casinhl.c: Likewise.
56972         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56973         finite nonzero arguments.
56974         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56975         finite nonzero arguments.
56976         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56977         finite nonzero arguments.
56978         * math/s_casinh.c: Do not include <float.h>.
56979         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56980         * math/s_casinhf.c: Do not include <float.h>.
56981         (__casinhf): Move code for finite nonzero arguments to
56982         k_casinhf.c.
56983         * math/s_casinhl.c: Do not include <float.h>.
56984         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56985         redefine.
56986         (__casinhl): Move code for finite nonzero arguments to
56987         k_casinhl.c.
56988         * math/libm-test.inc (cacos_test): Add more tests.
56989         * sysdeps/i386/fpu/libm-test-ulps: Update.
56990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56992 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56994         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56995         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56996         [!HAVE_MREMAP]: Remove [defined linux] case.
56997         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56999 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57001         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
57003 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
57005         * elf/elf.h (R_386_SIZE32): New relocation.
57006         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
57007         R_386_SIZE32.
57008         (elf_machine_rela): Likewise.
57009         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57010         R_X86_64_SIZE64 and R_X86_64_SIZE32.
57012 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57014         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
57015         (FP_FAST_FMA): Do not define.
57016         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
57017         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
57018         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
57019         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
57020         !_SOFT_FLOAT]: Likewise.
57021         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
57022         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
57023         value.
57024         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
57025         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
57026         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
57027         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
57028         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
57029         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
57030         file.
57032 2013-01-16  Andreas Schwab  <schwab@suse.de>
57034         [BZ #14327]
57035         * include/stdlib.h (__mktemp): Add declaration.
57036         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
57037         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
57039 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57041         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
57042         definitions.
57043         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57044         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
57045         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
57046         definitions here.
57047         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
57048         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
57049         definitions.
57050         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
57051         and ONE.
57052         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
57053         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
57054         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57055         definitions.
57056         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
57057         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
57058         definitions.
57059         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57061         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
57063 2013-01-15  David S. Miller  <davem@davemloft.net>
57065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57066         trunc{,f} to libm-sysdep_routes.
57067         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
57069         file.
57070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
57071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
57072         file.
57073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
57074         file.
57075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
57076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
57077         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
57078         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
57079         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
57080         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
57081         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
57082         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
57084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57085         nearbyint{,f} to libm-sysdep_routes.
57086         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
57088         New file.
57089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
57090         file.
57091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
57092         New file.
57093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
57094         file.
57095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
57096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
57097         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
57098         file.
57099         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
57100         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
57101         file.
57102         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
57103         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
57104         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
57106         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57107         libc_feholdexcept and libc_fesetenv.
57109 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
57111         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
57113 2013-01-14  David S. Miller  <davem@davemloft.net>
57115         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
57116         (SPARC_ASM_VIS2_IFUNC): Likewise.
57117         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
57118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57119         use of 'siam' instruction.
57120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
57121         Likewise.
57122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
57123         Likewise.
57124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
57125         Likewise.
57126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
57127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
57128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
57129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
57130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
57131         file.
57132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
57133         file.
57134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
57135         file.
57136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
57137         file.
57138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57143         new VIS2 routines.
57144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57147         Likewise.
57148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57153         routines to libm-sysdep_routines.
57154         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57157         fdim/fdimf to libm-sysdep_routines.
57158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
57159         file.
57160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
57161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57162         file.
57163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
57164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
57165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
57166         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
57167         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
57168         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
57169         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57171 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57173         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57174         to optimize copies.
57176         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57177         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57178         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57181         local variable MPTWO.
57182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57183         Likewise.
57185 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57187         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57188         GLOB_NOESCAPE.
57190 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57192         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57194 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57196         * manual/pattern.texi (glob_t): Document gl_flags.
57197         (glob64_t): Likewise.
57199 2013-01-11  David S. Miller  <davem@davemloft.net>
57201         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57202         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57203         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57204         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57205         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57206         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57207         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57208         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57209         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57210         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57211         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57212         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57213         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57215         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57216         sparc V9 rather than using V8 code.
57217         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57218         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57220         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57221         Move to...
57222         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57223         Here.
57225 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57227         [BZ #14941]
57228         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57229         not in the main loop.
57230         * configure: Regenerated.
57232 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57234         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57235         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57236         to just #else.
57237         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57238         [!__GLIBC_HAVE_LONG_LONG] case.
57239         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57240         condition to just #else.
57241         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57242         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57243         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57244         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57245         unconditional.
57246         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57247         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57248         #elif condition to just #else.
57249         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57250         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57251         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57252         #elif condition to just #else.
57254 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57256         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57257         (EF_MIPS_ARCH_64): Fix value.
57258         (EF_MIPS_ARCH_32R2): New.
57259         (EF_MIPS_ARCH_64R2): New.
57261 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57263         * Makeconfig (+link-pie-before-libc): New.
57264         (+link-pie-after-libc): Likewise.
57265         (+link-pie-tests): Likewise.
57266         (+link-pie): Rewritten.
57267         (link-before-libc): Remove $(config-LDFLAGS).
57268         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57269         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57270         (config-LDFLAGS): Renamed to ...
57271         (rtld-LDFLAGS): This.
57272         (rtld-tests-LDFLAGS): New macro.
57273         (link-libc-rpath-link): Likewise.
57274         (link-libc-tests-rpath-link): Likewise.
57275         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57276         (link-libc): Prepand $(link-libc-rpath-link).
57277         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57278         (test-program-prefix): New macro.
57279         (test-via-rtld-prefix): Likewise.
57280         (test-program-cmd): Likewise.
57281         (host-test-program-cmd): Likewise.
57282         * Makefile ($(common-objpfx)testrun.sh): Replace
57283         $(run-program-prefix) with $(test-program-prefix).
57284         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57285         $(rtld-LDFLAGS).
57286         ($(common-objpfx)shlib.lds): Likewise.
57287         (build-module-helper): Likewise.
57288         ($(common-objpfx)format.lds): Likewise.
57289         * Rules (binaries-pie-tests): New.
57290         (binaries-pie-notests): Likewise.
57291         (binaries-pie): Rewritten.
57292         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57293         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57294         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57295         (make-test-out): Replace $(host-built-program-cmd) with
57296         $(host-test-program-cmd).
57297         * config.make.in (build-hardcoded-path-in-tests): New variable.
57298         * configure.in (--enable-hardcoded-path-in-tests): New configure
57299         option.
57300         (hardcoded_path_in_tests): New AC_SUBST.
57301         * configure: Regenerated.
57302         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57303         $(built-program-cmd) with $(test-program-cmd).
57304         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57305         (test_program_cmd): This.
57306         * elf/Makefile ($(objpfx)order.out): Run test with
57307         $(test-program-prefix).
57308         ($(objpfx)order2.out): Likewise.
57309         ($(objpfx)tst-initorder.out): Likewise.
57310         ($(objpfx)tst-initorder2.out): Likewise.
57311         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57312         $(test-program-cmd).
57313         ($(objpfx)tst-array1-static.out): Likewise.
57314         ($(objpfx)tst-array2.out): Likewise.
57315         ($(objpfx)tst-array3.out): Likewise.
57316         ($(objpfx)tst-array4.out): Likewise.
57317         ($(objpfx)tst-array5.out): Likewise.
57318         ($(objpfx)tst-array5-static.out): Likewise.
57319         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57320         $(test-program-cmd).
57321         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57322         $(run-program-prefix) with $(test-program-prefix).
57323         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57324         (test_program_prefix): This.
57325         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57326         $(run-program-prefix) with $(test-program-prefix).
57327         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57328         (test_program_prefix): This.
57329         * iconvdata/tst-tables.sh: Likewise.
57330         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57331         $(run-program-prefix) with $(test-program-prefix).
57332         ($(objpfx)tst-translit.out): Likewise.
57333         ($(objpfx)tst-gettext2.out): Likewise.
57334         ($(objpfx)tst-gettext4.out): Likewise.
57335         ($(objpfx)tst-gettext6.out): Likewise.
57336         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57337         (test_program_prefix): This.
57338         * intl/tst-gettext2.sh: Likewise.
57339         * intl/tst-gettext4.sh  Likewise.
57340         * intl/tst-gettext6.sh: Likewise.
57341         * intl/tst-translit.sh: Likewise.
57342         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57343         with $(test-program-cmd).
57344         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57345         $(run-program-prefix) with $(test-program-prefix).
57346         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57347         (test_program_prefix): This.
57348         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57349         $(run-program-prefix) with $(test-program-prefix).
57350         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57351         (test_program_prefix): This.
57352         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57353         * posix/Makefile ($(objpfx)globtest.out): Replace
57354         $(run-via-rtld-prefix) and $(test-wrapper) with
57355         $(test-program-prefix) and $(test-via-rtld-prefix).
57356         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57357         $(test-program-prefix).
57358         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57359         $(host-test-program-cmd).
57360         (tst-spawn-ARGS): Likewise.
57361         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57362         $(test-program-prefix).
57363         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57364         (test_via_rtld_prefix): This.
57365         (test_wrapper): Renamed to ...
57366         (test_program_prefix): This.
57367         (run_program_prefix): Replaced by test_program_prefix.
57368         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57369         (test_program_prefix): This.
57370         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57371         with $(host-test-program-cmd).
57372         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57373         $(run-program-prefix) with $(test-program-prefix).
57374         ($(objpfx)tst-printf.out): Likewise.
57375         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57376         $(test-program-cmd).
57377         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57378         (test_program_prefix): This.
57379         * stdio-common/tst-unbputc.sh: Likewise.
57380         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57381         $(run-program-prefix) with $(test-program-prefix).
57382         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57383         (test_program_prefix): This.
57384         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57385         $(built-program-cmd) with $(test-program-cmd).
57387 2013-01-11  Andreas Jaeger  <aj@suse.de>
57389         [BZ #15003]
57390         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57391         value. Sync with Linux 3.7.
57393 2013-01-10  David S. Miller  <davem@davemloft.net>
57395         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57396         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57397         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57399 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57401         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57402         never set.
57403         * configure: Regenerated.
57405 2013-01-10  David S. Miller  <davem@davemloft.net>
57407         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57408         sparc V9 rather than using V8 code.
57409         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57410         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57412 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57414         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57415         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57416         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57417         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57418         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57419         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57420         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57421         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57422         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57423         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57424         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57425         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57426         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57427         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57428         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57429         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57430         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57431         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57432         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57433         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57434         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57435         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57436         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57437         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57438         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57439         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57440         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57442 2013-01-10  David S. Miller  <davem@davemloft.net>
57444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57446 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57448         * posix/Makefile (tests-static): New variable.
57449         (tests): Add $(tests-static).
57450         (tst-exec-static-ARGS): New variable.
57451         (tst-spawn-static-ARGS): Likewise.
57452         * posix/tst-exec-static.c: New file.
57453         * posix/tst-spawn-static.c: Likewise.
57454         * posix/tst-exec.c: Support run directly.
57455         * posix/tst-spawn.c: Likewise.
57457 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57459         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57460         long.
57461         * math/bits/mathcalls.h (llrint): Likewise.
57462         (llround): Likewise.
57463         * stdlib/stdlib.h (struct drand48_data): Likewise.
57464         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57465         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57466         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57467         Likewise.
57468         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57469         Likewise.
57470         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57471         (elf_greg_t): Likewise.
57472         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57473         (__jmp_buf): Likewise.
57474         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57475         definitions.
57476         (llrint): Likewise, for all definitions.
57477         (llrintl): Likewise.
57479         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57480         Remove [__GNUC__] condition.
57481         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57482         condition to just [__USE_ISOC99].
57483         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57485 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57487         [BZ #14200]
57488         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57489         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57490         defined.
57491         (_POSIX_V6_ILP32_OFF32): Likewise.
57492         (_XBS5_ILP32_OFF32): Likewise.
57493         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57494         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57496 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57498         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57500         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57501         doubles __mpexp_twomm1.  Adjust usage.
57502         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57503         Remove.
57505 2013-01-10  Andreas Schwab  <schwab@suse.de>
57507         [BZ #14964]
57508         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57509         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57511 2013-01-09  David S. Miller  <davem@davemloft.net>
57513         [BZ #15003]
57514         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57515         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57516         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57517         (TCP_FASTOPEN): Define.
57518         (tcp_repair_opt): New structure.
57519         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57520         enum values.
57521         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57522         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57523         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57524         (tcp_cookie_transactions): New structure.
57526 2013-01-09  Anton Blanchard  <anton@samba.org>
57528         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57529         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57530         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57531         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57533 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57535         * include/features.h (__USE_ANSI): Remove.
57537 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57539         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57541         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57543 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57545         * sysdeps/s390/fpu/libm-test-ulps: Update.
57547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57549         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57550         (__acr): Likewise.
57551         (__cpy): Likewise.
57552         (norm): Likewise.
57553         (denorm): Likewise.
57554         (__mp_dbl): Likewise.
57555         (__dbl_mp): Likewise.
57556         (add_magnitudes): Likewise.
57557         (sub_magnitudes): Likewise.
57558         (__add): Likewise.
57559         (__sub): Likewise.
57560         (__mul): Likewise.
57561         (__inv): Likewise.
57562         (__dvd): Likewise.
57563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57564         (__acr): Likewise.
57565         (__cpy): Likewise.
57566         (norm): Likewise.
57567         (denorm): Likewise.
57568         (__mp_dbl): Likewise.
57569         (__dbl_mp): Likewise.
57570         (add_magnitudes): Likewise.
57571         (sub_magnitudes): Likewise.
57572         (__add): Likewise.
57573         (__sub): Likewise.
57574         (__mul): Likewise.
57575         (__inv): Likewise.
57576         (__dvd): Likewise.
57577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57578         (__acr): Likewise.
57579         (__cpy): Likewise.
57580         (norm): Likewise.
57581         (denorm): Likewise.
57582         (__mp_dbl): Likewise.
57583         (__dbl_mp): Likewise.
57584         (add_magnitudes): Likewise.
57585         (sub_magnitudes): Likewise.
57586         (__add): Likewise.
57587         (__sub): Likewise.
57588         (__mul): Likewise.
57589         (__inv): Likewise.
57590         (__dvd): Likewise.
57592 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57594         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57595         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57596         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57597         2 && __USE_EXTERN_INLINES]: Likewise.
57599 2013-01-08  Andreas Jaeger  <aj@suse.de>
57601         [BZ# 14985]
57602         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57603         Remove.
57604         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57605         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57607 2013-01-07  Anton Blanchard  <anton@samba.org>
57609         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57610         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57611         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57612         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57613         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57614         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57615         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57616         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57618         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57619         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57620         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57621         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57622         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57623         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57624         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57625         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57626         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57627         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57628         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57629         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57630         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57631         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57632         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57633         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57634         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57635         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57636         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57637         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57638         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57639         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57641         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57642         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57643         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57644         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57645         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57646         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57647         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57648         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57649         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57650         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57651         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57653 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57655         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57656         (__MALLOC_PMT): Likewise.
57657         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57658         [__GNUC__], only on [_LIBC].
57659         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57660         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57661         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57662         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57663         forward declaration.
57664         (realloc_hook_ini): Likewise.
57665         (memalign_hook_ini): Likewise.
57666         (__libc_memalign): Do not use __MALLOC_PMT in variable
57667         declaration.
57668         (__libc_valloc): Likewise.
57669         (__libc_pvalloc): Likewise.
57670         (__libc_calloc): Likewise.
57671         (__posix_memalign): Likewise.
57673         [BZ #14996]
57674         * math/s_casinh.c: Include <float.h>.
57675         (__casinh): Do not do computation with squaring and square root
57676         for large arguments.
57677         * math/s_casinhf.c: Include <float.h>.
57678         (__casinhf): Do not do computation with squaring and square root
57679         for large arguments.
57680         * math/s_casinhl.c: Include <float.h>.
57681         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57682         (__casinhl): Do not do computation with squaring and square root
57683         for large arguments.
57684         * math/libm-test.inc (casin_test): Add more tests.
57685         (casinh_test): Likewise.
57686         * sysdeps/i386/fpu/libm-test-ulps: Update.
57687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57689 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57691         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57692         (__x86_64_raw_data_cache_size): Likewise.
57693         (__x86_64_data_cache_size_half): Likewise.
57694         (__x86_64_raw_data_cache_size_half): Likewise.
57695         (__x86_64_shared_cache_size): Likewise.
57696         (__x86_64_raw_shared_cache_size): Likewise.
57697         (__x86_64_shared_cache_size_half): Likewise.
57698         (__x86_64_raw_shared_cache_size_half): Likewise.
57699         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57700         to ...
57701         (__x86_data_cache_size): This.
57702         (__x86_64_raw_data_cache_size): Renamed to ...
57703         (__x86_raw_data_cache_size): This.
57704         (__x86_64_data_cache_size_half): Renamed to ...
57705         (__x86_data_cache_size_half): This.
57706         (__x86_64_raw_data_cache_size_half): Renamed to ...
57707         (__x86_raw_data_cache_size_half): This.
57708         (__x86_64_shared_cache_size): Renamed to ...
57709         (__x86_shared_cache_size): This.
57710         (__x86_64_raw_shared_cache_size): Renamed to ...
57711         (__x86_raw_shared_cache_size): This.
57712         (__x86_64_shared_cache_size_half): Renamed to ...
57713         (__x86_shared_cache_size_half): This.
57714         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57715         (__x86_raw_shared_cache_size_half): This.
57716         * sysdeps/x86_64/memcpy.S: Updated.
57717         * sysdeps/x86_64/memset.S: Likewise.
57718         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57719         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57720         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57722 2013-01-04  David S. Miller  <davem@davemloft.net>
57724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57726 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57728         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57729         1 to avoid redefinition warning.
57730         (__USE_GNU): Don't define.
57731         (init_signaling_nan): Protoize.
57733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57735 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57737         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57739         (__cpymn): Likewise.
57740         (norm): Remove commented code.
57741         (denorm): Likewise.
57742         (__mp_dbl): Likewise.
57743         (__inv): Likewise.
57744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57745         (__cpymn): Likewise.
57746         (norm): Remove commented code.
57747         (denorm): Likewise.
57748         (__mp_dbl): Likewise.
57749         (__inv): Likewise.
57751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57752         mp_no value for 1.0 and 2.0.
57753         (norm): Use RADIXI instead of radixi.d.
57754         (denorm): Likewise.
57755         (__mul): Use 0.0 instead of zero.d.
57756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57757         mp_no value for 1.0 and 2.0.
57758         (norm): Use RADIXI instead of radixi.d.
57759         (denorm): Likewise.
57760         (__mul): Use 0.0 instead of zero.d.
57762 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57764         [BZ #14994]
57765         * math/s_casinh.c (__casinh): Reduce finite argument to first
57766         quadrant then set signs of results at the end.
57767         * math/s_casinhf.c (__casinhf): Likewise.
57768         * math/s_casinhl.c (__casinhl): Likewise.
57769         * math/libm-test.inc (casin_test): Add more tests.
57770         (casinh_test): Likewise.
57771         * sysdeps/i386/fpu/libm-test-ulps: Update.
57772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57774 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57776         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57778         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57780         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57781         declarations.
57782         (denorm): Likewise.
57783         (__mp_dbl): Likewise.
57784         (__inv): Likewise.
57786         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57787         and adjust the header comment.
57789         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57790         variable name from declaration.
57792 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57795         Initialize COMMON_CPUID_INDEX_7 element.
57796         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57797         (CPUID_RTM): Likewise.
57798         (HAS_RTM): Likewise.
57799         (COMMON_CPUID_INDEX_7): New enum.
57801 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57803         [BZ #14981]
57804         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57805         size is zero, record memory as freed.
57807 2013-01-03  Andreas Jaeger  <aj@suse.de>
57809         * po/ia.po: Add new Interlingua translation.
57811 2012-01-03  Allan McRae  <allan@archlinux.org>
57813         * locale/programs/localedef.c: Fix description of '--posix' flag.
57815 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57817         * NEWS: Update dates in second copyright notice.
57818         * README: Update copyright dates in example.
57819         * manual/libc.texinfo: Update copyright dates.
57820         * scripts/test-installation.pl: Update copyright date in --version
57821         output.
57823         * hurd/ctty-input.c: Fix copyright notice formatting.
57824         * hurd/ctty-output.c: Likewise.
57825         * hurd/dtable.c: Likewise.
57826         * hurd/hurd-raise.c: Likewise.
57827         * hurd/hurdprio.c: Likewise.
57828         * hurd/msgportdemux.c: Likewise.
57829         * misc/sys/file.h: Likewise.
57830         * misc/sys/ioctl.h: Likewise.
57831         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57832         * sysdeps/mach/hurd/chdir.c: Likewise.
57833         * sysdeps/mach/hurd/fchdir.c: Likewise.
57834         * sysdeps/mach/hurd/rename.c: Likewise.
57835         * sysdeps/mach/hurd/rmdir.c: Likewise.
57836         * sysdeps/mach/hurd/seekdir.c: Likewise.
57837         * sysdeps/mach/hurd/setsid.c: Likewise.
57838         * sysdeps/posix/wait3.c: Likewise.
57840         * All files with FSF copyright notices: Update copyright dates
57841         using scripts/update-copyrights.
57842         * intl/plural.c: Regenerated.
57843         * locale/programs/charmap-kw.h: Likewise.
57844         * locale/programs/locfile-kw.h: Likewise.
57846 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57848         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57849         four values.
57851         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57852         calculation loop and add branch prediction.
57854         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57855         check access beyond bounds of m1np.
57857         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57858         MPTWO.
57859         (__inv): Remove local variable MPTWO to use the global
57860         constant.
57861         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57862         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57863         variable MPTWO.
57864         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57865         MP3HALFS static const.
57867 2013-01-01  David S. Miller  <davem@davemloft.net>
57869         * po/ca.po: Update from translation team.
57871 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57873         * scripts/update-copyrights: New file.
57874         * Makeconfig: Reformat copyright notice.
57875         * ctype/ctype.h: Likewise.
57876         * debug/swprintf_chk.c: Likewise.
57877         * elf/dl-cache.c: Likewise.
57878         * elf/dl-debug.c: Likewise.
57879         * elf/dl-object.c: Likewise.
57880         * grp/initgroups.c: Likewise.
57881         * hurd/Makefile: Likewise.
57882         * hurd/hurd/signal.h: Likewise.
57883         * hurd/hurdfault.c: Likewise.
57884         * hurd/hurdioctl.c: Likewise.
57885         * hurd/hurdlookup.c: Likewise.
57886         * hurd/intr-msg.c: Likewise.
57887         * iconv/gconv_open.c: Likewise.
57888         * libio/swprintf.c: Likewise.
57889         * locale/lc-ctype.c: Likewise.
57890         * locale/nl_langinfo.c: Likewise.
57891         * mach/Machrules: Likewise.
57892         * mach/Makefile: Likewise.
57893         * malloc/obstack.h: Likewise.
57894         * manual/Makefile: Likewise.
57895         * manual/tsort.awk: Likewise.
57896         * misc/bits/stab.def: Likewise.
57897         * nis/nis_print_group_entry.c: Likewise.
57898         * nis/nis_table.c: Likewise.
57899         * nis/nss_compat/compat-pwd.c: Likewise.
57900         * nis/nss_compat/compat-spwd.c: Likewise.
57901         * po/Makefile: Likewise.
57902         * posix/fnmatch.c: Likewise.
57903         * posix/regex.h: Likewise.
57904         * resolv/Makefile: Likewise.
57905         * resolv/nss_dns/dns-network.c: Likewise.
57906         * resolv/res_hconf.c: Likewise.
57907         * scripts/gen-sorted.awk: Likewise.
57908         * soft-fp/soft-fp.h: Likewise.
57909         * stdio-common/printf.h: Likewise.
57910         * stdlib/monetary.h: Likewise.
57911         * stdlib/random.c: Likewise.
57912         * stdlib/random_r.c: Likewise.
57913         * sysdeps/generic/Makefile: Likewise.
57914         * sysdeps/gnu/Makefile: Likewise.
57915         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57916         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57917         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57918         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57919         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57920         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57921         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57922         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57923         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57924         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57925         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57926         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57927         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57928         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57929         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57930         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57931         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57932         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57933         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57934         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57935         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57936         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57937         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57938         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57939         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57940         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57941         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57942         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57943         * sysdeps/mach/hurd/errnos.awk: Likewise.
57944         * sysdeps/mach/hurd/fork.c: Likewise.
57945         * sysdeps/mach/hurd/getcwd.c: Likewise.
57946         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57947         * sysdeps/mach/hurd/mmap.c: Likewise.
57948         * sysdeps/mach/hurd/utimes.c: Likewise.
57949         * sysdeps/mach/hurd/xmknod.c: Likewise.
57950         * sysdeps/posix/profil.c: Likewise.
57951         * sysdeps/posix/readdir_r.c: Likewise.
57952         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57953         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57954         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57955         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57957         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57958         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57959         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57961         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57962         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57963         * sysdeps/pthread/lio_listio.c: Likewise.
57964         * sysdeps/sparc/dl-procinfo.h: Likewise.
57965         * sysdeps/unix/i386/sysdep.S: Likewise.
57966         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57967         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57968         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57969         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57971         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57972         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57973         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57974         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57975         * sysdeps/wordsize-32/divdi3.c: Likewise.
57976         * time/sys/time.h: Likewise.
57977         * wcsmbs/Makefile: Likewise.
57979 2013-01-01  David S. Miller  <davem@davemloft.net>
57981         * po/fr.po: Update from translation team.
57983         * catgets/gencat.c: Update copyright year.
57984         * csu/version.c: Likewise.
57985         * debug/catchsegv.sh: Likewise.
57986         * debug/pcprofiledump.c: Likewise.
57987         * debug/xtrace.sh: Likewise.
57988         * elf/ldconfig.c: Likewise.
57989         * elf/ldd.bash.in: Likewise.
57990         * elf/pldd.c: Likewise.
57991         * elf/sotruss.ksh: Likewise.
57992         * elf/sprof.c: Likewise.
57993         * iconv/iconv_prog.c: Likewise.
57994         * iconv/iconvconfig.c: Likewise.
57995         * locale/programs/locale.c: Likewise.
57996         * locale/programs/localedef.c: Likewise.
57997         * login/programs/pt_chown.c: Likewise.
57998         * malloc/memusage.sh: Likewise.
57999         * malloc/memusagestat.c: Likewise.
58000         * malloc/mtrace.pl: Likewise.
58001         * nscd/nscd.c: Likewise.
58002         * nss/getent.c: Likewise.
58003         * nss/makedb.c: Likewise.
58004         * posix/getconf.c: Likewise.
58006 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58008         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
58009         numbers.
58011 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
58013         * math/bits/mathcalls.h (modf): Use __nonnull.
58015 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58017         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
58018         (split): Use macro CN instead of the bare value.
58019         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
58020         could be used.
58021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
58022         instead of the bare value.
58023         (power1): Likewise.
58025 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58027         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
58028         __ATAN_TWOM.
58029         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58031         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
58032         their values.
58033         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58034         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58035         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58036         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58038 2012-12-28  Andreas Jaeger  <aj@suse.de>
58040         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
58041         values are from Linux 3.7.
58043         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
58044         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
58046 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58048         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
58049         TRUE case.
58051         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
58052         (norm): Likewise.
58053         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
58054         variables with preprocessor constants.
58055         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58056         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58057         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58059 2012-12-27  Bruno Haible  <bruno@clisp.org>
58061         [BZ #14317]
58062         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
58063         only if needed.
58065 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
58068         and use variable directly.
58069         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
58071         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58072         MPONE.
58073         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
58074         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58075         variable MPONE.
58076         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58077         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58078         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
58079         include directive.  Remove local variable MPONE.
58080         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
58081         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
58082         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58084 2012-12-25  David S. Miller  <davem@davemloft.net>
58086         * version.h (RELEASE): Set to "development".
58087         (VERSION): Set to "2.17.90".
58088         * NEWS: Add 2.18 section.
58090 2012-12-21  David S. Miller  <davem@davemloft.net>
58092         * po/hr.po: Update from translation team.
58094 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58096         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
58098 2012-12-19  Steve Ellcey  <sellcey@mips.com>
58100         * NEWS:  Mention new memcpy for MIPS.
58102 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58104         * manual/contrib.texi (Contributors): Spelling correction.
58106 2012-12-15  David S. Miller  <davem@davemloft.net>
58108         * po/ru.po: Update from translation team.
58110 2012-12-13  David S. Miller  <davem@davemloft.net>
58112         * NEWS: Mention IFUNC testsuite enhancements.
58114         * po/pl.po: Update from translation team.
58115         * po/bg.po: Likewise.
58117         * manual/contrib.texi (Contributors): Update entries for Hongjiu
58118         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
58120 2012-12-11  David S. Miller  <davem@davemloft.net>
58122         * po/sv.po: Update from translation team.
58124         * po/vi.po: Update from translation team.
58126         * po/cs.po: Update from translation team.
58128         * po/de.po: Update from translation team.
58129         * po/eo.po: Likewise.
58130         * po/nl.po: Likewise.
58132 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58134         [BZ #14246]
58135         * manual/argp.texi (Argp Helper Functions): Move node to follow
58136         Argp Parsing State.
58138         [BZ #14872]
58139         * manual/conf.texi (Limits on File System Capacity): Mention if
58140         terminating null is included in the max size.
58142 2012-12-10  Andreas Jaeger  <aj@suse.de>
58144         * po/cs.po: Update from translation team.
58146 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58148         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58149         void pointer and cast to uintptr_t.
58150         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58151         path.
58152         * sysdeps/s390/s390-64/memcpy.S: Likewise.
58153         * sysdeps/s390/s390-64/memset.S: Likewise.
58155 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
58157         [BZ #14833]
58158         * menual/message.texi (Message Translation): Fix typos.
58159         (Helper programs for gettext): Likewise.
58161 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
58163         [BZ #14898]
58164         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58165         Change to -1.
58167 2012-12-07  David S. Miller  <davem@davemloft.net>
58169         * po/libc.pot: Update.
58171 2012-12-07  Richard Henderson  <rth@redhat.com>
58173         [BZ #10114]
58174         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58175         normal/normal case to before the switch.
58176         (_FP_DIV): Likewise.
58178 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58179             Mike Frysinger  <vapier@gentoo.org>
58181         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58182         check for __NR_fadvise64_64.
58184 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58186         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58187         0, not just to plain "0" as a statement.
58188         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58189         with cw.
58191 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58193         * NEWS: Use sourceware.org in Bugzilla URL.
58195 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58198         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58200         * stdio-common/tst-put-error.c (do_test): Add newline to the
58201         padded test to ensure flush.
58203 2012-12-05  Jeff Law  <law@redhat.com>
58205         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58207 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58209         * README: Don't refer to ports add-on as distributed separately.
58210         Mention AArch64 in list of systems supported in the ports add-on.
58212         * LICENSES: Add more non-FSF copyright and license notices.
58214         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58215         ((unused)).
58217         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58219         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58220         10000 as width of padded output.
58222 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58224         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58226         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58227         variable LX with __attribute__ ((unused)).
58228         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58229         Likewise.
58230         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58232         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58233         with __attribute__ ((unused)).
58235 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58237         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58239 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58241         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58242         (CFLAGS-nldbl-acos.c): New variable.
58243         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58244         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58245         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58246         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58247         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58248         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58249         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58250         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58251         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58252         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58253         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58254         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58255         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58256         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58257         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58258         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58259         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58260         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58261         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58262         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58263         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58264         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58265         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58266         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58267         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58268         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58269         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58270         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58271         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58272         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58273         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58274         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58275         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58276         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58277         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58278         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58279         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58280         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58281         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58282         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58283         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58284         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58285         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58286         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58287         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58288         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58289         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58290         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58291         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58292         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58293         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58294         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58295         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58296         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58297         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58298         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58299         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58300         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58301         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58302         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58303         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58304         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58305         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58306         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58307         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58308         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58309         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58310         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58311         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58312         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58313         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58314         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58315         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58316         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58317         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58318         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58319         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58320         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58321         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58322         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58323         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58324         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58325         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58326         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58327         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58328         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58329         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58330         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58331         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58332         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58333         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58334         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58335         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58336         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58337         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58338         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58339         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58342         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58344         [BZ #14914]
58345         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58346         whole low double instead of just low 47 bits when splitting values
58347         into two parts.
58349 2012-12-03  Allan McRae  <allan@archlinux.org>
58351         * manual/stdio.texi (Predefined Printf Handlers): Remove
58352         @hsep and @vsep usage.
58354 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58356         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58357         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58359 2012-12-03  Jeff Law  <law@redhat.com>
58361         * time/sys/time.h (settimeofday): Do not mark TV argument
58362         as __nonnull.
58364 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58366         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58367         when currently writing and seek to current position when not.
58368         * libio/Makefile (tests): Remove bug-fclose1.
58369         * libio/bug-fclose1.c: Delete.
58371 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58373         * manual/arith.texi (feenableexcept): Fix typo.
58374         (fedisableexcept): Likewise.
58376 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58378         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58379         second, differently-typed declaration, rather than a cast.
58381 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58383         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58384         * include/rpc/svc.h: ... here.
58386 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58388         [BZ #13013]
58389         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58390         depending n and resplen2 to catch cases where answer
58391         equals answerp2.
58393 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58395         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58396         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58398 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58400         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58402 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58404         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58406 2012-11-28  Jeff Law  <law@redhat.com>
58408         [BZ #13761]
58409         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58410         dataset_temporary.  Track alloca usage into alloca_used.
58411         If dataset is large allocate and release it via malloc/free.
58413 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58415         [BZ #14197]
58416         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58418 2012-11-28  David S. Miller  <davem@davemloft.net>
58420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58422 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58424         [BZ #14803]
58425         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58426         of pi/2 rounded to nearest to 64 bits.
58427         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58428         nearest to 64 bits.
58429         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58430         bits.
58432 2012-11-28  Jeff Law <law@redhat.com>
58433             Martin Osvald <mosvald@redhat.com>
58435         [BZ #14889]
58436         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58437         * sunrpc/svc.c: Include time.h.
58438         (__svc_accept_failed): New function.
58439         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58440         any reason other than EINTR, call __svc_accept_failed.
58441         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58442         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58444 2012-11-28  Andreas Schwab  <schwab@suse.de>
58446         * scripts/abilist.awk: Also handle indirect functions in .opd
58447         section.
58449 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58451         [BZ #13881]
58452         * sysdeps/x86/fpu/powl_helper.c: New file.
58453         * sysdeps/x86/fpu/Makefile: Likewise.
58454         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58455         (p3): New object.
58456         (__ieee754_powl): Use __powl_helper for finite arguments except
58457         integer exponents below 8.
58458         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58459         (p3): New object.
58460         (__ieee754_powl): Use __powl_helper for finite arguments except
58461         integer exponents below 8.
58462         * math/libm-test.inc (pow_test): Add more tests and enable some
58463         previously disabled tests.
58464         * sysdeps/i386/fpu/libm-test-ulps: Update.
58465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58467 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58468             Carlos O'Donell  <carlos_odonell@mentor.com>
58470         * nss/makedb.c (is_prime): Assert that input is odd and greater
58471         than 4.  Note that fact in a comment too.
58472         (next_prime): Add 4 to input.
58474 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58476         [BZ #11741]
58477         * libio/Makefile (tests): Add test case tst-fwrite-error.
58478         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58479         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58480         * libio/tst-fwrite-error.c: New test case.
58482 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58484         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58485         before casting to void *.
58486         * include/libc-internal.h (__pointer_type): New macro.
58487         (__integer_if_pointer_type_sub): Likewise.
58488         (__integer_if_pointer_type): Likewise.
58489         (cast_to_integer): Likewise.
58490         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58491         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58492         before casting to atomic64_t.
58493         (atomic_exchange_acq): Likewise.
58494         (__arch_exchange_and_add_body): Likewise.
58495         (__arch_add_body): Likewise.
58496         (atomic_add_negative): Likewise.
58497         (atomic_add_zero): Likewise.
58499 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58501         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58502         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58503         (add_fdes): Likewise.
58504         (linear_search_fdes): Likewise.
58505         (binary_search_unencoded_fdes): Likewise.
58507 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58509         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58511 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58513         * configure.in: Autodetect C++ header directories.
58514         * configure: Regenerated.
58516 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58518         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58520 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58524 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58526         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58527         LDBL_MANT_DIG == 106]: Disable some tests.
58528         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58529         Likewise.
58530         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58531         Likewise.
58533         [BZ #14871]
58534         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58535         input for small inputs.  Return +/- pi/2 for large inputs.
58536         * math/libm-test.inc (atan_test): Add more tests.
58538         * sysdeps/generic/unwind-dw2-fde-glibc.c
58539         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58540         __attribute__ ((unused)).
58542         [BZ #14645]
58543         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58544         x * y if x and y are nonzero and z is zero.
58546         [BZ #14811]
58547         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58548         nonzero exponents with absolute value below 0x1p-117 to +/-
58549         0x1p-117.
58551         [BZ #14869]
58552         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58553         up arguments below 2**-450, not just those below 2**-500.
58554         * math/libm-test.inc (hypot_test): Add another test.
58556         [BZ #14868]
58557         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58558         Return a+b for ratio over 2**120, not 2**60.
58559         * math/libm-test.inc (hypot_test): Add another test.
58561         * math/libm-test.inc (clog_test): Use
58562         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58563         (clog10_test): Likewise.
58565         [BZ #6778]
58566         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58568 2012-11-22  Andreas Schwab  <schwab@suse.de>
58570         * sysdeps/i386/fpu/libm-test-ulps: Update.
58572 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58574         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58575         printf output with newline.
58577 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58579         [BZ #14865]
58580         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58581         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58582         -z nodlopen, -z initfirst and -z execstack support.
58583         * configure: Regenerated.
58585         * elf/elf.h (DF_1_NODIRECT): New macro.
58586         (DF_1_IGNMULDEF): Likewise.
58587         (DF_1_NOKSYMS): Likewise.
58588         (DF_1_NOHDR): Likewise.
58589         (DF_1_EDITED): Likewise.
58590         (DF_1_NORELOC): Likewise.
58591         (DF_1_SYMINTPOSE): Likewise.
58592         (DF_1_GLOBAUDIT): Likewise.
58593         (DF_1_SINGLETON): Likewise.
58594         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58595         DT_1_SUPPORTED_MASK bits.
58596         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58598 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58600         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58602 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58604         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58605         macro.
58607         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58608         (sendmmsg): Move declarations...
58609         * socket/sys/socket.h: ... here.
58610         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58611         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58612         include it from...
58613         * socket/recvmmsg.c: ... this new file.
58614         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58615         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58616         definition of __sendmmsg hidden.
58617         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58618         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58619         Move ENOSYS stub into and include it from...
58620         * socket/sendmmsg.c: ... this new file.
58621         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58622         (sysdep_routines): Move recvmmsg and sendmmsg...
58623         * socket/Makefile (routines): ... here.
58624         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58625         (GLIBC_PRIVATE): Add __sendmmsg.
58626         * include/sys/socket.h (__sendmmsg): Add declarations.
58627         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58628         sendmmsg.
58630 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58632         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58633         variable I1 with __attribute__ ((unused)).
58634         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58636 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58638         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58639         DUMMY variables with __attribute__ ((unused)).
58641         * bits/byteswap.h: Include <bits/types.h>.
58642         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58644 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58646         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58647         string_t.  Do not manually set errno.
58648         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58649         length with __strnlen.  Make sure to both set errno and return it on
58650         failure.
58652 2012-11-19  David S. Miller  <davem@davemloft.net>
58654         With help from Joseph Myers.
58655         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58656         very large arguments properly.
58657         * math/libm-test.inc (atan_test): New tests.
58658         (atan2_test): New tests.
58659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58662 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58664         [BZ #14856]
58665         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58666         Define to 3.
58668         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58669         [POSIX] (EADDRNOTAVAIL): Likewise.
58670         [POSIX] (EAFNOSUPPORT): Likewise.
58671         [POSIX] (EALREADY): Likewise.
58672         [POSIX] (ECONNABORTED): Likewise.
58673         [POSIX] (ECONNREFUSED): Likewise.
58674         [POSIX] (ECONNRESET): Likewise.
58675         [POSIX] (EDESTADDRREQ): Likewise.
58676         [POSIX] (EDQUOT): Likewise.
58677         [POSIX] (EHOSTUNREACH): Likewise.
58678         [POSIX] (EIDRM): Likewise.
58679         [POSIX] (EISCONN): Likewise.
58680         [POSIX] (ELOOP): Likewise.
58681         [POSIX] (EMULTIHOP): Likewise.
58682         [POSIX] (ENETDOWN): Likewise.
58683         [POSIX] (ENETUNREACH): Likewise.
58684         [POSIX] (ENOBUFS): Likewise.
58685         [POSIX] (ENODATA): Likewise.
58686         [POSIX] (ENOLINK): Likewise.
58687         [POSIX] (ENOMSG): Likewise.
58688         [POSIX] (ENOPROTOOPT): Likewise.
58689         [POSIX] (ENOSR): Likewise.
58690         [POSIX] (ENOSTR): Likewise.
58691         [POSIX] (ENOTCONN): Likewise.
58692         [POSIX] (ENOTSOCK): Likewise.
58693         [POSIX] (EOPNOTSUPP): Likewise.
58694         [POSIX] (EOVERFLOW): Likewise.
58695         [POSIX] (EPROTO): Likewise.
58696         [POSIX] (EPROTONOSUPPORT): Likewise.
58697         [POSIX] (EPROTOTYPE): Likewise.
58698         [POSIX] (ESTALE): Likewise.
58699         [POSIX] (ETIME): Likewise.
58700         [POSIX] (ETXTBSY): Likewise.
58701         [POSIX] (EWOULDBLOCK): Likewise.
58702         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58703         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58704         [POSIX] (SEEK_CUR): Likewise.
58705         [POSIX] (SEEK_END): Likewise.
58706         [POSIX || UNIX98] (mode_t): Do not require.
58707         [POSIX] (off_t): Likewise.
58708         [POSIX] (pid_t): Likewise.
58709         [POSIX] (sys/stat.h): Do not allow header.
58710         [POSIX] (unistd.h): Likewise.
58711         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58712         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58713         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58714         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58715         require.
58716         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58717         sigevent): Specify elements.
58718         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58719         entry.
58720         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58721         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58723         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58724         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58725         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58726         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58727         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58728         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58729         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58730         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58731         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58732         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58733         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58734         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58735         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58736         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58737         Likewise.
58738         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58739         Likewise.
58740         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58741         Likewise.
58742         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58743         Likewise.
58744         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58745         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58746         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58747         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58748         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58749         Specify lower bound on value.
58750         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58751         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58752         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58753         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58754         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58755         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58756         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58757         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58758         value.
58759         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58760         as optional.
58761         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58762         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58763         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58764         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58765         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58766         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58767         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58768         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58769         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58770         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58771         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58772         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58773         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58774         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58775         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58776         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58777         entry.
58778         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58779         optional.
58780         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58781         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58782         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58783         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58784         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58785         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58786         Likewise.
58787         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58788         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58789         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58790         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58791         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58792         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58793         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58794         as optional.
58795         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58796         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58797         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58798         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58799         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58800         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58801         specify as optional.
58802         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58803         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58804         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58805         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58806         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58807         [XPG3] (NL_LANGMAX): Likewise.
58808         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58809         [POSIX || XPG3] (NL_NMAX): Likewise.
58810         [POSIX || XPG3] (NL_SETMAX): Likewise.
58811         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58812         [XPG3] (NZERO): Likewise.
58813         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58814         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58815         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58816         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58817         (REG_ERANGE): Expect.
58818         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58819         optional-constant.
58820         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58821         Use (void) in prototype.
58822         [POSIX] (*_t): Allow.
58823         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58824         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58825         (WRDE_BADVAL): Expect.
58827         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58828         expect.
58829         [XPG3 || XPG4] (O_RSYNC): Likewise.
58830         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58831         Likewise.
58832         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58833         [XPG3 || XPG4] (sigqueue): Likewise.
58834         [XPG3 || XPG4] (sigtimedwait): Likewise.
58835         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58836         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58837         [XPG3 || XPG4] (vsnprintf): Likewise.
58838         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58839         Likewise.
58840         [XPG3 || XPG4] (blksize_t): Likewise.
58841         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58842         Likewise.
58843         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58844         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58845         [XPG3 || XPG4] (struct itimerspec): Likewise.
58846         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58847         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58848         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58849         [XPG3 || XPG4] (clockid_t): Likewise.
58850         [XPG3 || XPG4] (timer_t): Likewise.
58851         [XPG3 || XPG4] (clock_getres): Likewise.
58852         [XPG3 || XPG4] (clock_gettime): Likewise.
58853         [XPG3 || XPG4] (clock_settime): Likewise.
58854         [XPG3 || XPG4] (nanosleep): Likewise.
58855         [XPG3 || XPG4] (timer_create): Likewise.
58856         [XPG3 || XPG4] (timer_delete): Likewise.
58857         [XPG3 || XPG4] (timer_gettime): Likewise.
58858         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58859         [XPG3 || XPG4] (timer_settime): Likewise.
58860         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58861         [XPG3 || XPG4] (getlogin_r): Likewise.
58862         [XPG3 || XPG4] (pread): Likewise.
58863         [XPG3 || XPG4] (pthread_atfork): Likewise.
58864         [XPG3 || XPG4] (pwrite): Likewise.
58866         [BZ #14835]
58867         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58868         <bits/siginfo.h>.
58870 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58872         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58873         finalizing MALLSTREAM.
58875         * sysdeps/mach/hurd/syncfs.c: New file.
58877 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58879         [BZ #14719]
58880         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58881         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58882         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58883         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58884         (_nss_dns_gethostbyname4_r): Likewise.
58885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58886         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58888 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58890         [BZ #13763]
58891         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58893 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58895         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58896         * elf/cache.c (print_entry): Print ",AArch64" for
58897         FLAG_AARCH64_LIB64
58899         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58900         * elf/cache.c (print_entry): Print ",hard-float" for
58901         FLAG_ARM_LIBHF.
58903 2012-11-18  David S. Miller  <davem@davemloft.net>
58905         With help from Joseph Myers.
58906         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58907         cutoff to 2**-13.
58908         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58909         cutoff to 2**-25.
58910         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58911         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58912         small.
58913         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58914         * math/libm-test.inc (y0_test): New tests.
58915         (y1_test): New tests.
58916         * sysdeps/i386/fpu/libm-test-ulps: Update.
58917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58920 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58922         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58923         64-bit targets.
58924         * configure: Regenerated.
58926 2012-11-17  David S. Miller  <davem@davemloft.net>
58928         [BZ #14811]
58929         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58930         nonzero exponents with absolute value below 0x1p-128 to +/-
58931         0x1p-128.
58933 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58935         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58937         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58939         * posix/getconf-speclist.c: New file.
58940         * posix/posix-envs.def: Likewise.
58941         * posix/confstr.c (START_ENV_GROUP): New macro.
58942         (END_ENV_GROUP): Likewise.
58943         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58944         (KNOWN_PRESENT_ENV_STRING): Likewise.
58945         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58946         (UNKNOWN_ENVIRONMENT): Likewise.
58947         (confstr): Include posix-envs.def instead of handling
58948         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58949         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58950         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58951         (END_ENV_GROUP): Likewise.
58952         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58953         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58954         (UNKNOWN_ENVIRONMENT): Likewise.
58955         (__sysconf): Include posix-envs.def instead of handling associated
58956         cases directly here.
58957         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58958         preprocessing getconf-speclist.c rather than running getconf or
58959         generating empty file.
58961 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58963         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58965 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58967         [BZ #14672]
58968         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58970 2012-11-16  David S. Miller  <davem@davemloft.net>
58972         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58973         smaller than LDBL_EPSILON/2.0L, just return xm1.
58975 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58977         * elf/tst-array1.c (init): Set constructor priority to 1000.
58978         (fini): Set destructor priority to 1000.
58979         * elf/tst-array2dep.c: Likewise.
58981 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58983         [BZ #11741]
58984         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58985         (_IO_new_file_xsputn): Also return EOF if none of the input
58986         data was written when overflow failed.
58987         * libio/iopadn.c (_IO_padn): Likewise.
58988         * libio/iowpadn.c (_IO_wpadn): Likewise.
58989         * stdio-common/tst-put-error.c: Add copyright notice.
58990         (do_test): Add case for printing padded string.
58991         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58992         _IO_padn returned error.
58993         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58994         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58995         return EOF.
58997 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58999         * libio/libioP.h: Add comment note that the references to C++
59000         bits are now obsolete.
59002 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59004         * math/libm-test.inc (check_complex): Use asprintf.
59006 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
59008         * debug/pcprofiledump.c (print_version): Update copyright year.
59009         * malloc/memusagestat.c (print_version): Likewise.
59011 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
59013         [BZ #14831]
59014         * elf/Makefile (tests): Add tst-audit8.
59015         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
59016         ($(objpfx)tst-audit8.out): New target.
59017         (tst-audit8-ENV): New variable.
59018         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59019         audit if l_reloc_result is NULL.
59020         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
59021         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
59022         * elf/tst-audit8.c: New file.
59024 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59026         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
59027         * misc/Makefile (CFLAGS-select.c): Define.
59028         * posix/Makefile (CFLAGS-pause.c): Define.
59030 2012-11-13  David S. Miller  <davem@davemloft.net>
59032         * crypt/Makefile: Move test targets after toplevel Rules
59033         inclusion.  Grab any necessary sysdep routines when linking.
59034         * crypt/md5.c (md5_process_block): Remove define, we will always
59035         name it __md5_process_block.
59036         (md5_finish_ctx): Update md5_process_block call.
59037         (md5_stream): Likewise.
59038         (md5_process_bytes): Likewise.
59039         (md5_process_block): Rename to __md5_process_block and move to ...
59040         * crypt/md5-block.c: ... here.
59041         * crypt/sha256.c (sha256_process_block): Move to ...
59042         * crypt/sha256-block.c: ... here.
59043         * crypt/sha512.c (sha512_process_block): Move to ...
59044         * crypt/sha512-block.c: ... here.
59045         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
59046         path.
59047         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
59048         * sysdeps/sparc/sparc64/multiarch/Makefile
59049         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
59050         crypt subdir.
59051         (localedef-aux): Add md5 crypto assembler when in locale subdir.
59052         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
59053         multiarch changes.
59054         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59055         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
59056         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
59057         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
59058         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
59059         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
59060         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
59061         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
59062         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
59063         file.
59064         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
59065         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
59066         file.
59067         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
59069 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
59071         * timezone/tzselect.ksh: Update from tzcode git revision
59072         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
59073         * timezone/zdump.c: Likewise.
59074         * timezone/zic.c: Likewise.
59075         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
59076         in TZVERSION setting, not $(PKGVERSION).
59077         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
59078         REPORT_BUGS_TO settings.
59080         [BZ #14838]
59081         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
59082         macro.
59084 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59086         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
59087         detection to immediately after _FP_ROUND().
59088         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
59089         bits are 0.
59091 2012-11-11  David S. Miller  <davem@davemloft.net>
59093         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
59094         inttypes.h
59095         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
59096         __close rather than their public counterparts.
59098 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
59100         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
59101         file.
59102         [UNIX98] (sem_timedwait): Do not expect.
59103         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
59104         [XPG4 || UNIX98] (sockatmark): Do not expect.
59105         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
59106         (clock_getcpuclockid): Do not expect.
59107         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
59108         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
59109         Do not expect.
59110         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
59111         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
59112         [UNIX98] (vwscanf): Likewise.
59113         [UNIX98] (vswscanf): Likewise.
59115 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
59117         * timezone/version.h: Remove file.
59118         * timezone/README: Do not refer to version.h.
59119         * timezone/Makefile ($(objpfx)zic.o): New dependency on
59120         $(objpfx)version.h.
59121         ($(objpfx)zdump.o): Likewise.
59122         ($(objpfx)version.h): New target.
59124         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
59125         2012i.
59126         * timezone/README: Don't mention modification to tzselect.ksh.
59127         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
59128         work on unmodified tzselect.ksh.  Substitute version numbers in
59129         tzselect.ksh.
59131         * Makefile (format-me): Remove.
59132         (INSTALL): Adjust indentation.  Use commands directly instead of
59133         using $(format-me).
59135         * aclocal.m4 (ACX_PKGVERSION): New macro.
59136         (ACX_BUGURL): Likewise.
59137         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59138         (PKGVERSION): New AC_DEFINE_UNQUOTED.
59139         (REPORT_BUGS_TO): Likewise.
59140         * configure: Regenerated.
59141         * config.h.in (PKGVERSION): New macro.
59142         (REPORT_BUGS_TO): Likewise.
59143         * config.make.in (PKGVERSION): New variable.
59144         (PKGVERSION_TEXI): Likewise.
59145         (REPORT_BUGS_TO): Likewise.
59146         (REPORT_BUGS_TEXI): Likewise.
59147         * Makefile (format-me): Use -I$(common-objpfx)manual.
59148         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59149         ($(common-objpfx)manual/%): New target.
59150         (manual/%): Remove target.
59151         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59152         (print_version): Use PKGVERSION.
59153         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59154         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59155         and REPORT_BUGS_TO.
59156         ($(objpfx)xtrace): Likewise.
59157         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
59158         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
59159         (print_version): Use PKGVERSION.
59160         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
59161         (do_version): Use PKGVERSION.
59162         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59163         REPORT_BUGS_TO.
59164         (common-ldd-rewrite): Likewise.
59165         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
59166         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
59167         (print_version): Use PKGVERSION.
59168         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
59169         * elf/pldd.c (argp_program_bug_address): Remove variable.
59170         (more_help): New function.
59171         (argp): Use more_help.
59172         (print_version): Use PKGVERSION.
59173         * elf/sln.c (main): Use PKGVERSION.
59174         (usage): Use REPORT_BUGS_TO.
59175         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59176         (top level): Use PKGVERSION.
59177         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59178         (print_version): Use PKGVERSION.
59179         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59180         (print_version): Use PKGVERSION.
59181         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59182         (print_version): Use PKGVERSION.
59183         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59184         (print_version): Use PKGVERSION.
59185         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59186         (print_version): Use PKGVERSION.
59187         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59188         (print_version): Use PKGVERSION.
59189         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59190         and BUGURL.
59191         ($(objpfx)memusage): Likewise.
59192         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59193         (do_version): Use PKGVERSION.
59194         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59195         (print_version): Use PKGVERSION.
59196         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59197         ($PKGVERSION): New variable.
59198         ($REPORT_BUGS_TO): Likewise.
59199         (usage): Use $REPORT_BUGS_TO.
59200         (top level): Use $PKGVERSION.
59201         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59202         ($(objpfx)pkgvers.texi): New rule.
59203         ($(objpfx)stamp-pkgvers): Likewise.
59204         * manual/install.texi: Include pkgvers.texi.
59205         (--with-pkgversion): Document new configure option.
59206         (--with-bugurl): Likewise.
59207         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59208         than necessarily for this particular distribution.  Use
59209         REPORT_BUGS_TO for where to report bugs.
59210         * INSTALL: Regenerated.
59211         * manual/libc.texinfo: Include pkgvers.texi.
59212         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59213         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59214         (print_version): Use PKGVERSION.
59215         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59216         (print_version): Use PKGVERSION.
59217         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59218         (print_version): Use PKGVERSION.
59219         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59220         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59221         macro.
59222         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59223         (print_version): Use PKGVERSION.
59224         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59225         (print_version): Use PKGVERSION.
59226         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59227         and PKGVERSION.
59229         * timezone/checktab.awk: Update from tzcode 2012i.
59230         * timezone/ialloc.c: Likewise.
59231         * timezone/private.h: Likewise.
59232         * timezone/scheck.c: Likewise.
59233         * timezone/tzfile.h: Likewise.
59234         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59235         (TZVERSION): Hardcode tzcode version number.
59236         * timezone/zdump.c: Update from tzcode 2012i.
59237         * timezone/zic.c: Likewise.
59238         * timezone/version.h: New file.
59239         * timezone/README: Describe version.h.  Update upstream location.
59241         [BZ #14824]
59242         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59243         (mktemp): Enable declaration.
59244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59245         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59247         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59248         Likewise.
59249         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59250         Likewise.
59251         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59252         Likewise.
59253         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59254         Likewise.
59255         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59256         Likewise.
59257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59258         Likewise.
59260         [BZ #14821]
59261         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59262         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59263         for copies of such integer values.
59264         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59265         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59267 2012-11-09  Andreas Jaeger  <aj@suse.de>
59269         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59270         definitions and declarations that are provided by
59271         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59273 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59275         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59276         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59277         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59278         definition.
59280 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59282         * elf/elf.h: Update comment before AArch64 relocations.
59284 2012-11-07  David S. Miller  <davem@davemloft.net>
59286         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59287         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59288         (__start_context): Declare.
59289         (__makecontext_ret): Delete.
59290         (__makecontext): Hook up __start_context instead of
59291         __makecontext_ret.
59292         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59293         (sysdep_routines): Add __start_context when in stdlib.
59295 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59297         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59298         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59299         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59300         hardcoded "nm".
59301         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59302         (READELF): New variable.  Use it instead of hardcoded "readelf".
59304 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59306         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59307         * sysdeps/x86/Makefile: Here.
59308         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59309         * sysdeps/x86/tst-xmmymm.sh: This.
59311 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59313         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59314         expectations.
59315         [UNIX98] (pthread_barrier_t): Do not expect.
59316         [UNIX98] (pthread_barrierattr_t): Likewise.
59317         [UNIX98] (pthread_spinlock_t): Likewise.
59318         [UNIX98] (pthread_barrier_destroy): Likewise.
59319         [UNIX98] (pthread_barrier_init): Likewise.
59320         [UNIX98] (pthread_barrier_wait): Likewise.
59321         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59322         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59323         [UNIX98] (pthread_barrierattr_init): Likewise.
59324         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59325         [UNIX98] (pthread_getcpuclockid): Likewise.
59326         [UNIX98] (pthread_mutex_timedlock): Likewise.
59327         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59328         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59329         [UNIX98] (pthread_sigmask): Likewise.
59330         [UNIX98] (pthread_spin_destroy): Likewise.
59331         [UNIX98] (pthread_spin_init): Likewise.
59332         [UNIX98] (pthread_spin_lock): Likewise.
59333         [UNIX98] (pthread_spin_trylock): Likewise.
59334         [UNIX98] (pthread_spin_unlock): Likewise.
59335         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59336         Do not expect.
59337         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59338         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59339         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59340         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59341         [XPG3 || XPG4] (pthread_key_t): Likewise.
59342         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59343         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59344         [XPG3 || XPG4] (pthread_once_t): Likewise.
59345         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59346         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59347         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59348         [XPG3 || XPG4] (pthread_t): Likewise.
59350         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59351         not expect.
59352         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59354         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59355         Change function return type to int.
59357         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59358         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59359         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59360         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59361         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59362         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59363         [!POSIX] (posix_madvise): Likewise.
59364         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59365         && !UNIX98].
59366         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59367         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59368         (mode_t): Likewise.
59369         (posix_mem_offset): Likewise.
59370         (posix_typed_mem_get_info): Likewise.
59371         (posix_typed_mem_open): Likewise.
59373         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59374         Change condition to [XOPEN2K8].
59376         * conform/conformtest.pl: Preprocess allow-header data with -x c
59377         instead of from stdin.
59378         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59379         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59380         [C99-based standards] (cerfc): Likewise.
59381         [C99-based standards] (cexp2): Likewise.
59382         [C99-based standards] (cexpm1): Likewise.
59383         [C99-based standards] (clog10): Likewise.
59384         [C99-based standards] (clog1p): Likewise.
59385         [C99-based standards] (clog2): Likewise.
59386         [C99-based standards] (clgamma): Likewise.
59387         [C99-based standards] (ctgamma): Likewise.
59388         [C99-based standards] (cerff): Likewise.
59389         [C99-based standards] (cerfcf): Likewise.
59390         [C99-based standards] (cexp2f): Likewise.
59391         [C99-based standards] (cexpm1f): Likewise.
59392         [C99-based standards] (clog10f): Likewise.
59393         [C99-based standards] (clog1pf): Likewise.
59394         [C99-based standards] (clog2f): Likewise.
59395         [C99-based standards] (clgammaf): Likewise.
59396         [C99-based standards] (ctgammaf): Likewise.
59397         [C99-based standards] (cerfl): Likewise.
59398         [C99-based standards] (cerfcl): Likewise.
59399         [C99-based standards] (cexp2l): Likewise.
59400         [C99-based standards] (cexpm1l): Likewise.
59401         [C99-based standards] (clog10l): Likewise.
59402         [C99-based standards] (clog1pl): Likewise.
59403         [C99-based standards] (clog2l): Likewise.
59404         [C99-based standards] (clgammal): Likewise.
59405         [C99-based standards] (ctgammal): Likewise.
59406         * conform/data/inttypes.h-data [C99-based standards]: Include
59407         stdint.h-data.  Remove all expectations for stdint.h contents.
59408         [C99-based standards] (PRI*): Do not allow.
59409         [C99-based standards] (SCN*): Likewise.
59410         [C99-based standards] (*_t): Likewise.
59411         [C99-based-standards] (PRId8): Expect macro.
59412         [C99-based-standards] (PRIi8): Likewise.
59413         [C99-based-standards] (PRIo8): Likewise.
59414         [C99-based-standards] (PRIu8): Likewise.
59415         [C99-based-standards] (PRIx8): Likewise.
59416         [C99-based-standards] (PRIX8): Likewise.
59417         [C99-based-standards] (SCNd8): Likewise.
59418         [C99-based-standards] (SCNi8): Likewise.
59419         [C99-based-standards] (SCNo8): Likewise.
59420         [C99-based-standards] (SCNu8): Likewise.
59421         [C99-based-standards] (SCNx8): Likewise.
59422         [C99-based-standards] (PRIdLEAST8): Likewise.
59423         [C99-based-standards] (PRIiLEAST8): Likewise.
59424         [C99-based-standards] (PRIoLEAST8): Likewise.
59425         [C99-based-standards] (PRIuLEAST8): Likewise.
59426         [C99-based-standards] (PRIxLEAST8): Likewise.
59427         [C99-based-standards] (PRIXLEAST8): Likewise.
59428         [C99-based-standards] (SCNdLEAST8): Likewise.
59429         [C99-based-standards] (SCNiLEAST8): Likewise.
59430         [C99-based-standards] (SCNoLEAST8): Likewise.
59431         [C99-based-standards] (SCNuLEAST8): Likewise.
59432         [C99-based-standards] (SCNxLEAST8): Likewise.
59433         [C99-based-standards] (PRIdFAST8): Likewise.
59434         [C99-based-standards] (PRIiFAST8): Likewise.
59435         [C99-based-standards] (PRIoFAST8): Likewise.
59436         [C99-based-standards] (PRIuFAST8): Likewise.
59437         [C99-based-standards] (PRIxFAST8): Likewise.
59438         [C99-based-standards] (PRIXFAST8): Likewise.
59439         [C99-based-standards] (SCNdFAST8): Likewise.
59440         [C99-based-standards] (SCNiFAST8): Likewise.
59441         [C99-based-standards] (SCNoFAST8): Likewise.
59442         [C99-based-standards] (SCNuFAST8): Likewise.
59443         [C99-based-standards] (SCNxFAST8): Likewise.
59444         [C99-based-standards] (PRId16): Likewise.
59445         [C99-based-standards] (PRIi16): Likewise.
59446         [C99-based-standards] (PRIo16): Likewise.
59447         [C99-based-standards] (PRIu16): Likewise.
59448         [C99-based-standards] (PRIx16): Likewise.
59449         [C99-based-standards] (PRIX16): Likewise.
59450         [C99-based-standards] (SCNd16): Likewise.
59451         [C99-based-standards] (SCNi16): Likewise.
59452         [C99-based-standards] (SCNo16): Likewise.
59453         [C99-based-standards] (SCNu16): Likewise.
59454         [C99-based-standards] (SCNx16): Likewise.
59455         [C99-based-standards] (PRIdLEAST16): Likewise.
59456         [C99-based-standards] (PRIiLEAST16): Likewise.
59457         [C99-based-standards] (PRIoLEAST16): Likewise.
59458         [C99-based-standards] (PRIuLEAST16): Likewise.
59459         [C99-based-standards] (PRIxLEAST16): Likewise.
59460         [C99-based-standards] (PRIXLEAST16): Likewise.
59461         [C99-based-standards] (SCNdLEAST16): Likewise.
59462         [C99-based-standards] (SCNiLEAST16): Likewise.
59463         [C99-based-standards] (SCNoLEAST16): Likewise.
59464         [C99-based-standards] (SCNuLEAST16): Likewise.
59465         [C99-based-standards] (SCNxLEAST16): Likewise.
59466         [C99-based-standards] (PRIdFAST16): Likewise.
59467         [C99-based-standards] (PRIiFAST16): Likewise.
59468         [C99-based-standards] (PRIoFAST16): Likewise.
59469         [C99-based-standards] (PRIuFAST16): Likewise.
59470         [C99-based-standards] (PRIxFAST16): Likewise.
59471         [C99-based-standards] (PRIXFAST16): Likewise.
59472         [C99-based-standards] (SCNdFAST16): Likewise.
59473         [C99-based-standards] (SCNiFAST16): Likewise.
59474         [C99-based-standards] (SCNoFAST16): Likewise.
59475         [C99-based-standards] (SCNuFAST16): Likewise.
59476         [C99-based-standards] (SCNxFAST16): Likewise.
59477         [C99-based-standards] (PRId32): Likewise.
59478         [C99-based-standards] (PRIi32): Likewise.
59479         [C99-based-standards] (PRIo32): Likewise.
59480         [C99-based-standards] (PRIu32): Likewise.
59481         [C99-based-standards] (PRIx32): Likewise.
59482         [C99-based-standards] (PRIX32): Likewise.
59483         [C99-based-standards] (SCNd32): Likewise.
59484         [C99-based-standards] (SCNi32): Likewise.
59485         [C99-based-standards] (SCNo32): Likewise.
59486         [C99-based-standards] (SCNu32): Likewise.
59487         [C99-based-standards] (SCNx32): Likewise.
59488         [C99-based-standards] (PRIdLEAST32): Likewise.
59489         [C99-based-standards] (PRIiLEAST32): Likewise.
59490         [C99-based-standards] (PRIoLEAST32): Likewise.
59491         [C99-based-standards] (PRIuLEAST32): Likewise.
59492         [C99-based-standards] (PRIxLEAST32): Likewise.
59493         [C99-based-standards] (PRIXLEAST32): Likewise.
59494         [C99-based-standards] (SCNdLEAST32): Likewise.
59495         [C99-based-standards] (SCNiLEAST32): Likewise.
59496         [C99-based-standards] (SCNoLEAST32): Likewise.
59497         [C99-based-standards] (SCNuLEAST32): Likewise.
59498         [C99-based-standards] (SCNxLEAST32): Likewise.
59499         [C99-based-standards] (PRIdFAST32): Likewise.
59500         [C99-based-standards] (PRIiFAST32): Likewise.
59501         [C99-based-standards] (PRIoFAST32): Likewise.
59502         [C99-based-standards] (PRIuFAST32): Likewise.
59503         [C99-based-standards] (PRIxFAST32): Likewise.
59504         [C99-based-standards] (PRIXFAST32): Likewise.
59505         [C99-based-standards] (SCNdFAST32): Likewise.
59506         [C99-based-standards] (SCNiFAST32): Likewise.
59507         [C99-based-standards] (SCNoFAST32): Likewise.
59508         [C99-based-standards] (SCNuFAST32): Likewise.
59509         [C99-based-standards] (SCNxFAST32): Likewise.
59510         [C99-based-standards] (PRId64): Likewise.
59511         [C99-based-standards] (PRIi64): Likewise.
59512         [C99-based-standards] (PRIo64): Likewise.
59513         [C99-based-standards] (PRIu64): Likewise.
59514         [C99-based-standards] (PRIx64): Likewise.
59515         [C99-based-standards] (PRIX64): Likewise.
59516         [C99-based-standards] (SCNd64): Likewise.
59517         [C99-based-standards] (SCNi64): Likewise.
59518         [C99-based-standards] (SCNo64): Likewise.
59519         [C99-based-standards] (SCNu64): Likewise.
59520         [C99-based-standards] (SCNx64): Likewise.
59521         [C99-based-standards] (PRIdLEAST64): Likewise.
59522         [C99-based-standards] (PRIiLEAST64): Likewise.
59523         [C99-based-standards] (PRIoLEAST64): Likewise.
59524         [C99-based-standards] (PRIuLEAST64): Likewise.
59525         [C99-based-standards] (PRIxLEAST64): Likewise.
59526         [C99-based-standards] (PRIXLEAST64): Likewise.
59527         [C99-based-standards] (SCNdLEAST64): Likewise.
59528         [C99-based-standards] (SCNiLEAST64): Likewise.
59529         [C99-based-standards] (SCNoLEAST64): Likewise.
59530         [C99-based-standards] (SCNuLEAST64): Likewise.
59531         [C99-based-standards] (SCNxLEAST64): Likewise.
59532         [C99-based-standards] (PRIdFAST64): Likewise.
59533         [C99-based-standards] (PRIiFAST64): Likewise.
59534         [C99-based-standards] (PRIoFAST64): Likewise.
59535         [C99-based-standards] (PRIuFAST64): Likewise.
59536         [C99-based-standards] (PRIxFAST64): Likewise.
59537         [C99-based-standards] (PRIXFAST64): Likewise.
59538         [C99-based-standards] (SCNdFAST64): Likewise.
59539         [C99-based-standards] (SCNiFAST64): Likewise.
59540         [C99-based-standards] (SCNoFAST64): Likewise.
59541         [C99-based-standards] (SCNuFAST64): Likewise.
59542         [C99-based-standards] (SCNxFAST64): Likewise.
59543         [C99-based-standards] (PRIdMAX): Likewise.
59544         [C99-based-standards] (PRIiMAX): Likewise.
59545         [C99-based-standards] (PRIoMAX): Likewise.
59546         [C99-based-standards] (PRIuMAX): Likewise.
59547         [C99-based-standards] (PRIxMAX): Likewise.
59548         [C99-based-standards] (PRIXMAX): Likewise.
59549         [C99-based-standards] (SCNdMAX): Likewise.
59550         [C99-based-standards] (SCNiMAX): Likewise.
59551         [C99-based-standards] (SCNoMAX): Likewise.
59552         [C99-based-standards] (SCNuMAX): Likewise.
59553         [C99-based-standards] (SCNxMAX): Likewise.
59554         [C99-based-standards] (PRIdPTR): Likewise.
59555         [C99-based-standards] (PRIiPTR): Likewise.
59556         [C99-based-standards] (PRIoPTR): Likewise.
59557         [C99-based-standards] (PRIuPTR): Likewise.
59558         [C99-based-standards] (PRIxPTR): Likewise.
59559         [C99-based-standards] (PRIXPTR): Likewise.
59560         [C99-based-standards] (SCNdPTR): Likewise.
59561         [C99-based-standards] (SCNiPTR): Likewise.
59562         [C99-based-standards] (SCNoPTR): Likewise.
59563         [C99-based-standards] (SCNuPTR): Likewise.
59564         [C99-based-standards] (SCNxPTR): Likewise.
59565         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59566         allow.
59567         * conform/data/stdint.h-data: Update comments to clarify
59568         requirements.
59569         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59570         type.
59571         [C99-based standards] (INT8_MAX): Likewise.
59572         [C99-based standards] (INT16_MIN): Likewise.
59573         [C99-based standards] (INT16_MAX): Likewise.
59574         [C99-based standards] (INT32_MIN): Likewise.
59575         [C99-based standards] (INT32_MAX): Likewise.
59576         [C99-based standards] (INT64_MIN): Likewise.
59577         [C99-based standards] (INT64_MAX): Likewise.
59578         [C99-based standards] (UINT8_MAX): Likewise.
59579         [C99-based standards] (UINT16_MAX): Likewise.
59580         [C99-based standards] (UINT32_MAX): Likewise.
59581         [C99-based standards] (UINT64_MAX): Likewise.
59582         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59583         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59584         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59585         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59586         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59587         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59588         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59589         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59590         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59591         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59592         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59593         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59594         [C99-based standards] (INT_FAST8_MIN): Likewise.
59595         [C99-based standards] (INT_FAST8_MAX): Likewise.
59596         [C99-based standards] (INT_FAST16_MIN): Likewise.
59597         [C99-based standards] (INT_FAST16_MAX): Likewise.
59598         [C99-based standards] (INT_FAST32_MIN): Likewise.
59599         [C99-based standards] (INT_FAST32_MAX): Likewise.
59600         [C99-based standards] (INT_FAST64_MIN): Likewise.
59601         [C99-based standards] (INT_FAST64_MAX): Likewise.
59602         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59603         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59604         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59605         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59606         [C99-based standards] (INTPTR_MIN): Likewise.
59607         [C99-based standards] (INTPTR_MAX): Likewise.
59608         [C99-based standards] (UINTPTR_MAX): Likewise.
59609         [C99-based standards] (INTMAX_MIN): Likewise.
59610         [C99-based standards] (INTMAX_MAX): Likewise.
59611         [C99-based standards] (UINTMAX_MAX): Likewise.
59612         [C99-based standards] (PTRDIFF_MIN): Likewise.
59613         [C99-based standards] (PTRDIFF_MAX): Likewise.
59614         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59615         [C99-based standards] (SIZE_MAX): Likewise.
59616         [C99-based standards] (WCHAR_MAX): Likewise.
59617         [C99-based standards] (WINT_MAX): Likewise.
59618         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59619         constraint on value.
59620         [C99-based standards] (WCHAR_MIN): Likewise.
59621         [C99-based standards] (WINT_MIN): Likewise.
59622         [C99-based standards] (*_t): Allow.
59623         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59624         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59625         Include math.h-data and complex.h-data.  Remove all expectations
59626         of math.h and complex.h contents.
59627         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59628         at end of line.
59629         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59630         (struct tm): Expect tag.
59631         [C99-based-standards] (wcstof): Expect function.
59632         [C99-based-standards] (wcstold): Likewise.
59633         [C99-based-standards] (wcstoll): Likewise.
59634         [C99-based-standards] (wcstoull): Likewise.
59635         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59636         macro-int-constant.  Specify type.
59637         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59638         constraint on value.
59639         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59640         Specify type.
59641         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59642         Specify value.
59643         [ISO C standards]: Do not allow headers.
59644         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59645         wcs[abcdefghijklmnopqrstuvwxyz]*.
59646         [ISO C standards] (*_t): Do not allow.
59647         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59648         Expect function.
59649         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59650         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59651         Specify type.
59652         [ISO C standards]: Do not allow headers.
59653         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59654         is[abcdefghijklmnopqrstuvwxyz]*.
59655         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59656         to[abcdefghijklmnopqrstuvwxyz]*.
59657         [ISO C standards] (*_t): Do not allow.
59658         * conform/data/stdalign.h-data: New file.
59659         * conform/data/stdbool.h-data: Likewise.
59660         * conform/data/stdnoreturn.h-data: Likewise.
59662 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59664         [BZ #14815]
59665         * manual/filesys.texi (Directory Entries): Typo fix.
59666         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59668 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59670         * elf/elf.h (EM_AARCH64): New macro.
59671         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59672         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59673         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59674         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59675         (R_AARCH64_TLSDESC): Likewise.
59676         (NT_ARM_TLS): Likewise.
59677         (NT_ARM_HW_BREAK): Likewise.
59678         (NT_ARM_HW_WATCH): Likewise.
59680 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59682         [BZ #14811]
59683         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59684         (__ieee754_powl): Saturate nonzero exponents with absolute value
59685         below 0x1p-79 to +/- 0x1p-79.
59686         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59687         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59688         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59689         nonzero exponents with absolute value below 0x1p-32 to +/-
59690         0x1p-32.
59691         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59692         (__ieee754_powl): Saturate nonzero exponents with absolute value
59693         below 0x1p-79 to +/- 0x1p-79.
59694         * math/libm-test.inc (pow_test): Add more tests.
59696 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59698         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59699         _dl_s390_cap_flags with kernel. Increase string length.
59700         (_dl_s390_platforms): Add z196 and zEC12.
59702 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59704         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59705         Change XOPEN21K to XOPEN2K.
59707 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59709         * string/memmove.c: Use memcpy when possible.
59711 2012-11-06  Andreas Jaeger  <aj@suse.de>
59713         * po/eo.po: Update from translation team.
59715 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59717         [BZ #14793]
59718         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59719         exponent and small x and y exponents, scale x or y up.  Increase
59720         by 2 the exponent used in scaling up.
59721         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59722         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59723         * math/libm-test.inc (fma_test): Add more tests.
59724         (fma_test_towardzero): Likewise.
59725         (fma_test_downward): Likewise.
59726         (fma_test_upward): Likewise.
59728 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59730         [BZ #14805]
59731         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59732         fenv_t *.
59734         [BZ #14801]
59735         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59736         namespace for names of struct fields.
59737         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59738         fenv_t fields.
59739         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59740         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59742 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59744         [BZ #3665]
59745         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59747 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59749         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59750         PTR_DEMANGLE.
59752         [BZ #5246]
59753         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59754         PTR_DEMANGLE.
59756 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59758         [BZ #14797]
59759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59760         definitely overflow as x * y not x * y + z.
59761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59762         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59763         * math/libm-test.inc (fma_test): Add more tests.
59764         (fma_test_towardzero): Likewise.
59765         (fma_test_downward): Likewise.
59766         (fma_test_upward): Likewise.
59768 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59770         [BZ #157]
59772         * include/stub-tag.h: Remove file.
59773         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59774         '#include' of it.
59775         * manual/maint.texi (Porting): Don't reference it.
59776         * Makerules ($(objpfx)stubs): Likewise.
59777         * dirent/closedir.c: Don't include <stub-tag.h>.
59778         * dirent/dirfd.c: Likewise.
59779         * dirent/fdopendir.c: Likewise.
59780         * dirent/getdents.c: Likewise.
59781         * dirent/getdents64.c: Likewise.
59782         * dirent/opendir.c: Likewise.
59783         * dirent/readdir.c: Likewise.
59784         * dirent/readdir64.c: Likewise.
59785         * dirent/readdir64_r.c: Likewise.
59786         * dirent/readdir_r.c: Likewise.
59787         * dirent/rewinddir.c: Likewise.
59788         * dirent/seekdir.c: Likewise.
59789         * dirent/telldir.c: Likewise.
59790         * gmon/profil.c: Likewise.
59791         * grp/setgroups.c: Likewise.
59792         * inet/if_index.c: Likewise.
59793         * io/access.c: Likewise.
59794         * io/chdir.c: Likewise.
59795         * io/chmod.c: Likewise.
59796         * io/chown.c: Likewise.
59797         * io/close.c: Likewise.
59798         * io/dup.c: Likewise.
59799         * io/dup2.c: Likewise.
59800         * io/dup3.c: Likewise.
59801         * io/euidaccess.c: Likewise.
59802         * io/faccessat.c: Likewise.
59803         * io/fchdir.c: Likewise.
59804         * io/fchmod.c: Likewise.
59805         * io/fchmodat.c: Likewise.
59806         * io/fchown.c: Likewise.
59807         * io/fchownat.c: Likewise.
59808         * io/fcntl.c: Likewise.
59809         * io/flock.c: Likewise.
59810         * io/fstatfs.c: Likewise.
59811         * io/fstatfs64.c: Likewise.
59812         * io/fstatvfs.c: Likewise.
59813         * io/fstatvfs64.c: Likewise.
59814         * io/futimens.c: Likewise.
59815         * io/fxstat.c: Likewise.
59816         * io/fxstat64.c: Likewise.
59817         * io/fxstatat.c: Likewise.
59818         * io/fxstatat64.c: Likewise.
59819         * io/getcwd.c: Likewise.
59820         * io/isatty.c: Likewise.
59821         * io/lchmod.c: Likewise.
59822         * io/lchown.c: Likewise.
59823         * io/link.c: Likewise.
59824         * io/linkat.c: Likewise.
59825         * io/lseek.c: Likewise.
59826         * io/lseek64.c: Likewise.
59827         * io/lxstat64.c: Likewise.
59828         * io/mkdir.c: Likewise.
59829         * io/mkdirat.c: Likewise.
59830         * io/mkfifo.c: Likewise.
59831         * io/mkfifoat.c: Likewise.
59832         * io/open.c: Likewise.
59833         * io/open64.c: Likewise.
59834         * io/openat.c: Likewise.
59835         * io/openat64.c: Likewise.
59836         * io/pipe.c: Likewise.
59837         * io/pipe2.c: Likewise.
59838         * io/poll.c: Likewise.
59839         * io/posix_fadvise.c: Likewise.
59840         * io/posix_fadvise64.c: Likewise.
59841         * io/posix_fallocate.c: Likewise.
59842         * io/posix_fallocate64.c: Likewise.
59843         * io/read.c: Likewise.
59844         * io/readlink.c: Likewise.
59845         * io/readlinkat.c: Likewise.
59846         * io/rmdir.c: Likewise.
59847         * io/sendfile.c: Likewise.
59848         * io/sendfile64.c: Likewise.
59849         * io/statfs.c: Likewise.
59850         * io/statfs64.c: Likewise.
59851         * io/statvfs.c: Likewise.
59852         * io/statvfs64.c: Likewise.
59853         * io/symlink.c: Likewise.
59854         * io/symlinkat.c: Likewise.
59855         * io/ttyname.c: Likewise.
59856         * io/ttyname_r.c: Likewise.
59857         * io/umask.c: Likewise.
59858         * io/unlink.c: Likewise.
59859         * io/unlinkat.c: Likewise.
59860         * io/utime.c: Likewise.
59861         * io/utimensat.c: Likewise.
59862         * io/write.c: Likewise.
59863         * io/xmknod.c: Likewise.
59864         * io/xmknodat.c: Likewise.
59865         * io/xstat.c: Likewise.
59866         * io/xstat64.c: Likewise.
59867         * login/getpt.c: Likewise.
59868         * login/grantpt.c: Likewise.
59869         * login/unlockpt.c: Likewise.
59870         * math/e_acoshl.c: Likewise.
59871         * math/e_acosl.c: Likewise.
59872         * math/e_asinl.c: Likewise.
59873         * math/e_atan2l.c: Likewise.
59874         * math/e_atanhl.c: Likewise.
59875         * math/e_coshl.c: Likewise.
59876         * math/e_expl.c: Likewise.
59877         * math/e_fmodl.c: Likewise.
59878         * math/e_gammal_r.c: Likewise.
59879         * math/e_hypotl.c: Likewise.
59880         * math/e_j0l.c: Likewise.
59881         * math/e_j1l.c: Likewise.
59882         * math/e_jnl.c: Likewise.
59883         * math/e_lgammal_r.c: Likewise.
59884         * math/e_log10l.c: Likewise.
59885         * math/e_log2l.c: Likewise.
59886         * math/e_logl.c: Likewise.
59887         * math/e_powl.c: Likewise.
59888         * math/e_rem_pio2l.c: Likewise.
59889         * math/e_sinhl.c: Likewise.
59890         * math/e_sqrtl.c: Likewise.
59891         * math/fclrexcpt.c: Likewise.
59892         * math/fedisblxcpt.c: Likewise.
59893         * math/feenablxcpt.c: Likewise.
59894         * math/fegetenv.c: Likewise.
59895         * math/fegetexcept.c: Likewise.
59896         * math/fegetround.c: Likewise.
59897         * math/feholdexcpt.c: Likewise.
59898         * math/fesetenv.c: Likewise.
59899         * math/fesetround.c: Likewise.
59900         * math/feupdateenv.c: Likewise.
59901         * math/fgetexcptflg.c: Likewise.
59902         * math/fraiseexcpt.c: Likewise.
59903         * math/fsetexcptflg.c: Likewise.
59904         * math/ftestexcept.c: Likewise.
59905         * math/k_cosl.c: Likewise.
59906         * math/k_rem_pio2l.c: Likewise.
59907         * math/k_sinl.c: Likewise.
59908         * math/k_tanl.c: Likewise.
59909         * math/s_asinhl.c: Likewise.
59910         * math/s_atanl.c: Likewise.
59911         * math/s_cbrtl.c: Likewise.
59912         * math/s_erfl.c: Likewise.
59913         * math/s_expm1l.c: Likewise.
59914         * math/s_log1pl.c: Likewise.
59915         * math/s_tanhl.c: Likewise.
59916         * misc/acct.c: Likewise.
59917         * misc/brk.c: Likewise.
59918         * misc/chflags.c: Likewise.
59919         * misc/chroot.c: Likewise.
59920         * misc/fchflags.c: Likewise.
59921         * misc/fgetxattr.c: Likewise.
59922         * misc/flistxattr.c: Likewise.
59923         * misc/fremovexattr.c: Likewise.
59924         * misc/fsetxattr.c: Likewise.
59925         * misc/fsync.c: Likewise.
59926         * misc/ftruncate.c: Likewise.
59927         * misc/futimes.c: Likewise.
59928         * misc/futimesat.c: Likewise.
59929         * misc/getdomain.c: Likewise.
59930         * misc/getdtsz.c: Likewise.
59931         * misc/gethostid.c: Likewise.
59932         * misc/gethostname.c: Likewise.
59933         * misc/getloadavg.c: Likewise.
59934         * misc/getpagesize.c: Likewise.
59935         * misc/getsysstats.c: Likewise.
59936         * misc/getxattr.c: Likewise.
59937         * misc/gtty.c: Likewise.
59938         * misc/ioctl.c: Likewise.
59939         * misc/lgetxattr.c: Likewise.
59940         * misc/listxattr.c: Likewise.
59941         * misc/llistxattr.c: Likewise.
59942         * misc/lremovexattr.c: Likewise.
59943         * misc/lsetxattr.c: Likewise.
59944         * misc/lutimes.c: Likewise.
59945         * misc/madvise.c: Likewise.
59946         * misc/mincore.c: Likewise.
59947         * misc/mlock.c: Likewise.
59948         * misc/mlockall.c: Likewise.
59949         * misc/mmap.c: Likewise.
59950         * misc/mprotect.c: Likewise.
59951         * misc/msync.c: Likewise.
59952         * misc/munlock.c: Likewise.
59953         * misc/munlockall.c: Likewise.
59954         * misc/munmap.c: Likewise.
59955         * misc/preadv.c: Likewise.
59956         * misc/preadv64.c: Likewise.
59957         * misc/ptrace.c: Likewise.
59958         * misc/pwritev.c: Likewise.
59959         * misc/pwritev64.c: Likewise.
59960         * misc/readv.c: Likewise.
59961         * misc/reboot.c: Likewise.
59962         * misc/remap_file_pages.c: Likewise.
59963         * misc/removexattr.c: Likewise.
59964         * misc/revoke.c: Likewise.
59965         * misc/select.c: Likewise.
59966         * misc/setdomain.c: Likewise.
59967         * misc/setegid.c: Likewise.
59968         * misc/seteuid.c: Likewise.
59969         * misc/sethostid.c: Likewise.
59970         * misc/sethostname.c: Likewise.
59971         * misc/setregid.c: Likewise.
59972         * misc/setreuid.c: Likewise.
59973         * misc/setxattr.c: Likewise.
59974         * misc/sstk.c: Likewise.
59975         * misc/stty.c: Likewise.
59976         * misc/swapoff.c: Likewise.
59977         * misc/swapon.c: Likewise.
59978         * misc/sync.c: Likewise.
59979         * misc/syncfs.c: Likewise.
59980         * misc/syscall.c: Likewise.
59981         * misc/truncate.c: Likewise.
59982         * misc/ualarm.c: Likewise.
59983         * misc/usleep.c: Likewise.
59984         * misc/ustat.c: Likewise.
59985         * misc/utimes.c: Likewise.
59986         * misc/vhangup.c: Likewise.
59987         * misc/writev.c: Likewise.
59988         * posix/_exit.c: Likewise.
59989         * posix/alarm.c: Likewise.
59990         * posix/execve.c: Likewise.
59991         * posix/fexecve.c: Likewise.
59992         * posix/fork.c: Likewise.
59993         * posix/fpathconf.c: Likewise.
59994         * posix/getaddrinfo.c: Likewise.
59995         * posix/getegid.c: Likewise.
59996         * posix/geteuid.c: Likewise.
59997         * posix/getgid.c: Likewise.
59998         * posix/getgroups.c: Likewise.
59999         * posix/getlogin.c: Likewise.
60000         * posix/getlogin_r.c: Likewise.
60001         * posix/getpgid.c: Likewise.
60002         * posix/getpid.c: Likewise.
60003         * posix/getppid.c: Likewise.
60004         * posix/getresgid.c: Likewise.
60005         * posix/getresuid.c: Likewise.
60006         * posix/getsid.c: Likewise.
60007         * posix/getuid.c: Likewise.
60008         * posix/glob64.c: Likewise.
60009         * posix/nanosleep.c: Likewise.
60010         * posix/pathconf.c: Likewise.
60011         * posix/pause.c: Likewise.
60012         * posix/posix_madvise.c: Likewise.
60013         * posix/pread.c: Likewise.
60014         * posix/pread64.c: Likewise.
60015         * posix/pwrite.c: Likewise.
60016         * posix/pwrite64.c: Likewise.
60017         * posix/sched_getaffinity.c: Likewise.
60018         * posix/sched_getp.c: Likewise.
60019         * posix/sched_gets.c: Likewise.
60020         * posix/sched_primax.c: Likewise.
60021         * posix/sched_primin.c: Likewise.
60022         * posix/sched_rr_gi.c: Likewise.
60023         * posix/sched_setaffinity.c: Likewise.
60024         * posix/sched_setp.c: Likewise.
60025         * posix/sched_sets.c: Likewise.
60026         * posix/sched_yield.c: Likewise.
60027         * posix/setgid.c: Likewise.
60028         * posix/setlogin.c: Likewise.
60029         * posix/setpgid.c: Likewise.
60030         * posix/setresgid.c: Likewise.
60031         * posix/setresuid.c: Likewise.
60032         * posix/setsid.c: Likewise.
60033         * posix/setuid.c: Likewise.
60034         * posix/sleep.c: Likewise.
60035         * posix/spawni.c: Likewise.
60036         * posix/sysconf.c: Likewise.
60037         * posix/times.c: Likewise.
60038         * posix/wait.c: Likewise.
60039         * posix/wait3.c: Likewise.
60040         * posix/wait4.c: Likewise.
60041         * posix/waitpid.c: Likewise.
60042         * resolv/gai_sigqueue.c: Likewise.
60043         * resource/getpriority.c: Likewise.
60044         * resource/getrlimit.c: Likewise.
60045         * resource/getrusage.c: Likewise.
60046         * resource/nice.c: Likewise.
60047         * resource/setpriority.c: Likewise.
60048         * resource/setrlimit.c: Likewise.
60049         * resource/ulimit.c: Likewise.
60050         * rt/aio_cancel.c: Likewise.
60051         * rt/aio_fsync.c: Likewise.
60052         * rt/aio_read.c: Likewise.
60053         * rt/aio_sigqueue.c: Likewise.
60054         * rt/aio_suspend.c: Likewise.
60055         * rt/aio_write.c: Likewise.
60056         * rt/clock_getres.c: Likewise.
60057         * rt/clock_gettime.c: Likewise.
60058         * rt/clock_nanosleep.c: Likewise.
60059         * rt/clock_settime.c: Likewise.
60060         * rt/lio_listio.c: Likewise.
60061         * rt/mq_close.c: Likewise.
60062         * rt/mq_getattr.c: Likewise.
60063         * rt/mq_notify.c: Likewise.
60064         * rt/mq_open.c: Likewise.
60065         * rt/mq_receive.c: Likewise.
60066         * rt/mq_send.c: Likewise.
60067         * rt/mq_setattr.c: Likewise.
60068         * rt/mq_timedreceive.c: Likewise.
60069         * rt/mq_timedsend.c: Likewise.
60070         * rt/mq_unlink.c: Likewise.
60071         * rt/shm_open.c: Likewise.
60072         * rt/shm_unlink.c: Likewise.
60073         * rt/timer_create.c: Likewise.
60074         * rt/timer_delete.c: Likewise.
60075         * rt/timer_getoverr.c: Likewise.
60076         * rt/timer_gettime.c: Likewise.
60077         * rt/timer_settime.c: Likewise.
60078         * setjmp/__longjmp.c: Likewise.
60079         * setjmp/setjmp.c: Likewise.
60080         * signal/kill.c: Likewise.
60081         * signal/killpg.c: Likewise.
60082         * signal/raise.c: Likewise.
60083         * signal/sigaction.c: Likewise.
60084         * signal/sigaltstack.c: Likewise.
60085         * signal/sigblock.c: Likewise.
60086         * signal/sigignore.c: Likewise.
60087         * signal/sigintr.c: Likewise.
60088         * signal/signal.c: Likewise.
60089         * signal/sigpause.c: Likewise.
60090         * signal/sigpending.c: Likewise.
60091         * signal/sigqueue.c: Likewise.
60092         * signal/sigreturn.c: Likewise.
60093         * signal/sigset.c: Likewise.
60094         * signal/sigsetmask.c: Likewise.
60095         * signal/sigstack.c: Likewise.
60096         * signal/sigsuspend.c: Likewise.
60097         * signal/sigtimedwait.c: Likewise.
60098         * signal/sigvec.c: Likewise.
60099         * signal/sigwait.c: Likewise.
60100         * signal/sigwaitinfo.c: Likewise.
60101         * signal/sysv_signal.c: Likewise.
60102         * socket/accept.c: Likewise.
60103         * socket/accept4.c: Likewise.
60104         * socket/bind.c: Likewise.
60105         * socket/connect.c: Likewise.
60106         * socket/getpeername.c: Likewise.
60107         * socket/getsockname.c: Likewise.
60108         * socket/getsockopt.c: Likewise.
60109         * socket/isfdtype.c: Likewise.
60110         * socket/listen.c: Likewise.
60111         * socket/recv.c: Likewise.
60112         * socket/recvfrom.c: Likewise.
60113         * socket/recvmsg.c: Likewise.
60114         * socket/send.c: Likewise.
60115         * socket/sendmsg.c: Likewise.
60116         * socket/sendto.c: Likewise.
60117         * socket/setsockopt.c: Likewise.
60118         * socket/shutdown.c: Likewise.
60119         * socket/sockatmark.c: Likewise.
60120         * socket/socket.c: Likewise.
60121         * socket/socketpair.c: Likewise.
60122         * stdio-common/ctermid.c: Likewise.
60123         * stdio-common/cuserid.c: Likewise.
60124         * stdio-common/remove.c: Likewise.
60125         * stdio-common/rename.c: Likewise.
60126         * stdio-common/renameat.c: Likewise.
60127         * stdio-common/tempname.c: Likewise.
60128         * stdlib/getcontext.c: Likewise.
60129         * stdlib/makecontext.c: Likewise.
60130         * stdlib/setcontext.c: Likewise.
60131         * stdlib/swapcontext.c: Likewise.
60132         * stdlib/system.c: Likewise.
60133         * streams/fattach.c: Likewise.
60134         * streams/fdetach.c: Likewise.
60135         * streams/getmsg.c: Likewise.
60136         * streams/getpmsg.c: Likewise.
60137         * streams/putmsg.c: Likewise.
60138         * streams/putpmsg.c: Likewise.
60139         * sysdeps/unix/bsd/getpt.c: Likewise.
60140         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60141         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60142         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60144         Likewise.
60145         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60146         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60147         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60148         * sysvipc/msgctl.c: Likewise.
60149         * sysvipc/msgget.c: Likewise.
60150         * sysvipc/msgrcv.c: Likewise.
60151         * sysvipc/msgsnd.c: Likewise.
60152         * sysvipc/semctl.c: Likewise.
60153         * sysvipc/semget.c: Likewise.
60154         * sysvipc/semop.c: Likewise.
60155         * sysvipc/semtimedop.c: Likewise.
60156         * sysvipc/shmat.c: Likewise.
60157         * sysvipc/shmctl.c: Likewise.
60158         * sysvipc/shmdt.c: Likewise.
60159         * sysvipc/shmget.c: Likewise.
60160         * termios/tcdrain.c: Likewise.
60161         * termios/tcflow.c: Likewise.
60162         * termios/tcflush.c: Likewise.
60163         * termios/tcgetattr.c: Likewise.
60164         * termios/tcgetpgrp.c: Likewise.
60165         * termios/tcsendbrk.c: Likewise.
60166         * termios/tcsetattr.c: Likewise.
60167         * termios/tcsetpgrp.c: Likewise.
60168         * time/adjtime.c: Likewise.
60169         * time/clock.c: Likewise.
60170         * time/getitimer.c: Likewise.
60171         * time/gettimeofday.c: Likewise.
60172         * time/setitimer.c: Likewise.
60173         * time/settimeofday.c: Likewise.
60174         * time/stime.c: Likewise.
60175         * time/time.c: Likewise.
60177 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60179         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60180         /usr/old/bin.
60182         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60183         instead of spaces.
60184         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60186 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60188         [BZ #14796]
60189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60190         FE_TONEAREST before applying Dekker multiplication and Knuth
60191         addition.  Clear inexact exceptions and check for exact zero
60192         results afterwards.
60193         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60194         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60196         * math/libm-test.inc (fma_test): Add more tests.
60197         (fma_test_towardzero): Likewise.
60198         (fma_test_downward): Likewise.
60199         (fma_test_upward): Likewise.
60200         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60201         function.
60202         (libc_fesetround): New macro.
60203         (libc_fesetroundf): Likewise.
60204         (libc_fesetroundl): Likewise.
60205         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60206         function.
60207         (libc_fesetround_387): Likewise.
60208         (libc_fesetroundf): New macro.
60209         (libc_fesetround): Likewise.
60210         (libc_fesetroundl): Likewise.
60211         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60212         function.
60213         (libc_fesetroundf): New macro.
60214         (libc_fesetround): Likewise.
60215         (libc_fesetroundl): Likewise.
60216         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60217         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60218         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60219         libm_hidden_ver.
60220         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60221         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60222         libm_hidden_def.
60223         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60224         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60225         libm_hidden_ver.
60226         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60227         libm_hidden_def.
60229         [BZ #3439]
60230         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60231         integer constant usable in #if and use that to give value to enum
60232         constant.
60233         (FE_DIVBYZERO): Likewise.
60234         (FE_UNDERFLOW): Likewise.
60235         (FE_OVERFLOW): Likewise.
60236         (FE_INVALID): Likewise.
60237         (FE_INVALID_SNAN): Likewise.
60238         (FE_INVALID_ISI): Likewise.
60239         (FE_INVALID_IDI): Likewise.
60240         (FE_INVALID_ZDZ): Likewise.
60241         (FE_INVALID_IMZ): Likewise.
60242         (FE_INVALID_COMPARE): Likewise.
60243         (FE_INVALID_SOFTWARE): Likewise.
60244         (FE_INVALID_SQRT): Likewise.
60245         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60246         (FE_TONEAREST): Likewise.
60247         (FE_TOWARDZERO): Likewise.
60248         (FE_UPWARD): Likewise.
60249         (FE_DOWNWARD): Likewise.
60250         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60251         (FE_DIVBYZERO): Likewise.
60252         (FE_OVERFLOW): Likewise.
60253         (FE_UNDERFLOW): Likewise.
60254         (FE_INEXACT): Likewise.
60255         (FE_TONEAREST): Likewise.
60256         (FE_DOWNWARD): Likewise.
60257         (FE_UPWARD): Likewise.
60258         (FE_TOWARDZERO): Likewise.
60259         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60260         (FE_UNDERFLOW): Likewise.
60261         (FE_OVERFLOW): Likewise.
60262         (FE_DIVBYZERO): Likewise.
60263         (FE_INVALID): Likewise.
60264         (FE_TONEAREST): Likewise.
60265         (FE_TOWARDZERO): Likewise.
60266         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60267         (FE_OVERFLOW): Likewise.
60268         (FE_UNDERFLOW): Likewise.
60269         (FE_DIVBYZERO): Likewise.
60270         (FE_INEXACT): Likewise.
60271         (FE_TONEAREST): Likewise.
60272         (FE_TOWARDZERO): Likewise.
60273         (FE_UPWARD): Likewise.
60274         (FE_DOWNWARD): Likewise.
60275         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60276         (FE_DIVBYZERO): Likewise.
60277         (FE_OVERFLOW): Likewise.
60278         (FE_UNDERFLOW): Likewise.
60279         (FE_INEXACT): Likewise.
60280         (FE_TONEAREST): Likewise.
60281         (FE_DOWNWARD): Likewise.
60282         (FE_UPWARD): Likewise.
60283         (FE_TOWARDZERO): Likewise.
60285 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60287         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60289 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60291         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60292         commands.  Quote $PWD.
60293         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60294         -x" by "export".
60295         (remove_newlines): Remove.
60297 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60299         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60300         * stdlib/stdlib.h (atof): Moved to ...
60301         * include/bits/stdlib-float.h: Here.  New file.
60302         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60303         * stdlib/bits/stdlib-float.h: New file.
60304         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60305         -mno-sse -mno-mmx.
60306         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60307         <xmmintrin.h>.
60309 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60311         * conform/conformtest.pl (@headers): Add fenv.h.
60312         * conform/data/fenv.h-data: New file.
60313         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60314         include of <math/fenv.h>.
60316         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60317         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60318         && !UNIX98].  Enables tests for XOPEN2K8.
60319         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60320         POSIX2008]: Likewise.
60322         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60323         (struct rusage): Do not expect type or its members.
60325         [BZ #3439]
60326         * math/math.h (FP_NAN): Define macro to integer constant usable in
60327         #if and use that to give value to enum constant.
60328         (FP_INFINITE): Likewise.
60329         (FP_ZERO): Likewise.
60330         (FP_SUBNORMAL): Likewise.
60331         (FP_NORMAL): Likewise.
60333 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60335         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60336         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60337         arguments.
60339 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60341         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60342         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60343         autoconf-time if not.
60344         * configure.in: Remove AC_PREREQ.
60346 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60348         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60349         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60350         of the internal implementation.
60352 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60354         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60355         except include of <misc/sys/syslog.h>.
60357 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60360         function returns with a NULL context exit with zero.
60362 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60364         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60366 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60368         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60369         (run_program_cmd): This.
60370         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60371         (tst_langinfo): New variable.  Use it.
60373 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60375         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60376         floating point opcodes.
60378 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60380         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60381         variable.
60383         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60385         * sysdeps/mach/hurd/powerpc: Remove directory.
60386         * sysdeps/mach/powerpc: Likewise.
60388 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60390         * scripts/check-local-headers.sh: Ignore c++ headers.
60392 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60394         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60395         __libc_cleanup_region_start argument.
60397 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60399         [BZ #14784]
60400         [BZ #14785]
60401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60402         x * y using scaling, not as x * y + z.
60403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60405         * math/libm-test.inc (fma_test): Add more tests.
60406         (fma_test_towardzero): Likewise.
60407         (fma_test_downward): Likewise.
60408         (fma_test_upward): Likewise.
60410 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60412         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60414 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60416         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60417         New variable.
60419 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60421         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60423 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60426         Fix sort order.
60427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60428         Likewise.
60430 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60433         Fix the order of the list for glibc 2.17.
60434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60435         Likewise.
60437 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60441 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60443         [BZ #14610]
60444         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60445         for low part of x being zero before using __atanl (y).
60446         * math/libm-test.inc (atan2_test): Add another test.
60448         * manual/install.texi (Configuring and compiling): Document
60449         general use of test-wrapper and test-wrapper-env.
60450         * INSTALL: Regenerated.
60452         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60453         (__fma): Do not extract and scale down low bits on after-rounding
60454         systems when result rounded to normal precision would have normal
60455         exponent.
60456         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60457         (__fmal): Do not extract and scale down low bits on after-rounding
60458         systems when result rounded to normal precision would have normal
60459         exponent.
60460         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60461         (__fmal): Do not extract and scale down low bits on after-rounding
60462         systems when result rounded to normal precision would have normal
60463         exponent.
60464         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60465         macro.
60466         (fma_test): Add more tests.
60467         (fma_test_towardzero): Likewise.
60468         (fma_test_downward): Likewise.
60469         (fma_test_upward): Likewise.
60471 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60473         * sysdeps/i386/tininess.h: Renamed to ...
60474         * sysdeps/x86/tininess.h: This.
60475         * sysdeps/x86_64/tininess.h: Removed.
60477 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60479         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60480         input.  Use $(build-program-cmd).
60481         ($(objpfx)tst-array1-static.out): Likewise.
60482         ($(objpfx)tst-array2.out): Likewise.
60483         ($(objpfx)tst-array3.out): Likewise.
60484         ($(objpfx)tst-array4.out): Likewise.
60485         ($(objpfx)tst-array5.out): Likewise.
60486         ($(objpfx)tst-array5-static.out): Likewise.
60488 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60490         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60491         if defined.
60493         * nss/nsswitch.h (nss_interface_function): Provide new
60494         macro for use with NSS functions.
60495         * grp/initgroups.c: Use new macro.
60496         * nss/getXXbyYY.c: Likewise.
60497         * nss/getXXbyYY_r.c: Likewise.
60498         * nss/getXXent.c: Likewise.
60499         * nss/getXXent_r.c: Likewise.
60500         * sysdeps/posix/getaddrinfo.c: Likewise.
60502 2012-10-30  Andreas Jaeger  <aj@suse.de>
60504         * po/ru.po: Update Russion translation from translation project.
60506 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60508         [BZ #14152]
60509         [BZ #14783]
60510         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60511         result and shift together with sticky bit instead of replicating
60512         round-to-nearest rounding.
60513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60515         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60516         missing underflow exceptions.
60517         (fma_test_towardzero): Add more tests.
60518         (fma_test_downward): Likewise.
60519         (fma_test_upward): Likewise.
60521         [BZ #14047]
60522         * sysdeps/generic/tininess.h: New file.
60523         * sysdeps/i386/tininess.h: Likewise.
60524         * sysdeps/sh/tininess.h: Likewise.
60525         * sysdeps/x86_64/tininess.h: Likewise.
60526         * stdlib/tst-strtod-underflow.c: Likewise.
60527         * stdlib/tst-tininess.c: Likewise.
60528         * stdlib/strtod_l.c: Include <tininess.h>.
60529         (round_and_return): Do not set errno for exact underflow cases.
60530         Force an underflow exception when setting errno for underflow.
60531         Determine underflow based on rounding to normal precision if
60532         TININESS_AFTER_ROUNDING.
60533         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60534         ERANGE for exact underflow cases.
60535         * stdlib/Makefile (tests): Add tst-tininess and
60536         tst-strtod-underflow.
60537         ($(objpfx)tst-tininess): Use $(link-libm).
60538         ($(objpfx)tst-strtod-underflow): Likewise.
60540 2012-10-30  Andreas Jaeger  <aj@suse.de>
60542         [BZ#14767]
60543         * elf/Makefile (tests): Remove conditional for have-initfini-array
60544         since this is now always required and the variable does not exist
60545         anymore.
60546         (tests-static): Likewise.
60547         (modules-names): Likewise.
60549         * po/eo.po: Add Esperanto translation from translation project.
60551         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60552         merged with constructor/destructor.
60553         (init_array): Likewise.
60554         * elf/tst-array2dep.c (fini_array): Likewise.
60555         (init_array): Likewise.
60557 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60559         * manual/message.texi: Delete @cartouche tags.
60561 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60563         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60564         EOPNOTSUPP.
60565         * sysdeps/mach/hurd/fsync.c: Likewise.
60567         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60568         [_POSIX_REALTIME_SIGNALS]: Change condition to
60569         [_POSIX_REALTIME_SIGNALS > 0].
60571 2012-10-27  Andreas Jaeger  <aj@suse.de>
60573         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60574         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60575         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60576         [__WORDSIZE != 64]: Likewise.
60578 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60580         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60581         *  iconvdata/tst-tables.sh: Likewise.
60583 2012-10-25  David S. Miller  <davem@davemloft.net>
60585         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60586         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60587         of strtoull.
60589         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60590         ifunc-impl-list.c
60591         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60592         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60593         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60594         file.
60596 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60598         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60599         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60600         __getdirentries.
60602 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60603             Jim Blandy  <jimb@codesourcery.com>
60605         * scripts/cross-test-ssh.sh: New file.
60606         * manual/install.texi (Configuring and compiling): Document use of
60607         cross-test-ssh.sh.
60608         * INSTALL: Regenerated.
60610 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60612         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60613         EOPNOTSUPP.
60615 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60617         * Makeconfig (run-program-prefix): Fix comment.
60619 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60620             Jim Blandy  <jimb@codesourcery.com>
60622         * Makeconfig (test-wrapper): New variable,
60623         (test-wrapper-env): Likewise.
60624         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60625         (run-built-tests): Define to yes.
60626         (run-program-prefix): Use $(test-wrapper).
60627         (built-program-cmd): Likewise.
60628         * Rules (make-test-out): Use $(test-wrapper-env) and
60629         $(host-built-program-cmd).
60630         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60631         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60632         tst-pathopt.sh.
60633         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60634         $(test-wrapper-env) to tst-rtld-load-self.sh.
60635         ($(objpfx)order2.out): Use $(test-wrapper).
60636         ($(objpfx)tst-initorder.out): Likewise.
60637         ($(objpfx)tst-initorder2.out): Likewise.
60638         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60639         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60640         (test_wrapper_env): New variable.  Use it to run ld.so.
60641         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60642         Use it to run ld.so.
60643         (test_wrapper_env): Likewise.
60644         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60645         $(test-wrapper) to run-iconv-test.sh.
60646         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60647         (ICONV): Use $test_wrapper.
60648         * posix/Makefile ($(objpfx)globtest.out): Pass
60649         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60650         globtest.sh, not $(run-program-prefix).
60651         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60652         (test_wrapper): Likewise.
60653         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60654         set together with run_via_rtld_prefix.
60655         (run_program_prefix): Define in terms of test_wrapper and
60656         run_via_rtld_prefix.
60658 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60660         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60661         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60662         Targets removed.
60664         [BZ #14743]
60665         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60666         Declare __clock_getres, __clock_gettime, __clock_settime,
60667         __clock_nanosleep, and __clock_getcpuclockid.
60668         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60669         Remove librt_hidden_def (clock_gettime).
60670         * sysdeps/unix/clock_gettime.c: Likewise.
60671         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60672         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60673         * rt/clock_getres.c: Define __clock_getres as an alias.
60674         * sysdeps/posix/clock_getres.c: Likewise.
60675         * rt/clock_settime.c: Define __clock_settime as an alias.
60676         * sysdeps/unix/clock_settime.c: Likewise.
60677         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60678         * sysdeps/unix/clock_nanosleep.c: Likewise.
60679         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60680         * rt/clock-compat.c: New file.
60681         * rt/Makefile (librt-routines): Add clock-compat and move
60682         $(clock-routines) to ...
60683         (routines): ... here, new variable.
60684         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60685         Don't add get_clockfreq here.
60686         * rt/Versions (libc: GLIBC_2.17): New version set.
60687         Add clock_* symbols here.
60688         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60689         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60690         (GLIBC_2.17): Add clock_* symbols.
60691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60693         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60695         Likewise.
60696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60697         Likewise.
60698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60702         * NEWS: Mention the move.
60704         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60705         Use __open, __read, __close rather than their public counterparts.
60706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60707         (__get_clockfreq_via_cpuinfo): Likewise.
60708         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60709         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60711         * config.h.in (HAVE_IFUNC): New #undef.
60712         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60713         was successful.
60714         * configure: Regenerated.
60716 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60718         * configure.in: Move READELF check to start of file.
60719         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60720         libc_cv_asm_gnu_indirect_function in the process.
60721         * configure: Regenerated.
60723 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60725         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60726         send the output to /dev/null.
60727         (libc_cv_cc_with_libunwind): Likewise.
60728         (libc_cv_as_noexecstack): Likewise.
60729         * configure: Regenerate.
60731 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60733         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60735         * posix/globtest.sh (TMPDIR): Do not set.
60736         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60737         (testout): Likewise.
60739 2012-10-24  Andreas Jaeger  <aj@suse.de>
60741         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60742         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60743         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60744         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60745         posix_fadvise64, posix_fallocate64.
60747         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60748         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60749         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60750         Likewise.
60751         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60752         Likewise.
60753         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60755         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60756         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60757         <bits/fcntl-linux.h>.
60758         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60760         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60761         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60762         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60763         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60764         [__WORDSIZE != 64]: Likewise.
60766 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60768         * Makeconfig (run-built-tests): New variable.
60769         * Rules [$(cross-compiling) = yes]: Change condition to
60770         [$(run-built-tests) = no].
60771         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60772         to [$(run-built-tests) = yes].
60773         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60774         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60775         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60776         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60777         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60778         * io/Makefile [$(cross-compiling) = no]: Likewise.
60779         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60780         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60781         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60782         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60783         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60784         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60785         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60786         * string/Makefile [$(cross-compiling) = no]: Likewise.
60788         * posix/Makefile ($(objpfx)globtest.out): Pass
60789         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60790         $(rtld-installed-name).
60791         * posix/globtest.sh (elf_objpfx): Remove variable.
60792         (rtld_installed_name): Likewise.
60793         (library_path): Likewise.
60794         (run_program_prefix): New variable.  Use for running globtest
60795         binary.
60797 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60798             Joseph Myers  <joseph@codesourcery.com>
60800         * Makeconfig (host-built-program-cmd): New variable.
60801         * elf/Makefile (tst-stackguard1-ARGS): Use
60802         $(host-built-program-cmd).
60803         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60804         (tst-spawn-ARGS): Likewise.
60805         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60807 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60808             Jim Blandy  <jimb@codesourcery.com>
60810         * Makeconfig (run-via-rtld-prefix): New variable.
60811         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60812         (built-program-cmd): Likewise.
60814 2012-10-22  Andreas Jaeger  <aj@suse.de>
60816         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60817         __O_RSYNC if it exists, otherwise to O_SYNC.
60819 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60820             Joseph Myers  <joseph@codesourcery.com>
60822         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60823         /dev/null.
60824         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60825         from /dev/null
60826         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60827         /dev/null.
60829 2012-10-22  Andreas Jaeger  <aj@suse.de>
60831         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60832         Define always.
60833         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60836         bits/fcntl-linux.h.
60838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60839         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60841         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60842         to __O_LARGEFILE.
60843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60844         to __O_LARGEFILE.
60846 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60847             Joseph Myers  <joseph@codesourcery.com>
60849         * config.make.in (NM): New variable.
60851 2012-10-21  Andreas Jaeger  <aj@suse.de>
60853         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60854         definitions and declarations that are provided by
60855         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60857 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60859         [BZ #14683]
60860         * elf/Makefile (tests-static): Add tst-leaks1-static.
60861         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60862         ($(objpfx)tst-leaks1-static): New rule.
60863         ($(objpfx)tst-leaks1-static-mem): Likewise.
60864         (tst-leaks1-static-ENV): New macro.
60865         * elf/dl-open.c (dl_open_worker): Check the main application
60866         only if SHARED is defined.
60867         * elf/tst-leaks1-static.c: New file.
60869 2012-10-20  Andreas Jaeger  <aj@suse.de>
60871         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60872         generic values for Linux.
60873         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60874         and declarations that are provided by <bits/fcntl-linux.h> and
60875         include <bits/fcntl-linux.h>.
60876         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60877         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60879 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60881         * io/fcntl.h: Move include of <bits/types.h> to the top and
60882         include it unconditionally.
60884 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60886         * wcsmbs/Makefile (tests-ifunc): New variable.
60887         (tests): Add $(tests-ifunc).
60888         * wcsmbs/test-wcschr-ifunc.c: New file.
60889         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60890         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60891         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60892         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60893         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60895         * string/Makefile (tests-ifunc): New variable.
60896         (tests): Add $(tests-ifunc).
60897         * string/test-memccpy.c (TEST_NAME): New macro.
60898         * string/test-memchr.c (TEST_NAME): Likewise.
60899         * string/test-memcmp.c (TEST_NAME): Likewise.
60900         * string/test-memcpy.c (TEST_NAME): Likewise.
60901         * string/test-memmem.c (TEST_NAME): Likewise.
60902         * string/test-memmove.c (TEST_NAME): Likewise.
60903         * string/test-memset.c (TEST_NAME): Likewise.
60904         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60905         * string/test-stpcpy.c (TEST_NAME): Likewise.
60906         * string/test-stpncpy.c (TEST_NAME): Likewise.
60907         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60908         * string/test-strcasestr.c (TEST_NAME): Likewise.
60909         * string/test-strcat.c (TEST_NAME): Likewise.
60910         * string/test-strchr.c (TEST_NAME): Likewise.
60911         * string/test-strcmp.c(TEST_NAME): Likewise.
60912         * string/test-strcpy.c (TEST_NAME): Likewise.
60913         * string/test-strcspn.c (TEST_NAME): Likewise.
60914         * string/test-strlen.c (TEST_NAME): Likewise.
60915         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60916         * string/test-strncmp.c (TEST_NAME): Likewise.
60917         * string/test-strncpy.c (TEST_NAME): Likewise.
60918         * string/test-strnlen.c (TEST_NAME): Likewise.
60919         * string/test-strpbrk.c (TEST_NAME): Likewise.
60920         * string/test-strrchr.c (TEST_NAME): Likewise.
60921         * string/test-strspn.c (TEST_NAME): Likewise.
60922         * string/test-strstr.c (TEST_NAME): Likewise.
60923         * string/test-bcopy-ifunc.c: New file.
60924         * string/test-bzero-ifunc.c: Likewise.
60925         * string/test-memccpy-ifunc.c: Likewise.
60926         * string/test-memchr-ifunc.c: Likewise.
60927         * string/test-memcmp-ifunc.c: Likewise.
60928         * string/test-memcpy-ifunc.c: Likewise.
60929         * string/test-memmem-ifunc.c: Likewise.
60930         * string/test-memmove-ifunc.c: Likewise.
60931         * string/test-mempcpy-ifunc.c: Likewise.
60932         * string/test-memset-ifunc.c: Likewise.
60933         * string/test-rawmemchr-ifunc.c: Likewise.
60934         * string/test-stpcpy-ifunc.c: Likewise.
60935         * string/test-stpncpy-ifunc.c: Likewise.
60936         * string/test-strcasecmp-ifunc.c: Likewise.
60937         * string/test-strcasestr-ifunc.c: Likewise.
60938         * string/test-strcat-ifunc.c: Likewise.
60939         * string/test-strchr-ifunc.c: Likewise.
60940         * string/test-strchrnul-ifunc.c: Likewise.
60941         * string/test-strcmp-ifunc.c: Likewise.
60942         * string/test-strcpy-ifunc.c: Likewise.
60943         * string/test-strcspn-ifunc.c: Likewise.
60944         * string/test-strlen-ifunc.c: Likewise.
60945         * string/test-strncasecmp-ifunc.c: Likewise.
60946         * string/test-strncat-ifunc.c: Likewise.
60947         * string/test-strncmp-ifunc.c: Likewise.
60948         * string/test-strncpy-ifunc.c: Likewise.
60949         * string/test-strnlen-ifunc.c: Likewise.
60950         * string/test-strpbrk-ifunc.c: Likewise.
60951         * string/test-strrchr-ifunc.c: Likewise.
60952         * string/test-strspn-ifunc.c: Likewise.
60953         * string/test-strstr-ifunc.c: Likewise.
60955         * debug/Makefile (tests-ifunc): New variable.
60956         (tests): Add $(tests-ifunc).
60957         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60958         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60959         * debug/test-stpcpy_chk-ifunc.c: New file.
60960         * debug/test-strcpy_chk-ifunc.c: Likewise.
60962 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60964         [BZ #13601]
60965         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60966         header is not read in.
60968 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60970         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60971         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60972         directly.  Pass built executable to script as
60973         $(built-program-cmd).
60974         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60975         $testprogram without using LD_LIBRARY_PATH and $ldso.
60977         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60978         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60979         $(rtld-installed-name).
60980         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60981         (rtld_installed_name): Likewise.
60982         (library_path): Likewise.
60983         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60984         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60985         $(run-program-prefix) to tst-tables.sh.
60986         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60987         it to run tst-table-from and tst-table-to.
60988         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60989         Pass it to tst-table.sh.
60990         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60991         $(run-program-prefix) to tst-gettext.sh.
60992         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60993         tst-translit.sh.
60994         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60995         tst-gettext2.sh.
60996         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60997         to run tst-gettext.
60998         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60999         to run tst-gettext2.
61000         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
61001         to run tst-translit.
61002         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
61003         $(run-program-prefix) to tst-mtrace.sh.
61004         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
61005         to run tst-mtrace.
61006         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
61007         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
61008         $(rtld-installed-name).
61009         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
61010         (rtld_installed_name): Likewise.
61011         (run_program_prefix): New variable.  Use it to run wordexp-test.
61013         * Makeconfig (ARCH): Remove all definitions.
61014         (machine): Likewise.
61015         [ARCH]: Remove conditional code.
61016         [!objdir]: Give error.
61017         [!objdir] (objpfx): Remove.
61018         [!objdir] (common-objpfx): Likewise.
61019         [!objdir] (common-objdir): Likewise.
61020         * configure.in (config_makefile): Remove.  Hardcode Makefile in
61021         AC_CONFIG_FILES call.
61022         * configure: Regenerated.
61024         [BZ #13888]
61025         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
61026         or TMPDIR.
61027         (testout): Likewise.
61029         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
61030         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
61031         $(rtld-installed-name).
61032         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
61033         (rtld_installed_name): Likwise.
61034         (runit): Remove function.
61035         (run_getconf): New variable,  Use it for running getconf binary.
61037 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
61039         [BZ #14716]
61040         * string/test-memmem.c (check_result): New function.
61041         (do_one_test): Use it.
61042         (check1): New function.
61043         (test_main): Use it.
61045 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
61047         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
61049 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
61051         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
61052         (_G_LSEEK64): Likewise.
61053         (_G_MMAP64): Likewise.
61054         (_G_FSTAT64): Likewise.
61055         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
61056         (_G_LSEEK64): Likewise.
61057         (_G_MMAP64): Likewise.
61058         (_G_FSTAT64): Likewise.
61059         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
61060         unconditional.  Call __mmap64 directly.
61061         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
61062         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
61063         __lseek64 directly.
61064         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
61065         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
61066         __mmap64 directly.
61067         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
61068         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61069         __lseek64 directly.
61070         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
61071         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61072         __lseek64 directly.
61073         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
61074         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
61075         __lseek64 directly.
61076         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
61077         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
61078         __fxstat64 directly.
61079         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
61080         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
61081         unconditional.
61082         (freopen64) [!_G_OPEN64]: Remove conditional code.
61083         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
61084         unconditional.
61085         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
61086         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
61087         unconditional.
61088         (ftello64) [!_G_LSEEK64]: Remove conditional code.
61089         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
61090         unconditional.
61091         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61092         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
61093         unconditional.
61094         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
61095         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
61096         unconditional.
61097         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61098         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
61099         unconditional.
61100         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61101         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
61102         unconditional.
61103         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61105 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61107         [BZ #12140]
61108         * manual/memory.texi (Malloc Tunable Parameters): Add note
61109         about free list pointers overwriting some perturb bytes.
61110         Wording suggested by Roland McGrath.
61112 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
61114         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
61115         (lgamma_test): Likewise.
61116         (tgamma_test): Likewise.
61118 2012-10-16  Florian Weimer  <fweimer@redhat.com>
61120         [BZ #14700]
61121         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
61122         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
61124 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
61126         * NEWS: Mention BZ #14716.
61127         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
61128         when removing AVAILABLE1_USES_J macro.
61130 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
61132         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
61133         (__bswap_64): __uint64_t for unsigned 64-bit int.
61135 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
61137         * include/string.h (memmem): Declare libc hidden alias.
61138         * string/memmem.c (memmem): Define libc hidden alias.
61139         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61140         __read, __close instead of open, read, close.
61142 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
61144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61145         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61146         global and hidden.
61147         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61148         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61149         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61150         Likewise.
61151         (__rawmemchr_sse2): Likewise.
61152         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61153         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61154         (__strchr_sse2): Likewise.
61155         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61156         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
61157         (__strcasecmp_sse2): Likewise.
61158         (__strncasecmp_sse2): Likewise.
61159         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
61160         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
61161         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61162         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61163         (__strrchr_sse2): Likewise.
61164         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
61165         ifunc-impl-list.c.
61166         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
61167         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
61168         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
61169         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61170         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61171         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61172         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61173         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61174         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61175         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61176         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61177         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61178         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61179         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61180         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61181         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61182         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61183         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61184         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61185         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61186         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61187         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61188         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61189         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61190         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61191         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61192         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61193         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61194         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61195         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61197         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61198         global and hidden.
61199         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61200         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61201         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61202         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61203         Likewise.
61204         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61205         Likewise.
61206         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61207         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61208         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61209         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61210         ifunc-impl-list.c.
61211         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61212         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61213         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61214         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61215         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61216         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61217         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61218         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61219         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61220         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61221         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61222         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61223         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61224         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61225         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61226         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61227         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61228         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61229         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61230         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61231         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61232         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61233         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61234         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61235         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61236         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61237         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61238         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61239         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61240         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61241         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61242         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61243         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61244         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61245         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61246         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61247         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61248         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61249         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61250         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61251         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61253         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61254         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61255         * include/ifunc-impl-list.h: New file.
61256         * misc/ifunc-impl-list.c: Likewise.
61257         * misc/Makefile (routines): Add ifunc-impl-list.
61258         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61259         * string/test-string.h: Include <ifunc-impl-list.h>.
61260         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61261         TEST_NAME]: New variables.
61262         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61263         are defined.
61264         (test_init): Call __libc_ifunc_impl_list to initialize
61265         func_list if TEST_IFUNC and TEST_NAME are defined.
61267         * string/Makefile (strop-tests): Add bcopy and bzero.
61268         * string/test-bcopy.c: New file.
61269         * string/test-bzero.c: Likewise.
61270         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61271         defined.
61272         * string/test-memset.c: Support bzero test if TEST_BZERO is
61273         defined.
61274         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61275         __libc_memmove.
61276         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61277         __libc_memset.
61278         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61279         of memset.
61281 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61283         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61284         * configure: Regenerated.
61286         * Makeconfig (+link-static-before-libc): Don't include
61287         $(link-static-libc).
61289         * libio/libio.h (_IO_pos_t): Remove.
61291 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61293         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61294         McGrath.
61296 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61298         * crypt/crypt-entry.c: Include fips-private.h.
61299         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61300         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61301         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61302         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61304 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61306         * crypt/crypt-private.h: Include stdbool.h.
61307         (_ufc_setup_salt_r): Return bool.
61308         * crypt/crypt-entry.c: Include errno.h.
61309         (__crypt_r): Return NULL with EINVAL for bad salt.
61310         * crypt/crypt_util.c (bad_for_salt): New.
61311         (_ufc_setup_salt_r): Check that salt is long enough and within
61312         the specified alphabet.
61313         * crypt/badsalttest.c: New file.
61314         * crypt/Makefile (tests): Add it.
61315         ($(objpfx)badsalttest): New.
61317 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61319         * NEWS: Add entry for BZ #14602.
61321 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61323         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61324         type-generic.
61325         * math/libm-test.inc: Update comment listing what functions and
61326         macros are tested.
61327         (isgreater_test): New function.
61328         (isgreaterequal_test): Likewise.
61329         (isless_test): Likewise.
61330         (islessequal_test): Likewise.
61331         (islessgreater_test): Likewise.
61332         (isunordered_test): Likewise.
61333         (main): Call the new functions.
61335 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61337         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61338         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61339         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61340         * sysdeps/i386/configure: Regenerated.
61341         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61342         * sysdeps/mach/configure: Regenerated.
61343         * sysdeps/mach/hurd/configure: Regenerated.
61344         * sysdeps/powerpc/configure: Regenerated.
61345         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61346         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61347         * sysdeps/s390/s390-32/configure: Regenerated.
61348         * sysdeps/s390/s390-64/configure: Regenerated.
61349         * sysdeps/sh/configure: Regenerated.
61350         * sysdeps/sparc/configure: Regenerated.
61351         * sysdeps/unix/sysv/linux/configure: Regenerated.
61352         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61353         * sysdeps/x86_64/configure: Regenerated.
61355         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61356         defined.  Don't check if MAP is NULL.
61358 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61360         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61361         (_G_stat64): Likewise.
61362         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61363         (_G_stat64): Likewise.
61364         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61365         instead of struct _G_stat64.
61366         * libio/fileops.c (mmap_remap_check): Likewise.
61367         (decide_maybe_mmap): Likewise.
61368         (_IO_new_file_seekoff): Likewise.
61369         (_IO_file_stat): Likewise.
61370         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61371         _G_off64_t.
61372         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61373         instead of struct _G_stat64.
61374         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61376 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61378         [BZ #14602]
61379         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61380         Replace with ...
61381         (CHECK_EOL): New macro.
61382         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61383         CHECK_EOL.
61384         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61385         Replace with CHECK_EOL.
61386         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61387         Replace with CHECK_EOL.
61389 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61391         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61392         type-generic.
61393         * math/libm-test.inc: Update comment listing what functions and
61394         macros are tested.
61395         (finite_test): New function.
61396         (isinf_test): Likewise.
61397         (isnan_test): Likewise.
61398         (fpclassify_test): Test subnormal input.
61399         (isfinite_test): Likewise.
61400         (isnormal_test): Likewise.
61401         (main): Call the new functions.
61403 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61405         [BZ #14660]
61406         * Makerules (%.dynsym): Force C locale when running
61407         $(OBJDUMP) --dynamic-syms.
61409 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61411         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61412         <stdint.h>.
61414 2012-10-06  David S. Miller  <davem@davemloft.net>
61416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61417         upper 32-bits of the length value in %o2 since we use branch-on-register
61418         tests which consider the entire 64-bit register.
61420 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61422         * string/test-strstr.c (check2): Add a test for page boundary.
61424 2012-10-05  David S. Miller  <davem@davemloft.net>
61426         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61427         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61428         file.
61429         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61430         sysdep_routines.
61431         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61432         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61433         and bzero when HWCAP_SPARC_CRYPTO is present.
61435 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61437         [BZ #14602]
61438         * string/test-strstr.c (check2): New function.
61439         (test_main): Call check2.
61441         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61442         and bug-strchr1.
61443         * string/bug-strcasestr1.c (do_test): Moved to ...
61444         * string/test-strcasestr.c (check1): Here.  New function.
61445         (do_one_test): Break out result checking code into ...
61446         (check_result): This.  New function.
61447         (do_one_test): Call check_result.
61448         (test_main): Call check1.
61449         * string/bug-strchr1.c (do_test): Moved to ...
61450         * string/test-strchr.c (check1): Here.  New function.
61451         (do_one_test): Break out result checking code into ...
61452         (check_result): This.  New function.
61453         (do_one_test): Call check_result.
61454         (test_main): Call check1.
61455         * string/bug-strstr1.c (main): Moved to ...
61456         * string/test-strstr.c (check1): Here.  New function.
61457         (do_one_test): Break out result checking code into ...
61458         (check_result): This.  New function.
61459         (do_one_test): Call check_result.
61460         (test_main): Call check1.
61461         * string/bug-strcasestr1.c: Removed.
61462         * string/bug-strchr1.c: Likewise.
61463         * string/bug-strstr1.c: Likewise.
61465         * elf/Makefile (dl-routines): Add hwcaps.
61466         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61467         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61468         (_dl_important_hwcaps): Moved to ...
61469         * elf/dl-hwcaps.c: Here.  New file.
61470         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61472         [BZ #14557]
61473         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61474         if IS_IN_rtld isn't defined.
61476         * elf/dl-support.c (_dl_sysinfo_map): New.
61477         Include "get-dynamic-info.h" and "setup-vdso.h".
61478         (_dl_non_dynamic_init): Call setup_vdso.
61479         * elf/dynamic-link.h: Don't include <assert.h>.
61480         (elf_get_dynamic_info): Moved to ...
61481         * elf/get-dynamic-info.h: Here.  New file.
61482         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61483         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61484         * elf/setup-vdso.h: Here.  New file.
61485         * elf/rtld.c: Include "setup-vdso.h".
61486         (dl_main): Call setup_vdso.
61488 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61490         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61491         creal in comment listing functions tested.  List finite, isinf,
61492         isnan, isless, islessequal, isgreater, isgreaterequal,
61493         islessgreater, isunordered, lgamma_r and pow10 as functions and
61494         macros not tested.  Mention which functions not tested are aliases
61495         for other functions.  Fix typo.  Note that signs of NaNs are not
61496         tested.
61498         * scripts/config.guess: Update from config.git.
61499         * scripts/config.sub: Likewise.
61501 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61503         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61504         * misc/madvise.c (madvise): Renamed to __madvise.
61505         Make madvise a weak alias.
61506         * include/sys/mman.h: Declare __madvise.
61507         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61508         * sysdeps/unix/syscalls.list
61509         (madvise): Make __madvise the strong name, and madvise a weak alias.
61510         * sysdeps/unix/sysv/linux/syscalls.list
61511         (madvise, mmap): Remove redundant entries.
61512         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61513         * malloc/malloc.c (mtrim): Likewise.
61514         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61516 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61518         * sysdeps/mach/hurd/dl-cache.c: File removed.
61519         * config.h.in (USE_LDCONFIG): New #undef.
61520         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61521         * configure: Regenerated.
61522         * elf/Makefile (dl-routines): Add dl-cache only under
61523         [$(use-ldconfig) = yes].
61524         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61525         cache on [USE_LDCONFIG].
61526         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61527         [USE_LDCONFIG].
61528         * elf/rtld.c (dl_main): Likewise.
61530 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61532         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61533         _SC_LEVEL4_CACHE_LINESIZE.
61535 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61537         * sysdeps/unix/bsd/confstr.h: File removed.
61539 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61541         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61542         sys/sdt-config.h.
61544 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61546         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61547         Make 'mapoff' field ElfW(Off) rather than off_t.
61549 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61551         * nscd/Makefile: Remove nscd-cflags and all its users.
61552         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61553         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61555         [BZ #10631]
61556         * malloc.c (malloc_printerr): Clarify error message.
61558 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61560         [BZ #14648]
61561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61562         Set bit_FMA_Usable if FMA is supported.
61563         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61564         macro.
61565         (bit_FMA4_Usable): Updated.
61566         (index_FMA_Usable): New macro.
61567         (CPUID_FMA): Likewise.
61568         (HAS_FMA): Defined with bit_FMA_Usable.
61570 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61572         * bits/types.h (__swblk_t): Type removed.
61573         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61574         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61575         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61576         (__SWBLK_T_TYPE): Likewise.
61577         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61578         (__SWBLK_T_TYPE): Likewise.
61579         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61580         (__SWBLK_T_TYPE): Likewise.
61581         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61582         (__SWBLK_T_TYPE): Likewise.
61584 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61585             Honza Horak <hhorak@redhat.com>
61587         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61588         (xdr_mapname): Use YPMAXMAP as maxsize.
61589         (xdr_peername): Use YPMAXPEER as maxsize.
61590         (xdr_keydat): Use YPAXRECORD as maxsize.
61591         (xdr_valdat): Use YPMAXRECORD as maxsize.
61593 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61595         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61597         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61598         * csu/init-first.c: ... here.
61599         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61600         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61601         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61602         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61603         * sysdeps/i386/init-first.c: File removed.
61604         * sysdeps/sh/init-first.c: File removed.
61606 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61608         [BZ #14645]
61609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61610         if x * y might underflow to zero and z is zero.
61611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61613         * math/libm-test.inc (min_subnorm_value): New variable.
61614         (fma_test): Add more tests.
61615         (fma_test_towardzero): Likewise.
61616         (fma_test_downward): Likewise.
61617         (fma_test_upward): Likewise.
61618         (initialize): Set min_subnorm_value.
61620 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61622         [BZ #14638]
61623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61624         0 + 0.
61625         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61626         mode for addition resulting in exact zero.
61627         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61628         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61629         exact 0 + 0.
61630         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61631         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61632         * math/libm-test.inc (fma_test): Add more tests.
61633         (fma_test_towardzero): New function.
61634         (fma_test_downward): Likewise.
61635         (fma_test_upward): Likewise.
61636         (main): Call the new functions.
61638 2012-09-28  David S. Miller  <davem@davemloft.net>
61640         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61642 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61644         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61645         instead of SIGALRM.
61647         * sysdeps/gnu/_G_config.h: Moved to ...
61648         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61649         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61650         * sysdeps/generic/_G_config.h: ... here.
61652         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61654         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61656         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61657         Conditionalize target on [libnss_test1.so-version].
61659         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61661         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61662         (elfobjdir): Move out of conditionals.
61664         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61665         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61666         (__nss_lookup_function): Conditionalize label remove_from_tree on
61667         [!DO_STATIC_NSS || SHARED], matching its only use.
61669 2012-09-28  David S. Miller  <davem@davemloft.net>
61671         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61672         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61673         file.
61674         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61675         sysdep_routines.
61676         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61677         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61678         when HWCAP_SPARC_CRYPTO is present.
61680 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61682         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61684 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61686         [BZ #6530]
61687         * stdio-common/vfprintf.c (process_string_arg): Revert
61688         2000-07-22 change.
61690 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61692         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61693         for testcase.
61694         * stdio-common/tst-sprintf.c: Include <locale.h>
61695         (main): Test sprintf's handling of incomplete multibyte
61696         characters.
61698 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61700         * elf/dl-runtime.c (VERSYMIDX): Removed.
61701         * elf/dl-version.c (VERSYMIDX): Likewise.
61702         * elf/do-rel.h (VERSYMIDX): Likewise.
61703         (VALIDX): Likewise.
61704         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61705         * elf/rtld.c (VALIDX): Likewise.
61706         (ADDRIDX): Likewise.
61707         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61708         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61709         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61710         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61711         (VALIDX): Likewise.
61712         (ADDRIDX): Likewise.
61714 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61716         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61718 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61720         [BZ #11438]
61721         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61722         to global scope.
61723         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61724         addresses are in the same scope as 192.0.2/24.
61725         * posix/gai.conf: Document new scope table defaults.
61727 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61729         [BZ #5298]
61730         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61731         for ftell.  Compute offsets from write pointers instead.
61732         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61734 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61736         [BZ #14543]
61737         * libio/Makefile (tests): New test case tst-fseek.
61738         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61739         combination works in wide mode.
61740         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61741         state when the external buffer state changes.
61743 2012-09-27  David S. Miller  <davem@davemloft.net>
61745         [BZ #14376]
61746         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61747         pass reloc->r_addend in as the 'high' argument to
61748         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61752 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61754         * rt/tst-aio2.c: Include <pthread.h>.
61755         * rt/tst-aio3.c: Likewise.
61757 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61759         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61761 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61763         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61764         contents on [SHARED].
61766 2012-09-26  Marek Polacek  <polacek@redhat.com>
61768         [BZ #14530]
61769         [BZ #13741]
61770         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61771         for C++ and GCC <4.3 as well as for non GCC compilers.
61773 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61777 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61779         * Makefile.in (all, install): Declare with .PHONY.
61780         Reported by Michael Hope <michael.hope@linaro.org>.
61782 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61784         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61785         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61786         system header.
61787         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61788         Likewise.
61789         (sydep_routines): Add the new and the internal functions.
61790         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61791         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61793         (GLIBC_2.17): Add the new function.
61794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61795         (GLIBC_2.17): Likewise.
61796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61797         (GLIBC_2.17): Likewise.
61798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61799         (GLIBC_2.17): Likewise.
61800         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61802 2012-09-25  Alan Modra  <amodra@gmail.com>
61804         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61805         Add release barrier before setting once_control to say
61806         initialisation is done.  Add hints on lwarx.  Use macro in
61807         place of isync.
61808         (clear_once_control): Add release barrier.
61810 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61812         [BZ #13629]
61813         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61814         specially.
61815         * math/s_clog10.c (__clog10): Likewise.
61816         * math/s_clog10f.c (__clog10f): Likewise.
61817         * math/s_clog10l.c (__clog10l): Likewise.
61818         * math/s_clogf.c (__clogf): Likewise.
61819         * math/s_clogl.c (__clogl): Likewise.
61820         * math/Makefile (libm-calls): Add x2y2m1.
61821         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61822         (__x2y2m1): Likewise.
61823         (__x2y2m1l): Likewise.
61824         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61825         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61826         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61827         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61828         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61829         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61830         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61831         * sysdeps/i386/fpu/libm-test-ulps: Update.
61832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61834         [BZ #14621]
61835         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61836         int as type of variable DEPTH.
61837         (glob): Use size_t instead of int as type of variables NEWCOUNT
61838         and OLD_PATHC.
61840 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61842         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61843         Add s_sincosf-sse2.
61844         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61845         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61846         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61847         macros for using routine as __sincosf_ia32.
61848         Use macro for function declaration and weak_alias.
61849         * sysdeps/i386/fpu/libm-test-ulps: Update.
61851         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61854         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61855         subnormal argument.
61856         * math/s_cexpf.c (__cexpf): Likewise.
61857         * math/s_csinf.c (__csinf): Likewise.
61858         * math/s_csinhf.c (__csinhf): Likewise.
61859         * math/s_ctanf.c (__ctanf): Likewise.
61860         * math/s_ctanhf.c (__ctanhf): Likewise.
61861         * math/s_ccosh.c (__ccoshf): Likewise.
61862         * math/s_cexp.c (__cexpl): Likewise.
61863         * math/s_csin.c (__csin): Likewise.
61864         * math/s_csinh.c (__csinh): Likewise.
61865         * math/s_ctan.c (__ctan): Likewise.
61866         * math/s_ctanh.c (ctanh): Likewise.
61867         * math/s_ccoshl.c (__ccoshl): Likewise.
61868         * math/s_cexpl.c (__cexpl): Likewise.
61869         * math/s_csinl.c (__csinl): Likewise.
61870         * math/s_csinhl.c (__csinhl): Likewise.
61871         * math/s_ctanl.c (__ctanl): Likewise.
61872         * math/s_ctanhl.c (__ctanhl): Likewise.
61874 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61876         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61877         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61878         (_IO_off_t): Define to __off_t, not _G_off_t.
61879         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61880         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61881         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61882         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61883         type of __dummy and __dummy2 fields.
61884         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61885         (_G_ssize_t): Likewise.
61886         (_G_off_t): Likewise.
61887         (_G_pid_t): Likewise.
61888         (_G_uid_t): Likewise.
61889         (_G_wchar_t): Likewise.
61890         (_G_wint_t): Likewise.
61891         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61892         (_G_ssize_t): Likewise.
61893         (_G_off_t): Likewise.
61894         (_G_pid_t): Likewise.
61895         (_G_uid_t): Likewise.
61896         (_G_wchar_t): Likewise.
61897         (_G_wint_t): Likewise.
61898         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61899         (_G_ssize_t): Likewise.
61900         (_G_off_t): Likewise.
61901         (_G_pid_t): Likewise.
61902         (_G_uid_t): Likewise.
61903         (_G_wchar_t): Likewise.
61904         (_G_wint_t): Likewise.
61906 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61908         * malloc/arena.c: Include malloc-sysdep.h.
61909         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61910         is sufficient to shrink the heap or an unmap is needed.
61911         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61912         new function check_may_shrink_heap.
61913         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61914         new function check_may_shrink_heap.
61916 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61918         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61919         comments.
61921 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61923         * catgets/test-gencat.sh: Add "set -e".
61924         * elf/tst-pathopt.sh: Likewise.
61925         * grp/tst_fgetgrent.sh: Likewise.
61926         * iconvdata/run-iconv-test.sh: Likewise.
61927         * intl/tst-gettext.sh: Likewise.
61928         * intl/tst-gettext2.sh: Likewise.
61929         * intl/tst-gettext4.sh: Likewise.
61930         * intl/tst-gettext6.sh: Likewise.
61931         * intl/tst-translit.sh: Likewise.
61932         * io/ftwtest-sh: Likewise.
61933         * libio/test-freopen.sh: Likewise.
61934         * malloc/tst-mtrace.sh: Likewise.
61935         * posix/globtest.sh: Likewise.
61936         * posix/tst-getconf.sh: Likewise.
61937         * posix/wordexp-tst.sh: Likewise.
61938         * stdio-common/tst-printf.sh: Likewise.
61939         * stdio-common/tst-unbputc.sh: Likewise.
61940         * stdlib/tst-fmtmsg.sh: Likewise.
61941         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61942         * catgets/Makefile: Do not specify -e option when running
61943         testsuite shell scripts.
61944         * elf/Makefile: Likewise.
61945         * grp/Makefile: Likewise.
61946         * iconvdata/Makefile: Likewise.
61947         * intl/Makefile: Likewise.
61948         * io/Makefile: Likewise.
61949         * libio/Makefile: Likewise.
61950         * malloc/Makefile: Likewise.
61951         * posix/Makefile: Likewise.
61952         * stdio-common/Makefile: Likewise.
61953         * stdlib/Makefile: Likewise.
61954         * sysdeps/x86_64/Makefile: Likewise.
61956         * io/ftwtest-sh: Add copyright header.
61957         * posix/globtest.sh: Likewise.
61958         * posix/tst-getconf.sh: Likewise.
61959         * posix/wordexp-tst.sh: Likewise.
61960         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61962 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61964         [BZ #13679]
61965         * Makeconfig (+link): Defined as $(+link-static) if
61966         $(build-shared) isn't yes.
61967         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61968         isn't yes.
61969         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61971         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61973         [BZ #14562]
61974         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61975         new chunk size with MALLOC_ALIGN_MASK.
61977 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61979         [BZ #5044]
61980         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61981         <rounding-mode.h>.
61982         (__printf_fphex): Determine rounding using get_rounding_mode and
61983         round_away.
61984         * stdio-common/tst-printf-round.c (struct hex_test): New
61985         structure.
61986         (hex_tests): New variable.
61987         (test_hex_in_one_mode): New function.
61988         (do_test): Also run tests for hex float output.
61990 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61992         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61993         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61994         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61995         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61996         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61997         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61998         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61999         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62001 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
62003         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
62004         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
62005         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
62006         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
62008 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
62010         [BZ #14579]
62011         * elf/rtld.c (dl_main): Limit the check for self loading to normal
62012         mode only.
62013         * elf/tst-rtld-load-self.sh: New test.
62014         * elf/Makefile: Run it.
62016 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
62018         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
62019         (tst-writev-ENV): Remove.
62020         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
62022 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
62024         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
62026 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
62028         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
62029         unconditional.
62030         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
62031         Likewise.
62032         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
62033         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
62034         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62035         Likewise.
62037 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
62039         [BZ #14587]
62040         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
62041         * config.make.in (have-cpp-asm-debuginfo): Removed.
62042         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
62043         * configure: Regenerated.
62045 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
62047         [BZ #5044]
62048         * stdio-common/printf_fp.c: Include <stdbool.h> and
62049         <rounding-mode.h>.
62050         (___printf_fp): Determine rounding using get_rounding_mode and
62051         round_away.
62052         * stdio-common/tst-printf-round.c: New file.
62053         * stdio-common/Makefile (tests): Add tst-printf-round.
62054         (link-libm): New variable.
62055         ($(objpfx)tst-printf-round): Depend in $(link-libm).
62057 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
62059         [BZ #14576]
62060         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
62061         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
62062         Likewise.
62063         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
62064         Likewise.
62066 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
62068         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62069         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62070         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62071         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62073 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
62075         [BZ #14518]
62076         * include/rounding-mode.h: New file.
62077         * sysdeps/generic/get-rounding-mode.h: Likewise.
62078         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
62079         * stdlib/strtod_l.c: Include <rounding-mode.h>.
62080         (MAX_VALUE): New macro.
62081         (MIN_VALUE): Likewise.
62082         (overflow_value): New function.
62083         (underflow_value): Likewise.
62084         (round_and_return): Use overflow_value and underflow_value to
62085         determine return values in overflow and underflow cases.  Use
62086         round_away to determine rounding depending on rounding mode.
62087         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
62088         determine return values in overflow and underflow cases.
62089         * stdlib/tst-strtod-round.c: Include <fenv.h>.
62090         (struct test_results): New structure.
62091         (struct test): Use struct test_results to store expected results
62092         for all rounding modes.
62093         (TEST): Include expected results for all rounding modes.
62094         (test_in_one_mode): New function.
62095         (do_test): Use test_in_one_mode to compute and check results.
62096         Check results for all rounding modes.
62097         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
62098         $(link-libm).
62100 2012-12-09  Allan McRae  <allan@archlinux.org>
62102         * sysdeps/i386/fpu/libm-test-ulps: Update
62104 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
62106         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
62107         (_G_int32_t): Likewise.
62108         (_G_uint16_t): Likewise.
62109         (_G_uint32_t): Likewise.
62110         (_G_HAVE_BOOL): Likewise.
62111         (_G_HAVE_ATEXIT): Likewise.
62112         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62113         (_G_HAVE_IO_FILE_OPEN): Likewise.
62114         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
62115         (_G_int32_t): Likewise.
62116         (_G_uint16_t): Likewise.
62117         (_G_uint32_t): Likewise.
62118         (_G_HAVE_BOOL): Likewise.
62119         (_G_HAVE_ATEXIT): Likewise.
62120         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62121         (_G_HAVE_IO_FILE_OPEN): Likewise.
62122         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
62123         (_G_int32_t): Likewise.
62124         (_G_uint16_t): Likewise.
62125         (_G_uint32_t): Likewise.
62126         (_G_HAVE_BOOL): Likewise.
62127         (_G_HAVE_ATEXIT): Likewise.
62128         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62129         (_G_HAVE_IO_FILE_OPEN): Likewise.
62131 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
62133         * csu/libc-tls.c: Update copyright years.
62135 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
62137         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62138         [!_G_USING_THUNKS]: Remove conditional code.
62139         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62140         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62142         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62143         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62144         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62145         (_G_VTABLE_LABEL_PREFIX): Likewise.
62146         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62147         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62148         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62149         (_G_VTABLE_LABEL_PREFIX): Likewise.
62150         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62151         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62152         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62153         (_G_VTABLE_LABEL_PREFIX): Likewise.
62154         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62156 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
62158         * libio/Makefile: Include ../Makeconfig before tests.
62159         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
62160         only if $(build-shared) is yes.
62162         * iconv/gconv_db.c: Update copyright years.
62164 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62166         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
62167         unwind info if defined PIC. Fix special cases description.
62168         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
62170         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62171         DP_HI_MASK entry.
62172         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62174 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
62176         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62178         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62179         is NULL.
62181         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62182         (LDLIBS-tst-chk4): This.
62183         (LDFLAGS-tst-chk5): Renamed to ...
62184         (LDLIBS-tst-chk5): This.
62185         (LDFLAGS-tst-chk6): Renamed to ...
62186         (LDLIBS-tst-chk6): This.
62187         (LDFLAGS-tst-lfschk4): Renamed to ...
62188         (LDLIBS-tst-lfschk4): This.
62189         (LDFLAGS-tst-lfschk5): Renamed to ...
62190         (LDLIBS-tst-lfschk5): This.
62191         (LDFLAGS-tst-lfschk6): Renamed to ...
62192         (LDLIBS-tst-lfschk6): This.
62194         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62195         on $(common-objpfx)soversions.mk.
62197 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62199         [BZ #10014]
62200         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62201         example host name.
62203 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62205         * malloc/arena.c (arena_get_retry): New function that gets
62206         another arena for the caller to try its request on.
62207         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62208         current arena cannot fulfill the request.
62209         (__libc_memalign): Likewise.
62210         (__libc_memalign): Likewise.
62211         (__libc_pvalloc): Likewise.
62212         (__libc_calloc): Likewise.
62214 2012-09-05  John Tobey  <john.tobey@gmail.com>
62216         [BZ #13542]
62217         * manual/arith.texi (Operations on Complex): Fix description
62218         of carg branch cut.
62220 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62222         [BZ #10014]
62223         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62224         host name.
62226         [BZ #10038]
62227         * manual/memory.texi (Memory): Make order of menu items match
62228         order of sections.
62230 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62232         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62233         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62234         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62236 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62238         * csu/libc-tls.c (static_dtv): Renamed to ...
62239         (_dl_static_dtv): This.  Make it global.
62240         (_dl_initial_dtv): Removed.
62241         (__libc_setup_tls): Updated.
62242         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62243         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62244         DL_INITIAL_DTV.
62246 2012-09-06  Petr Machata  <pmachata@redhat.com>
62248         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62249         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62250         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62251         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62253 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62255         [BZ #14545]
62256         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62257         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62258         freeing dtv[-1].
62260 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62262         [BZ #14544]
62263         * Makeconfig (link-static-before-libc): Replace $(+prector)
62264         with $(+prectorT).
62265         (link-static-after-libc): Replace $(+postctor) with
62266         $(+postctorT).
62267         (link-bounded): Replace $(+prector)/$(+postctor) with
62268         $(+prectorT)/$(+postctorT).
62269         (+prectorT): New macro.
62270         (+postctorT): Likewise.
62272 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62274         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62275         (round_str): Handle values above the maximum for IBM long double
62276         as inexact.
62277         * stdlib/tst-strtod-round.c (tests): Regenerated.
62279 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62281         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62282         assembler flag.
62283         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62284         zarch_nohighgprs around the zarch optimized routines.
62285         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62286         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62287         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62288         for zarch.
62290 2012-09-05  David S. Miller  <davem@davemloft.net>
62292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62294         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62295         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62296         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62297         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62298         entries.
62300 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62302         * malloc/arena.c: Fold copyright years.
62303         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62305 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62307         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62309 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62311         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62313 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62315         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62316         change internal state upon failure.
62318 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62320         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62321         * malloc/memusage.c (mmap): Likewise.
62322         (mmap64, mremap): Likewise.  Adjust name in comment.
62324 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62326         * libio/fileops.c: Fix typos in comments.
62327         * libio/oldfileops.c: Likewise.
62328         * libio/wfileops.c: Likewise.
62330 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62332         [BZ #1349]
62333         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62334         (tst-malloc-usable-ENV): Set environment for test case.
62335         * malloc/hooks.c (malloc_check_get_size): New function to get
62336         requested size.
62337         * malloc/malloc.c (musable): Use malloc_check_get_size.
62338         * malloc/tst-malloc-usable.c: New test case.
62340 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62342         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62344 2012-09-05  Allan McRae  <allan@archlinux.org>
62346         [BZ #13966]
62347         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62348         determine header location.
62349         * configure: Regenerated.
62351 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62353         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62354         float format.
62355         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62356         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62357         format.
62358         (test): Regenerate.
62360 2012-09-04  David S. Miller  <davem@davemloft.net>
62362         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62363         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62364         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62366 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62368         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62369         failures.
62371         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62373 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62375         [BZ #9914]
62376         * libio/iogetdelim.c: Include <limits.h>.
62377         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62378         + len + 1 would overflow.
62380 2012-09-03  Andreas Jaeger  <aj@suse.de>
62382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62383         * sysdeps/i386/fpu/libm-test-ulps: Update.
62385 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62387         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62388         Add s_sinf-sse2, s_conf-sse2.
62390         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62391         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62392         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62393         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62395         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62396         for using routine as __sinf_ia32.
62397         Use macro for function declaration and weak_alias.
62398         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62399         for using routine as __cosf_ia32.
62400         Use macro for function declaration and weak_alias.
62402         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62403         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62405         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62406         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62409         * math/libm-test.inc (cos_test): Add more test cases.
62410         (sin_test): Likewise.
62411         (sincos_test): Likewise.
62413 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62415         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62416         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62417         hidden.
62418         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62420 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62422         [BZ #14538]
62423         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62424         first element of the GOT.
62425         (elf_machine_load_address): Return the difference between
62426         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62428 2012-09-01  Allan McRae  <allan@archlinux.org>
62430         [BZ #13412]
62431         * configure.in (AWK): Require gawk version 3.0 or later.
62432         * configure: Regenerated.
62434 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62436         * sysdeps/unix/sysv/linux/kernel-features.h
62437         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62438         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62439         [__NR_clock_getres]: Make code unconditional.
62440         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62441         (clock_getcpuclockid): Remove code left unreachable by removal of
62442         conditionals.
62443         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62444         code unconditional.
62445         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62446         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62447         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62448         Make code unconditional.
62449         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62450         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62451         * sysdeps/unix/sysv/linux/clock_settime.c
62452         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62453         conditional code.
62454         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62455         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62457 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62459         [BZ #14476]
62460         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62461         scripts/test-installation.pl.
62463         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62464         and $ld_so_version if it is set.
62466 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62468         [BZ #14516]
62469         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62470         failure if reading from procfs failed.
62471         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62473 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62475         * sysdeps/unix/sysv/linux/kernel-features.h
62476         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62477         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62478         Remove conditional code.
62479         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62480         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62481         Remove conditional code.
62482         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62483         * sysdeps/unix/sysv/linux/i386/fxstat.c
62484         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62485         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62486         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62487         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62488         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62489         * sysdeps/unix/sysv/linux/i386/lxstat.c
62490         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62492         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62493         Remove conditional code.
62494         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62495         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62496         Remove conditional code.
62497         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62498         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62499         <kernel-features.h>.
62500         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62501         Remove.
62502         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62503         Remove conditional code.
62504         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62505         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62506         Remove conditional.
62508 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62510         [BZ #5400]
62511         * NEWS: Add fixed bug number.
62513 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62515         [BZ #14519]
62516         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62517         underflowing exponent in case of negative sign.
62518         * stdlib/tst-strtod-round-data: Add more tests.
62519         * stdlib/tst-strtod-round.c (tests): Regenerated.
62521         [BZ #3479]
62522         * stdlib/strtod_l.c (NDIG): Remove.
62523         (HEXNDIG): Likewise.
62524         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62525         smallest representable value.
62526         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62527         lie within an exact representation of 1/2 ulp of the result.
62528         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62529         unconditionally.
62530         (TENS_P9_IDX): Define unconditionally.
62531         (TENS_P9_SIZE): Likewise.
62532         (TENS_P10_IDX): Likewise.
62533         (TENS_P10_SIZE): Likewise.
62534         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62535         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62536         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62537         entries for 10^2^13 and 10^2^14.
62538         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62539         (TENS_P13_IDX): Define.
62540         (TENS_P13_SIZE): Likewise.
62541         (TENS_P14_IDX): Likewise.
62542         (TENS_P14_SIZE): Likewise.
62543         (_fpioconst_pow10): Change array size to
62544         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62545         unconditional.
62546         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62547         1024]: Add entries for 10^2^13 and 10^2^14.
62548         [LAST_POW10 > _LAST_POW10]: Remove #error.
62549         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62550         (_fpioconst_pow10): Change array size to
62551         FPIOCONST_POW10_ARRAY_SIZE.
62552         * stdlib/gen-fpioconst.c: New file.
62553         * stdlib/gen-tst-strtod-round.c: Likewise.
62554         * stdlib/tst-strtod-round-data: Likewise.
62555         * stdlib/tst-strtod-round.c: Likewise.
62556         * stdlib/Makefile (tests): Add tst-strtod-round.
62558         [BZ #14459]
62559         * stdlib/strtod_l.c: Include <stdint.h>.
62560         (NDEBUG): Do not define.
62561         (round_and_return): Change EXPONENT parameter to type intmax_t.
62562         Rearrange calculations to avoid internal overflow possibilities.
62563         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62564         Rearrange calculations to avoid internal overflow possibilities.
62565         Assert that number fits inside MPNSIZE limbs.
62566         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62567         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62568         calculations and add assertions to avoid internal overflow
62569         possibilities.  Add casts to avoid signed/unsigned operations.
62570         * stdlib/tst-strtod-overflow.c: New file.
62571         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62573 2012-08-25  Marek Polacek  <polacek@redhat.com>
62575         * time/time.h: Fix some typos in comments.
62577 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62579         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62580         * posix/tst-rfc3484-2.c: Likewise.
62581         * posix/tst-rfc3484-3.c: Likewise.
62583 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62585         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62586         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62588 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62590         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62591         #include of fxstatat64.c.
62593 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62595         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62596         * shadow/getspent_r.c: Likewise.
62597         * shadow/getspnam.c: Likewise.
62598         * shadow/getspnam_r.c: Likewise.
62599         * gshadow/getsgent.c: Likewise.
62600         * gshadow/getsgent_r.c: Likewise.
62601         * gshadow/getsgnam.c: Likewise.
62602         * gshadow/getsgnam_r.c: Likewise.
62603         * inet/getnetbyad.c: Likewise.
62604         * inet/getnetbyad_r.c: Likewise.
62605         * inet/getnetbynm.c: Likewise.
62606         * inet/getnetbynm_r.c: Likewise.
62607         * inet/getnetent.c: Likewise.
62608         * inet/getnetent_r.c: Likewise.
62609         * inet/getproto.c: Likewise.
62610         * inet/getproto_r.c: Likewise.
62611         * inet/getprtent.c: Likewise.
62612         * inet/getprtent_r.c: Likewise.
62613         * inet/getprtname.c: Likewise.
62614         * inet/getprtname_r.c: Likewise.
62615         * inet/getrpcbyname.c: Likewise.
62616         * inet/getrpcbyname_r.c: Likewise.
62617         * inet/getrpcbynumber.c: Likewise.
62618         * inet/getrpcbynumber_r.c: Likewise.
62619         * inet/getrpcent.c: Likewise.
62620         * inet/getrpcent_r.c: Likewise.
62621         * inet/getaliasent.c: Likewise.
62622         * inet/getaliasent_r.c: Likewise.
62623         * inet/getaliasname.c: Likewise.
62624         * inet/getaliasname_r.c: Likewise.
62625         * nscd/getgrgid_r.c: Likewise.
62626         * nscd/getgrnam_r.c: Likewise.
62627         * nscd/gethstbyad_r.c: Likewise.
62628         * nscd/gethstbynm3_r.c: Likewise.
62629         * nscd/getpwnam_r.c: Likewise.
62630         * nscd/getpwuid_r.c: Likewise.
62631         * nscd/getsrvbynm_r.c: Likewise.
62632         * nscd/getsrvbypt_r.c: Likewise.
62633         * nscd/gai.c: Likewise.
62635         * configure.in (build_nscd): New substituted variable, set
62636         by --disable-build-nscd and defaults to $use_nscd.
62637         * configure: Regenerated.
62638         * config.make.in (build-nscd): New substituted variable.
62639         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62640         Change conditional to require [$(build-nscd) = yes] as well.
62641         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62643         [BZ# 13696]
62644         * configure.in (use_nscd): New substituted variable, set by
62645         --disable-nscd.  If enabled, define USE_NSCD.
62646         * configure: Regenerated.
62647         * config.h.in: Add USE_NSCD.
62648         * config.make.in (use-nscd): New substituted variable.
62649         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62650         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62651         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62652         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62653         (CFLAGS-getgrnam_r.c): Likewise.
62654         (CFLAGS-initgroups.c): Likewise.
62655         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62656         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62657         Variables removed.
62658         * inet/getnetgrent_r.c
62659         (nscd_setnetgrent): New function, broken out of ...
62660         (setnetgrent): ... here.  Call it.
62661         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62662         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62663         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62664         * nscd/Makefile (routines, aux): Move definitions after include of
62665         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62666         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62667         Conditionalize on [USE_NSCD].
62668         (is_nscd, nscd_init_cb): Likewise.
62669         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62670         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62671         * nss/nss_db/db-init.c: Likewise.
62672         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62673         [USE_NSCD].
62674         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62675         (make_request): Use it.
62676         (cache_valid_p): New function.
62677         (__check_pf): Use it.
62678         * NEWS: Add item for --disable-nscd.
62680 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62682         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62683         to support sed >= 4.2.1-20-ga9bf076.
62684         * configure: Regenerated.
62686 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62688         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62689         Conditionalize whole body on [IREL].
62691 2012-08-22  Jeff Law <law@redhat.com>
62693         [BZ #14505]
62694         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62695         if the family is PF_UNSPEC.
62697 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62699         * Makerules (lib-version): Rename from V.
62700         (install-lib-nosubdir): Change V to lib-version.
62702 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62704         [BZ #14252]
62705         * powerpc32/power6/wcschr.c: New file.
62706         * powerpc32/power6/wcscpy.c: New file.
62707         * powerpc32/power6/wcsrchr.c: New file.
62708         * powerpc64/power6/wcschr.c: New file.
62709         * powerpc64/power6/wcscpy.c: New file.
62710         * powerpc64/power6/wcsrchr.c: New file.
62712 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62714         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62715         (two_way_short_needle): Use it.
62716         * string/strstr.c (AVAILABLE1_USES_J): Define.
62717         * string/strcasestr.c: Likewise.
62719         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62720         array references.
62721         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62723         [BZ #11607]
62724         * NEWS: Add an entry.
62725         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62726         define their defaults.
62727         (two_way_short_needle): Detect end-of-string on-the-fly.
62728         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62729         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62730         * string/bug-strcasestr1.c: New test.
62731         * string/Makefile: Run it.
62733 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62735         [BZ #11607]
62736         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62737         the first character.
62739 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62741         * csu/elf-init.c (__libc_csu_irel): Function removed.
62742         * csu/libc-start.c (apply_irel): New function.
62743         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62745 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62747         * sysdeps/unix/sysv/linux/kernel-features.h
62748         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62749         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62750         <kernel-features.h>.
62751         [__NR_fadvise64_64]: Make code unconditional.
62752         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62753         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62754         !__NR_fadvise64_64)]: Likewise.
62755         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62756         !__NR_fadvise64_64))]: Likewise.
62757         [__NR_fadvise64]: Make code unconditional.
62758         [!__NR_fadvise64]: Remove conditional code.
62759         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62760         <kernel-features.h>.
62761         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62762         unconditional.
62763         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62764         conditional code.
62765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62766         not include <kernel-features.h>.
62767         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62768         unconditional.
62769         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62770         conditional code.
62771         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62772         include <kernel-features.h>.
62773         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62774         unconditional.
62775         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62776         conditional code.
62778 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62780         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62781         slight instruction rearrangements per scrollpipe analysis.
62782         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62784 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62786         * manual/syslog.texi (syslog; vsyslog, closelog):
62787         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62788         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62790         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62791         DSOCAPS to match condition on defining it.
62793 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62795         * sysdeps/unix/sysv/linux/kernel-features.h
62796         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62798         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62799         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62801         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62802         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62804         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62805         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62807         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62808         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62810         * sysdeps/unix/sysv/linux/kernel-features.h
62811         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62812         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62813         unconditional.
62814         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62815         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62816         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62817         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62818         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62819         Make code unconditional.
62820         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62821         (__mmap64) [!__NR_mmap2]: Likewise.
62822         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62823         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62824         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62825         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62826         [__NR_mmap2]: Make code unconditional.
62827         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62828         (__mmap64) [!__NR_mmap2]: Likewise.
62830 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62832         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62834 2012-08-18  Andreas Jaeger  <aj@suse.de>
62836         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62838 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62840         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62841         * include/unistd.h (__have_sock_cloexec): Likewise.
62842         (__have_pipe2): Likewise.
62843         (__have_dup3): Likewise.
62845 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62847         [BZ #9685]
62848         * include/unistd.h (__have_pipe2): Change define into an extern int.
62849         (__have_dup3): Likewise.
62850         * socket/have_sock_cloexec.c: Include fcntl.h.
62851         (__have_pipe2): New variable.
62852         (__have_dup3): Likewise.
62854 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62856         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62858 2012-08-17  Marek Polacek  <polacek@redhat.com>
62860         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62861         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62863 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62865         * configure.in: Add AC_SUBST for sysheaders.
62866         * configure: Regenerated.
62867         * config.make.in (sysheaders): New substituted variable.
62869         * sysdeps/unix/mkfifo.c: Moved ...
62870         * sysdeps/posix/mkfifo.c: ... here.
62871         * sysdeps/unix/mkfifoat.c: Moved ...
62872         * sysdeps/posix/mkfifoat.c: ... here.
62874         * sysdeps/unix/utime.c: Moved ...
62875         * sysdeps/posix/utime.c: ... here.
62877         * sysdeps/unix/time.c: Moved ...
62878         * sysdeps/posix/time.c: ... here.
62879         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62880         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62882         * sysdeps/unix/nice.c: Moved ...
62883         * sysdeps/posix/nice.c: ... here.
62885         * sysdeps/unix/alarm.c: Moved ...
62886         * sysdeps/posix/alarm.c: ... here.
62888         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62890 2012-08-17  Jeff Law <law@redhat.com>
62892         * intl/Makefile (codeset_mo): New variable.
62893         ($(codeset_mo)): New target.
62894         (tst-codeset.out): Depend on that.  Remove explicit rule.
62895         (tst-gettext3.out, tst-gettext5.out): Likewise.
62896         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62897         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62898         * intl/tst-codeset.sh: Remove.
62899         * intl/tst-gettext3.sh: Likewise.
62900         * intl/tst-gettext5.sh: Likewise.
62902 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62904         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62905         * sysdeps/unix/syscalls.list: ... here.
62907         * sysdeps/posix/getaddrinfo.c
62908         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62909         (gaiconf_init, gaiconf_reload): Use them.
62910         [!_STATBUF_ST_NSEC]
62911         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62912         Define using time_t rather than struct timespec.
62914         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62915         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62916         Macros removed.
62917         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62918         [!NO_THREADS].
62919         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62920         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62921         Likewise.
62923         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62924         __libc_cleanup_push argument.
62926         * bits/param.h: New file.
62927         * misc/sys/param.h: New file.
62928         * include/sys/param.h: New file.
62929         * misc/Makefile (headers): Add bits/param.h.
62930         * sysdeps/generic/sys/param.h: File removed.
62931         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62932         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62933         * sysdeps/mach/hurd/bits/param.h: New file.
62934         * sysdeps/mach/hurd/sys/param.h: File removed.
62936         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62937         last change.
62939         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62940         [_IO_MTSAFE_IO].
62941         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62942         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62943         New macros.
62945         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62946         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62947         rather than -D_IO_MTSAFE_IO conditionally.
62948         * stdio-common/Makefile (CPPFLAGS): Likewise.
62949         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62950         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62951         Use $(libio-mtsafe).
62952         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62953         of -D_IO_MTSAFE_IO.
62954         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62955         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62956         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62957         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62958         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62959         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62960         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62961         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62962         (CFLAGS-fread_u_chk.c): Likewise.
62963         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62964         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62965         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62966         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62967         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62968         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62969         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62970         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62971         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62973         * libio/Makefile: Test [$(libc-reentrant) = yes]
62974         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62976         * Makeconfig
62977         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62978         * sysdeps/pthread/configure: File removed.
62979         * sysdeps/pthread/Makeconfig: New file.
62980         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62981         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62983 2012-08-16  Gary Benson  <gbenson@redhat.com>
62985         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62986         unmapping the first object in a namespace.
62988 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62990         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62991         (__internal_setnetgrent): ... this.  Add internal_function to
62992         definition.  Add libc_hidden_def.
62993         (setnetgrent): Update caller.
62994         (internal_endnetgrent): Renamed to ...
62995         (__internal_endnetgrent): ... this.  Add internal_function to
62996         definition.  Add libc_hidden_def.
62997         (endnetgrent): Update caller.
62998         (internal_getnetgrent_r): Renamed to ...
62999         (__internal_getnetgrent_r): ... this.  Add internal_function to
63000         definition.  Add libc_hidden_def.
63001         (__getnetgrent_r): Update caller.
63002         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
63004 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63006         * stdlib/longlong.h: Update from GCC.
63008 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63010         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
63011         on _QL, which is set by umul_ppmm but never used.
63012         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
63013         variables, which are set by GMP macros but never used.
63014         * stdio-common/_itowa.c (_itowa): Likewise.
63015         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
63016         * stdlib/mod_1.c (mpn_mod_1): Likewise.
63018 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
63020         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
63021         struct La_sh_regs is not constant.
63022         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
63023         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
63024         and struct La_sparc64_regs are not constant.
63026 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63028         * sysdeps/unix/sysv/linux/kernel-features.h
63029         (__ASSUME_POSIX_TIMERS): Remove.
63030         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63031         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63032         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
63033         Make code unconditional.
63034         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63035         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
63036         Make code unconditional.
63037         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63038         * sysdeps/unix/sysv/linux/clock_nanosleep.c
63039         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
63040         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63041         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
63042         Make code unconditional.
63043         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63044         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
63045         (__libc_missing_posix_timers): Remove.
63047 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63049         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63050         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
63052         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
63054         * elf/dl-sym.c: Include <stdlib.h>.
63056         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
63057         constants, which avoids warnings in 32-bit builds.
63059         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
63060         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
63062         * misc/lseek.c: File moved to ...
63063         * io/lseek.c: ... here.
63065         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
63067         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
63068         shifting LEN more than 31 bits at once.
63070 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63072         [BZ #14195]
63073         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
63074         segmentation fault for a case of two empty input strings.
63075         * string/test-strncasecmp.c (check1): Renamed to...
63076         (bz12205): ...this.
63077         (bz14195): Add new testcase for two empty input strings and N > 0.
63078         (test_main): Call new testcase, adapt for renamed function.
63080 2012-08-15  Andreas Jaeger  <aj@suse.de>
63082         [BZ #14090]
63083         * crypt/md5test2.c: New test, based on test supplied by Serge
63084         Belyshev <belyshev@depni.sinp.msu.ru>.
63085         * crypt/Makefile (xtests): Add md5test-giant..
63086         * crypt/Makefile ($(objpfx)md5test-giant): Add.
63088 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
63090         [BZ #14090]
63091         * crypt/md5.c (md5_process_block): Don't assume the buffer
63092         length is less than 2**32.
63093         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
63094         length is less than 2**64.
63096 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63098         * string/str-two-way.h: Include <sys/param.h>.
63099         (MAX): Macro removed.
63101         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
63102         Move #define and #undef of memmove to just before and after
63103         including <string.h>.
63105         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
63106         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
63107         and after including <string.h>.  Move declarations of
63108         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
63109         to before #include "string/memmove.c".
63111         * include/dirent.h: Declare __getdirentries.
63113         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
63114         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
63116 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
63118         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
63119         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
63120         * sysdeps/i386/configure: Regenerated.
63121         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63122         STABS_CURRENT_FILE, and STABS_FUN.
63123         (END): Remove call to STABS_FUN_END.
63124         (STABS_CURRENT_FILE1): Delete.
63125         (STABS_CURRENT_FILE): Likewise.
63126         (STABS_FUN): Likewise.
63127         (STABS_FUN_END): Likewise.
63128         (STABS_FUN2): Likewise.
63129         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
63130         * sysdeps/x86_64/configure: Regenerated.
63132 2012-08-14  Roland McGrath  <roland@hack.frob.com>
63134         * elf/dl-open.c: Include <atomic.h>.
63135         * elf/dl-lookup.c: Likewise.
63137 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
63139         * sysdeps/unix/sysv/linux/kernel-features.h
63140         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63141         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63142         unconditionally.
63143         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63144         unconditionally.
63145         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63146         condition on __ASSUME_CLONE_THREAD_FLAGS.
63148 2012-08-14  Andreas Jaeger  <aj@suse.de>
63150         * sysdeps/i386/fpu/libm-test-ulps: Update.
63152 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
63154         * include/atomic.h (atomic_exchange_and_add): Split into ...
63155         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63156         New atomic macros.
63158 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
63160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63162 2012-08-13  Jeff Law <law@redhat.com>
63164         * manual/stdio.texi (snprintf): Clarify handling of the trailing
63165         null byte in the output string.
63167 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
63169         * sysdeps/unix/sysv/linux/kernel-features.h
63170         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63171         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63172         (__ASSUME_ARG_MAX_STACK_BASED): Define.
63173         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63174         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63175         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
63176         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63178 2012-08-09  Jeff Law <law@redhat.com>
63180         [BZ #13939]
63181         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63182         When avoid_arena is set, don't retry in the that arena.  Pick the
63183         next one, whatever it might be.
63184         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63185         (arena_lock): Pass in new parameter to arena_get2.
63186         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63187         arena_get2.
63188         (__libc_malloc): Unify retrying after main arena failure with
63189         __libc_memalign version.
63190         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63192 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63194         [BZ #14166]
63195         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63196         to __redirect_strstr.
63197         (__strstr_sse42): Use typeof __redirect_strstr.
63198         (__strstr_ia32): Likewise.
63199         (__libc_strstr): New prototype.
63200         (strstr): Renamed to ...
63201         (__libc_strstr): This.
63202         (strstr): New strong alias of __libc_strstr.
63203         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63204         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63205         __redirect_time.
63206         Include <time.h>.
63207         (__libc_time): New prototype.
63208         (time_ifunc): Replace time with __libc_time.
63209         (time): New strong alias and hidden definition of __libc_time.
63210         (__GI_time): Remove strong alias.
63211         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63212         Include <stddef.h>.
63213         (memmove): Redefined to __redirect_memmove.
63214         (__memmove_sse2): Use typeof __redirect_memmove.
63215         (__memmove_ssse3): Likewise.
63216         (__memmove_ssse3_back): Likewise.
63217         (__libc_memmove): New prototype.
63218         (memmove): Renamed to ...
63219         (__libc_memmove): This.
63220         (memmove): New strong alias of __libc_memmove.
63222 2012-08-08  Mark Salter  <msalter@redhat.com>
63224         * elf/elf.h
63225         (R_MN10300_TLS_GD): Define.
63226         (R_MN10300_TLS_LD): Likewise.
63227         (R_MN10300_TLS_LDO): Likewise.
63228         (R_MN10300_TLS_GOTIE): Likewise.
63229         (R_MN10300_TLS_IE): Likewise.
63230         (R_MN10300_TLS_LE): Likewise.
63231         (R_MN10300_TLS_DTPMOD): Likewise.
63232         (R_MN10300_TLS_DTPOFF): Likewise.
63233         (R_MN10300_TLS_TPOFF): Likewise.
63234         (R_MN10300_SYM_DIFF): Likewise.
63235         (R_MN10300_ALIGN): Likewise.
63236         (R_MN10300_NUM): Update.
63238 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63240         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63241         Remove.
63243 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63245         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63247         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63248         sysdeps/unix -> sysdeps/posix move.
63249         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63251 2012-08-07      Allan McRae     <allan@archlinux.org>
63253         [BZ #14303]
63254         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63255         (SUNOS_CPP): Likewise.
63256         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63257         not found.
63258         (open_input): Call CPP using execvp.
63260 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63262         * sysdeps/unix/sysv/linux/kernel-features.h
63263         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63264         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63265         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63266         (__ASSUME_WAITID_SYSCALL): Likewise.
63267         * sysdeps/unix/sysv/linux/dl-execstack.c
63268         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63269         code unconditional.
63270         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63271         conditional code.
63272         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63273         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63274         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63275         code.
63276         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63277         unconditional.
63278         [__ASSUME_WAITID_SYSCALL]: Likewise.
63279         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63281 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63283         * sysdeps/unix/closedir.c: Renamed to ...
63284         * sysdeps/posix/closedir.c: ... here.
63285         * sysdeps/unix/dirfd.c: Renamed to ...
63286         * sysdeps/posix/dirfd.c: ... here.
63287         * sysdeps/unix/dirstream.h: Renamed to ...
63288         * sysdeps/posix/dirstream.h: ... here.
63289         * sysdeps/unix/fdopendir.c: Renamed to ...
63290         * sysdeps/posix/fdopendir.c: ... here.
63291         * sysdeps/unix/opendir.c: Renamed to ...
63292         * sysdeps/posix/opendir.c: ... here.
63293         * sysdeps/unix/readdir.c: Renamed to ...
63294         * sysdeps/posix/readdir.c: ... here.
63295         * sysdeps/unix/readdir_r.c: Renamed to ...
63296         * sysdeps/posix/readdir_r.c: ... here.
63297         * sysdeps/unix/rewinddir.c: Renamed to ...
63298         * sysdeps/posix/rewinddir.c: ... here.
63299         * sysdeps/unix/seekdir.c: Renamed to ...
63300         * sysdeps/posix/seekdir.c: ... here.
63301         * sysdeps/unix/telldir.c: Renamed to ...
63302         * sysdeps/posix/telldir.c: ... here.
63303         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63304         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63305         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63306         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63308         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63309         * bits/fcntl.h: ... here.
63311         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63312         not 0.
63313         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63314         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63315         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63316         (struct flock): Move l_start, l_len to the beginning.
63317         Use __pid_t for l_pid.
63318         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63319         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63320         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63321         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63322         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63323         [__USE_LARGEFILE64] (struct flock64): New type.
63324         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63326         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63327         * bits/dirent.h: ... here.
63329         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63330         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63332 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63334         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63335         Change from 2.6.0 to 2.6.16.
63336         * sysdeps/unix/sysv/linux/configure: Regenerated.
63337         * sysdeps/unix/sysv/linux/kernel-features.h
63338         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63339         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63340         version.
63341         (__ASSUME_UTIMES): Likewise.
63342         (__ASSUME_CLONE_STOPPED): Remove.
63343         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63344         architectures, not kernel version.
63345         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63346         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63347         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63348         (__ASSUME_WAITID_SYSCALL): Likewise.
63349         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63350         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63351         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63352         refer to older versions.
63354 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63356         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63357         Define alphasort64 as an alias.
63358         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63359         Define versionsort64 as an alias.
63360         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63361         Define scandir64 as an alias.
63362         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63363         Define scandirat64 as an alias.
63364         * dirent/alphasort64.c (alphasort64):
63365         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63366         * dirent/versionsort64.c: Likewise.
63367         * dirent/scandir64.c: Likewise.
63368         * dirent/scandirat64.c: Likewise.
63369         * sysdeps/wordsize-64/alphasort.c: File removed.
63370         * sysdeps/wordsize-64/alphasort64.c: File removed.
63371         * sysdeps/wordsize-64/scandir.c: File removed.
63372         * sysdeps/wordsize-64/scandir64.c: File removed.
63373         * sysdeps/wordsize-64/scandirat.c: File removed.
63374         * sysdeps/wordsize-64/scandirat64.c: File removed.
63375         * sysdeps/wordsize-64/versionsort.c: File removed.
63376         * sysdeps/wordsize-64/versionsort64.c: File removed.
63377         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63378         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63379         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63380         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63381         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63382         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63383         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63384         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63386         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63387         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63388         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63389         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63390         [defined __arch64__ || defined __sparcv9]
63391         (__INO_T_MATCHES_INO64_T): New macro.
63392         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63393         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63394         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63395         * sysdeps/unix/sysv/linux/bits/dirent.h
63396         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63397         (_DIRENT_MATCHES_DIRENT64): New macro.
63399         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63400         Define lockf64 as an alias.
63401         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63402         Define fseeko64 as an alias.
63403         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63404         Define ftello64 as an alias.
63405         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63406         Define _IO_fgetpos64 and fgetpos64 as aliases.
63407         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63408         Define _IO_fsetpos64 and fsetpos64 as aliases.
63409         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63410         Conditionalize body on this.
63411         * libio/fseeko64.c: Likewise.
63412         * libio/ftello64.c: Likewise.
63413         * libio/iofgetpos64.c: Likewise.
63414         * libio/iofsetpos64.c: Likewise.
63415         * sysdeps/wordsize-64/lockf.c: File removed.
63416         * sysdeps/wordsize-64/lockf64.c: File removed.
63417         * sysdeps/wordsize-64/fseeko.c: File removed.
63418         * sysdeps/wordsize-64/fseeko64.c: File removed.
63419         * sysdeps/wordsize-64/ftello.c: File removed.
63420         * sysdeps/wordsize-64/ftello64.c: File removed.
63421         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63422         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63423         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63424         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63425         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63426         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63427         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63428         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63429         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63430         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63431         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63432         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63433         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63434         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63436         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63437         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63438         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63440         [defined __arch64__ || defined __sparcv9]
63441         (__OFF_T_MATCHES_OFF64_T): New macro.
63442         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63443         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63444         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63445         (__OFF_T_MATCHES_OFF64_T): New macro.
63447 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63449         * stdlib/secure-getenv.c (__secure_getenv): Replace
63450         GLIBC_2_16 with GLIBC_2_17.
63452 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63454         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63455         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63457 2012-08-03  David S. Miller  <davem@davemloft.net>
63459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63461 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63463         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63464         Remove.
63465         (__ASSUME_CORRECT_SI_PID): Likewise.
63466         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63467         (__ASSUME_TMPFS_NAME): Likewise.
63468         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63469         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63470         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63471         (HAVE_AUX_SECURE): Make definition unconditional.
63472         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63473         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63475 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63477         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63478         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63479         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63480         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63481         __eloop_threshold instead of SYMLOOP_MAX.
63483         * sysdeps/generic/eloop-threshold.h: New file.
63484         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63485         of MAXSYMLINKS.
63486         * elf/chroot_canon.c (chroot_canon): Likewise.
63488 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63490         [BZ #13717]
63491         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63492         Change to 2.6.0 everywhere.
63493         * sysdeps/unix/sysv/linux/configure: Regenerated.
63494         * sysdeps/unix/sysv/linux/kernel-features.h
63495         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63496         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63497         kernel versions.
63498         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63499         (__ASSUME_FUTEX_REQUEUE): Remove.
63500         (__ASSUME_STATFS64): Define unconditionally.
63501         (__ASSUME_AT_SECURE): Likewise.
63502         (__ASSUME_CORRECT_SI_PID): Likewise.
63503         (__ASSUME_TGKILL): Define without depending on kernel version for
63504         i386.
63505         (__ASSUME_UTIMES): Likewise.
63506         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63507         kernel version.
63508         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63509         (__ASSUME_TMPFS_NAME): Likewise.
63510         * README: Update reference to Linux kernel versions.
63512 2012-08-02  Marek Polacek  <polacek@redhat.com>
63514         [BZ# 14150]
63515         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63516         libc_cv_asm_type_prefix with %.
63517         * configure: Regenerated.
63518         * include/libc-symbols.h: Remove comment about
63519         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63520         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63521         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63522         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63523         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63524         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63525         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63526         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63527         * elf/tst-unique2mod1.c: Likewise.
63528         * elf/tst-unique1mod2.c: Likewise.
63529         * elf/tst-unique1mod1.c: Likewise.
63530         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63531         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63532         Replace ASM_TYPE_DIRECTIVE with .type.
63533         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63534         * sysdeps/i386/sysdep.h: Likewise.
63535         * sysdeps/x86_64/sysdep.h: Likewise.
63536         * sysdeps/sh/sysdep.h: Likewise.
63537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63538         Do not define ASM_TYPE_DIRECTIVE.
63539         * sysdeps/powerpc/sysdep.h: Likewise.
63540         * sysdeps/powerpc/powerpc32/sysdep.h:
63541         Replace ASM_TYPE_DIRECTIVE with .type.
63542         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63543         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63544         * sysdeps/i386/fpu/e_powf.S: Likewise.
63545         * sysdeps/i386/fpu/e_expl.S: Likewise.
63546         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63547         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63548         * sysdeps/i386/fpu/e_pow.S: Likewise.
63549         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63550         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63551         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63552         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63553         * sysdeps/i386/fpu/e_log2.S: Likewise.
63554         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63555         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63556         * sysdeps/i386/fpu/e_powl.S: Likewise.
63557         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63558         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63559         * sysdeps/i386/fpu/e_logl.S: Likewise.
63560         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63561         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63562         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63563         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63564         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63565         * sysdeps/i386/fpu/e_log.S: Likewise.
63566         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63567         * sysdeps/i386/fpu/e_logf.S: Likewise.
63568         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63569         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63570         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63571         * sysdeps/i386/fpu/e_log10.S: Likewise.
63572         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63573         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63574         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63575         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63576         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63577         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63578         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63579         * sysdeps/i386/i686/strtok.S: Likewise.
63580         * sysdeps/i386/i386-mcount.S: Likewise.
63581         * sysdeps/i386/strtok.S: Likewise.
63582         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63583         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63584         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63585         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63586         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63587         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63588         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63589         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63590         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63591         * sysdeps/x86_64/_mcount.S: Likewise.
63592         * sysdeps/x86_64/strtok.S: Likewise.
63593         * sysdeps/sh/_mcount.S: Likewise.
63595 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63597         * libio/iofopen.c: Include <fcntl.h>.
63598         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63599         (_IO_fopen64, fopen64): Define as aliases.
63600         * libio/iofopen64.c: Include <fcntl.h>.
63601         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63602         Conditionalize body on this.
63603         * sysdeps/wordsize-64/iofopen.c: File removed.
63604         * sysdeps/wordsize-64/iofopen64.c: File removed.
63606 2012-08-01  Marek Polacek  <polacek@redhat.com>
63608         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63609         Use dlfcn directly instead of a variable.
63610         (binfmt-subdir): Do not define.
63611         (dlfcn): Likewise.
63613 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63615         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63616         Remove all definitions.
63617         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63618         <kernel-features.h>.
63619         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63620         (miss_F_GETOWN_EX): Remove all definitions.
63621         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63622         macro definition.
63623         [!__ASSUME_FCNTL64]: Remove conditional code.
63624         [__ASSUME_FCNTL64]: Make code unconditional.
63625         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63626         <kernel-features.h>.
63627         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63628         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63629         (lockf64) [__NR_fcntl64]: Make code unconditional.
63630         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63632         * sysdeps/unix/sysv/linux/kernel-features.h
63633         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63634         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63635         Make code unconditional.
63636         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63637         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63639         [__NR_vfork]: Make code unconditional.
63640         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63641         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63643         [__NR_vfork]: Make code unconditional.
63644         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63645         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63647 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63649         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63650         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63652         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63653         Define mkstemp64 as an alias.
63654         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63655         Define mkstemps64 as an alias.
63656         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63657         Define mkostemp64 as an alias.
63658         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63659         Define mkostemps64 as an alias.
63660         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63661         Conditionalize body on this.
63662         * misc/mkostemp64.c: Likewise.
63663         * misc/mkostemps64.c: Likewise.
63664         * misc/mkstemps64.c: Likewise.
63665         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63666         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63667         * sysdeps/wordsize-64/mkostemp.c: File removed.
63668         * sysdeps/wordsize-64/mkstemp.c: File removed.
63669         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63670         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63671         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63672         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63674         [BZ #14138]
63675         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63676         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63677         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63678         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63680         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63681         compat_symbol macros from <shlib-compat.h> rather than the underlying
63682         default_symbol_version and symbol_version macros, so that DEFAULT
63683         lines in shlib-versions are respected.
63684         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63686 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63688         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63689         Declare with warn_unused_result.
63690         (setgid, setregid, setegid, setresgid): Likewise.
63691         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63692         Likewise.
63693         * WUR-REPORT: Remove set*id functions.
63695 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63697         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63699 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63701         [BZ #10191]
63702         * include/sys/socket.h (__libc_accept, __libc_accept4):
63703         Add attribute_hidden.
63704         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63706         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63707         use of PTR_MANGLE.
63708         * inet/getnetgrent_r.c (setup): Likewise.
63710         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63712 2012-07-31  David S. Miller  <davem@davemloft.net>
63714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63716 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63718         [BZ #13629]
63719         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63720         value between 1.0 and 2.0 and smaller part has absolute value less
63721         than 1.0.
63722         * math/s_clog10.c (__clog10): Likewise.
63723         * math/s_clog10f.c (__clog10f): Likewise.
63724         * math/s_clog10l.c (__clog10l): Likewise.
63725         * math/s_clogf.c (__clogf): Likewise.
63726         * math/s_clogl.c (__clogl): Likewise.
63727         * math/libm-test.inc (clog_test): Add more tests.
63728         (clog10_test): Likewise.
63729         * sysdeps/i386/fpu/libm-test-ulps: Update.
63730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63732 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63734         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63735         Exit with zero in case no suitable GID is found, and write a
63736         message to standard error.
63738 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63740         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63741         rather than to 1.
63742         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63743         (MAXPATHLEN): Removed.
63744         (NOGROUP, NODEV): New macros.
63745         (setbit, clrbit, isset, isclr): New macros.
63746         (howmany, roundup, powerof2): New macros.
63747         (DEV_BSIZE): New macro.
63749         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63750         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63752         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63753         definition on [!__NO_LONG_DOUBLE_MATH].
63755         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63756         PTR_MANGLE and PTR_DEMANGLE.
63758         * socket/accept4.c (accept4): Rename to __libc_accept4.
63759         Define accept4 as a weak alias.
63761         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63762         on [_DIRENT_HAVE_D_TYPE].
63763         * io/ftw.c (ftw_dir): Likewise.
63765         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63767         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63769         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63770         Use the BSD numbers rather than the arbitrary ones we had.
63771         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63772         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63773         (SIGXCPU, SIGXFSZ): New macros.
63774         (_NSIG): Now 32.
63776         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63777         initializer on [_LIBC_REENTRANT].
63779         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63780         definitions inside [_POSIX_MAPPED_FILES].
63782         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63784         * dirent/opendir.c: Include <fcntl.h>.
63786         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63787         (__libc_getspecific): Likewise.
63788         (__libc_key_create): Likewise.
63790         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63791         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63792         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63793         (tmpfile64): Define as alias.
63794         * sysdeps/wordsize-64/tmpfile.c: File removed.
63795         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63796         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63797         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63799         * stdio-common/vfscanf.c: Include <stdbool.h>.
63800         * nss/makedb.c: Likewise.
63801         * stdio-common/_i18n_number.h: Likewise.
63802         * argp/argp-help.c: Likewise.
63803         * posix/wordexp.c: Likewise.
63804         * sysdeps/posix/spawni.c: Likewise.
63805         * nss/nss_files/files-initgroups.c: Likewise.
63806         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63807         * nss/nss_files/files-initgroups.c: Likewise.
63808         * nss/nss_db/db-netgrp.c: Likewise.
63809         * nss/nss_db/db-initgroups.c: Likewise.
63810         * io/fchmodat.c: Include <sys/stat.h>.
63812         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63813         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63815         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63816         [HAVE_MMAP].
63818         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63819         Add multiple inclusion protection.
63821 2012-07-27  David S. Miller  <davem@davemloft.net>
63823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63825 2012-07-27  Gary Benson  <gbenson@redhat.com>
63827         [BZ #14298]
63828         * elf/rtld.c: Include <stap-probe.h>.
63829         (dl_main): Added static probes "init_start" and "init_complete".
63830         * elf/dl-load.c: Include <stap-probe.h>.
63831         (lose): Take new parameter "nsid".
63832         Added static probe "map_failed".
63833         (_dl_map_object_from_fd): Pass namespace id to lose.
63834         Added static probe "map_start".
63835         (open_verify): Pass namespace id to lose.
63836         * elf/dl-open.c: Include <stap-probe.h>.
63837         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63838         and "reloc_complete".
63839         * elf/dl-close.c: Include <stap-probe.h>.
63840         (_dl_close_worker): Added static probes "unmap_start" and
63841         "unmap_complete".
63842         * elf/rtld-debugger-interface.txt: New file documenting the above.
63844 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63846         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63847         rather than a string variable.
63848         * sunrpc/rpc_main.c (h_output): Likewise.
63849         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63851 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63853         * inet/check_native.c: New file.
63855 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63857         [BZ #13629]
63858         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63859         if larger part has absolute value 1.0.
63860         * math/s_clog10.c (__clog10): Likewise.
63861         * math/s_clog10f.c (__clog10f): Likewise.
63862         * math/s_clog10l.c (__clog10l): Likewise.
63863         * math/s_clogf.c (__clogf): Likewise.
63864         * math/s_clogl.c (__clogl): Likewise.
63865         * math/libm-test.inc (clog_test): Add more tests.
63866         (clog10_test): Likewise.
63867         * sysdeps/i386/fpu/libm-test-ulps: Update.
63868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63870         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63871         (pltexit): Likewise.
63872         (La_regs): Likewise.
63873         (La_retval): Likewise.
63874         (int_retval): Likewise.
63875         Update #error for removed macros to refer only to definitions in
63876         tst-audit.h.
63877         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63878         macro.
63879         (pltexit): Likewise.
63880         (La_regs): Likewise.
63881         (La_retval): Likewise.
63882         (int_retval): Likewise.
63883         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63884         macro.
63885         (pltexit): Likewise.
63886         (La_regs): Likewise.
63887         (La_retval): Likewise.
63888         (int_retval): Likewise.
63889         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63890         macro.
63891         (pltexit): Likewise.
63892         (La_regs): Likewise.
63893         (La_retval): Likewise.
63894         (int_retval): Likewise.
63895         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63896         macro.
63897         (pltexit): Likewise.
63898         (La_regs): Likewise.
63899         (La_retval): Likewise.
63900         (int_retval): Likewise.
63901         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63902         macro.
63903         (pltexit): Likewise.
63904         (La_regs): Likewise.
63905         (La_retval): Likewise.
63906         (int_retval): Likewise.
63907         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63908         macro.
63909         (pltexit): Likewise.
63910         (La_regs): Likewise.
63911         (La_retval): Likewise.
63912         (int_retval): Likewise.
63913         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63914         macro definitions in tst-audit.h.
63915         * sysdeps/i386/tst-audit.h: New file.
63916         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63917         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63918         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63919         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63920         * sysdeps/sh/tst-audit.h: Likewise.
63921         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63922         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63923         * sysdeps/x86_64/tst-audit.h: Likewise.
63925 2012-07-26  Andreas Jaeger  <aj@suse.de>
63927         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63928         ptrace.
63930         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63931         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63932         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63933         PTRACE_O_MASK.
63934         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63935         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63936         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63938         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63939         value.
63941         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63942         _sigsys.
63943         (si_call_addr, si_syscall, si_arch): Define new macro.
63944         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63945         _sigsys.
63946         (si_call_addr, si_syscall, si_arch): Define new marcro.
63947         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63948         _sigsys.
63949         (si_call_addr, si_syscall, si_arch): Define new macro.
63950         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63951         _sigsys.
63952         (si_call_addr, si_syscall, si_arch): Define new macro.
63954 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63956         [BZ #13717]
63957         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63958         Change to 2.4.21 where previously 2.4.1.
63959         * sysdeps/unix/sysv/linux/configure: Regenerated.
63960         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63961         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63962         Linux kernel version.
63963         (__ASSUME_STD_AUXV): Remove.
63964         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63965         kernel version.
63966         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63967         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63968         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63969         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63970         (__ASSUME_NETLINK_SUPPORT): Likewise.
63971         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63972         (__no_netlink_support): Remove conditional definition.
63973         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63974         Remove.
63975         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63976         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63977         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63978         (if_nameindex_ioctl): Remove.
63979         (if_nameindex_netlink): Do not handle __no_netlink_support.
63980         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63981         code.
63982         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63983         Remove conditional code.
63984         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63985         code.
63986         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63987         unconditional.
63988         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63989         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63990         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63991         Remove.
63992         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63993         [!__ASSUME_STD_AUXV]: Remove conditional code.
63994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63995         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63996         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63998         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63999         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64000         code.
64001         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
64003         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
64004         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64005         conditional code.
64006         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
64008         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64009         code.
64010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
64011         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64012         conditional code.
64013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
64014         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64015         code unconditional.
64016         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64017         conditional code.
64018         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64019         unconditional.
64020         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64021         conditional code.
64022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64023         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64024         unconditional.
64025         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64026         conditional code.
64027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
64028         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64029         code unconditional.
64030         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64031         conditional code.
64032         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64033         unconditional.
64034         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64035         conditional code.
64036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64037         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64038         code unconditional.
64039         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64040         conditional code.
64041         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64042         unconditional.
64043         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64044         conditional code.
64046 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
64048         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
64049         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
64050         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
64051         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
64052         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
64053         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64054         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
64055         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
64056         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
64057         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
64058         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64059         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
64060         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
64061         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
64062         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
64063         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
64064         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
64065         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
64066         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
64067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
64068         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
64069         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
64070         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64072 2012-07-25  Florian Weimer  <fweimer@redhat.com>
64074         * Versions.def: Add GLIBC_2.17.
64075         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
64076         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
64077         Introduce __libc_secure_getenv.
64078         * stdlib/Versions (2.17): Add secure_getenv
64079         (GLIBC_PRIVATE): Add __libc_secure_getenv.
64080         * stdlib/secure-getenv.c: Rename __secure_getenv to
64081         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
64082         symbol __secure_getenv for GLIBC_2.0.
64083         * stdlib/tst-secure-getenv.c: New.
64084         * stdlib/Makefile (tests): Add testcase.
64085         * manual/startup.texi (Environment Access): Document
64086         secure_getenv.
64087         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
64088         __libc_secure_getenv.
64089         * inet/ruserpass.c (ruserpass): Likewise.
64090         * malloc/mtrace.c (mtrace): Likewise.
64091         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
64092         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
64093         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
64094         * sysdeps/posix/tempname.c: Likewise.  Evaluate
64095         HAVE_SECURE_GETENV.
64096         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
64097         __secure_getenv to __libc_secure_getenv.
64098         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
64099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64100         Likewise.
64101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64102         Likewise.
64103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64105         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64111 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64113         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
64114         (struct La_i86_retval): Likewise.
64115         (struct La_x86_64_regs): Likewise.
64116         (struct La_x86_64_retval): Likewise.
64117         (struct La_x32_regs): Likewise.
64118         (struct La_x32_retval): Likewise.
64119         (struct La_ppc32_regs): Likewise.
64120         (struct La_ppc32_retval): Likewise.
64121         (struct La_ppc64_regs): Likewise.
64122         (struct La_ppc64_retval): Likewise.
64123         (struct La_sh_regs): Likewise.
64124         (struct La_sh_retval): Likewise.
64125         (struct La_s390_32_regs): Likewise.
64126         (struct La_s390_32_retval): Likewise.
64127         (struct La_s390_64_regs): Likewise.
64128         (struct La_s390_64_retval): Likewise.
64129         (struct La_sparc32_regs): Likewise.
64130         (struct La_sparc32_retval): Likewise.
64131         (struct La_sparc64_regs): Likewise.
64132         (struct La_sparc64_retval): Likewise.
64133         (struct audit_ifaces): Remove architecture-specific pltenter and
64134         pltexit members.
64135         * sysdeps/i386/ldsodefs.h: New file.
64136         * sysdeps/powerpc/ldsodefs.h: Likewise.
64137         * sysdeps/s390/ldsodefs.h: Likewise.
64138         * sysdeps/sh/ldsodefs.h: Likewise.
64139         * sysdeps/sparc/ldsodefs.h: Likewise.
64140         * sysdeps/x86_64/ldsodefs.h: Likewise.
64142 2012-07-25  Marek Polacek  <polacek@redhat.com>
64144         [BZ #6808]
64145         * math/libm-test.inc (yn_test): Add another test.
64146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64147         to ERANGE when the result is +-Inf.
64148         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64149         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64150         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64151         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64153 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
64155         * conform/data/time.h-data (NULL): Use macro-constant.  Require
64156         equal to 0.
64157         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
64158         clock_t.
64159         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
64161 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
64163         * configure.in <sysdeps resolving>: Correct printing
64164         Implies_before.
64165         * configure: Regenerate.
64167 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
64169         * math/w_ilogb.c: Include <limits.h>.
64170         * math/w_ilogbl.c: Likewise.
64172 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64174         * manual/lang.texi (__va_copy): Document primarily as ISO C99
64175         va_copy.  Document allowing for unavailable va_copy only as
64176         pre-C99 compatibility.
64177         * manual/string.texi (Copying and Concatenation): Use va_copy
64178         instead of __va_copy in concat example.
64180 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64182         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64183         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64184         it if not null.
64186         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64187         with O_NOLINK passed to __file_name_lookup.
64189         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64190         with O_NOLINK passed to __file_name_lookup.
64192         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64193         negative N or less than NGIDS.
64195         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64196         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64197         enough.  Use memcpy instead of strncpy.
64199 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64201         * elf/Makefile (check-data): Remove.
64202         (localplt.data): New vpath directive.
64203         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64204         instead of $(check-data).
64205         * scripts/data/localplt-generic.data: Move to ...
64206         * sysdeps/generic/localplt.data: ... here.
64207         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64208         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64209         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64211         ... here.
64212         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64214         ... here.
64215         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64217         ... here.
64218         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64220         ... here.
64221         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64223         ... here.
64224         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64226         ... here.
64228 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64230         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64231         PPC32 and PPC64 files.
64232         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64233         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64235 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64237         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64238         __makecontext_ret to ...
64239         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64240         ... here and call exit if uc_link is NULL.  New file.
64241         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64242         __makecontext_ret.S.
64243         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64244         __makecontext_ret to ...
64245         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64246         ... here and call exit if uc_link is NULL.  New file.
64247         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64248         __makecontext_ret.S.
64250 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64252         * elf/elf.h (R_390_IRELATIVE): New definition.
64253         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64254         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64255         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64256         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64257         (elf_machine_lazy_rel): Likewise.
64258         * sysdeps/s390/dl-irel.h: New file.
64259         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64260         * sysdeps/s390/s390-64/memset.S: New asm code.
64261         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64262         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64263         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64264         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64265         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64266         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64267         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64268         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64269         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64270         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64271         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64272         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64273         * sysdeps/s390/s390-32/memset.S: New asm code.
64274         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64276 2012-07-17  Marek Polacek  <polacek@redhat.com>
64278         [BZ #14349]
64279         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64280         * sysdeps/s390/s390-64/configure.in: Likewise.
64281         * sysdeps/sparc/configure.in: Likewise.
64282         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64283         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64284         * sysdeps/i386/configure.in: Likewise.
64285         * sysdeps/x86_64/configure.in: Likewise.
64286         * sysdeps/sh/configure.in: Likewise.
64287         * sysdeps/s390/s390-32/configure: Regenerated.
64288         * sysdeps/s390/s390-64/configure: Likewise.
64289         * sysdeps/x86_64/configure: Likewise.
64290         * sysdeps/sh/configure: Likewise.
64291         * sysdeps/powerpc/powerpc64/configure: Likewise.
64292         * sysdeps/powerpc/powerpc32/configure: Likewise.
64293         * sysdeps/sparc/configure: Likwise.
64294         * sysdeps/i386/configure: Likewise.
64296         * elf/dl-open.c: Comment fixes.
64298 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64300         * Makefile [CXX] (check-data): Remove.
64301         [CXX] (c++-types.data): New vpath directive.
64302         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64303         vpath.  Do not allow for C++ type data being missing.
64304         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64305         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64306         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64307         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64308         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64309         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64310         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64312         ... here.
64313         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64315         ... here.
64316         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64318         ... here.
64319         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64321         ... here.
64322         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64324         ... here.
64325         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64327         ... here.
64328         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64330         ... here.
64331         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64334         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64335         definitions to architecture-specific files.
64336         (TLS_IE): Likewise.
64337         (TLS_LD): Likewise.
64338         (TLS_GD): Likewise.
64339         * sysdeps/i386/tls-macros.h: New file.
64340         * sysdeps/powerpc/tls-macros.h: Likewise.
64341         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64342         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64343         * sysdeps/sh/tls-macros.h: Likewise.
64344         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64345         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64346         * sysdeps/x86_64/tls-macros.h: Likewise.
64348 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64350         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64351         zero value for regular exit case.
64353         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64354         (__start_context): Preserve zero value for regular exit case.
64356 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64357             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64359         * manual/setjmp.texi (setcontext): Clarify normal process
64360         termination when uc_link is the null pointer.
64361         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64362         exit call.
64364 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64366         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64367         preprocessor.  Test for each exception mask separately.
64369 2012-07-16  Andreas Jaeger  <aj@suse.de>
64371         * po/ru.po: Update from translation team.
64373 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64375         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64376         equal to 0.
64377         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64378         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64379         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64380         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64381         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64383 2012-07-13  Andreas Jaeger  <aj@suse.de>
64385         * po/fr.po: Update from translation team.
64387 2012-07-12  Marek Polacek  <polacek@redhat.com>
64389         [BZ #14173]
64390         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64391         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64392         loop condition.
64394 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64396         [BZ #13717]
64397         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64398         Change to 2.4.1 where previously 2.4.0.
64399         * sysdeps/unix/sysv/linux/configure: Regenerated.
64400         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64401         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64402         version.
64403         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64404         (__ASSUME_AT_CLKTCK): Remove.
64405         (__ASSUME_AT_PAGESIZE): Likewise.
64406         (__ASSUME_AT_XID): Likewise.
64407         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64408         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64409         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64410         unconditionally.
64411         (HAVE_AUX_PAGESIZE): Likewise.
64412         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64413         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64414         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64416 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64418         [BZ #14307]
64419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64420         the temporary buffer used to invoke __gethostbyname2_r,
64421         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64422         host_data / struct gaih_addrtuple.
64423         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64424         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64425         header file nss/nsswitch.h.
64426         * nss/nsswitch.h (global scope): Add definition of implementation
64427         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64428         resolv/nss_dns/dns-host.c).
64430 2012-07-11  Andreas Jaeger  <aj@suse.de>
64432         * po/fr.po: Update from translation team.
64434         * po/sv.po: Update from translation team
64435         * po/fr.po: Another update from translation team.
64437 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64439         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64440         for subnormals or multiply small sinh result by itself.
64441         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64444 2012-07-11  David S. Miller  <davem@davemloft.net>
64446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64448 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64450         [BZ #14347]
64451         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64452         (INTERNAL_MARK): Shift it here.
64454 2012-07-10  Marek Polacek  <polacek@redhat.com>
64456         [BZ #14151]
64457         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64458         libc_cv_asm_global_directive with .globl.
64459         * configure: Regenerated.
64460         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64461         with .globl.
64462         * sysdeps/i386/configure: Regenerated.
64463         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64464         with .globl.
64465         * sysdeps/x86_64/configure: Regenerated.
64466         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64467         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64468         * elf/tst-unique2mod2.c: Likewise.
64469         * elf/tst-unique2mod1.c: Likewise.
64470         * elf/tst-unique1mod2.c: Likewise.
64471         * elf/tst-unique1mod1.c: Likewise.
64472         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64473         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64474         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64475         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64476         * sysdeps/mach/sysdep.h: Likewise.
64477         * sysdeps/i386/sysdep.h: Likewise.
64478         * sysdeps/i386/i386-mcount.S: Likewise.
64479         * sysdeps/x86_64/_mcount.S: Likewise.
64480         * sysdeps/x86_64/sysdep.h: Likewise.
64481         * sysdeps/sh/_mcount.S: Likewise.
64482         * sysdeps/sh/sysdep.h: Likewise.
64483         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64484         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64485         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64486         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64487         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64488         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64489         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64490         * locale/localeinfo.h: Likewise.
64491         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64492         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64494 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64496         [BZ #14336]
64497         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64498         system".
64499         * manual/message.texi (The Uniforum approach): Likewise.
64500         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64501         (glibc iconv Implementation): Likewise.
64503 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64505         [BZ #14337]
64506         * math/s_clog.c (__clog): Avoid scaling a value down where that
64507         could result in underflow.
64508         * math/s_clog10.c (__clog10): Likewise.
64509         * math/s_clog10f.c (__clog10f): Likewise.
64510         * math/s_clog10l.c (__clog10l): Likewise.
64511         * math/s_clogf.c (__clogf): Likewise.
64512         * math/s_clogl.c (__clogl): Likewise.
64513         * math/libm-test.inc (clog_test): Add more tests.
64514         (clog10_test): Likewise.
64515         * sysdeps/i386/fpu/libm-test-ulps: Update.
64516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64518 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64520         [BZ #14283]
64521         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64522         by 7 not 8 to examine high bit of fractional part.
64524         [BZ #14042]
64525         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64526         for call to __mcount_internal.
64527         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64528         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64529         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64531 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64533         [BZ #14154]
64534         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64535         approximation for values within 0x1p-13f of an odd multiple of
64536         pi/4.
64537         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64538         exception.  Add more tests.
64539         * sysdeps/i386/fpu/libm-test-ulps: Update.
64541         [BZ #6778]
64542         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64543         inputs and return -1 for them.  Do not check for +Inf in case not
64544         reachable for +Inf.
64545         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64546         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64547         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64548         and return -1 for them.  Do not check for +Inf in case not
64549         reachable for +Inf.
64550         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64551         define.
64552         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64553         and return -1 for them.  Do not check for +Inf in case not
64554         reachable for +Inf.
64555         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64556         spurious underflow.
64557         * sysdeps/i386/fpu/libm-test-ulps: Update.
64558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64560 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64562         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64564 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64566         [BZ #14157]
64567         [BZ #14331]
64568         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64569         could result in spurious underflow.  Scale down values above
64570         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64571         * math/s_csqrtf.c (__csqrtf): Likewise.
64572         * math/s_csqrtl.c (__csqrtl): Likewise.
64573         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64574         spurious underflow.
64575         * sysdeps/i386/fpu/libm-test-ulps: Update.
64576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64578 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64580         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64581         xopen-msg.sed.
64582         * catgets/xopen-msg.awk: New file.
64583         * catgets/xopen-msg.sed: Removed.
64585         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64586         po2text.sed.
64587         * intl/po2test.awk: New file.
64588         * intl/po2test.sed: Removed.
64590 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64592         [BZ #14328]
64593         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64594         or multiply small sinh result by itself.
64595         * math/s_ctanf.c (__ctanf): Likewise.
64596         * math/s_ctanh.c (__ctanh): Likewise.
64597         * math/s_ctanhf.c (__ctanhf): Likewise.
64598         * math/s_ctanhl.c (__ctanhl): Likewise.
64599         * math/s_ctanl.c (__ctanl): Likewise.
64600         * math/libm-test.inc (ctan_test_tonearest): New function.
64601         (ctan_test_towardzero): Likewise.
64602         (ctan_test_downward): Likewise.
64603         (ctan_test_upward): Likewise.
64604         (ctanh_test_tonearest): Likewise.
64605         (ctanh_test_towardzero): Likewise.
64606         (ctanh_test_downward): Likewise.
64607         (ctanh_test_upward): Likewise.
64608         (main): Call these new functions.
64609         * sysdeps/i386/fpu/libm-test-ulps: Update.
64610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64612 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64614         * .gitignore: Delete /ports entry.
64616 2012-07-03  Andreas Jaeger  <aj@suse.de>
64618         * po/bg.po: Update from translation team.
64619         * po/cs.po: Likewise.
64620         * po/de.po: Likewise.
64621         * po/hr.po: Likewise.
64622         * po/nl.pl: Likewise.
64623         * po/pl.po: Likewise.
64624         * po/vi.po: Likewise.
64626 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64628         * Makeconfig [!+link] (+link-before-libc): New variable.
64629         [!+link] (+link-after-libc): Likewise.
64630         [!+link] (+link-tests): Likewise.
64631         [!+link] (+link): Define in terms of $(+link-before-libc) and
64632         $(+link-after-libc).
64633         [!+link-static] (+link-static-before-libc): New variable.
64634         [!+link-static] (+link-static-after-libc): Likewise.
64635         [!+link-static] (+link-static-tests): Likewise.
64636         [!+link-static] (+link-static): Define in terms of
64637         $(+link-static-before-libc) and $(+link-static-after-libc).
64638         [build-shared] (link-libc-before-gnulib): New variable.
64639         [build-shared] (link-libc-tests): Likewise.
64640         [build-shared] (link-libc): Define in terms of
64641         $(link-libc-before-gnulib).
64642         [!build-shared] (link-libc-tests): New variable.
64643         (link-libc-static-tests): New variable.
64644         [!gnulib] (gnulib-arch): New variable.
64645         [!gnulib] (gnulib-tests): Likewise.
64646         [!gnulib] (static-gnulib-arch): Likewise.
64647         [!gnulib] (static-gnulib-tests): Likewise.
64648         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64649         Define with "=" instead of ":=".
64650         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64651         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64652         * Rules (binaries-all-notests): New variable.
64653         (binaries-all-tests): Likewise.
64654         (binaries-static-notests): Likewise.
64655         (binaries-static-tests): Likewise.
64656         (binaries-all): Define using $(binaries-all-notests) and
64657         $(binaries-all-tests).
64658         (binaries-static): Define using $(binaries-static-notests) and
64659         $(binaries-static-tests).
64660         (binaries-shared-tests): New variable.
64661         (binaries-shared-notests): Likewise.
64662         (binaries-shared): Remove variable.
64663         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64664         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64665         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64666         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64667         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64668         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64669         * elf/Makefile (sln-modules): New variable.
64670         (extra-objs): Add $(sln-modules:=.o).
64671         (ldconfig-modules): Add static-stubs.
64672         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64673         * elf/static-stubs.c: New file.
64675         [BZ #14283]
64676         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64677         by 7 not 8 to examine high bit of fractional part.  Use volatile
64678         variables when splitting into final array of floats if
64679         __FLT_EVAL_METHOD__ != 0.
64680         * math/libm-test.inc (cos_test): Add another test.
64681         (sin_test): Likewise.
64682         * sysdeps/i386/fpu/libm-test-ulps: Update.
64684         [BZ #14273]
64685         * math/libm-test.inc (cosh_test): Add more tests.
64687         * version.h (RELEASE): Set to "development".
64688         (VERSION): Set to "2.16.90".
64690 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64692         * NEWS: Update copyright. Remove last-updated date.
64693         Mention math library bug fixes and timezone data changes.
64694         * README: Mention GNU/Hurd, x32, and HPPA support status.
64696 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64698         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64700 2012-06-27  Andreas Jaeger  <aj@suse.de>
64702         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64704 2012-06-25  Andreas Jaeger  <aj@suse.de>
64706         * sysdeps/s390/fpu/libm-test-ulps: Update.
64708 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64709             Thomas Schwinge  <thomas@codesourcery.com>
64711         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64712         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64713         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64714         fanotify_mark.
64716 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64718         * sysdeps/mach/start.c: Remove file.
64719         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64720         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64721         * sysdeps/sh/init-first.c: Likewise.
64723         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64724         registers for frame unwinding purposes, add CFI directives.
64725         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64726         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64727         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64728         Likewise.
64730         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64731         __fortify_fail returning.
64732         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64734         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64735         sysdeps/sh/____longjmp_chk.S.
64736         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64737         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64738         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64739         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64741         * sysdeps/sh/abort-instr.h: New file.
64742         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64743         process in case exit returns.
64745         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64746         initialize the GOT register before use.
64748         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64749         calculation of ARGC > 4.
64751         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64752         meaningful names to some local labels.
64754 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64755             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64757         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64758         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64759         (__arch_compare_and_exchange_val_16_acq): Likewise.
64760         (__arch_compare_and_exchange_val_32_acq): Likewise.
64761         (atomic_exchange_and_add): Fix gUSA sequence.
64762         (atomic_add): Likewise.
64763         (atomic_add_negative): Likewise.
64764         (atomic_add_zero): Likewise.
64765         (atomic_bit_test_set): Likewise.
64767 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64769         [BZ #13579]
64770         * include/link.h (struct link_map): Add l_free_initfini.
64771         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64772         l_initfini.
64773         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64774         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64775         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64776         set.
64778 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64780         * configure.in: Use AC_LANG_SOURCE.
64781         * configure: Regenerate.
64783 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64785         * configure.in (libc_cv_localstatedir): New substituted variable.
64786         * configure: Regenerated.
64787         * config.make.in (localstatedir): New variable, substituted from
64788         libc_cv_localstatedir.
64789         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64790         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64791         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64792         * sysdeps/gnu/configure: Regenerated.
64794 2012-06-21  Jeff Law  <law@redhat.com>
64796         [BZ #14277]
64797         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64798         free.  Simplify list management for _LIBC case.
64800 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64802         [BZ #14273]
64803         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64804         Clear sign bit of 64-bit integer value before comparing against
64805         overflow value.
64807         * sysdeps/mach/configure: Regenerated.
64809 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64811         [BZ #14278]
64812         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64814 2012-06-21  Jeff Law  <law@redhat.com>
64816         [BZ #13882]
64817         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64818         uint16_t for elements in the "seen" array to avoid char overflows.
64819         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64820         * elf/dl-open.c (dl_open_worker): Likewise.
64822 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64824         * scripts/list-sources.sh: Scan PORTS for translations.
64825         * po/libc.pot: Regenerated.
64827 2012-06-21  Andreas Jaeger  <aj@suse.de>
64829         [BZ #12194]
64830         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64831         warning.
64832         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64833         * bits/byteswap-16.h (__bswap_16): Likewise.
64834         * bits/byteswap.h (__bswap_constant_16): Likewise.
64836 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64838         [BZ #14117]
64839         * sysdeps/i386/fpu_control.h: Removed.
64840         * sysdeps/x86_64/fpu_control.h: Moved to ...
64841         * sysdeps/x86/fpu_control.h: Here.
64843         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64844         (_FPU_SETCW): Likewise.
64846 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64848         [BZ #14117]
64849         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64850         * sysdeps/x86/fpu/bits/mathinline.h: This.
64851         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64853         [BZ #14050]
64854         [BZ #14117]
64855         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64856         functions if __x86_64__ is defined.
64858 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64860         * string/endian.h: Add !__ASSEMBLER__ condition for including
64861         conversion interfaces.
64863 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64865         [BZ #14241]
64866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64867         of ABS(x) in calculating zero to negative powers other than odd
64868         integers.
64869         * math/libm-test.inc (pow_test): Add more tests.
64871 2012-06-15  Andreas Jaeger  <aj@suse.de>
64873         * manual/contrib.texi (Contributors): Update entry of Liubov
64874         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64875         Machado Filho.
64877 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64879         * string/string.h: Add __wur to GNU version of strerror_r.
64881 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64883         [BZ #14229]
64884         * string/Makefile (tests): Add tst-strtok_r.
64885         * string/tst-strtok_r.c: New file.
64886         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64887         RAX_LP/RDX_LP on SAVE_PTR.
64889 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64891         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64893 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64895         * libm_test.inc (csqrt_test): Allow more spurious underflow
64896         exceptions.
64897         (j0_test): Likewise.
64898         (j1_test): Likewise.
64899         (y0_test): Likewise.
64900         (y1_test): Likewise.
64902 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64904         * po/Makefile (libc.pot): Use UTF-8 charset.
64906 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64908         [BZ #14210]
64909         Suppress sign-conversion warning from FD_SET.
64910         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64911         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64912         not unsigned long int.
64913         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64915 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64917         [BZ #14050]
64918         [BZ #14117]
64919         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64920         __extern_always_inline instead of __extern_inline.
64921         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64922         (__signbit): Likewise.
64923         (__signbitl): Support C++ namespace.
64924         (lrintf): New inline function.
64925         (lrint): Likewise.
64926         (llrintf): Likewise.
64927         (llrint): Likewise.
64928         (fmaxf): Likewise.
64929         (fmax): Likewise.
64930         (fminf): Likewise.
64931         (fmin): Likewise.
64932         (rint): Likewise.
64933         (rintf): Likewise.
64934         (ceil): Likewise.
64935         (ceilf): Likewise.
64936         (floor): Likewise.
64937         (floorf): Likewise.
64938         (nearbyint): Likewise.
64939         (nearbyintf): Likewise.
64941 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64943         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64944         non-default versions.
64946 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64948         [BZ #14218]
64949         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64951 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64953         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64954         (FE_UPWARD, FE_DOWNWARD): Don't define.
64955         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64956         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64958         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64959         reading it.
64960         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64961         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64963 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64965         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64967         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64968         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64970 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64972         [BZ #14117]
64973         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64974         * sysdeps/i386/fpu/Implies: New file.
64975         * sysdeps/x86_64/fpu/Implies: Likewise.
64976         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64977         * sysdeps/x86/fpu/bits/fenv.h: This.
64979         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64980         __SSE_MATH__.
64982 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64984         [BZ #14134]
64985         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64986         character 0xffff that matches the last element of the
64987         conversion table.
64989 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64992         fmodl commit.
64994 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64996         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64997         values higher than 25.6283.
64999 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65001         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
65002         subnormal exponent extraction and add some __builtin_expect.
65003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
65004         Fix for subnormal mantissa calculation.
65006 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
65008         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
65009         cpu2 is -1 and errno is not ENOSYS.
65011 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
65013         [BZ #14117]
65014         * sysdeps/i386/i486/bits/string.h: Renamed to ...
65015         * sysdeps/x86/bits/string.h: This.
65016         * sysdeps/x86_64/bits/string.h: Removed.
65018         * sysdeps/i386/i486/bits/string.h: Define inline functions only
65019         if not compiling for x86-64, but compiling for >= i486.
65021         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
65022         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
65024         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
65025         New macro from Linux kernel 3.4.0.
65026         (FP_XSTATE_MAGIC2): Likewise.
65027         (FP_XSTATE_MAGIC2_SIZE): Likewise.
65028         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
65029         (struct _fpx_sw_bytes): New struct.
65030         (struct _xsave_hdr): Likewise.
65031         (struct _ymmh_state): Likewise.
65032         (struct _xstate): Likewise.
65034         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
65035         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
65036         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
65037         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
65038         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
65039         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65041         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
65042         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
65043         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
65044         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
65045         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65046         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
65048 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65050         [BZ #13743]
65051         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
65052         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
65053         (sysdep_headers): Include sys/platform/ppc.h.
65054         * sysdeps/powerpc/test-gettimebase.c: Test for
65055         __ppc_get_timebase() to catch future ISA opcode/insn changes.
65056         * manual/Makefile (appendices): Include platform.texi.
65057         * manual/contrib.texi (Contributors): Update @node pointers.
65058         * manual/maint.texi (Maintenance): Likewise.
65059         (Platform): New node.
65060         * manual/platform.texi: New file.  Document the new features.
65062 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65063             Jakub Jelinek  <jakub@redhat.com>
65065         [BZ #14188]
65066         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
65067         where __builtin_expect is unavailable.
65069 2012-06-03  David S. Miller  <davem@davemloft.net>
65071         * stdlib/longlong.h: Updated from GCC.
65073 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
65075         [BZ #14042]
65076         * sysdeps/powerpc/powerpc32/mcount.c: New file.
65077         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
65078         __mcount_internal.
65079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65080         (GLIBC_2.16): Likewise.
65082 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65084         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
65086 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
65089         (default-abi): New variable.
65090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
65091         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
65092         variable.
65093         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
65094         Likewise.
65095         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
65096         Likewise.
65097         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
65098         Likewise.
65100         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
65101         definition.  Document in comment.
65103 2012-06-01  David S. Miller  <davem@davemloft.net>
65105         * stdlib/longlong.h: Updated from GCC.
65107 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65109         [BZ #14117]
65110         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
65111         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
65112         sys/debugreg.h sys/io.h here.
65113         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
65114         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
65115         sys/io.h.
65116         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
65117         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
65118         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
65119         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
65120         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
65121         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
65123         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
65124         Define only if __x86_64__ is defined.
65126 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65128         [BZ #14048]
65129         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
65130         Use int64_t for variable i.
65131         * math/libm-test.inc (fmod_test): Add more tests.
65133         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
65134         z computation is not scheduled after fetestexcept.
65135         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
65136         Use math_force_eval instead of asm to ensure calculation scheduled
65137         before exception test.
65138         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65139         Ensure a1 + u.d computation is not scheduled after fetestexcept.
65141 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
65143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65144         computation is not scheduled after fetestexcept.
65146 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65148         [BZ #14117]
65149         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65150         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65152 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65154         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65155         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65157 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65159         [BZ #14117]
65160         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
65161         <bits/wordsize.h>.
65162         (__WCHAR_MIN): Support __WORDSIZE == 64.
65163         (__WCHAR_MAX): Likewise.
65165         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
65166         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
65168         [BZ #14183]
65169         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
65170         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65172         [BZ #14117]
65173         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65174         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65176         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65177         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65179         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65180         Defined to 1 if __x86_64__ isn't defined.
65181         (_STAT_VER_LINUX_OLD): New.
65182         (st_atime): Remove duplicate.
65183         (st_mtime): Likewise.
65184         (st_ctime): Likewise.
65186 2012-05-31  David S. Miller  <davem@davemloft.net>
65188         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65189         entries.
65191 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65193         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65194         gen-libm-test.pl.
65196         [BZ #14132]
65197         * elf/dl-reloc.c: Include <_itoa.h>.
65198         (_dl_reloc_bad_type): Remove use of INTUSE.
65199         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65200         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65201         * stdio-common/psiginfo.c (psiginfo): Likewise.
65202         * stdio-common/psignal.c (psignal): Likewise.
65203         * string/strsignal.c (strsignal): Likewise.
65204         * include/signal.h (_sys_siglist): Declare hidden proto.
65205         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65206         INTVARDEF with libc_hidden_data_def.
65207         * stdio-common/itoa-udigits.c: Likewise.
65208         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65209         (_itoa_lower_digits_internal): Remove declaration.
65210         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65211         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65212         (_sys_sigabbrev_internal): Remove aliases.
65213         (_sys_siglist): Define hidden alias.
65215 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65218         bits/sysctl.h.
65220 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65222         [BZ #14117]
65223         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65224         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65226         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65227         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65228         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65229         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65230         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65231         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65233         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65234         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65235         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65237         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65238         with __addr.
65239         (insw): Likewise.
65240         (insl): Likewise.
65241         (outsb): Likewise.
65242         (outsw): Likewise.
65243         (outsl): Likewise.
65245         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65246         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65247         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65249         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65250         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65251         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65252         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65253         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65254         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65256         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65257         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65259         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65260         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65262         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65263         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65264         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65266         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65267         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65268         to ...
65269         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65271         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65272         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65273         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65275         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65276         for x86-64.
65277         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65279 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65281         * math/math.h (M_El): Use two more decimal places.
65282         (M_LOG2El): Likewise.
65283         (M_LOG10El): Likewise.
65284         (M_LN2l): Likewise.
65285         (M_LN10l): Likewise.
65286         (M_PIl): Likewise.
65287         (M_PI_2l): Likewise.
65288         (M_PI_4l): Likewise.
65289         (M_1_PIl): Likewise.
65290         (M_2_PIl): Likewise.
65291         (M_2_SQRTPIl): Likewise.
65292         (M_SQRT2l): Likewise.
65293         (M_SQRT1_2l): Likewise.
65295 2012-05-31  David S. Miller  <davem@davemloft.net>
65297         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65298         values between float registers.
65299         * sysdeps/sparc/sparc64/memset.S: Likewise.
65300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65302 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65304         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65305         -D_FORTIFY_SOURCE=1.
65306         (CPPFLAGS-tst-longjmp_chk.c): Define.
65307         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65308         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65309         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65310         CFLAGS-tst-wchar-h.c.
65312 2012-05-31  Marek Polacek  <polacek@redhat.com>
65314         [BZ #14132]
65315         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65316         __endmntent_internal): Remove declaration.
65317         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65318         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65319         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65321 2012-05-30  David S. Miller  <davem@davemloft.net>
65323         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65324         (___Q_simulate_exceptions): Use real FP ops rather than writing
65325         into the %fsr.
65326         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65327         Likewise.
65329 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65331         [BZ #14117]
65332         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65333         * sysdeps/x86/bits/xtitypes.h: This.
65335         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65336         * sysdeps/x86/bits/wordsize.h: This.
65338         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65339         * sysdeps/x86/bits/huge_vall.h: This.
65341         * sysdeps/i386/bits/select.h: Removed.
65342         * sysdeps/x86_64/bits/select.h: Renamed to ...
65343         * sysdeps/x86/bits/select.h: This.
65345         * sysdeps/i386/bits/setjmp.h: Removed.
65346         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65347         * sysdeps/x86/bits/setjmp.h: This.
65349         * sysdeps/i386/bits/mathdef.h: Removed.
65350         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65351         * sysdeps/x86/bits/mathdef.h: This.
65353 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65355         [BZ #14132]
65356         * include/sys/socket.h (__connect_internal)
65357         (__libc_sa_len_internal): Remove declaration.
65358         (__connect, __libc_sa_len): Declare hidden_proto.
65359         (SA_LEN): Remove use of INTUSE.
65360         * socket/connect.c: Add libc_hidden_def.
65361         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65362         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65363         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65364         alias.
65365         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65366         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65367         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65368         of adding _internal alias.
65370 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65372         [BZ #14117]
65373         * sysdeps/i386/bits/link.h: Removed.
65374         * sysdeps/i386/bits/linkmap.h: Likewise.
65375         * sysdeps/x86_64/bits/link.h: Renamed to ...
65376         * sysdeps/x86/bits/link.h: This.
65377         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65378         * sysdeps/x86/bits/linkmap.h: This.
65380         * sysdeps/i386/bits/endian.h: Removed.
65381         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65382         * sysdeps/x86/bits/endian.h: This.
65384         * sysdeps/i386/bits/byteswap.h: Removed.
65385         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65386         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65387         * sysdeps/x86/bits/byteswap.h: This.
65388         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65389         * sysdeps/x86/bits/byteswap-16.h: This.
65390         * sysdeps/i386/Implies: Add x86.
65391         * sysdeps/x86_64/Implies: Likewise.
65393 2012-05-30  David S. Miller  <davem@davemloft.net>
65395         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65396         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65397         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65398         (FP_TRAPPING_EXCEPTIONS): Define.
65399         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65400         (FP_TRAPPING_EXCEPTIONS): Define.
65401         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65402         subnormals only when inexact has been signalled or underflow
65403         exceptions are enabled.
65404         (_FP_PACK_CANONICAL): Likewise.
65406 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65408         [BZ #14183]
65409         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65410         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65412 2012-05-30  Richard Henderson  <rth@twiddle.net>
65414         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65415         with #ifndef NOT_IN_libc.
65417         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65418         marked to avoid plt entry.
65420 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65422         [BZ #14112]
65423         * Makeconfig (default-abi): New macro.
65424         (abi-includes): Likewise.
65425         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65426         $(abi-$(default-abi)-lib-soname) for soname if defined.
65427         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65428         abi-variants.
65429         * Makefile (installed-stubs): Likewise.
65430         * include/stubs-biarch.h: Removed.
65431         * scripts/lib-names.awk: Only handle one library at a time.
65432         * scripts/soversions.awk: Remove WORDSIZE support.
65433         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65434         entries.
65435         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65436         Removed.
65437         (syscall-list-default-condition): Likewise.
65438         (syscall-list-default-condition): Likewise.
65439         (syscall-list-includes): Likewise.
65440         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65441         syscall-list-* with abi-*.  Handle undefined abi-variants.
65442         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65443         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65444         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65445         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65446         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65447         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65448         Removed.
65449         (syscall-list-32-options): Likewise.
65450         (syscall-list-32-condition): Likewise.
65451         (syscall-list-64-options): Likewise.
65452         (syscall-list-64-condition): Likewise.
65453         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65454         macro.
65455         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65456         Renamed to ...
65457         (abi-*): This.
65458         (abi-64-ld-soname): New macro.
65459         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65460         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65461         Renamed to ...
65462         (abi-*): This.
65463         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65464         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65466 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65468         * sysdeps/unix/sysv/linux/kernel-features.h
65469         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65470         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65471         include <kernel-features.h>.
65472         [!__NR_ftruncate64]: Remove conditional code.
65473         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65474         [__NR_ftruncate64]: Make code unconditional.
65475         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65476         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65477         include <kernel-features.h>.
65478         [!__NR_ftruncate64]: Remove conditional code.
65479         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65480         [__NR_ftruncate64]: Make code unconditional.
65481         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65483         include <kernel-features.h>.
65484         [!__NR_ftruncate64]: Remove conditional code.
65485         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65486         [__NR_ftruncate64]: Make code unconditional.
65487         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65489         include <kernel-features.h>.
65490         [!__NR_ftruncate64]: Remove conditional code.
65491         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65492         [__NR_ftruncate64]: Make code unconditional.
65493         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65495         * configure.in (libc_cv_fpie): Weaken to a compile test using
65496         LIBC_TRY_CC_OPTION.
65497         * configure: Regenerated.
65499 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65505         Refreshed.
65506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65512         Refreshed.
65514 2012-05-27  David S. Miller  <davem@davemloft.net>
65516         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65517         (___Q_zero): New.
65518         (__Q_simulate_exceptions): Return void.  Change to simulate
65519         exceptions by writing into the %fsr.
65520         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65521         (__Qp_handle_exceptions): Likewise.
65522         (numbers): Delete.
65523         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65524         __Qp_handle_exceptions.
65525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65526         __Qp_handle_exceptions.
65527         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65528         as unused and give dummy FP_RND_NEAREST initializer.
65529         (FP_INHIBIT_RESULTS): Define.
65530         (___Q_simulate_exceptions): Update declaration.
65531         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65532         formatting.
65533         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65534         as unused and give dummy FP_RND_NEAREST initializer.
65535         (__Qp_handle_exceptions): Update declaration.
65536         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65537         formatting.
65539 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65541         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65542         the temporary FPU control word.
65543         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65544         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65545         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65546         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65547         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65548         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65549         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65550         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65551         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65552         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65553         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65555 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65557         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65558         fields.
65560 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65562         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65563         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65564         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65565         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65566         Likewise.
65567         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65568         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65569         Likewise.
65571 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65573         * po/h.po: Update from translation team.
65575 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65577         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65579         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65580         handling of denormals.
65581         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65582         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65583         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65584         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65585         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65586         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65587         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65588         Likewise.
65590 2012-05-26  Marek Polacek  <polacek@redhat.com>
65592         [BZ #14152]
65593         * math/libm-test.inc (fma_test): Don't always expect underflow
65594         exception.
65596 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65598         [BZ #12416]
65599         * elf/tst-execstack.c: Include stackinfo.h.
65600         (do_test): Adjust test case to ensure that pthread_getattr_np
65601         behaviour remains the same after marking stack executable.
65603 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65605         * sysdeps/unix/sysv/linux/kernel-features.h
65606         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65607         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65608         kernel-features.h.
65609         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65610         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65611         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65612         kernel-features.h.
65613         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65614         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65616 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65618         * configure.in: Define the default includes to being none.
65619         * configure: Regenerated.
65621 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65623         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65624         * sysdeps/x86_64/setjmp.S: Likewise.
65625         * sysdeps/i386/bsd-setjmp.S: Likewise.
65626         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65627         * sysdeps/i386/setjmp.S: Likewise.
65628         * sysdeps/i386/__longjmp.S: Likewise.
65629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65630         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65632         * include/stap-probe.h: New file.
65633         * configure.in: Handle --enable-systemtap.
65634         * configure: Regenerated.
65635         * config.h.in (USE_STAP_PROBE): New #undef.
65636         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65637         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65638         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65640 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65642         [BZ #13717]
65643         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65644         to 2.4.0 where earlier.
65645         * sysdeps/unix/sysv/linux/configure: Regenerated.
65646         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65647         <kernel-features.h>.
65648         [__ASSUME_32BITUIDS]: Make code unconditional.
65649         [!__ASSUME_32BITUIDS]: Remove conditional code.
65650         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65651         <kernel-features.h>.
65652         [__ASSUME_32BITUIDS]: Make code unconditional.
65653         [!__ASSUME_32BITUIDS]: Remove conditional code.
65654         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65655         [__ASSUME_32BITUIDS]: Make code unconditional.
65656         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65657         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65658         <kernel-features.h>.
65659         [__ASSUME_32BITUIDS]: Make code unconditional.
65660         [!__ASSUME_32BITUIDS]: Remove conditional code.
65661         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65662         <kernel-features.h>.
65663         [__ASSUME_32BITUIDS]: Make code unconditional.
65664         [!__ASSUME_32BITUIDS]: Remove conditional code.
65665         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65666         <kernel-features.h>.
65667         [__ASSUME_32BITUIDS]: Make code unconditional.
65668         [!__ASSUME_32BITUIDS]: Remove conditional code.
65669         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65670         <kernel-features.h>.
65671         [__ASSUME_32BITUIDS]: Make code unconditional.
65672         [!__ASSUME_32BITUIDS]: Remove conditional code.
65673         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65674         <kernel-features.h>.
65675         [__ASSUME_32BITUIDS]: Make code unconditional.
65676         [!__ASSUME_32BITUIDS]: Remove conditional code.
65677         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65678         <kernel-features.h>.
65679         [__ASSUME_32BITUIDS]: Make code unconditional.
65680         [!__ASSUME_32BITUIDS]: Remove conditional code.
65681         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65682         <kernel-features.h>.
65683         [__ASSUME_32BITUIDS]: Make code unconditional.
65684         [!__ASSUME_32BITUIDS]: Remove conditional code.
65685         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65686         <kernel-features.h>.
65687         [__ASSUME_32BITUIDS]: Make code unconditional.
65688         [!__ASSUME_32BITUIDS]: Remove conditional code.
65689         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65690         <kernel-features.h>.
65691         [__ASSUME_32BITUIDS]: Make code unconditional.
65692         [!__ASSUME_32BITUIDS]: Remove conditional code.
65693         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65694         <kernel-features.h>.
65695         [__ASSUME_32BITUIDS]: Make code unconditional.
65696         [!__ASSUME_32BITUIDS]: Remove conditional code.
65697         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65698         <kernel-features.h>.
65699         [__NR_setresgid] (__setresgid): Do not declare.
65700         [__ASSUME_32BITUIDS]: Make code unconditional.
65701         [!__ASSUME_32BITUIDS]: Remove conditional code.
65702         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65703         <kernel-features.h>.
65704         [__NR_setresuid] (__setresuid): Do not declare.
65705         [__ASSUME_32BITUIDS]: Make code unconditional.
65706         [!__ASSUME_32BITUIDS]: Remove conditional code.
65707         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65708         <kernel-features.h>.
65709         [__ASSUME_32BITUIDS]: Make code unconditional.
65710         [!__ASSUME_32BITUIDS]: Remove conditional code.
65711         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65712         <kernel-features.h>.
65713         [__ASSUME_32BITUIDS]: Make code unconditional.
65714         [!__ASSUME_32BITUIDS]: Remove conditional code.
65715         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65716         <kernel-features.h>.
65717         [__ASSUME_32BITUIDS]: Make code unconditional.
65718         [!__ASSUME_32BITUIDS]: Remove conditional code.
65719         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65720         <kernel-features.h>.
65721         [__ASSUME_32BITUIDS]: Make code unconditional.
65722         [!__ASSUME_32BITUIDS]: Remove conditional code.
65723         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65724         <kernel-features.h>.
65725         [__ASSUME_32BITUIDS]: Make code unconditional.
65726         [!__ASSUME_32BITUIDS]: Remove conditional code.
65727         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65728         <kernel-features.h>.
65729         [__ASSUME_32BITUIDS]: Make code unconditional.
65730         [!__ASSUME_32BITUIDS]: Remove conditional code.
65731         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65732         <kernel-features.h>.
65733         [__ASSUME_32BITUIDS]: Make code unconditional.
65734         [!__ASSUME_32BITUIDS]: Remove conditional code.
65735         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65736         <kernel-features.h>.
65737         [__ASSUME_32BITUIDS]: Make code unconditional.
65738         [!__ASSUME_32BITUIDS]: Remove conditional code.
65739         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65740         <kernel-features.h>.
65741         [__ASSUME_32BITUIDS]: Make code unconditional.
65742         [!__ASSUME_32BITUIDS]: Remove conditional code.
65743         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65744         <kernel-features.h>.
65745         [__ASSUME_32BITUIDS]: Make code unconditional.
65746         [!__ASSUME_32BITUIDS]: Remove conditional code.
65747         * sysdeps/unix/sysv/linux/kernel-features.h
65748         (__ASSUME_SETRESUID_SYSCALL): Remove.
65749         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65750         (__ASSUME_32BITUIDS): Likewise.
65751         (__ASSUME_LDT_WORKS): Likewise.
65752         (__ASSUME_O_DIRECTORY): Likewise.
65753         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65754         architecture but not kernel version.
65755         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65756         (__ASSUME_MMAP2_SYSCALL): Likewise.
65757         (__ASSUME_STAT64_SYSCALL): Likewise.
65758         (__ASSUME_IPC64): Likewise.
65759         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65760         <kernel-features.h>.
65761         [__ASSUME_32BITUIDS]: Make code unconditional.
65762         [!__ASSUME_32BITUIDS]: Remove conditional code.
65763         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65764         <kernel-features.h>.
65765         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65766         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65767         132096]: Remove conditional code.
65768         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65769         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65770         <kernel-features.h>.
65771         [__ASSUME_32BITUIDS]: Make code unconditional.
65772         [!__ASSUME_32BITUIDS]: Remove conditional code.
65773         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65774         <kernel-features.h>.
65775         [__ASSUME_32BITUIDS]: Make code unconditional.
65776         [!__ASSUME_32BITUIDS]: Remove conditional code.
65777         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65778         <kernel-features.h>.
65779         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65780         unconditional.
65781         (__setresgid): Do not declare.
65782         [__ASSUME_32BITUIDS]: Make code unconditional.
65783         [!__ASSUME_32BITUIDS]: Remove conditional code.
65784         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65785         <kernel-features.h>.
65786         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65787         unconditional.
65788         (__setresuid): Do not declare.
65789         [__ASSUME_32BITUIDS]: Make code unconditional.
65790         [!__ASSUME_32BITUIDS]: Remove conditional code.
65791         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65792         <kernel-features.h>.
65793         [__ASSUME_32BITUIDS]: Make code unconditional.
65794         [!__ASSUME_32BITUIDS]: Remove conditional code.
65795         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65796         <kernel-features.h>.
65797         [__ASSUME_32BITUIDS]: Make code unconditional.
65798         [!__ASSUME_32BITUIDS]: Remove conditional code.
65800 2012-05-25  Richard Henderson  <rth@twiddle.net>
65802         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65803         dl_hwcap to ifunc resolver.
65804         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65805         elf_ifunc_invoke.
65806         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65807         dl_hwcap to ifunc resolver.
65808         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65810 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65812         [BZ #14153]
65813         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65814         for |x| <= 2**-26, not 2**-57.
65815         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65816         exception.
65818 2012-05-24  Jeff Law  <law@redhat.com>
65820         * stdio-common/Makefile (tests): Add bug25.
65821         * stdio-common/bug25.c: New test.
65823 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65825         [BZ #13576]
65826         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65827         multiple of MALLOC_ALIGNMENT in size.
65828         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65830 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65832         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65833         Require >= 256.
65834         (FILENAME_MAX): Use macro-int-constant.
65835         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65836         (_IOFBF): Use macro-int-constant.
65837         (_IOLBF): Likewise.
65838         (_IONBF): Likewise.
65839         (SEEK_CUR): Likewise.
65840         (SEEK_END): Likewise.
65841         (SEEK_SET): Likewise.
65842         (TMP_MAX): Likewise.
65843         (EOF): Use macro-int-constant.  Require < 0.
65844         (NULL): Use macro-constant.  Require == 0.
65845         (stdin): Require type to be FILE *.
65846         (stdout): Likewise.
65847         (stderr): Likewise.
65848         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65849         macro-int-constant.
65850         (EXIT_SUCCESS): Likewise.
65851         (NULL): Use macro-constant.  Require == 0.
65852         (RAND_MAX): Use macro-int-constant.
65853         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65854         [C99-based standards] (strtof): Require function.
65855         [C99-based standards] (strtold): Likewise.
65856         [C99-based standards] (strtoll): Likewise.
65857         [C99-based standards] (strtoull): Likewise.
65858         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65859         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65860         [ISO || ISO99 || ISO11] (math.h): Likewise.
65861         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65862         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65865 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65867         [BZ #14132]
65868         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65869         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65870         * intl/dgettext.c (DCGETTEXT): Likewise.
65871         * intl/gettext.c (DCGETTEXT): Likewise.
65872         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65873         * posix/regex_internal.h (gettext): Likewise.
65874         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65875         Remove declaration.
65876         * include/argz.h (__argz_count_internal)
65877         (__argz_stringify_internal): Remove declaration.
65878         (__argz_count, __argz_stringify): Declare hidden proto.
65879         * intl/dcgettext.c: Remove use of INTDEF.
65880         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65881         * string/argz-stringify.c: Likewise.
65882         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65883         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65884         Declare hidden proto.
65885         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65886         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65887         Declare hidden proto.
65888         * include/stdio.h (__asprintf_internal): Don't declare.
65889         (__asprintf): Don't define as macro.  Declare hidden proto.
65890         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65891         (__fsetlocking): Declare hidden proto.
65892         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65893         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65894         hidden proto.
65895         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65896         (_IO_setlinebuf): Remove use of INTUSE.
65897         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65898         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65899         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65900         Remove declaration.
65901         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65902         (_IO_do_flush): Remove use of INTUSE.
65903         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65904         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65905         (_IO_adjust_column, _IO_least_wmarker)
65906         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65907         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65908         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65909         (_IO_default_doallocate, _IO_wdefault_doallocate)
65910         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65911         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65912         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65913         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65914         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65915         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65916         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65917         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65918         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65919         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65920         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65921         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65922         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65923         proto.
65924         (_IO_flush_all_internal, _IO_adjust_column_internal)
65925         (_IO_default_uflow_internal, _IO_default_finish_internal)
65926         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65927         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65928         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65929         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65930         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65931         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65932         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65933         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65934         (_IO_file_close_internal, _IO_file_close_it_internal)
65935         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65936         (_IO_file_init_internal, _IO_file_attach_internal)
65937         (_IO_file_fopen_internal, _IO_file_read_internal)
65938         (_IO_file_sync_internal, _IO_file_seek_internal)
65939         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65940         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65941         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65942         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65943         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65944         (_IO_list_all_internal, _IO_link_in_internal)
65945         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65946         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65947         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65948         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65949         (_IO_do_write_internal, _IO_padn_internal)
65950         (_IO_getline_info_internal, _IO_getline_internal)
65951         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65952         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65953         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65954         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65955         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65956         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65957         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65958         with libc_hidden_ver, remove use of INTUSE.
65959         * libio/genops.c: Likewise.
65960         * libio/freopen.c: Likewise.
65961         * libio/freopen64.c: Likewise.
65962         * libio/iofclose.c: Likewise.
65963         * libio/iofdopen.c: Likewise.
65964         * libio/iofflush.c: Likewise.
65965         * libio/iofflush_u.c: Likewise.
65966         * libio/iofgets.c: Likewise.
65967         * libio/iofgets_u.c: Likewise.
65968         * libio/iofopen.c: Likewise.
65969         * libio/iofopncook.c: Likewise.
65970         * libio/iofread.c: Likewise.
65971         * libio/iofread_u.c: Likewise.
65972         * libio/ioftell.c: Likewise.
65973         * libio/iofwrite.c: Likewise.
65974         * libio/iogetline.c: Likewise.
65975         * libio/iogets.c: Likewise.
65976         * libio/iogetwline.c: Likewise.
65977         * libio/iopadn.c: Likewise.
65978         * libio/iopopen.c: Likewise.
65979         * libio/ioseekoff.c: Likewise.
65980         * libio/ioseekpos.c: Likewise.
65981         * libio/iosetbuffer.c: Likewise.
65982         * libio/iosetvbuf.c: Likewise.
65983         * libio/ioungetc.c: Likewise.
65984         * libio/ioungetwc.c: Likewise.
65985         * libio/iovdprintf.c: Likewise.
65986         * libio/iovsprintf.c: Likewise.
65987         * libio/iovsscanf.c: Likewise.
65988         * libio/memstream.c: Likewise.
65989         * libio/obprintf.c: Likewise.
65990         * libio/oldfileops.c: Likewise.
65991         * libio/oldiofclose.c: Likewise.
65992         * libio/oldiofdopen.c: Likewise.
65993         * libio/oldiofopen.c: Likewise.
65994         * libio/oldiopopen.c: Likewise.
65995         * libio/oldstdfiles.c: Likewise.
65996         * libio/putc.c: Likewise.
65997         * libio/setbuf.c: Likewise.
65998         * libio/setlinebuf.c: Likewise.
65999         * libio/stdfiles.c: Likewise.
66000         * libio/strops.c: Likewise.
66001         * libio/vasprintf.c: Likewise.
66002         * libio/vscanf.c: Likewise.
66003         * libio/vsnprintf.c: Likewise.
66004         * libio/vswprintf.c: Likewise.
66005         * libio/wfiledoalloc.c: Likewise.
66006         * libio/wfileops.c: Likewise.
66007         * libio/wgenops.c: Likewise.
66008         * libio/wmemstream.c: Likewise.
66009         * libio/wstrops.c: Likewise.
66010         * libio/__fpurge.c: Likewise.
66011         * libio/__fsetlocking.c: Likewise.
66012         * assert/assert.c: Likewise.
66013         * debug/fgets_chk.c: Likewise.
66014         * debug/fgets_u_chk.c: Likewise.
66015         * debug/fread_chk.c: Likewise.
66016         * debug/fread_u_chk.c: Likewise.
66017         * debug/gets_chk.c: Likewise.
66018         * debug/obprintf_chk.c: Likewise.
66019         * debug/vasprintf_chk.c: Likewise.
66020         * debug/vdprintf_chk.c: Likewise.
66021         * debug/vsnprintf_chk.c: Likewise.
66022         * debug/vsprintf_chk.c: Likewise.
66023         * malloc/mtrace.c: Likewise.
66024         * misc/error.c: Likewise.
66025         * misc/syslog.c: Likewise.
66026         * stdio-common/asprintf.c: Likewise.
66027         * stdio-common/fxprintf.c: Likewise.
66028         * stdio-common/getw.c: Likewise.
66029         * stdio-common/isoc99_fscanf.c: Likewise.
66030         * stdio-common/isoc99_scanf.c: Likewise.
66031         * stdio-common/isoc99_vfscanf.c: Likewise.
66032         * stdio-common/isoc99_vscanf.c: Likewise.
66033         * stdio-common/isoc99_vsscanf.c: Likewise.
66034         * stdio-common/printf-prs.c: Likewise.
66035         * stdio-common/printf_fp.c: Likewise.
66036         * stdio-common/printf_fphex.c: Likewise.
66037         * stdio-common/printf_size.c: Likewise.
66038         * stdio-common/putw.c: Likewise.
66039         * stdio-common/scanf.c: Likewise.
66040         * stdio-common/sprintf.c: Likewise.
66041         * stdio-common/tmpfile.c: Likewise.
66042         * stdio-common/vfprintf.c: Likewise.
66043         * stdio-common/vfscanf.c: Likewise.
66044         * stdlib/strfmon_l.c: Likewise.
66045         * sunrpc/openchild.c: Likewise.
66046         * sunrpc/xdr_stdio.c: Likewise.
66047         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
66048         * sysdeps/mach/hurd/tmpfile.c: Likewise.
66050 2012-05-24  Roland McGrath  <roland@hack.frob.com>
66052         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66054         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
66055         in the third column, to generate for the shared library an IFUNC
66056         that uses _dl_vdso_vsym.
66057         * Makerules (COMPILE.c, compile-stdin.c): New variables.
66058         * Makeconfig (object-suffixes-noshared): New variable.
66060         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
66061         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
66062         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
66063         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
66065         [BZ #14132]
66066         * include/sys/time.h (__gettimeofday): Remove macro.
66067         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
66068         * time/gettimeofday.c (__gettimeofday): Remove #undef.
66069         Remove INTDEF.
66070         (__gettimeofday): Add libc_hidden_def.
66071         (gettimeofday): Add libc_hidden_weak.
66072         * sysdeps/mach/gettimeofday.c: Likewise.
66073         * sysdeps/posix/gettimeofday.c: Likewise.
66074         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
66075         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
66076         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
66077         (__gettimeofday_internal): Remove strong_alias.
66078         (__gettimeofday): Add libc_hidden_def.
66079         (gettimeofday): Add libc_hidden_weak.
66080         * sysdeps/unix/syscalls.list (gettimeofday):
66081         Remove __gettimeofday_internal alias.
66083 2012-05-24  Daniel Jacobowitz  <drow@false.org>
66084             H.J. Lu  <hongjiu.lu@intel.com>
66086         [BZ #12495]
66087         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
66088         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
66089         (largebin_index_32_big): New.
66090         (largebin_index): Use it for 16-byte alignment.
66091         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
66092         correction with front_misalign.
66094 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
66097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
66098         Likewise.
66099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
66100         Likewise.
66101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66102         Likewise.
66103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
66104         Likewise.
66105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
66106         Likewise.
66107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
66108         Likewise.
66109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
66110         Likewise.
66111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
66112         Likewise.
66113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
66114         Likewise.
66115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
66116         Likewise.
66117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
66118         Likewise.
66119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
66120         Likewise.
66122         * scripts/data/c++-types-x32-linux-gnu.data: New file.
66123         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
66125 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66127         [BZ #10846]
66128         [BZ #14036]
66129         * math/libm-test.inc (exp_test): Add test from bug 14036.
66130         (pow_test): Add test from bug 10846.
66132         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
66133         and other flags.
66134         (special_function): Do not include flags in test name.
66135         (parse_args): Likewise.
66136         * sysdeps/i386/fpu/libm-test-ulps: Update.
66137         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66138         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66139         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66142         * math/gen-libm-test.pl (%beautify): Add entries for underflow
66143         exceptions.
66144         * math/libm-test.inc ("Philosophy"): Update comment about
66145         exception testing.
66146         (UNDERFLOW_EXCEPTION): New macro.
66147         (UNDERFLOW_EXCEPTION_OK): Likewise.
66148         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66149         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66150         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66151         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66152         (INVALID_EXCEPTION_OK): Update value.
66153         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66154         (OVERFLOW_EXCEPTION_OK): Likewise.
66155         (IGNORE_ZERO_INF_SIGN): Likewise.
66156         (test_exceptions): Handle underflow exceptions.
66157         (acos_test): Update for underflow exception expectations.
66158         (cexp_test): Likewise.
66159         (clog_test): Likewise.
66160         (clog10_test): Likewise.
66161         (csqrt_test): Likewise.
66162         (ctan_test): Likewise.
66163         (ctanh_test): Likewise.
66164         (exp_test): Likewise.
66165         (exp10_test): Likewise.
66166         (exp2_test): Likewise.
66167         (expm1_test): Likewise.
66168         (fma_test): Likewise.
66169         (j0_test): Likewise.
66170         (jn_test): Likewise.
66171         (nexttoward_test): Likewise.
66172         (pow_test): Likewise.
66173         (scalbn_test): Likewise.
66174         (scalbln_test): Likewise.
66175         (tan_test): Likewise.
66176         (y1_test): Likewise.
66177         * sysdeps/i386/fpu/libm-test-ulps: Update.
66178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66180 2012-05-23  David S. Miller  <davem@davemloft.net>
66182         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66183         (__libc_sigaction): Remove unused local variables.
66185 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66187         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66189 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66191         mktime: avoid signed integer overflow
66192         * time/mktime.c (__mktime_internal): Do not mishandle the case
66193         where diff == INT_MIN.
66195         mktime: simplify computation of average
66196         * time/mktime.c (ranged_convert): Use new time_t_avg function
66197         instead of rolling our own (probably-slower) code.
66199         mktime: do not assume signed right shift propagates sign bit
66200         * time/mktime.c (isdst_differ): New static function.
66201         (__mktime_internal): No need to normalize tm_isdst now.
66202         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66203         tm_isdst values.
66205         mktime: merge another wrapv change from gnulib
66206         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66207         from some compilers.
66209         mktime: remove incorrect attempt at unusual arithmetics
66210         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66211         The code didn't really work on such machines anyway.
66212         (TYPE_MINIMUM): Assume two's complement.
66213         (twos_complement_arithmetic): Verify that long_int and time_t
66214         are two's complement (or unsigned, in the latter case).
66216         mktime: check signed shifts on long_int and time_t, too
66217         * time/mktime.c (SHR): Check that shifts work as desired
66218         on the types long_int and time_t too, as SHR is used on
66219         such types.
66221         mktime: do not assume 'long' is wide enough
66222         * time/mktime.c (verify): Move decl up.
66223         (long_int): New type.
66224         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66225         to remove assumption in the code that 'long' is wide enough to
66226         store year values.  This assumption is not true on x32 and on
66227         some non-glibc platforms.
66229         mktime: merge wrapv change from gnulib
66230         * time/mktime.c (WRAPV): New macro.
66231         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66232         (guess_time_tm, __mktime_internal): Do not assume that signed
66233         integer overflow wraps around; modern compilers generate code
66234         where this assumption is no longer valid.
66236 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66238         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66239         Replace "jmp L(pseudo_end)" with "ret".
66240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66241         Likewise.
66243 2012-05-23  Andreas Jaeger  <aj@suse.de>
66245         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66246         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66248 2012-05-23  Andreas Jaeger  <aj@suse.de>
66249             Maximilian Attems  <max@stro.at>
66251         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66252         New macros.
66254 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66256         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66257         code so that pseudo_end is just ret and the stack pointer is
66258         correct also for static library in error case.
66260 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66262         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66263         move to syscalls.list.
66264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66269         * manual/install.texi (Running make install): Do not mention Linux
66270         kernel version for which pt_chown is not needed.
66271         (Linux): Do not mention problems with nscd with 2.0 kernels.
66272         * INSTALL: Regenerated.
66274 2012-05-23  Andreas Jaeger  <aj@suse.de>
66276         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66277         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66278         macro.
66279         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66280         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66281         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66282         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66283         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66284         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66285         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66286         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66287         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66288         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66289         * sysdeps/unix/sysv/linux/bits/in.h
66290         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66292 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66294         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66295         (PREPARE_VERSION): Just use assert instead, it will be elided
66296         under [NDEBUG] anyway.
66298 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66300         * sysdeps/unix/sysv/linux/Makefile: Include
66301         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66302         (sysdep_routines): Remove sysctl.
66303         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66304         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66305         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66306         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66307         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66309 2012-05-22  Andreas Jaeger  <aj@suse.de>
66311         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66312         that pseudo_end is just ret and the stack pointer is correct also
66313         for static library in error case.
66315 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66317         [BZ #14122]
66318         * nss/nsswitch.c (defconfig_entries): New variable.
66319         (__nss_database_lookup): Don't leak defconfig entries.
66320         (nss_parse_service_list): Don't leak on error paths.
66321         (free_database_entries): New function.
66322         (free_defconfig): New function.
66323         (free_mem): Move common code to free_database_entries.
66325 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66327         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66328         Add arch_prctl.
66329         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66331         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66332         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66334         New macro.
66335         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66336         (INTERNAL_SYSCALL_TYPES): Likewise.
66337         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66338         (LOAD_REGS_TYPES_[1-6]): Likewise.
66339         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66340         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66342 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66344         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66345         copysignl for GLIBC_2_0.
66346         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66347         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66348         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66349         logbl for GLIBC_2_0.
66350         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66351         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66353 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66355         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66356         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66358         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66359         Use "neg %eax".
66361         * time/mktime.c: Update copyright years.
66363 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66365         mktime: merge comment-quoting-style change from gnulib
66366         * time/mktime.c: Quote 'like this' in comments.
66367         The GNU coding standards suggest that we no longer quote `like this',
66368         as "`" and "'" are typically rendered asymmetrically nowadays.
66369         The typical gnulib style is to quote 'like this' when quoting
66370         code, and "like this" when quoting English.
66372         * time/mktime.c (compile-command): Add "-I.".
66374         mktime: merge mktime-internal.h change from gnulib
66375         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66377         mktime: merge time_r change from gnulib
66378         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66380         mktime: merge DEBUG change from gnulib
66381         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66382         case system <time.h> has a #define.
66384         mktime: merge <sys/types.h> change from gnulib
66385         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66386         since <time.t> is now guaranteed to define time_t.
66388         mktime: merge HAVE_CONFIG_H change from gnulib
66389         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66391 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66394         Use "neg %eax".
66396         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66397         __rlim_t cast.
66398         (struct rusage): Use anonymous union to pad each field to
66399         __syscall_slong_t.
66401 2012-05-21  David S. Miller  <davem@davemloft.net>
66403         * Makefules (o-iterator): Remove .s cases.
66404         (compile-command.s): Delete.
66405         (COMPILE.s): Delete.
66406         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66408 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66410         * configure.in (libc_cv_predef_stack_protector): Only consider
66411         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66412         * configure: Regenerated.
66414 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66417         New macro.  Use R*LP on int and pointer.
66418         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66419         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66420         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66421         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66423         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66424         [__WORDSIZE_TIME64_COMPAT32] instead of
66425         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66426         (struct utmp): Likewise.
66427         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66428         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66429         Renamed to ...
66430         (__WORDSIZE_TIME64_COMPAT32): This.
66431         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66432         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66433         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66434         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66435         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66436         (__WORDSIZE_TIME64_COMPAT32): New macro.
66438 2012-05-21  Andreas Jaeger  <aj@suse.de>
66440         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66441         only if [SHARED]. Add prototype for __wcschr_ia32.
66443 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66445         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66446         of %rbp unmolested in the jmp_buf while mangling the low bits.
66447         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66448         unmolested high bits of %rbp while demangling the low bits.
66449         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66451 2012-05-21  Andreas Jaeger  <aj@suse.de>
66453         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66454         * sunrpc/svc_simple.c: Use it for registerrpc.
66455         * sunrpc/xcrypt.c: Use it for passwd2des.
66457         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66459 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66461         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66462         Don't define if [__SYSCALL_WORDSIZE != 32].
66463         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66464         New macro.
66466 2012-05-21  Bruno Haible  <bruno@clisp.org>
66467             Andreas Jaeger  <aj@suse.de>
66469         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66470         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66471         inptr and inend for must_buffer_ch.
66472         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66473         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66474         * stdio-common/Makefile (tests): Remove bug15.
66475         (bug15-ENV): Remove macro.
66476         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66477         anymore.
66479 2012-05-19  Andreas Jaeger  <aj@suse.de>
66480             Roland McGrath  <roland@hack.frob.com>
66482         * manual/contrib.texi: Completely rewritten. It contains now an
66483         alphabetical list of contributors and their contributions.
66485 2012-05-21  Richard Henderson  <rth@twiddle.net>
66487         * misc/getauxval.c (__getauxval): Use unsigned long int.
66488         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66489         (getauxval): Use unsigned long int.
66491 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66493         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66495 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66497         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66498         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66499         __alignof__ (long double).
66501 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66505 2012-05-20  Richard Henderson  <rth@twiddle.net>
66507         * misc/getauxval.c: New file.
66508         * misc/sys/auxv.h: New file.
66509         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66510         (routines): Add getauxval.
66511         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66512         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66513         * elf/dl-sysdep.c (_dl_auxv): Remove.
66514         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66515         * elf/dl-support.c (_dl_auxv): New variable.
66516         (_dl_aux_init): Initialize it.
66517         * manual/startup.texi (Auxiliary Vector): New node.
66518         * sysdeps/generic/bits/hwcap.h: New file.
66519         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66520         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66521         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66522         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66523         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66526         Update.
66527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66536 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66540 2012-05-19  David S. Miller  <davem@davemloft.net>
66542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66544 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66546         [BZ #14123]
66547         * math/s_ccosh.c: Include <float.h>
66548         (__ccosh): Avoid internal overflow calculating sinh and cosh
66549         values before multiplying by sin and cos values.
66550         * math/s_ccoshf.c: Likewise.
66551         * math/s_ccoshl.c: Likewise.
66552         * math/s_csin.c: Likewise.
66553         * math/s_csinf.c: Likewise.
66554         * math/s_csinl.c: Likewise.
66555         * math/s_csinh.c: Likewise.
66556         * math/s_csinhf.c: Likewise.
66557         * math/s_csinhl.c: Likewise.
66558         * math/libm-test.inc (ccos_test): Add more tests.
66559         (ccosh_test): Likewise.
66560         (csin_test): Likewise.
66561         (csinh_test): Likewise.
66562         * sysdeps/i386/fpu/libm-test-ulps: Update.
66563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66565 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66567         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66568         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66570         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66572 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66574         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66575         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66576         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66577         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66578         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66579         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66580         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66581         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66582         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66583         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66584         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66585         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66586         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66587         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66588         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66589         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66590         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66591         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66592         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66593         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66594         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66595         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66596         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66597         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66598         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66599         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66600         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66601         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66602         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66603         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66604         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66606 2012-05-18  Andreas Jaeger  <aj@suse.de>
66608         * csu/.gitignore: Delete.
66610 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66612         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66613         (timex): Use __syscall_slong_t.
66615 2012-05-18  Andreas Jaeger  <aj@suse.de>
66616             Carlos O'Donell  <carlos_odonell@mentor.com>
66618         * manual/install.texi (Configuring and compiling): Update
66619         description about files modified in the source directory.
66620         * INSTALL: Regenerated.
66622 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66624         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66625         value.  Use "or" to set return value to -1.
66626         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66627         negate return value.
66629 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66631         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66632         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66633         failure if the compiler has Graphite support disabled.
66634         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66635         Likewise.
66636         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66637         (CFLAGS-memmove.c): Likewise.
66638         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66639         Likewise.
66641 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66643         * sysdeps/x86_64/x32/_itoa.h: New file.
66645         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66646         getdents system call only if kernel and user dirents have the
66647         same d_ino and d_off.
66649         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66650         LLONG_MAX != LONG_MAX.
66651         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66652         (_fitoa_word): Likewise.
66654         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66655         years.
66656         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66657         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66658         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66660         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66661         include <bits/wordsize.h>.  Check __x86_64__ instead of
66662         __WORDSIZE.
66663         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66664         if __x86_64__ is defined.  Use anonymous union on fpstate.
66666         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66667         anonymous union.
66669 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66671         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66672         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66673         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66674         Refer to _rtld_local_ro instead of _rtld_global_ro.
66675         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66676         Likewise.
66677         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66678         Likewise.
66679         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66680         Likewise.
66681         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66682         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66683         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66685         [BZ #10882]
66686         * sysdeps/powerpc/powerpc32/dl-machine.c
66687         (__elf_machine_runtime_setup) [PROF]: Don't reference
66688         _dl_prof_resolve.
66690 2012-05-18  Andreas Jaeger  <aj@suse.de>
66692         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66693         function only available for GCCs before 3.4 since GCC 3.4
66694         introduced a builtin.
66695         (lrint): Likewise.
66696         (llrintf): Likewise.
66697         (llrint): Likewise.
66698         (fmaxf): Likewise.
66699         (fmax): Likewise.
66700         (fminf): Likewise.
66701         (fmin): Likewise.
66702         (rint): Likewise.
66703         (rintf): Likewise.
66704         (nearbyint): Likewise.
66705         (nearbyintf): Likewise.
66706         (ceil): Likewise.
66707         (ceilf): Likewise.
66708         (floor): Likewise.
66709         (floorf): Likewise.
66711 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66713         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66714         on both fields and cast pointer to __syscall_ulong_t.
66716         * bits/types.h (__fsword_t): New type.
66717         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66718         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66719         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66720         (__FSWORD_T_TYPE): Likewise.
66721         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66722         (__FSWORD_T_TYPE): Likewise.
66723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66724         (__FSWORD_T_TYPE): Likewise.
66725         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66726         (__FSWORD_T_TYPE): Likewise.
66727         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66728         __SWORD_TYPE with __fsword_t.
66729         (statfs64): Likewise.
66731 2012-05-17  David S. Miller  <davem@davemloft.net>
66733         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66735 2012-05-17  Andreas Jaeger  <aj@suse.de>
66737         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66738         warning.
66740 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66742         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66744 2012-05-17  Andreas Jaeger  <aj@suse.de>
66746         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66747         when it is used.
66749 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66751         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66753 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66755         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66756         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66758 2012-05-17  Andreas Jaeger  <aj@suse.de>
66759             Carlos O'Donell  <carlos_odonell@mentor.com>
66761         [BZ #14059]
66762         * sysdeps/x86_64/multiarch/init-arch.h
66763         (bit_YMM_Usable): Rename to...
66764         (bit_AVX_Usable): ... this.
66765         (bit_FMA4_Usable): New macro.
66766         (bit_XMM_state): New macro.
66767         (bit_YMM_state): New macro.
66768         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66769         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66770         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66771         (CPUID_OSXSAVE): New macro.
66772         (CPUID_AVX): New macro.
66773         (CPUID_FMA4): New macro.
66774         (index_YMM_Usable): Rename to...
66775         (index_AVX_Usable): ... this.
66776         (HAS_AVX): Use HAS_ARCH_FEATURE.
66777         (HAS_FMA4): Likewise.
66778         (HAS_YMM_USABLE): Remove.
66779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66780         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66781         are present.
66782         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66783         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66784         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66785         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66786         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66788 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66790         * math/libm-test.c: Support platforms without multiple rounding modes.
66791         * math/bug-nextafter.c: Support platforms without FP exceptions.
66792         * math/bug-nexttoward.c: Likewise.
66793         * math/test-fenv.c: Likewise.
66794         * math/test-misc.c: Likewise.
66795         * stdlib/bug-getcontext.c: Likewise.
66797 2012-05-17  Andreas Jaeger  <aj@suse.de>
66799         * manual/examples/search.c (critter_cmp): Change signature to
66800         avoid warnings.
66801         * manual/string.texi (Collation Functions): Likewise.
66803 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66805         * bits/types.h: Fold copyright years.
66806         * bits/typesizes.h: Likewise.
66807         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66808         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66810         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66811         * time/time.h: Likewise.
66813 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66815         [BZ #208]
66816         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66817         in instead of returning them.  Return void.
66818         (__libc_mallinfo): Accumulate over all arenas.
66819         (__malloc_stats): Adjust for change in int_mallinfo interface.
66821 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66823         [BZ #10375]
66824         * configure.in (NM): Add AC_CHECK_TOOL for it.
66825         (libc_extra_cflags): New substituted variable.
66826         Check for -fstack-protector being used implicitly.
66827         * configure: Regenerated.
66828         * config.make.in (config-extra-cflags): New variable,
66829         gets @libc_extra_cflags@.
66830         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66832         [BZ #10375]
66833         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66834         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66835         * configure: Regenerated.
66836         * config.make.in (CPPUNDEFS): New substituted variable.
66837         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66838         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66839         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66841 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66843         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66844         (mq_attr): Use __syscall_slong_t.
66846 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66848         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66849         Check __x86_64__ instead of __WORDSIZE.
66850         (_STAT_VER_LINUX): Likewise.
66851         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66852         __syscall_ulong_t and __syscall_slong_t.
66853         (stat64): Likewise.
66855 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66857         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66859 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66861         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66863 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66865         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66866         __syscall_ulong_t.
66868         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66869         include <bits/wordsize.h>.  Check __x86_64__ instead of
66870         __WORDSIZE.
66871         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66872         defined.
66873         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66875         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66876         include <bits/wordsize.h>.  Check __x86_64__ instead of
66877         __WORDSIZE.
66878         (user_regs_struct): Use "__extension__ unsigned long long"
66879         instead of "unsigned long" if __x86_64__ is defined.
66880         (user): Likewise.  Pad after pointer field if __ILP32__ is
66881         defined.
66883 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66885         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66886         versions 5 to 9.
66887         * configure: Regenerated.
66888         * manual/install.texi (texinfo): Increase version requirement to
66889         4.5 or later.
66890         * INSTALL: Regenerated.
66892         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66894 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66896         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66898         * sysdeps/x86_64/x32/ffs.c: New file.
66900         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66901         __syscall_ulong_t.
66902         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66903         defined.  Use __syscall_ulong_t.
66904         (shminfo): Use __syscall_ulong_t.
66905         (shm_info): Likewise.
66907         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66908         __syscall_ulong_t.
66910         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66911         <bits/wordsize.h>.
66912         (msgqnum_t): Use __syscall_ulong_t.
66913         (msglen_t): Likewise.
66914         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66915         __syscall_ulong_t.
66917         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66918         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66920         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66922         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66923         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66925         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66926         __syscall_slong_t.
66928         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66929         include <bits/wordsize.h>.  Check __x86_64__ instead of
66930         __WORDSIZE.
66932         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66933         "unsigned long long int" if __x86_64__ is defined.
66934         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66936         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66937         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66938         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66940         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66941         <stdint.h>.
66942         (GET_PC): Cast to uintptr_t first.
66943         (GET_FRAME): Likewise.
66944         (GET_STACK): Likewise.
66946         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66947         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66948         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66949         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66950         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66951         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66952         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66953         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66954         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66955         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66956         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66957         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66958         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66959         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66960         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66961         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66962         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66963         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66964         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66965         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66966         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66967         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66968         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66969         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66970         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66971         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66972         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66973         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66974         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66976 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66978         * Makerules (+depfiles): Also collect depfiles from .oS in
66979         $(extra-objs).
66980         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66981         .oS, $(libnldbl-routines)).
66983         * Makerules (native-compile-mkdep-flags): Define.
66984         * sunrpc/Makefile (extra-objs): Add $(addprefix
66985         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66986         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66987         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66988         calling $(make-target-directory).
66990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66992         * bits/types.h (__snseconds_t): Removed.
66993         * time/time.h (struct timespec): Replace __snseconds_t with
66994         __syscall_slong_t.
66995         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66996         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66997         Likewise.
66998         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66999         (__SNSECONDS_T_TYPE): Likewise.
67000         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67001         (__SNSECONDS_T_TYPE): Likewise.
67002         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67003         (__SNSECONDS_T_TYPE): Likewise.
67005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67007         * sysdeps/mach/hurd/bits/typesizes.h
67008         (__SYSCALL_SLONG_TYPE): New macro.
67009         (__SYSCALL_ULONG_TYPE): Likewise.
67011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67013         * bits/types.h (__syscall_slong_t): New type.
67014         (__syscall_ulong_t): Likewise.
67016         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
67017         (__SYSCALL_ULONG_TYPE): Likewise.
67018         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67019         (__SYSCALL_SLONG_TYPE): Likewise.
67020         (__SYSCALL_ULONG_TYPE): Likewise.
67021         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67022         (__SYSCALL_SLONG_TYPE): Likewise.
67023         (__SYSCALL_ULONG_TYPE): Likewise.
67024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67025         (__SYSCALL_SLONG_TYPE): Likewise.
67026         (__SYSCALL_ULONG_TYPE): Likewise.
67028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67030         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
67031         Add sigaltstack-offsets.sym.
67032         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
67033         <sigaltstack-offsets.h>.
67034         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
67035         longjmp_msg pointer.
67036         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
67037         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
67038         signal stack.
67039         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
67041 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67043         * elf/stackguard-macros.h: Remove file.
67044         * sysdeps/generic/stackguard-macros.h: New file.
67045         * sysdeps/i386/stackguard-macros.h: Likewise.
67046         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
67047         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
67048         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
67049         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
67050         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
67051         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
67052         * sysdeps/x86_64/stackguard-macros.h: Likewise.
67053         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
67054         <elf/stackguard-macros.h>.
67056         [BZ #14109]
67057         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
67058         __aligned__ in attribute.
67059         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
67060         (gregset_t): Likewise.
67062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67064         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
67065         * sysdeps/x86_64/64/Implies-after: Here.  New file.
67066         * sysdeps/x86_64/x32/Implies-after: New file.
67068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67070         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
67071         and access return value for _dl_profile_fixup.  Use R10_LP to
67072         load frame size.
67074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67076         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67080         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
67081         * sysdeps/x86_64/x32/sysdep.h: New file.
67083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67085         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
67086         * sysdeps/x86_64/setjmp.S: Likewise.
67088 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67090         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
67091         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
67092         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
67093         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67094         remove unused global constant.
67096 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
67098         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
67099         include of <not-cancel.h>.
67101 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67103         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
67105 2012-05-15  Jeff Law  <law@redhat.com>
67106             Andreas Jaeger  <aj@suse.de>
67108         [BZ #13594]
67109         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
67110         out from...
67111         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
67112         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
67113         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
67114         code changing __hst_map_handle.map.
67116 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67118         * configure.in (sysnames): Look for Implies-before and Implies-after
67119         files.
67120         * configure: Regenerated.
67122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67124         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
67125         8-byte data alignment with LP_SIZE alignment.
67127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67129         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
67130         into R10_LP.
67132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67134         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
67136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67138         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67139         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67140         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67141         Likewise.
67142         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67146         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67147         (stackinfo_sub_sp): Likewise.
67149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67151         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67152         RAX_LP.
67154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67156         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
67157         into R*_LP.
67159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67161         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67162         sizes into R*_LP.
67164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67166         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
67168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67170         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67171         into R11_LP and load __x86_64_shared_cache_size_half into
67172         R8_LP.
67174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67176         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67177         R8_LP.
67179 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67181         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67182         logb for POWER7.
67183         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67184         logbf for POWER7.
67185         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67186         logbl for POWER7.
67187         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67188         powerpc32/power7/fpu/s_logb.c via #include.
67189         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67190         powerpc32/power7/fpu/s_logbf.c via #include.
67191         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67192         powerpc32/power7/fpu/s_logbl.c via #include.
67194 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67196         * README.libm: Remove file.
67198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67200         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67201         count for x32.  Use R*_LP and omit operand-size suffix.
67203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67205         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67206         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67207         * sysdeps/x86_64/x32/shlib-versions: New file.
67209 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67211         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67212         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67213         Use _dl_fatal_printf instead.
67215 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67217         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67218         set if not set by the user.  Do not allow for being unset.
67219         * sysdeps/unix/sysv/linux/configure: Regenerated.
67221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67223         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67224         the `q' suffix from lea and replace .quad with ASM_ADDR.
67226 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67228         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67229         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67230         instead of $17.
67231         (PTR_DEMANGLE): Likewise.
67233 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67235         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67236         (LP_OP): Likewise.
67237         (ASM_ADDR): Likewise.
67238         (RAX_LP): Likewise.
67239         (RBP_LP): Likewise.
67240         (RBX_LP): Likewise.
67241         (RCX_LP): Likewise.
67242         (RDI_LP): Likewise.
67243         (RSI_LP): Likewise.
67244         (RSP_LP): Likewise.
67245         (R8_LP): Likewise.
67246         (R9_LP): Likewise.
67247         (R10_LP): Likewise.
67248         (R10_LP): Likewise.
67249         (R11_LP): Likewise.
67250         (R12_LP): Likewise.
67251         (R13_LP): Likewise.
67252         (R14_LP): Likewise.
67253         (R15_LP): Likewise.
67255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67257         * sysdeps/x86_64/x32/dl-machine.h: New file.
67259 2012-05-14  Andreas Jaeger  <aj@suse.de>
67261         * manual/Makefile (subdir): Remove export of subdir.
67262         (all): Remove target.
67263         (.PHONY): Remove all from list.
67264         (mkinstalldirs): Remove.
67265         (.PHONY): Remove installdirs from list.
67266         ($(inst_infodir)/libc.info): Use make-target-directory.
67267         (installdirs): Remove.
67268         (subdir_%): Remove.
67269         (glibc-targets): Remove.
67270         (lib): Remove.
67271         (stubs): Remove.
67272         ($(objpfx)stubs ../po/manual.pot): Remove.
67273         ($(objpfx)stamp%): Remove.
67274         (make-target-directory): Remove.
67275         (subdir_install): Remove.
67276         (routines): Remove.
67277         (aux): Remove.
67278         (sources): Remove.
67279         (objects): Remove.
67280         (headers): Remove.
67282         [BZ #13750]
67283         * manual/.gitignore: Remove, it's not needed anymore.
67284         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67285         all files in it.
67286         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67287         directory.
67288         (texis): Renamed to $(objpfx)texis.
67289         (texis-path): New, contains path to generated files.
67290         (chapters.%): Use texis-path for complete path, add extra argument
67291         libc-texinfo.sh.
67292         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67293         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67294         (summary,texi, stamp-summary): Use complete path of
67295         files. Generate files in build dir.
67296         (dir-add.texi): Build in build dir.
67297         (libm-err.texi,stamp-libm-err): Likewise.
67298         (version.texi, stamp-version): Likewise.
67299         (.%c.texi): Likewise.
67300         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67301         (mostlyclean): Remove target.
67302         (realclean): Remove target.
67303         (generated): Add new variable with contents from mostlyclean and
67304         realclean, remove entries duplicated in common-mostlyclean, add
67305         stamp-libm-err and stamp-version.
67306         (generated-dirs): Add libc directory.
67307         ($(inst_infodir)/libc.info): Install files from build dir.
67309         * manual/install.texi (Configuring and compiling): Adjust since
67310         the info files are not part of the tar ball anymore.
67312 2012-05-14  Andreas Jaeger  <aj@suse.de>
67314         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67315         variable.
67317 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67319         [BZ #13717]
67320         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67321         to 2.2.0 where earlier.
67322         * sysdeps/unix/sysv/linux/configure: Regenerated.
67323         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67324         Remove conditional code.
67325         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67326         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67327         Remove conditional code.
67328         [!__NR_lchown]: Likewise.
67329         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67330         [__NR_lchown]: Likewise.
67331         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67332         comment referencing __ASSUME_LCHOWN_SYSCALL.
67333         * sysdeps/unix/sysv/linux/i386/sigaction.c
67334         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67335         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67336         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67337         Remove conditional code.
67338         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67339         (__protocol_available): Remove #if 0 code.
67340         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67341         conditional code.
67342         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67343         * sysdeps/unix/sysv/linux/kernel-features.h
67344         (__ASSUME_GETCWD_SYSCALL): Don't define.
67345         (__ASSUME_REALTIME_SIGNALS): Likewise.
67346         (__ASSUME_PREAD_SYSCALL): Likewise.
67347         (__ASSUME_PWRITE_SYSCALL): Likewise.
67348         (__ASSUME_POLL_SYSCALL): Likewise.
67349         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67350         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67351         non-SPARC.
67352         (__ASSUME_SIOCGIFNAME): Don't define.
67353         (__ASSUME_MSG_NOSIGNAL): Likewise.
67354         (__ASSUME_SENDFILE): Define unconditionally.
67355         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67356         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67357         conditional code.
67358         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67359         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67360         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67361         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67362         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67363         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67364         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67366         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67367         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67369         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67370         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67372         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67373         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67375         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67376         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67378         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67379         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67381         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67382         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67384         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67385         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67387         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67389         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67390         Remove conditional code.
67391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67392         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67393         Remove conditional code.
67394         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67395         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67396         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67397         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67398         Remove conditional code.
67399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67400         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67401         Remove conditional code.
67402         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67403         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67404         Remove conditional code.
67405         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67406         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67407         Remove conditional code.
67408         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67409         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67410         Remove conditional code.
67411         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67412         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67413         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67414         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67415         * sysdeps/unix/sysv/linux/sigaction.c
67416         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67417         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67418         * sysdeps/unix/sysv/linux/sigpending.c
67419         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67420         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67421         * sysdeps/unix/sysv/linux/sigprocmask.c
67422         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67423         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67424         * sysdeps/unix/sysv/linux/sigsuspend.c
67425         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67426         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67427         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67428         (__libc_missing_rt_sigs): Remove.
67429         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67430         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67431         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67432         Remove conditional code.
67433         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67434         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67435         return 1.
67436         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67437         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67438         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67439         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67441 2012-05-14  Andreas Jaeger  <aj@suse.de>
67443         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67444         it's not used in glibc.
67445         (__coshm1): Likewise.
67446         (__acosh1p): Likewise.
67447         (__sgn): Likewise.
67449         * manual/string.texi (Copying and Concatenation): Add missing
67450         variable in concat example.
67451         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67453 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67455         [BZ #14103]
67456         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67457         __builtin_clzl with __builtin_clzll.
67459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67461         [BZ #14104]
67462         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67463         libc_freeres_ptr.
67465 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67467         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67468         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67469         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67470         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67472 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67474         * NEWS: Update ia64 info.
67476 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67478         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67479         used as bcopy.
67481 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67483         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67484         * sysdeps/unix/syscalls.list (dup3): Likewise.
67485         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67486         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67488 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67490         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67491         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67493 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67495         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67496         thread pointer.
67497         (TLS_IE): Use mov/add instead of movq/addq to load thread
67498         pointer.
67499         (TLS_GD_PREFIX): New.
67500         (TLS_GD): Use it.
67502 2012-05-11  David S. Miller  <davem@davemloft.net>
67504         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67505         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67506         (_FPU_SETCW): Likewise.
67508 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67510         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67511         is 32-byte aligned.
67513 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67515         [BZ #11837]
67516         * iconvdata/gb18030.c: Update tables.
67517         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67518         characters specially.
67519         (BODY for TO_LOOP): Add encoding of missing ranges.
67521 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67523         [BZ #13673]
67524         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67525         * sysdeps/mach/hurd/dup3.c: Likewise.
67526         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67527         * sysdeps/powerpc/memmove.c:: Likewise.
67529 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67531         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67532         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67534 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67536         * elf/elf.h (R_X86_64_RELATIVE64): New.
67537         (R_X86_64_NUM): Updated.
67538         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67539         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67540         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67541         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67542         tst-quad1pie tst-quad2pie
67543         (modules-names): Add tst-quadmod1 tst-quadmod2.
67544         ($(objpfx)tst-quad1): New dependency.
67545         ($(objpfx)tst-quad2): Likewise.
67546         ($(objpfx)tst-quad1pie): Likewise.
67547         ($(objpfx)tst-quad2pie): Likewise.
67548         * sysdeps/x86_64/tst-quad1.c: New file.
67549         * sysdeps/x86_64/tst-quad1pie.c: New file.
67550         * sysdeps/x86_64/tst-quad2.c: Likewise.
67551         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67552         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67553         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67554         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67555         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67557 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67559         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67560         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67561         * streams/stropts.h (t_scalar_t): Define type.
67563         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67564         (_PATH_PRESERVE): Set to "/var/lib".
67565         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67567         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67568         instead of int.
67570         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67571         if __dir_mkfile succeeded.
67573         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67574         checking for _hurd_dtablesize.  Unlock it right after having
67575         finished _hurd_dtable allocation.
67577 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67579         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67580         * sysdeps/mach/hurd/configure: Regenerated.
67581         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67582         special-casing to...
67583         * sysdeps/gnu/configure.in: ... this new file.
67584         * sysdeps/unix/sysv/linux/configure: Regenerated.
67585         * sysdeps/gnu/configure: New generated file.
67587         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67588         for Linux: use nsec instead of usec, as well as:
67589         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67590         members of type struct timespec.
67591         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67592         New macros.
67593         (struct stat64): Likewise.
67594         (_STATBUF_ST_NSEC): New macro.
67595         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67597         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67598         __strtoul_internal rather than strtoul.
67600 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67602         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67603         and reject them.
67605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67607         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67608         which preserves existing values.
67609         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67611 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67613         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67614         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67615         greater than FD_SETSIZE.
67617 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67619         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67620         allocated, call __vm_protect to finish enabling the existing space, and
67621         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67622         allocate the remainder.
67624 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67626         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67627         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67631         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67632         sysdeps/mach/hurd/readlink.c.
67634         * posix/tst-sysconf.c (posix_options): Only use
67635         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67636         _POSIX_SYNCHRONIZED_IO when they are defined
67637         * sysdeps/mach/hurd/bits/posix_opt.h:
67638         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67639         (_XOPEN_REALTIME): Undefine macro.
67640         (_XOPEN_REALTIME_THREADS): Undefine macro.
67641         (_XOPEN_SHM): Undefine macro.
67642         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67643         macro to -1.
67644         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67645         macro to -1.
67646         (_POSIX_ASYNC_IO): Undefine macro.
67647         (_POSIX_PRIORITIZED_IO): Undefine macro.
67648         (_POSIX_SPIN_LOCKS): Define macro to -1.
67650         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67651         SA_NODEFER, SA_RESETHAND.
67652         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67653         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67654         F_DUPFD_CLOEXEC.
67656 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67658         * elf/Makefile (pldd-modules): Define unconditionally.
67660 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67662         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67666         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67667         Return ENOENT when name is empty.
67668         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67672         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67674         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67676 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67678         Fix mlock in all cases except non-readable pages.
67679         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67680         instead of VM_PROT_ALL as parameter to __vm_wire function.
67682         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67683         (__mkdir): When path is `/', just fail with EEXIST.
67684         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67686 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67688         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67689         <sys/uio.h> (for writev).
67690         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67691         and <sys/param.h> (for MIN).
67693 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67695         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67696         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67697         if interrupted.
67699 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67701         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67702         Depend on against $(link-rpcuserlibs).
67704 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67706         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67707         (__libc_stack_end): Do not use attribute_relro.
67708         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67709         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67710         to libthread-provided value.
67711         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67712         attribute_relro.
67714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67716         [BZ #3748]
67717         * bits/libc-lock.h (__libc_once_get): New macro.
67718         * sysdeps/mach/bits/libc-lock.h: Likewise.
67719         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67720         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67721         instead of using implementation details.
67723         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67724         * libio/freopen.c: Likewise.
67725         * libio/freopen64.c: Likewise.
67726         * misc/syslog.c: Likewise.
67727         * nscd/connections.c: Likewise.
67728         * nscd/netgroupcache.c: Likewise.
67729         * sysdeps/posix/getcwd.c: Likewise.
67731 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67733         * math/w_ilogbf.c: Add #include <limits.h>.
67735 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67737         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67738         path instead of returning without unlocking.
67740         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67741         immediate-write ioctls.
67742         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67744 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67746         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67747         __builtin_frame_address instead of making assumptions about the
67748         location of the return address relative to DATA.  Force early load of
67749         the return address.
67750         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67751         __builtin_frame_address.
67753         dup3 for GNU Hurd.
67754         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67755         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67756         implement dup3 and do some further code clean-ups.
67757         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67758         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67762         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67764         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67765         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67766         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67767         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67768         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67769         d->port.lock.
67771         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67772         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67773         when handler == SIG_ERR, not when handler != SIG_ERR.
67775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67777         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67778         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67779         definitions.
67781         accept4 for GNU Hurd.
67782         * include/sys/socket.h (__libc_accept4): New prototype.
67783         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67784         to implement __libc_accept4.
67785         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67786         __libc_accept4.
67787         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67789         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67790         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67791         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67792         signal-defines.sym.
67794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67796         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67798 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67800         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67801         assertion on O_CLOEXEC flag.
67802         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67803         * hurd/intern-fd.c: Likewise.
67804         * hurd/port2fd.c: Likewise.
67806 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67808         [BZ #3906]
67809         * bits/in.h (IPV6_PKTINFO): Define new macro.
67810         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67812 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67814         [BZ #13954]
67815         [BZ #13955]
67816         [BZ #13956]
67817         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67818         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67819         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67820         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67821         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67822         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67823         * math/libm-test.inc (logb_test) : Additional logb tests.
67825 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67826             Andreas Jaeger  <aj@suse.de>
67828         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67829         * configure: Regenerated.
67830         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67831         * config.make.in (link-obsolete-rpc): New substituted variable.
67832         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67833         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67834         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67835         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67836         so that libc.a contains the symbols.
67837         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67838         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67839         * sunrpc/auth_none.c: Likewise.
67840         * sunrpc/auth_unix.c: Likewise.
67841         * sunrpc/authdes_prot.c: Likewise.
67842         * sunrpc/authuxprot.c: Likewise.
67843         * sunrpc/clnt_gen.c: Likewise.
67844         * sunrpc/clnt_perr.c: Likewise.
67845         * sunrpc/clnt_raw.c: Likewise.
67846         * sunrpc/clnt_simp.c: Likewise.
67847         * sunrpc/clnt_tcp.c: Likewise.
67848         * sunrpc/clnt_udp.c: Likewise.
67849         * sunrpc/clnt_unix.c: Likewise.
67850         * sunrpc/des_crypt.c: Likewise.
67851         * sunrpc/des_soft.c: Likewise.
67852         * sunrpc/get_myaddr.c: Likewise.
67853         * sunrpc/key_call.c: Likewise.
67854         * sunrpc/key_prot.c: Likewise.
67855         * sunrpc/netname.c: Likewise.
67856         * sunrpc/pm_getmaps.c: Likewise.
67857         * sunrpc/pm_getport.c: Likewise.
67858         * sunrpc/pmap_clnt.c: Likewise.
67859         * sunrpc/pmap_prot.c: Likewise.
67860         * sunrpc/pmap_prot2.c: Likewise.
67861         * sunrpc/pmap_rmt.c: Likewise.
67862         * sunrpc/publickey.c: Likewise.
67863         * sunrpc/rpc_cmsg.c: Likewise.
67864         * sunrpc/rpc_common.c: Likewise.
67865         * sunrpc/rpc_dtable.c: Likewise.
67866         * sunrpc/rpc_prot.c: Likewise.
67867         * sunrpc/rpc_thread.c: Likewise.
67868         * sunrpc/rtime.c: Likewise.
67869         * sunrpc/svc.c: Likewise.
67870         * sunrpc/svc_auth.c: Likewise.
67871         * sunrpc/svc_raw.c: Likewise.
67872         * sunrpc/svc_run.c: Likewise.
67873         * sunrpc/svc_tcp.c: Likewise.
67874         * sunrpc/svc_udp.c: Likewise.
67875         * sunrpc/svc_unix.c: Likewise.
67876         * sunrpc/svcauth_des.c: Likewise.
67877         * sunrpc/xcrypt.c: Likewise.
67878         * sunrpc/xdr.c: Likewise.
67879         * sunrpc/xdr_array.c: Likewise.
67880         * sunrpc/xdr_float.c: Likewise.
67881         * sunrpc/xdr_intXX_t.c: Likewise.
67882         * sunrpc/xdr_mem.c: Likewise.
67883         * sunrpc/xdr_rec.c: Likewise.
67884         * sunrpc/xdr_ref.c: Likewise.
67885         * sunrpc/xdr_sizeof.c: Likewise.
67886         * sunrpc/xdr_stdio.c: Likewise.
67888 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67890         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67891         change.  Update copyright years.
67893 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67895         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67897 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67898             Joseph Myers  <joseph@codesourcery.com>
67899             Paul Pluzhnikov  <ppluzhnikov@google.com>
67901         [BZ #14012]
67902         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67903         requiring rpcgen.
67904         [cross-compiling] (extra-libs): Likewise.
67905         [cross-compiling] (extra-libs-others): Likewise.
67906         [cross-compiling] (librpcsvc-routines): Likewise.
67907         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67908         [cross-compiling] (omit-deps): Likewise.
67909         (sunrpc-CPPFLAGS): New variable.
67910         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67911         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67912         (cross-rpcgen-objs): New variable.
67913         (extra-objs): Append $(cross-rpcgen-objs).
67914         ($(cross-rpcgen-objs)): New rule.
67915         ($(objpfx)cross-rpcgen): Likewise.
67916         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67917         comment.
67918         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67919         ($(objpfx)x%.stmp): Likewise.
67920         * sunrpc/proto.h [IS_IN_build] (_): Define.
67921         [IS_IN_build] (_libc_intl_domainname): Likewise.
67923 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67925         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67926         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67927         and R_X86_64_TPOFF64.
67929 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67931         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67932         sysdeps/unix/sysv/syscalls.list.
67933         (stime): Likewise.
67934         (utime): Likewise.
67935         * sysdeps/unix/sysv/syscalls.list: Remove file.
67937 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67939         [BZ #3440]
67940         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67941         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67942         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67943         (__LC_IDENTIFICATION): Make these macros useful in #if
67944         expressions, as required by C99.
67946 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67948         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67949         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67950         after this.
67952 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67954         * stdlib/longlong.h: Updated from GCC.
67956 2012-05-09  Andreas Jaeger  <aj@suse.de>
67958         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67959         default is first entry.
67960         (run_mode): Set type.
67961         (main): Remove informal message about syslog.
67962         (options): Fix typo.
67964         [BZ #14053]
67965         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67966         to asm.
67967         (lrint): Likewise.
67968         (llrintf): Likewise.
67969         (llrint): Likewise.
67970         (rint): Likewise.
67971         (rintf): Likewise.
67972         (nearbyint): Likewise.
67973         (nearbyintf): Likewise.
67975 2012-05-09  Andreas Jaeger  <aj@suse.de>
67976             Pedro Alves  <palves@redhat.com>
67978         * nscd/nscd.c (run_mode): Use enum.
67979         (main): Cleanup coding style issue.
67981 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67982             Andreas Jaeger  <aj@suse.de>
67984         * nscd/nscd.c (go_background): Replaced with...
67985         (run_mode): ... this.
67986         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67987         (options): Add -F --foreground.
67988         (main): Implement it.
67989         (parse_opt): Parse it.
67991 2012-05-09  Andreas Jaeger  <aj@suse.de>
67993         [BZ #14083]
67994         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67995         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67996         -Wconversion warning.
67997         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67998         Likewise.
68000 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
68002         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
68003         == 0.
68004         (LC_ALL): Use macro-int-constant.
68005         (LC_COLLATE): Likewise.
68006         (LC_CTYPE): Likewise.
68007         (LC_MESSAGES): Likewise.
68008         (LC_MONETARY): Likewise.
68009         (LC_NUMERIC): Likewise.
68010         (LC_TIME): Likewise.
68011         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
68012         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68013         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68014         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
68015         Specify type.
68016         [C99-based standards] (float_t): Expect type.
68017         [C99-based standards] (double_t): Expect type.
68018         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
68019         type.
68020         [C99-based standards] (HUGE_VALL): Likewise.
68021         [C99-based standards] (INFINITY): Likewise.
68022         [C99-based standards] (NAN): Likewise.
68023         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
68024         [C99-based standards] (FP_NAN): Likewise.
68025         [C99-based standards] (FP_NORMAL): Likewise.
68026         [C99-based standards] (FP_SUBNORMAL): Likewise.
68027         [C99-based standards] (FP_ZERO): Likewise.
68028         [C99-based standards] (FP_FAST_FMA): Use
68029         optional-macro-int-constant.  Specify type.  Require == 1.
68030         [C99-based standards] (FP_FAST_FMAF): Likewise.
68031         [C99-based standards] (FP_FAST_FMAL): Likewise.
68032         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
68033         [C99-based standards] (FP_ILOGBNAN): Likewise.
68034         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
68035         Specify type.
68036         [C99-based standards] (MATH_ERREXCEPT): Likewise.
68037         [C99-based standards] (math_errhandling): Specify type.
68038         [ISO99 || ISO11] (signgam): Do not allow.
68039         [non-C99-based standards] (copysignf): Do not allow.
68040         [non-C99-based standards] (exp2f): Likewise.
68041         [non-C99-based standards] (log2f): Likewise.
68042         [non-C99-based standards] (modff): Allow.
68043         [non-C99-based standards] (erff): Do not allow.
68044         [non-C99-based standards] (erfcf): Likewise.
68045         [non-C99-based standards] (gammaf): Likewise.
68046         [non-C99-based standards] (hypotf): Likewise.
68047         [non-C99-based standards] (j0f): Likewise.
68048         [non-C99-based standards] (j1f): Likewise.
68049         [non-C99-based standards] (jnf): Likewise.
68050         [non-C99-based standards] (lgammaf): Likewise.
68051         [non-C99-based standards] (tgammaf): Likewise.
68052         [non-C99-based standards] (y0f): Likewise.
68053         [non-C99-based standards] (y1f): Likewise.
68054         [non-C99-based standards] (ynf): Likewise.
68055         [non-C99-based standards] (isnanf): Likewise.
68056         [non-C99-based standards] (acoshf): Likewise.
68057         [non-C99-based standards] (asinhf): Likewise.
68058         [non-C99-based standards] (atanhf): Likewise.
68059         [non-C99-based standards] (cbrtf): Likewise.
68060         [non-C99-based standards] (expm1f): Likewise.
68061         [non-C99-based standards] (ilogbf): Likewise.
68062         [non-C99-based standards] (log1pf): Likewise.
68063         [non-C99-based standards] (logbf): Likewise.
68064         [non-C99-based standards] (nextafterf): Likewise.
68065         [non-C99-based standards] (remainderf): Likewise.
68066         [non-C99-based standards] (rintf): Likewise.
68067         [non-C99-based standards] (scalbf): Likewise.
68068         [non-C99-based standards] (copysignl): Likewise.
68069         [non-C99-based standards] (exp2l): Likewise.
68070         [non-C99-based standards] (log2l): Likewise.
68071         [non-C99-based standards] (modfl): Allow.
68072         [non-C99-based standards] (erfl): Do not allow.
68073         [non-C99-based standards] (erfcl): Likewise.
68074         [non-C99-based standards] (gammal): Likewise.
68075         [non-C99-based standards] (hypotl): Likewise.
68076         [non-C99-based standards] (j0l): Likewise.
68077         [non-C99-based standards] (j1l): Likewise.
68078         [non-C99-based standards] (jnl): Likewise.
68079         [non-C99-based standards] (lgammal): Likewise.
68080         [non-C99-based standards] (tgammal): Likewise.
68081         [non-C99-based standards] (y0l): Likewise.
68082         [non-C99-based standards] (y1l): Likewise.
68083         [non-C99-based standards] (ynl): Likewise.
68084         [non-C99-based standards] (isnanl): Likewise.
68085         [non-C99-based standards] (acoshl): Likewise.
68086         [non-C99-based standards] (asinhl): Likewise.
68087         [non-C99-based standards] (atanhl): Likewise.
68088         [non-C99-based standards] (cbrtl): Likewise.
68089         [non-C99-based standards] (expm1l): Likewise.
68090         [non-C99-based standards] (ilogbl): Likewise.
68091         [non-C99-based standards] (log1pl): Likewise.
68092         [non-C99-based standards] (logbl): Likewise.
68093         [non-C99-based standards] (nextafterl): Likewise.
68094         [non-C99-based standards] (remainderl): Likewise.
68095         [non-C99-based standards] (rintl): Likewise.
68096         [non-C99-based standards] (scalbl): Likewise.
68097         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68098         [non-C99-based standards] (FP_*): Do not allow.
68099         [C99-based standards] (FP_*): Change to
68100         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68101         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68102         allow.
68103         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
68104         (SIG_ERR): Likewise.
68105         [X/Open-based standards] (SIG_HOLD): Likewise.
68106         (SIG_IGN): Likewise.
68107         (SIGABRT): Use macro-int-constant.  Specify type.  Require
68108         positive value.
68109         (SIGFPE): Likewise.
68110         (SIGILL): Likewise.
68111         (SIGINT): Likewise.
68112         (SIGSEGV): Likewise.
68113         (SIGTER): Likewise.
68114         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
68115         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
68116         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
68117         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
68118         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
68119         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
68120         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
68121         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
68122         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
68123         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
68124         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
68125         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
68126         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
68127         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
68128         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
68129         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
68130         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
68131         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
68132         [X/Open-based standards] (SIGTRAP): Likewise.
68133         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
68134         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
68135         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
68136         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
68137         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68138         allow.
68140 2012-05-08  Ian Wienand  <ianw@vmware.com>
68142         [BZ #14080]
68143         * time/tzset.c (__tzset_parse_tz): Update default rules for
68144         daylight time changes in the Energy Policy Act of 2005.
68146 2012-05-09  Andreas Jaeger  <aj@suse.de>
68148         [BZ #13983]
68149         * elf/ldconfig.c (parse_conf): Change string to make clear that
68150         ldconfig only issued a warning if ld.so.conf does not exist.
68152 2012-05-08  David S. Miller  <davem@davemloft.net>
68154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68155         movxtod instead of popping the value on the stack.
68157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68159 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
68161         * config.h.in: Add HAVE_ARM_PCS_VFP.
68163 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
68165         [BZ #13979]
68166         * include/features.h: Warn if user requests __FORTIFY_SOURCE
68167         checking but the checks are disabled for any reason.
68169 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
68171         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68172         and ELF64_R_TYPE with ELFW(R_TYPE).
68174 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
68176         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68177         (ulimit): Likewise.
68179         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68180         (settimeofday): Likewise.
68182 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68184         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68185         a struct th_u2 inside the union, and move tu_block/tu_code into
68186         a new th_u3 union of tu_block/tu_code inside of that.  Move
68187         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68188         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68189         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68190         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68191         (th_stuff): Change to th_u1.tu_stuff.
68192         (th_data): Define.
68193         (th_msg): Change to th_u1.th_u2.tu_data.
68195 2012-05-07  David S. Miller  <davem@davemloft.net>
68197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68199         [BZ #14074]
68200         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68201         (SETUP_PIC_REG): Use it.
68202         (SETUP_PIC_REG_LEAF): Use it.
68204 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68206         [BZ #13885]
68207         [BZ #13923]
68208         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68209         USE_AS_EXPM1L.
68210         (EXPL_FINITE): Likewise.
68211         (FLDLOG): Likewise.
68212         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68213         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68214         e_expl.S.
68215         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68216         USE_AS_EXPM1L.
68217         (EXPL_FINITE): Likewise.
68218         (FLDLOG): Likewise.
68219         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68220         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68221         e_expl.S.
68222         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68223         test of -max_value argument for long double.
68224         * sysdeps/i386/fpu/libm-test-ulps: Update.
68225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68227 2012-05-06  David S. Miller  <davem@davemloft.net>
68229         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68230         quad soft-float symbols whose references which are compiler
68231         generated.
68232         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68234 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68236         [BZ #13884]
68237         [BZ #13914]
68238         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68239         USE_AS_EXP10L.
68240         (EXPL_FINITE): Likewise.
68241         (FLDLOG): Likewise.
68242         (c0): Likewise.
68243         (c1): Likewise.
68244         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68245         Adjust comments for base varying.
68246         (__expl_finite): Change alias to EXPL_FINITE.
68247         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68248         e_expl.S.
68249         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68250         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68251         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68252         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68253         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68254         USE_AS_EXP10L.
68255         (EXPL_FINITE): Likewise.
68256         (FLDLOG): Likewise.
68257         (c0): Likewise.
68258         (c1): Likewise.
68259         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68260         Adjust comments for base varying.
68261         (__expl_finite): Change alias to EXPL_FINITE.
68262         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68263         tests for bugs.
68264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68266         [BZ #14064]
68267         * math/libm-test.inc (check_float_internal): Correct ulp
68268         calculation for subnormal expected results.
68270 2012-05-06  Andreas Jaeger  <aj@suse.de>
68272         * Makeconfig (+math-flags): New, set to -frounding-math.
68273         (+cflags): Add +math-flags so that all of glibc gets compiled with
68274         it.
68276         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68278 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68280         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68281         Disable one test.
68283         [BZ #13787]
68284         [BZ #13922]
68285         [BZ #14036]
68286         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68287         (__ieee754_expl): Allow for and saturate large arguments.
68288         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68289         (u_threshold): Likewise.
68290         (__exp): Call __ieee754_exp before checking for overflow and
68291         underflow.
68292         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68293         (u_threshold): Likewise.
68294         (__expf): Call __ieee754_expf before checking for overflow and
68295         underflow.
68296         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68297         (u_threshold): Likewise.
68298         (__expl): Call __ieee754_expl before checking for overflow and
68299         underflow.
68300         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68301         (__ieee754_expl): Allow for and saturate large arguments.
68302         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68303         missing overflow exception on overflow.
68304         (expm1_test): Do not allow missing overflow exception on overflow.
68306         * sysdeps/i386/fpu/e_expl.c: Move to ...
68307         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68308         rather than using inline asm.
68309         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68310         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68311         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68313         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68314         (nice): Likewise.
68315         (poll): Likewise.
68316         (signal): Likewise.
68317         (time): Likewise.
68318         (times): Likewise.
68320 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68322         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68323         sysdeps/unix/common/syscalls.list.
68324         (fchmod): Likewise.
68325         (fchown): Likewise.
68326         (ftruncate): Likewise.
68327         (getrusage): Likewise.
68328         (gettimeofday): Likewise.
68329         (setpgid): Likewise.
68330         (setregid): Likewise.
68331         (setreuid): Likewise.
68332         (sigaction): Likewise.
68333         (truncate): Likewise.
68334         (vhangup): Likewise.
68335         * sysdeps/unix/common/syscalls.list: Remove file.
68336         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68337         * sysdeps/unix/sysv/linux/Implies: Likewise.
68339 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68341         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68343         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68344         Moved to ...
68345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68346         Here.
68347         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68348         to ...
68349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68350         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68351         to ...
68352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68353         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68354         to ...
68355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68356         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68357         to ...
68358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68359         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68360         to ...
68361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68362         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68363         to ...
68364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68365         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68366         to ...
68367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68368         Here.
68369         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68370         to ...
68371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68372         Here.
68373         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68374         to ...
68375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68376         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68377         Moved to ...
68378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68379         Here.
68380         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68381         to ...
68382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68384 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68386         * sysdeps/unix/common/bits/dirent.h: Remove file.
68387         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68389         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68390         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68391         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68392         * sysdeps/unix/bsd/isatty.c: Likewise.
68393         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68394         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68395         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68397 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68399         [BZ #13563]
68400         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68401         long double comparison inaccuracies.
68402         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68405 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68407         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68408         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68410 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68412         [BZ #14049]
68413         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68414         nonzero digits before rounding a hex value.
68415         * stdlib/tst-strtod.c (tests): Add another test.
68417 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68419         * sysdeps/s390/fpu/libm-test-ulps: Update.
68421 2012-05-03  Andreas Jaeger  <aj@suse.de>
68423         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68424         does not get optimized out.
68425         (malloc_opt_barrier): New.
68427 2012-05-03  Andreas Jaeger  <aj@suse.de>
68428             Roland McGrath  <roland@hack.frob.com>
68430         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68431         intermediate file deletion.
68432         (generated): Add .symlist files.
68434 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68436         [BZ #13775]
68437         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68438         Redirect under this condition.
68439         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68440         [__USE_GNU] (__dprintf_chk): Not under this condition.
68441         [__USE_GNU] (__vdprintf_chk): Likewise.
68442         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68443         under this condition.
68444         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68445         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68446         [__USE_XOPEN2K8] (vdprintf): Likewise.
68447         [__USE_GNU] (__dprintf_chk): Not under this condition.
68448         [__USE_GNU] (__vdprintf_chk): Likewise.
68449         [__USE_GNU] (dprintf): Likewise.
68450         [__USE_GNU] (vdprintf): Likewise.
68452 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68454         * elf/Makefile (common-generated): Set this instead of generated for
68455         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68456         $(all-built-dso)-derived lists.
68458 2012-05-03  Andreas Jaeger  <aj@suse.de>
68460         * sysdeps/i386/fpu/libm-test-ulps: Update.
68462         * FAQ: Removed.
68463         * FAQ.in: Likewise.
68464         * scripts/gen-FAQ.pl: Likewise.
68465         * manual/install.texi (Installation): Point to online location of
68466         FAQ.
68467         * Makefile (files-for-dist): Remove FAQ.
68468         (FAQ): Remove.
68470 2012-05-02  Allan McRae  <allan@archlinux.org>
68472         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68473         (LDFLAGS-reldepmod5.so): Likewise.
68474         (LDFLAGS-reldep6mod1.so): Likewise.
68475         (LDFLAGS-reldep6mod4.so): Likewise.
68476         (LDFLAGS-reldep8mod3.so): Likewise.
68477         (LDFLAGS-unload4mod1.so): Likewise.
68478         (LDFLAGS-unload4mod2.so): Likewise.
68479         (LDFLAGS-tst-initorder): Likewise.
68480         (LDFLAGS-tst-initordera2.so): Likewise.
68481         (LDFLAGS-tst-initordera3.so): Likewise.
68482         (LDFLAGS-tst-initordera4.so): Likewise.
68483         (LDFLAGS-tst-initorderb2.so): Likewise.
68484         (LDFLAGS-noload): Likewise.
68485         (LDFLAGS-next): Likewise.
68486         (LDFLAGS-order2mod1.so): Likewise.
68487         (LDFLAGS-order2mod2.so): Likewise.
68488         (LDFLAGS-tst-initorder2): Likewise.
68489         (LDFLAGS-tst-initorder2a.so): Likewise.
68490         (LDFLAGS-tst-initorder2b.so): Likewise.
68491         (LDFLAGS-tst-initorder2c.so): Likewise.
68492         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68494 2012-05-02  David S. Miller  <davem@davemloft.net>
68496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68498 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68500         [BZ #14055]
68501         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68503 2012-05-02  Andreas Jaeger  <aj@suse.de>
68505         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68506         since we manipulate rounding mode.
68507         (CPPFLAGS-test-idouble.c): Likewise.
68508         (CPPFLAGS-test-ifloat.c): Likewise.
68509         (CFLAGS-test-ldouble.c): Likewise.
68510         (CFLAGS-test-double.c): Likewise.
68511         (CFLAGS-test-float.c): Likewise.
68512         (CFLAGS-test-misc.c): Likewise.
68513         (CFLAGS-test-test-fenv.c): Likewise.
68515 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68517         [BZ #2550]
68518         [BZ #2570]
68519         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68520         comparisons to determine direction to adjust input.
68522 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68524         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68525         output to the target.
68527         * scripts/localplt.awk: New file.
68528         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68529         (check-localplt-CFLAGS): Variable removed.
68530         ($(all-built-dso:=.jmprel)): New static pattern rule.
68531         (generated): Add those targets.
68532         (localplt-built-dso): New variable.
68533         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68535         * elf/check-localplt.c: File removed.
68537         * scripts/check-execstack.awk: New file.
68538         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68539         (check-execstack-CFLAGS): Variable removed.
68540         ($(objpfx)check-execstack.h): Target removed.
68541         ($(objpfx)execstack-default): New target.
68542         (generated): Add that instead of check-execstack.h.
68543         ($(all-built-dso:=.phdr)): New static pattern rule.
68544         (generated): Add those targets.
68545         * elf/check-execstack.c: File removed.
68547         * scripts/check-textrel.awk: New file.
68548         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68549         (check-textrel-CFLAGS): Variable removed.
68550         (all-built-dso): Use := to define.o
68551         ($(all-built-dso:=.dyn)): New static pattern rule.
68552         (generated): Add those targets.
68553         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68554         * config.make.in (READELF): New substituted variable.
68555         * elf/check-textrel.c: File removed.
68557 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68559         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68560         allow.
68561         * conform/data/ctype.h-data [C99-based standards] (isblank):
68562         Expect function.
68563         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68564         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68565         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68566         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68567         Specify type.  Require positive value.
68568         (EILSEQ): Likewise.
68569         (ERANGE): Likewise.
68570         [ISO || POSIX] (EILSEQ): Do not expect.
68571         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68572         Specify type.  Require positive value.
68573         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68574         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68575         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68576         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68577         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68578         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68579         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68580         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68581         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68582         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68583         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68584         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68585         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68586         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68587         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68588         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68589         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68590         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68591         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68592         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68593         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68594         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68595         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68596         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68597         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68598         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68599         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68600         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68601         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68602         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68603         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68604         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68605         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68606         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68607         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68608         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68609         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68610         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68611         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68612         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68613         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68614         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68615         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68616         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68617         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68618         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68619         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68620         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68621         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68622         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68623         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68624         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68625         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68626         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68627         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68628         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68629         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68630         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68631         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68632         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68633         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68634         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68635         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68636         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68637         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68638         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68639         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68640         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68641         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68642         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68643         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68644         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68645         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68646         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68647         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68648         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68649         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68650         Require >= 2.
68651         (FLT_ROUNDS): Expect as macro, not constant.
68652         (FLT_MANT_DIG): Use macro-int-constant.
68653         (DBL_MANT_DIG): Likewise.
68654         (LDBL_MANT_DIG): Likewise.
68655         (FLT_DIG): Likewise.
68656         (DBL_DIG): Likewise.
68657         (LDBL_DIG): Likewise.
68658         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68659         (DBL_MIN_EXP): Likewise.
68660         (LDBL_MIN_EXP): Likewise.
68661         (FLT_MAX_EXP): Use macro-int-constant.
68662         (DBL_MAX_EXP): Likewise.
68663         (LDBL_MAX_EXP): Likewise.
68664         (FLT_MAX_10_EXP): Likewise.
68665         (DBL_MAX_10_EXP): Likewise.
68666         (LDBL_MAX_10_EXP): Likewise.
68667         (FLT_MAX): Use macro-constant.
68668         (DBL_MAX): Likewise.
68669         (LDBL_MAX): Likewise.
68670         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68671         (DBL_EPSILON): Likewise.
68672         (LDBL_EPSILON): Likewise.
68673         (FLT_MIN): Likewise.
68674         (DBL_MIN): Likewise.
68675         (LDBL_MIN): Likewise.
68676         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68677         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68678         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68679         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68680         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68681         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68682         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68683         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68684         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68685         [ISO11] (FLT_TRUE_MIN): Likewise.
68686         [ISO11] (LDBL_TRUE_MIN): Likewise.
68687         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68688         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68689         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68690         (SCHAR_MAX): Likewise.
68691         (UCHAR_MAX): Likewise.
68692         (CHAR_MIN): Likewise.
68693         (CHAR_MAX): Likewise.
68694         (MB_LEN_MAX): Use macro-int-constant.
68695         (SHRT_MIN): Use macro-int-constant.  Specify type.
68696         (SHRT_MAX): Likewise.
68697         (USHRT_MAX): Likewise.
68698         (INT_MAX): Likewise.
68699         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68700         bound negative.
68701         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68702         bound with "U".
68703         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68704         bound with "L".
68705         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68706         bound negative.  Suffix upper bound with "L".
68707         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68708         bound with "UL".
68709         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68710         Specify type.
68711         [C99-based standards] (LLONG_MAX): Likewise.
68712         [C99-based standards] (ULLONG_MAX): Likewise.
68713         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68714         == 0.
68715         [ISO11] (max_align_t): Require type.
68716         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68718         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68719         from $CFLAGS, without defining away __attribute__ calls.
68720         (checknamespace): Use $CFLAGS_namespace.
68722         * conform/conformtest.pl (@keywords): Only include C99 keywords
68723         for standards based on C99 or C11.
68725         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68726         Disable tests.
68727         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68728         UNIX98]: Likewise.
68730         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68731         usability of symbols in #if.
68733         * conform/conformtest.pl: If macro or constant types start
68734         "promoted:", expect the symbol to be of the following type
68735         promoted by the integer promotions.
68737         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68738         in one place.  Also handle "macro-constant".
68740         * conform/conformtest.pl: Only accept expected macro values with
68741         "==".  Parse all "macro" lines in one place.
68742         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68744         * conform/conformtest.pl: Handle braced types on "constant" lines
68745         instead of handling "typed-constant".
68746         * conform/data/signal.h-data: Use "constant" instead of
68747         "typed-constant".
68749         * conform/conformtest.pl: Handle "optional-" at start of lines in
68750         one place rather than duplicating several cases.  Handle each
68751         format of "macro" line with initial "optional-".
68753         * conform/conformtest.pl: Only accept expected constant or
68754         optional-constant values with "==".  Parse all "constant" lines in
68755         one place.  Parse all "optional-constant" lines in one place.
68756         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68757         * conform/data/fmtmsg.h-data: Likewise.
68758         * conform/data/netinet/in.h-data: Likewise.
68759         * conform/data/tar.h-data: Likewise.
68760         * conform/data/limits.h-data: Use "==" form on "constant" and
68761         "optional-constant" lines.
68763         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68764         Use -std=c99 for XOPEN2K.
68765         (@knownproblems): Remove.
68766         (newtoken): Don't check %isknown.
68768         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68769         Do not expect macro.
68770         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68771         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68772         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68773         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68774         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68775         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68776         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68777         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68778         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68779         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68780         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68781         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68782         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68783         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68784         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68785         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68786         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68787         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68788         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68789         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68790         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68791         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68792         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68793         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68794         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68795         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68796         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68797         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68798         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68799         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68800         [XPG3] (acosh): Likewise.
68801         [XPG3] (asinh): Likewise.
68802         [XPG3] (atanh): Likewise.
68803         [XPG3] (cbrt): Likewise.
68804         [XPG3] (expm1): Likewise.
68805         [XPG3] (ilogb): Likewise.
68806         [XPG3] (log1p): Likewise.
68807         [XPG3] (logb): Likewise.
68808         [XPG3] (nextafter): Likewise.
68809         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68810         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68811         [XPG3] (remainder): Likewise.
68812         [XPG3] (rint): Likewise.
68813         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68814         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68815         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68816         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68817         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68818         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68819         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68820         [UNIX98 || XOPEN2K] (scalb): Expect.
68821         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68822         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68823         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68824         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68825         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68826         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68827         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68828         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68829         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68830         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68831         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68832         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68833         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68834         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68835         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68836         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68837         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68838         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68839         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68840         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68841         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68842         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68843         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68844         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68845         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68846         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68847         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68848         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68849         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68850         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68851         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68852         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68853         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68854         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68855         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68856         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68857         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68858         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68859         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68860         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68861         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68862         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68863         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68864         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68865         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68866         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68867         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68868         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68869         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68870         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68871         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68872         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68873         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68874         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68875         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68876         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68877         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68878         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68879         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68880         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68881         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68882         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68883         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68884         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68885         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68886         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68887         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68888         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68889         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68890         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68891         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68892         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68893         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68894         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68895         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68896         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68897         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68898         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68899         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68900         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68901         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68902         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68903         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68904         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68905         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68906         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68907         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68908         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68909         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68910         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68911         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68912         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68913         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68914         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68915         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68916         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68917         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68918         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68919         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68920         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68921         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68922         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68923         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68924         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68925         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68926         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68927         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68928         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68929         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68930         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68931         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68932         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68933         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68934         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68935         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68936         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68937         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68938         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68939         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68940         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68941         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68942         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68943         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68944         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68945         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68946         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68947         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68948         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68949         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68950         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68951         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68952         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68953         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68954         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68955         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68956         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68957         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68959         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68960         _XOPEN_SOURCE_EXTENDED for XPG4.
68962         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68964         * Makeconfig (localtime): Remove variable.
68965         (inst_localtime-file): Likewise.
68967 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68970         Update.
68971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68972         Update.
68973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68974         Update.
68975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68976         Update.
68977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68978         Update.
68979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68980         Update.
68981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68982         Update.
68983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68984         Update.
68985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68986         Update.
68988 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68990         [BZ #2550]
68991         [BZ #2570]
68992         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68993         comparisons to determine direction to adjust input.
68994         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68995         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68996         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68997         Likewise.
68998         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68999         Likewise.
69000         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
69001         Likewise.
69002         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
69003         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
69004         Likewise.
69005         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
69006         Likewise.
69007         * math/libm-test.inc (nexttoward_test): Add more tests.
69009 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69011         [BZ #14040]
69012         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
69013         in version GLIBC_2.1, not GLIBC_2.0.
69014         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
69015         Likewise.
69017 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
69019         [BZ #13942]
69020         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
69021         (1 - x) * (1 + x).
69022         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69023         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
69024         * math/libm-test.inc (acos_test): Add more tests.
69025         (asin_test): Likewise.
69026         * sysdeps/i386/fpu/libm-test-ulps: Update.
69027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69029         [BZ #14034]
69030         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
69031         of square root.
69032         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
69033         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69034         * math/libm-test.inc (acos_test_tonearest): New function.
69035         (acos_test_towardzero): Likewise.
69036         (acos_test_downward): Likewise.
69037         (acos_test_upward): Likewise.
69038         (asin_test_tonearest): Likewise.
69039         (asin_test_towardzero): Likewise.
69040         (asin_test_downward): Likewise.
69041         (asin_test_upward): Likewise.
69042         (main): Call the new functions.
69043         * sysdeps/i386/fpu/libm-test-ulps: Update.
69044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69046         [BZ #13884]
69047         [BZ #13924]
69048         * math/e_exp10.c: Include <float.h>.
69049         (__ieee754_exp10): Handle underflow here rather than multiplying
69050         large negative argument by M_LN10.
69051         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
69052         of __ieee754_expf.
69053         * math/e_exp10l.c: Include <float.h>.
69054         (__ieee754_exp10l): Handle underflow here rather than multiplying
69055         large negative argument by M_LN10l.
69056         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
69057         spurious overflow exception on underflow.
69059 2012-04-29  Marek Polacek  <polacek@redhat.com>
69061         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
69062         (__fortify_function): New macro.
69063         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
69064         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
69065         __extern_always_inline.
69066         * libio/bits/stdio2.h: Likewise.
69067         * libio/bits/stdio.h: Likewise.
69068         * string/string.h: Likewise.
69069         * string/bits/string3.h: Likewise.
69070         * include/stdio.h: Likewise.
69071         * stdlib/bits/stdlib.h: Likewise.
69072         * stdlib/stdlib.h: Likewise.
69073         * rt/bits/mqueue2.h: Likewise.
69074         * rt/mqueue.h: Likewise.
69075         * posix/bits/unistd.h: Likewise.
69076         * posix/unistd.h: Likewise.
69077         * io/bits/poll2.h: Likewise.
69078         * io/bits/fcntl2.h: Likewise.
69079         * io/fcntl.h: Likewise.
69080         * io/sys/poll.h: Likewise.
69081         * misc/bits/syslog.h: Likewise.
69082         * misc/bits/syslog-ldbl.h: Likewise.
69083         * misc/sys/syslog.h: Likewise.
69084         * socket/bits/socket2.h: Likewise.
69085         * socket/sys/socket.h: Likewise.
69086         * debug/tst-chk1.c: Likewise.
69087         * wcsmbs/bits/wchar2.h: Likewise.
69088         * wcsmbs/bits/wchar-ldbl.h: Likewise.
69089         * wcsmbs/wchar.h: Likewise.
69091 2012-04-29  Andreas Jaeger  <aj@suse.de>
69093         * Makerules (tests): Remove enable-check-abi protection.
69094         (check-abi-warn): Remove.
69095         (check-abi-%): Remove check-abi-warn usage.
69097         * configure.in: Remove check-abi configure option.
69098         * configure: Regenerated.
69099         * config.make.in (enable-check-abi): Remove.
69101 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
69103         [BZ #14033]
69104         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
69105         double functions to double *_finite functions.
69107         [BZ #13941]
69108         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
69109         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
69110         LDBL_MIN_EXP.
69111         * stdio-common/Makefile (tests): Add tst-sprintf3.
69112         * stdio-common/tst-sprintf3.c: New file.
69114         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
69115         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
69117 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69119         * conform/conformtest.pl: Remove duplicate typed-constant
69120         handling.
69122 2012-04-28  David S. Miller  <davem@davemloft.net>
69124         * Makerules (%.abilist): Add vpath on sysdep_dirs.
69125         (check-abi-%): Remove AWK script prerequisite and explicit
69126         abilist directory.
69127         (check-abi): Rewrite to just diff the symlist with the abilist.
69128         (config-tls, config-abi-config): Delete, no longer used.
69129         (update-abi-%): Remove AWK script and explicit abilist directory.
69130         (update-abi): Rewrite to simply compare and conditionally copy the
69131         symlist and the sysdep abilist file.  Remove update-abi-config
69132         checks.
69133         * abilist/ld.abilist: Remove.
69134         * abilist/libBrokenLocale.abilist: Remove.
69135         * abilist/libanl.abilist: Remove.
69136         * abilist/libcrypt.abilist: Remove.
69137         * abilist/libdl.abilist: Remove.
69138         * abilist/librt.abilist: Remove.
69139         * abilist/libthread_db.abilist: Remove.
69140         * abilist/libutil.abilist: Remove.
69141         * scripts/extract-abilist.awk: Remove.
69142         * scripts/merge-abilist.awk: Remove.
69143         * sysdeps/generic/libcidn.abilist: New file.
69144         * sysdeps/generic/libnss_compat.abilist: New file.
69145         * sysdeps/generic/libnss_db.abilist: New file.
69146         * sysdeps/generic/libnss_dns.abilist: New file.
69147         * sysdeps/generic/libnss_files.abilist: New file.
69148         * sysdeps/generic/libnss_hesiod.abilist: New file.
69149         * sysdeps/generic/libnss_nis.abilist: New file.
69150         * sysdeps/generic/libnss_nisplus.abilist: New file.
69151         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69152         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69153         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69154         file.
69155         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69156         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
69157         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
69158         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
69159         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69160         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
69161         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69162         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69163         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
69164         file.
69165         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
69166         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
69167         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
69168         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
69169         file.
69170         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69171         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69172         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69173         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69174         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69175         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69176         file.
69177         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69178         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69179         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69180         file.
69181         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69183         New file.
69184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69185         New file.
69186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69187         New file.
69188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69189         New file.
69190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69191         New file.
69192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69193         New file.
69194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69195         New file.
69196         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69197         New file.
69198         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69199         New file.
69200         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69201         New file.
69202         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69203         New file.
69204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69205         New file.
69206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69207         New file.
69208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69209         file.
69210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69211         New file.
69212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69213         New file.
69214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69215         file.
69216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69217         New file.
69218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69219         New file.
69220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69221         file.
69222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69223         New file.
69224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69225         New file.
69226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69227         New file.
69228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69229         New file.
69230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69231         New file.
69232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69233         New file.
69234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69236         file.
69237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69238         New file.
69239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69240         file.
69241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69242         file.
69243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69244         file.
69245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69246         file.
69247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69248         file.
69249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69250         New file.
69251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69252         file.
69253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69254         file.
69255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69256         New file.
69257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69258         file.
69259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69261         file.
69262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69263         New file.
69264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69265         file.
69266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69267         file.
69268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69269         file.
69270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69271         file.
69272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69273         file.
69274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69275         New file.
69276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69277         file.
69278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69279         file.
69280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69281         New file.
69282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69283         file.
69284         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69285         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69286         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69287         file.
69288         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69289         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69290         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69291         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69292         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69293         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69294         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69295         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69296         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69297         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69300         file.
69301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69302         New file.
69303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69304         file.
69305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69306         file.
69307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69308         file.
69309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69310         file.
69311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69312         file.
69313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69314         New file.
69315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69316         New file.
69317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69318         file.
69319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69320         New file.
69321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69322         file.
69323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69325         file.
69326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69327         New file.
69328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69329         file.
69330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69331         file.
69332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69333         file.
69334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69335         file.
69336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69337         file.
69338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69339         New file.
69340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69341         New file.
69342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69343         file.
69344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69345         New file.
69346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69347         file.
69349 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69351         * conform/conformtest.pl: Fix typo in handling typed-constant from
69352         allow-header.
69354 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69356         * README: Cut down references to pre-2.6 Linux kernels and
69357         Linuxthreads.  Update lists of configurations in libc and ports
69358         and sort alphabetically.  Say "or newer" with Linux kernel version
69359         requirements.
69361         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69363 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69365         [BZ #887]
69366         * math/libm-test.inc (logb_test_downward): New test to expose
69367         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69368         rounding mode.
69370 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69372         [BZ #14027]
69373         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69374         to be done.
69375         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69376         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69378 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69380         * sysdeps/unix/i386/brk.S: Remove file.
69381         * sysdeps/unix/i386/dl-brk.S: Likewise.
69382         * sysdeps/unix/i386/pipe.S: Likewise.
69383         * sysdeps/unix/i386/sigreturn.S: Likewise.
69384         * sysdeps/unix/i386/syscall.S: Likewise.
69385         * sysdeps/unix/i386/vfork.S: Likewise.
69386         * sysdeps/unix/i386/wait.S: Likewise.
69388         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69389         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69391         * configure.in (arm*-none*): Do not allow without
69392         --enable-hacker-mode.
69393         (netbsd*): Remove case setting base_os.
69394         (386bsd*): Likewise.
69395         (freebsd*): Likewise.
69396         (bsdi*): Likewise.
69397         (osf*): Likewise.
69398         (sunos*): Likewise.
69399         (ultrix*): Likewise.
69400         (newsos*): Likewise.
69401         (dynix*): Likewise.
69402         (*bsd*): Likewise.
69403         (sysv*): Likewise.
69404         (isc*): Likewise.
69405         (esix*): Likewise.
69406         (sco*): Likewise.
69407         (minix*): Likewise.
69408         (irix4*): Likewise.
69409         (irix6*): Likewise.
69410         (solaris[2-9]*): Likewise.
69411         (none): Likewise.
69412         * configure: Regenerated.
69414 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69416         [BZ #11521]
69417         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69418         overflow or cancellation in calculating denominator.
69419         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69420         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69421         down expression to avoid unexpected rounding in newer GCCs.
69422         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69424 2012-04-26  David S. Miller  <davem@davemloft.net>
69426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69427         long-double compat symbols.
69428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69442 2012-04-25  David S. Miller  <davem@davemloft.net>
69444         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69445         HWCAP_* values only after the memory barriers have been defined.
69446         (atomic_full_barrier): Define.
69447         (atomic_read_barrier): Define.
69448         (atomic_write_barrier): Define.
69450 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69452         * shlib-versions: Add libgcc_s version information.
69453         * sysdeps/generic/libgcc_s.h: Remove.
69454         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69455         libgcc_s.h.
69456         * sysdeps/gnu/unwind-resume.c: Likewise.
69457         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69459 2012-04-25  David S. Miller  <davem@davemloft.net>
69461         * sysdeps/unix/sparc/brk.S: Delete.
69462         * sysdeps/unix/sparc/dl-brk.S: Delete.
69463         * sysdeps/unix/sparc/pipe.S: Delete.
69464         * sysdeps/unix/sparc/sysdep.S: Delete.
69465         * sysdeps/unix/sparc/sysdep.h: Delete.
69466         * sysdeps/unix/sparc/vfork.S: Delete.
69467         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69468         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69469         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69470         (ret_ERRVAL, r0, r1, MOVE): Define.
69471         (JUMPTARGET): Remove.
69472         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69473         sysdeps/unix/sparc/sysdep.h
69474         (ENTRY, END): Remove.
69475         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69477 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69479         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69480         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69481         -DIS_IN_build.
69483         * timezone/README: Update upstream location and email address for
69484         tzcode and tzdata.
69485         * timezone/zdump.c: Update from tzcode 2012b.
69486         * timezone/zic.c: Likewise.
69488         * configure.in (libc_cv_as_needed): Remove test.
69489         * configure: Regenerated.
69490         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69491         conditional definition.
69492         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69493         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69494         * config.make.in (have-as-needed): Remove variable.
69496 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69497             Paul Pluzhnikov  <ppluzhnikov@google.com>
69499         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69500         strings correctly.
69502 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69504         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69505         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69506         * sysdeps/sh/strlen.S: Likewise.
69508 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69510         * sysdeps/unix/fork.S: Remove file.
69511         * sysdeps/unix/i386/fork.S: Likewise.
69512         * sysdeps/unix/sparc/fork.S: Likewise.
69514         * sysdeps/unix/system.c: Remove file.
69515         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69517         * sysdeps/unix/getegid.S: Remove file.
69518         * sysdeps/unix/geteuid.S: Likewise.
69520 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69522         * scripts/check-localplt.awk: New file.
69523         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69524         of diff.
69525         * scripts/data/localplt-generic.data: Add a comment.
69527         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69528         NODE when __dir_mkfile failed.
69529         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69530         Reported by Ludovic Courtès <ludo@gnu.org>.
69532 2012-04-24  Andreas Jaeger  <aj@suse.de>
69534         * Makerules (common-clean): Also remove gen-as-const-headers
69535         files.
69537 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69539         * Makerules (native-compile): Do not change working directory for
69540         build.  Use $(OUTPUT_OPTION) in command.
69541         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69543 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69545         [BZ #13886]
69546         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69547         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69548         * math/libm-test.inc (floor_test): Add more tests.
69549         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69551 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69553         * sysdeps/unix/getdents.c: Remove file.
69554         * sysdeps/unix/sysv/getdents.c: Likewise.
69555         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69557         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69558         sysdeps/unix/mman/syscalls.list.
69559         (mmap): Likewise.
69560         (mprotect): Likewise.
69561         (msync): Likewise.
69562         (munmap): Likewise.
69563         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69564         * sysdeps/unix/mman/syscalls.list: Remove.
69565         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69567         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69568         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69569         * configure: Regenerated.
69570         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69571         $(libgcc_s_suffix).
69572         * config.make.in (libgcc_s_suffix): Remove variable.
69574 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69576         * sysdeps/unix/sysv/gethostname.c: Move to ...
69577         * sysdeps/posix/gethostname.c: ... here.
69579         * sysdeps/unix/execve.S: Remove file.
69581         * sysdeps/unix/_exit.S: Remove file.
69583 2012-04-23  Andreas Jaeger  <aj@suse.de>
69585         [BZ #13739]
69586         * manual/Makefile: Remove make dist support, there's no
69587         need for a stand-alone documentation tar ball.
69588         (TEXI2DVI): Define always, it's not in Makeconfig.
69589         (dist): Removed.
69590         (tar-it): Removed.
69591         (edition): Removed.
69592         (glibc-doc-$(edition).tar): Removed
69593         (%.Z): Removed.
69594         (%.gz): Removed.
69595         (%.uu): Removed.
69596         (ETAGS): Remove, it's in Makeconfig.
69597         (move-if-change): Remove, it's in Makeconfig.
69599 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69601         [BZ #13970]
69602         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69603         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69604         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69605         (strtod_l, strtof_l, strtold_l): Remove __wur.
69606         It is not necessarily an error to ignore strtol's return value.
69607         One can reliably look at the stored endptr to decide whether
69608         the number had valid syntax.
69610 2012-04-21  Andreas Jaeger  <aj@suse.de>
69612         [BZ #13739]
69613         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69615 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69617         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69618         * sysdeps/unix/sysv/Versions: Remove file.
69620 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69622         [BZ #13927]
69623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69625 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69627         [BZ #7064]
69628         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69629         version from __vm86.
69631 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69633         * sysdeps/unix/common/lxstat.c: Remove file.
69634         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69636         * sysdeps/unix/sysv/Makefile: Remove file.
69638         * sysdeps/unix/sysv/direct.h: Remove file.
69640         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69641         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69642         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69643         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69644         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69645         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69646         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69648         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69650         * sysdeps/unix/xmknod.c: Remove file.
69651         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69653         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69655         * sysdeps/unix/sysv/i386/time.S: Remove file.
69657         * sysdeps/unix/fxstat.c: Remove file.
69658         * sysdeps/unix/xstat.c: Likewise.
69659         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69661         * sysdeps/unix/sysv/sigaction.c: Remove file.
69663         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69664         (sysdep_headers): Remove variable.
69665         [termio.h not in sysdep_headers] (generated): Likewise.
69666         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69667         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69668         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69669         * sysdeps/unix/sysv/tcflow.c: Likewise.
69670         * sysdeps/unix/sysv/tcflush.c: Likewise.
69671         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69672         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69673         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69674         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69675         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69677         * sysdeps/unix/siglist.c: Remove file.
69679         * sysdeps/unix/getppid.S: Remove file.
69681         * sysdeps/unix/mkdir.c: Remove file.
69682         * sysdeps/unix/rmdir.c: Likewise.
69684 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69686         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69687         ERR_MAX value.
69688         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69689         errlist-compat value.
69691 2012-04-18  David S. Miller  <davem@davemloft.net>
69693         * sysdeps/generic/memcopy.h (reg_char): Delete.
69694         * debug/strcat_chk.c: Use char, not reg_char.
69695         * debug/strcpy_chk.c: Likewise.
69696         * debug/strncat_chk.c: Likewise.
69697         * debug/strncpy_chk.c: Likewise.
69698         * string/memchr.c: Likewise.
69699         * string/memrchr.c: Likewise.
69700         * string/rawmemchr.c: Likewise.
69701         * string/strcat.c: Likewise.
69702         * string/strchr.c: Likewise.
69703         * string/strchrnul.c: Likewise.
69704         * string/strcmp.c: Likewise.
69705         * string/strcpy.c: Likewise.
69706         * string/strncat.c: Likewise.
69707         * string/strncmp.c: Likewise.
69708         * string/strncpy.c: Likewise.
69710 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69712         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69713         __builtin_memcopy is called when src and dest ranges are known to not
69714         overlap.
69716 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69718         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69719         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69720         fwd_align_merge macro call.
69721         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69722         bwd_align_merge macro call.
69723         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69725 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69727         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69728         bwd_align_merge macros.
69729         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69730         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69731         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69733 2012-04-18  David S. Miller  <davem@davemloft.net>
69735         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69737 2012-04-18  Andreas Jaeger  <aj@suse.de>
69739         [BZ# 6794]
69740         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69741         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69742         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69744         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69745         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69746         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69748         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69749         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69750         Adjust for changed ldbl-128 files.
69752         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69753         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69754         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69756 2012-04-17  David S. Miller  <davem@davemloft.net>
69758         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69760 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69762         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69763         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69764         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69765         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69766         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69767         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69769 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69771         [BZ #6794]
69772         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69773         * math/libm-test.inc: Add ilogb errno and exception tests.
69774         * math/w_ilogb.c: New file: ilogb wrapper.
69775         * math/w_ilogbf.c: New file: ilogbf wrapper.
69776         * math/w_ilogbl.c: New file: ilogbl wrapper.
69777         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69778         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69779         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69780         exception being thrown with 0.0 as argument.
69781         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69782         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69783         exception being thrown with 0.0 as argument.
69784         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69785         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69786         exception being thrown with 0.0 as argument.
69787         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69788         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69789         exception being thrown with 0.0 as argument.
69790         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69791         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69792         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69793         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69794         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69795         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69796         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69797         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69798         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69800 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69802         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69803         with altivec.
69805 2012-04-16  Marek Polacek  <polacek@redhat.com>
69807         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69809 2012-04-16  Marek Polacek  <polacek@redhat.com>
69811         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69812         operands of fdivp instruction.
69814 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69816         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69817         * elf/tst-auditmod3b.c: Likewise.
69818         * elf/tst-auditmod4b.c: Likewise.
69819         * elf/tst-auditmod5b.c: Likewise.
69820         * elf/tst-auditmod6b.c: Likewise.
69821         * elf/tst-auditmod6c.c: Likewise.
69822         * elf/tst-auditmod7b.c: Likewise.
69823         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69824         * sysdeps/x86_64/preconfigure.in: Likewise.
69825         * sysdeps/x86_64/preconfigure: Regenerated.
69827 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69829         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69830         __ILP32__.
69832 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69834         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69835         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69837 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69839         [BZ #13973]
69840         * locale/iso-639.def: Fix gl language name. Spotted by
69841         Yaron Shahrabani.
69843 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69845         [BZ #2074]
69846         * libio/libio.h (__io_write_fn): Update comment.
69848 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69850         [BZ #2074]
69851         * stdio.texi (Hook Functions): The user provided writer function
69852         is not allowed to return -1.
69854 2012-04-11  David S. Miller  <davem@davemloft.net>
69856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69858 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69860         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69861         Add a leading slash to rtkaio.
69863 2012-04-11  Jim Meyering  <meyering@redhat.com>
69865         [BZ #11959]
69866         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69867         It is not necessarily an error to ignore fwrite's return
69868         value.  One can reliably use ferror to test for errors after
69869         the fact.
69871 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69873         * bits/types.h (__snseconds_t): New type.
69874         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69876         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69877         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69878         (__SNSECONDS_T_TYPE): Likewise.
69879         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69880         (__SNSECONDS_T_TYPE): Likewise.
69881         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69882         (__SNSECONDS_T_TYPE): Likewise.
69884 2012-04-10  Andreas Jaeger  <aj@suse.de>
69886         [BZ #2636]
69887         * manual/time.texi (Processor Time): Return type of times is
69888         elapsed real time since an arbitrary point in the past.
69889         (CPU Time): Move CLK_TCK from here...
69890         (Processor Time): ...to here.  Correct description.
69891         * manual/conf.texi (Constants for Sysconf): Correct description of
69892         _SC_CLK_TCK.
69894 2012-04-10  David S. Miller  <davem@davemloft.net>
69896         [BZ #13967]
69897         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69898         where the is a gap between DT_REL(A) and DT_JMPREL.
69900 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69902         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69903         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69904         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69906 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69908         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69909         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69910         (dl_main): Handle --inhibit-cache.
69911         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69912         _dl_inhibit_cache.
69913         * elf/dl-load.c (_dl_map_object): Use it.
69914         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69916 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69918         [BZ #13872]
69919         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69920         (__ieee754_powl): Saturate large exponents rather than testing for
69921         overflow of y*log2(x).
69922         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69923         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69924         exceptions.
69926         [BZ #11521]
69927         * math/s_ctan.c: Include <float.h>.
69928         (__ctan): Avoid internal overflow or cancellation in calculating
69929         denominator.
69930         * math/s_ctanf.c: Likewise.
69931         * math/s_ctanl.c: Likewise.
69932         * math/s_ctanh.c: Likewise.
69933         * math/s_ctanhf.c: Likewise.
69934         * math/s_ctanhl.c: Likewise.
69935         * math/libm-test.inc (ctan_test): Add more tests.
69936         (ctanh_test): Likewise.
69937         * sysdeps/i386/fpu/libm-test-ulps: Update.
69938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69940 2012-04-09  Andreas Jaeger  <aj@suse.de>
69942         [BZ #6894]
69943         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69944         is an optional BSD extension.
69946         [BZ #10254]
69947         * manual/stdio.texi (Opening Streams): Document additional fopen
69948         parameters.
69950 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69952         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69953         %eax without telling the compiler.
69955 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69957         [BZ # 13963]
69958         * manual/install.texi: Use sourceware.org.
69960 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69962         [BZ #13873]
69963         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69964         (__ieee754_pow): Generate overflow and underflow using huge*huge
69965         and tiny*tiny rather than just returning constant infinity or zero
69966         for large exponents.
69967         * math/libm-test.inc (pow_test): Require overflow exceptions for
69968         applicable cases of large exponents.
69970         [BZ #706]
69971         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69972         (__ieee754_pow): Use iterative multiplication algorithm only for
69973         integer exponents with absolute value below 1024.  Check for odd
69974         integer exponents when using algorithm for real exponents.
69975         * math/libm-test.inc (pow_test): Add more tests.
69976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69978 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69980         [BZ #13705]
69981         * math/libm-test.inc (exp_test): Do not allow overflow exception
69982         on underflow test.
69984 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69986         [BZ #13705]
69987         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69988         instead of __kernel_standard_f.
69990 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69992         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69993         * sysdeps/x86_64/memset_chk.S: Likewise.
69995 2012-04-08  Andreas Jaeger  <aj@suse.de>
69997         [BZ #10153]
69998         * manual/startup.texi (Environment Access): Describe return value
69999         for putenv and setenv.
70001         [BZ #6895]
70002         * manual/filesys.texi (Directory Entries): Add description for
70003         DT_LNK.
70005         [BZ #6890]
70006         * manual/filesys.texi (Directory Entries): Clarify that it's file
70007         system not operating system in the description of DT_UNKNOWN.
70009         [BZ #6578]
70010         * manual/syslog.texi (closelog): Fix reference, it's openlog.
70012 2012-04-08  Stephen Compall  <s11@member.fsf.org>
70014         [BZ #6649]
70015         * manual/llio.texi (Opening and Closing Files): Add cross
70016         reference to explain mode argument.
70018 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
70020         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
70021         * sysdeps/x86_64/memset_chk.S: Likewise.
70023 2012-04-07  David S. Miller  <davem@davemloft.net>
70025         * elf/elf.h (R_SPARC_WDISP10): Define.
70026         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
70027         R_SPARC_SIZE32.
70028         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
70029         R_SPARC_SIZE64 and R_SPARC_H34.
70031 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
70033         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
70034         conditions and remove no longer applicable assertion.
70036 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70038         * bits/byteswap.h: Include <features.h>.
70039         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70040         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70042 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70044         * bits/byteswap.h (__bswap_16): Removed.
70045         Include <bits/byteswap-16.h> to get __bswap_16.
70046         * sysdeps/i386/bits/byteswap.h: Likewise.
70047         * sysdeps/s390/bits/byteswap.h: Likewise.
70048         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70049         * bits/byteswap-16.h: New file.
70050         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70051         * sysdeps/s390/bits/byteswap-16.h: Likewise.
70052         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
70053         * string/Makefile (headers): Add bits/byteswap-16.h.
70055 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70057         [BZ #13895]
70058         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
70059         extra indirection.
70060         * nss/Makefile (tests-static, tests): Add tst-nss-static.
70061         * nss/tst-nss-static.c: New.
70063 2012-04-06  Robert Millan  <rmh@gnu.org>
70065         [BZ #6486]
70066         * manual/llio.texi (File Position Primitive): lseek
70067         refers to WHENCE when it really means OFFSET.
70069 2012-04-06  Andreas Jaeger  <aj@suse.de>
70071         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
70072         strncmp declarations.
70074         * abilist/libc.abilist: Add __poll and __ppoll.
70076 2012-04-05  David S. Miller  <davem@davemloft.net>
70078         * scripts/check-local-headers.sh: Accept a host triplet in the
70079         path matched by the exclude regexp.
70081         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
70082         definition.
70083         * sysdeps/powerpc/powerpc32/dl-machine.h
70084         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
70085         * sysdeps/s390/s390-32/dl-machine.h
70086         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70087         * sysdeps/sparc/sparc32/dl-machine.h
70088         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70089         * sysdeps/sparc/sparc64/dl-machine.h
70090         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70092         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
70093         lazy binding.
70094         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
70095         undefined symbol errors.
70097         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
70098         DT_NEEDED entries.
70100 2012-04-05  Michael Matz  <matz@suse.de>
70102         [BZ #13592]
70103         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
70105 2012-04-05  Andreas Jaeger  <aj@suse.de>
70107         [BZ #13908]
70108         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
70109         comment.
70111 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70113         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
70114         which ROUND is no valid rounding mode.
70116 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70118         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
70119         read again.
70120         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
70122 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70124         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
70125         an exception using FPU order intentionally.
70127 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70129         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
70130         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
70131         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
70132         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
70134 2012-04-05  Simon Josefsson  <simon@josefsson.org>
70136         [BZ #12340]
70137         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70138         EINVAL when BUFLEN is too smal.
70140 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
70142         [BZ #13553]
70143         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70144         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70146 2012-04-03  Andreas Jaeger  <aj@suse.de>
70148         [BZ #13938]
70149         * manual/setjmp.texi (System V contexts): Fix sentence.
70151         [BZ #13926]
70152         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70153         New macro for this case.
70154         [!__GNUC__] (__bswap_64): New inline function for this case.
70155         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70156         * bits/byteswap.h: Likewise.
70157         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
70158         ull, guard with __GLIBC_HAVE_LONG_LONG.
70160         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
70161         __GLIBC_HAVE_LONG_LONG.
70163         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
70164         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
70166 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70168         [BZ #13691]
70169         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
70170         inptr and inend, rather than using last_ch.
70172 2012-04-02  David S. Miller  <davem@davemloft.net>
70174         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70175         * stdio-common/printf-parse.h (read_int): Change return type to
70176         'int', return -1 on INT_MAX overflow.
70177         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70178         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70179         overflows INT_MAX.  Check for overflow of in-format-string precision
70180         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70181         SIZE_MAX not INT_MAX for integer overflow test.
70182         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70183         skip the construct in the format string but do not record anything.
70184         * stdio-common/bug22.c: Adjust to test both width/prevision
70185         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70186         explicitly for proper errno values.
70188 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70190         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70191         CHAR_MAX.
70192         * string/test-strcmp.c [! WIDE]: Likewise.
70193         * time/tst-mktime2.c: Likewise for INT_MAX.
70194         * string/test-string.h: #include <sys/param.h> for MIN.
70196         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70197         * sysdeps/i386/init-first.c (init): Likewise.
70198         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70199         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70200         * sysdeps/sh/init-first.c (init): Likewise.
70202 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70204         * po/ru.po: Update from translation team.
70205         * po/vi.po: Likewise.
70207 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70209         * resolv/nss_dns/dns-host.c: Merge copyright years.
70211 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70213         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70214         Optimize memcpy with prefetch if
70215         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70216         src, dst pointers have unequal 16 byte alignments.
70218 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70220         [BZ #13928]
70221         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70222         from a CNAME entry and return the minimum ttl for the query.
70223         (gaih_getanswer_slice): Likewise.
70225 2012-03-30  Jeff Law  <law@redhat.com>
70227         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70228         due to long keys.
70229         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70230         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70232         * resolv/nss_dns/dns-host.c: Update copyright year.
70234 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70236         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70237         requests to save a system call.  Fix check that all bytes are sent.
70239         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70240         comments for sendmmsg.
70242 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70244         [BZ #13691]
70245         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70246         with only 1 character between 0x0041 and 0x01b0.
70247         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70248         * wcsmbs/tst-mbsnrtowcs.c: New file.
70250 2012-03-29  David S. Miller  <davem@davemloft.net>
70252         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70253         small copies by hand.
70255 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70257         [BZ #13761]
70258         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70259         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70260         group memberships.
70262 2012-03-28  David S. Miller  <davem@davemloft.net>
70264         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70265         that branches into memcpy.
70266         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70269         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70270         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70271         bits.
70272         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70273         implementation too.
70274         * sysdeps/sparc/mempcpy.S: New file.
70276         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70277         the IFUNC routine in the libc case.
70278         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70280         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70281         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70282         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70283         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70284         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70285         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70286         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70287         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70289         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70290         loop to 256 bytes instead of 64 bytes and fix test signedness.
70292         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70293         * sysdeps/sparc/sparc32/Makefile: rather than here...
70294         * sysdeps/sparc/sparc64/Makefile: and here.
70296 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70298         * malloc/mallocbug.c: Avoid warnings about unused variables.
70300 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70302         [BZ #13760]
70303         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70304         in the right place. Discard and retry query if response is
70305         larger than input buffer size.
70307 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70309         [BZ #369]
70310         [BZ #2678]
70311         [BZ #3866]
70312         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70313         x for large integer exponent.
70314         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70315         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70316         sign of result as needed afterwards.
70317         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70318         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70319         result for underflowing pow the same as for overflow.
70320         (__kernel_standard_l): Handle powl overflow and underflow here
70321         rather than calling __kernel_standard.
70322         * math/libm-test.inc (pow_test): Add more tests.
70324         [BZ #3868]
70325         [BZ #13879]
70326         [BZ #13910]
70327         [BZ #13911]
70328         [BZ #13912]
70329         [BZ #13913]
70330         [BZ #13915]
70331         [BZ #13916]
70332         [BZ #13917]
70333         [BZ #13918]
70334         [BZ #13919]
70335         [BZ #13920]
70336         [BZ #13921]
70337         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70338         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70339         (__kernel_standard_l): New function.
70340         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70341         __kernel_standard.
70342         * math/w_acosl.c (__acosl): Likewise.
70343         * math/w_asinl.c (__asinl): Likewise.
70344         * math/w_atan2l.c (__atan2l): Likewise.
70345         * math/w_atanhl.c (__atanhl): Likewise.
70346         * math/w_coshl.c (__coshl): Likewise.
70347         * math/w_exp10l.c (__exp10l): Likewise.
70348         * math/w_exp2l.c (__exp2l): Likewise.
70349         * math/w_fmodl.c (__fmodl): Likewise.
70350         * math/w_hypotl.c (__hypotl): Likewise.
70351         * math/w_j0l.c (__j0l, __y0l): Likewise.
70352         * math/w_j1l.c (__j1l, __y1l): Likewise.
70353         * math/w_jnl.c (__jnl, __ynl): Likewise.
70354         * math/w_lgammal.c (__lgammal): Likewise.
70355         * math/w_log10l.c (__log10l): Likewise.
70356         * math/w_log2l.c (__log2l): Likewise.
70357         * math/w_logl.c (__logl): Likewise.
70358         * math/w_powl.c (__powl): Likewise.
70359         * math/w_remainderl.c (__remainderl): Likewise.
70360         * math/w_scalbl.c (sysv_scalbl): Likewise.
70361         * math/w_sinhl.c (__sinhl): Likewise.
70362         * math/w_sqrtl.c (__sqrtl): Likewise.
70363         * math/w_tgammal.c (__tgammal): Likewise.
70364         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70365         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70366         * math/libm-test.inc (acos_test): Add more tests.
70367         (acosh_test): Likewise.
70368         (asin_test): Likewise.
70369         (atanh_test): Likewise.
70370         (exp_test): Likewise.
70371         (exp10_test): Likewise.
70372         (exp2_test): Likewise.
70373         (expm1_test): Likewise.
70374         (lgamma_test): Likewise.
70375         (log_test): Likewise.
70376         (log10_test): Likewise.
70377         (log1p_test): Likewise.
70378         (log2_test): Likewise.
70379         (pow_test): Do not allow some spurious overflow exceptions.
70380         (sqrt_test): Add more tests.
70381         (tgamma_test): Likewise.
70382         (y0_test): Likewise.
70383         (y1_test): Likewise.
70384         (yn_test): Likewise.
70386 2012-03-27  Anton Blanchard  <anton@samba.org>
70388         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70389         MAP_HUGETLB.
70390         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70391         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70392         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70394 2012-03-27  David S. Miller  <davem@davemloft.net>
70396         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70398         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70399         have-as-vis3 check.
70401 2012-03-27  Andreas Jaeger  <aj@suse.de>
70403         * sysdeps/x86_64/elf/configure.in: Moved to ...
70404         * sysdeps/x86_64/configure.in: ... here.
70405         * sysdeps/x86_64/elf/start.S: Moved to ...
70406         * sysdeps/x86_64/start.S: ... here.
70407         * sysdeps/x86_64/elf/configure: Delete.
70409         * sysdeps/x86_64/configure.in: Merge contents from
70410         sysdeps/i386/configure.in (without i686 check).
70412         * sysdeps/i386/elf/Versions: Merge into ...
70413         * sysdeps/i386/Versions: ... this.
70414         * sysdeps/i386/elf/Versions: Delete file.
70415         * sysdeps/i386/elf/start.S: Moved to ...
70416         * sysdeps/i386/start.S: ...here.
70417         * sysdeps/i386/elf/configure.in: Merge into...
70418         * sysdeps/i386/configure.in: ...here.
70419         * sysdeps/i386/elf/configure.in: Delete file.
70420         * sysdeps/i386/elf/configure: Delete file.
70422         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70423         * debug/backtracesyms.c: ... here.
70424         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70425         * debug/backtracesymsfd.c: ... here.
70426         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70427         * sysdeps/generic/ifunc-sel.h: ... here.
70429         * sysdeps/unix/i386/start.c: Delete file.
70430         * sysdeps/unix/sparc/start.c: Delete file.
70431         * sysdeps/unix/start.c: Delete file.
70433         * sysdeps/sh/elf/configure.in: Moved to ...
70434         * sysdeps/sh/configure.in: ... here.
70435         * sysdeps/sh/elf/start.S: Moved to ...
70436         * sysdeps/sh/start.S: ... here.
70437         * sysdeps/sh/elf/configure: Delete file.
70439         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70440         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70441         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70442         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70443         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70444         * sysdeps/powerpc/powerpc64/start.S: here.
70445         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70446         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70447         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70448         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70449         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70451         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70452         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70453         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70454         * sysdeps/powerpc/powerpc32/start.S: ... here.
70455         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70456         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70457         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70459         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70460         * sysdeps/powerpc/ifunc-sel.h: ... here.
70461         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70462         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70464         * sysdeps/sparc/elf/configure.in: Moved to ...
70465         * sysdeps/sparc/configure.in: ... here.
70466         * sysdeps/sparc/elf/configure: Delete file.
70467         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70468         * sysdeps/sparc/sparc32/start.S: ... here.
70469         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70470         * sysdeps/sparc/sparc64/start.S: ... here.
70471         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70472         * sysdeps/sparc/sparc32/Makefile: ... this.
70473         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70474         * sysdeps/sparc/sparc64/Makefile: ... this.
70476         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70477         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70478         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70479         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70480         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70481         * sysdeps/s390/s390-32/setjmp.S: ... here.
70482         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70483         * sysdeps/s390/s390-32/configure.in: ... here.
70484         * sysdeps/s390/s390-32/elf/configure: Delete file.
70485         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70486         * sysdeps/s390/s390-32/start.S: ... here.
70488         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70489         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70490         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70491         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70492         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70493         * sysdeps/s390/s390-64/setjmp.S: ... here.
70494         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70495         * sysdeps/s390/s390-64/configure.in: ... here
70496         * sysdeps/s390/s390-64/elf/configure: Delete file.
70497         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70498         * sysdeps/s390/s390-64/start.S: ... here.
70499         * sysdeps/s390/s390-64/elf/configure: Delete.
70501         * configure.in: Remove support for elf directories in sysdeps.
70503         * configure: Regenerated.
70504         * sysdeps/i386/configure: Regenerated.
70505         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70506         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70507         * sysdeps/s390/s390-32/configure: Regenerated.
70508         * sysdeps/s390/s390-64/configure: Regenerated.
70509         * sysdeps/sh/configure: Regenerated.
70510         * sysdeps/sparc/configure: Regenerated.
70511         * sysdeps/x86_64/configure: Regenerated.
70513 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70517         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70518         denormal result into account.
70520 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70522         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70523         Reported by Allan McRae <allan@archlinux.org>.
70525 2012-03-23  Jeff Law  <law@redhat.com>
70527         * nss/getnssent.c (__nss_getent): Fix typo.
70529 2012-03-23  David S. Miller  <davem@davemloft.net>
70531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70533 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70535         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70536         to pad to uint64_t for each field.
70537         (dl_tls_index): Replace unsigned long with uint64_t.
70539 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70540         Paul Pluzhnikov  <ppluzhnikov@google.com>
70542         [BZ #6528]
70543         * grp/Makefile (otherlibs): Don't set it.
70544         * inet/Makefile (otherlibs): Likewise.
70545         * login/Makefile (otherlibs): Likewise.
70546         * nscd/Makefile (otherlibs): Likewise.
70547         * posix/Makefile (otherlibs): Likewise.
70548         * pwd/Makefile (otherlibs): Likewise.
70549         * rt/Makefile (otherlibs): Likewise.
70550         * sunrpc/Makefile (otherlibs): Likewise.
70551         * nss/Makefile (otherlibs): Likewise.
70552         Add libnss_files to routines and static-only-routines.
70553         ($(objpfx)getent): Remove rule.
70554         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70555         static-only-routines.
70557 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70559         [BZ #13892]
70560         * math/s_cexp.c: Include <float.h>.
70561         (__cexp): Handle exp result overflowing not necessarily
70562         overflowing both real and imaginary parts of result.
70563         * math/s_cexpf.c: Likewise.
70564         * math/s_cexpl.c: Likewise.
70565         * math/libm-test.inc (cexp_test): Add more tests.
70566         * sysdeps/i386/fpu/libm-test-ulps: Update.
70567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70569 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70571         * include/link.h (ELFW): New macro.
70572         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70573         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70575 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70577         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70578         with uint64_t.
70580 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70582         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70583         declaration.
70584         (struct La_x32_retval): Likewise.
70586 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70588         * sysdeps/x86_64/preconfigure.in: New file.
70589         * sysdeps/x86_64/preconfigure: New generated file.
70591 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70593         [BZ #13824]
70594         * math/e_exp2l.c: Include <float.h>.
70595         (__ieee754_exp2l): Handle overflow and underflow cases
70596         separately.  Only pass fractional part of argument to
70597         __ieee754_expl.
70598         * math/libm-test.inc (exp2_test): Add more tests.
70600         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70601         negating x to take absolute value.
70602         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70603         Likewise.
70604         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70605         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70606         Likewise.
70607         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70608         computing low part if x was negated.
70609         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70611 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70613         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70614         la_x32_gnu_pltexit.
70615         (pltexit): Cast int_retval to ptrdiff_t.
70616         * elf/tst-auditmod3b.c: Likewise.
70617         * elf/tst-auditmod4b.c: Likewise.
70618         * elf/tst-auditmod5b.c: Likewise.
70619         * elf/tst-auditmod6b.c: Likewise.
70620         * elf/tst-auditmod6c.c: Likewise.
70621         * elf/tst-auditmod7b.c: Likewise.
70623         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70624         and x32_gnu_pltexit.
70626         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70627         __ELF_NATIVE_CLASS.
70628         (La_x32_regs): New macro.
70629         (La_x32_retval): Likewise.
70630         (la_x32_gnu_pltenter): New function prototype.
70631         (la_x32_gnu_pltexit): Likewise.
70633 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70635         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70636         exponent.
70638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70640         * configure.in (libc_cv_cc_nofma): Check for option to disable
70641         generation of FMA instructions.
70642         * configure: Regenerate.
70643         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70644         * sysdeps/ieee754/dbl-64/Makefile: New file.
70645         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70646         Remove brandred-fma4.
70647         (CFLAGS-brandred-fma4.c): Remove.
70648         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70649         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70650         define.
70651         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70652         define.
70654 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70656         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70657         LLONG_MAX != LONG_MAX.
70658         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70659         (_fitoa_word): Likewise.
70660         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70661         LLONG_MAX != LONG_MAX.
70662         * stdio-common/_itowa.h: Include <_itoa.h>.
70663         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70664         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70665         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70666         only if not defined.
70667         (_ITOA_WORD_TYPE): Likewise.
70668         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70669         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70671 2012-03-21  David S. Miller  <davem@davemloft.net>
70673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70675 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70677         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70678         of x86_64 when setting libc_cv_slibdir, libdir and
70679         libc_cv_localedir.
70680         * sysdeps/unix/sysv/linux/configure: Regenerated.
70682 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70684         * manual/lang.texi (Old Varargs): Remove section.
70685         (How Variadic): Update menu.
70686         (va_start): Do not mention varargs.h.
70688 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70689             Joseph Myers  <joseph@codesourcery.com>
70691         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70692         link test.
70693         * configure: Regenerated.
70695 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70697         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70698         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70699         conformtest.pl
70701 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70703         * NOTES: Remove.
70704         * Makefile (files-for-dist): Remove NOTES.
70705         (NOTES): Remove rule.
70706         * README: Don't refer to NOTES.
70707         * manual/creature.texi: Don't include macros.texi.
70708         * manual/intro.texi (creature.texi): Remove comment referring to
70709         NOTES.
70711         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70712         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70713         * configure: Regenerated.
70714         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70715         LIBC_TRY_CC_OPTION.
70716         (libc_cv_as_i686): Likewise.
70717         (libc_cv_cc_avx): Likewise.
70718         (libc_cv_cc_sse2avx): Likewise.
70719         (libc_cv_cc_fma4): Likewise.
70720         (libc_cv_cc_novzeroupper): Likewise.
70721         * sysdeps/i386/configure: Regenerated.
70723         [BZ #13883]
70724         * sysdeps/i386/fpu/s_cexp.S: Remove.
70725         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70726         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70727         * math/libm-test.inc (cexp_test): Add more tests.
70728         * sysdeps/i386/fpu/libm-test-ulps: Update.
70729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70731 2012-03-21  Allan McRae  <allan@archlinux.org>
70733         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70735 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70737         [BZ #13871]
70738         * math/w_exp2.c: Do not include <float.h>.
70739         (o_threshold, u_threshold): Remove.
70740         (__exp2): Calculate result before checking finiteness and calling
70741         __kernel_standard.
70742         * math/w_exp2f.c: Likewise.
70743         * math/w_exp2l.c: Likewise.
70744         * math/libm-test.inc (exp2_test): Require overflow exception for
70745         1e6 input.
70747         [BZ #3866]
70748         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70749         range of signed 64-bit integers before using fistpll.  Remove
70750         checks for whether integers fit in mantissa bits.
70751         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70752         the range of signed 32-bit integers before using fistpl.  Remove
70753         checks for whether integers fit in mantissa bits.
70754         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70755         (__ieee754_powl): Test for y outside the range of signed 64-bit
70756         integers before using fistpll.  Reduce 64-bit values to 63-bit
70757         ones as needed.
70758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70759         divide-by-zero is raised for zero to large negative powers.
70760         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70761         (__ieee754_powl): Test for y outside the range of signed 64-bit
70762         integers before using fistpll.  Reduce 64-bit values to 63-bit
70763         ones as needed.
70764         * math/libm-test.inc (pow_test): Add more tests.
70766 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70768         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70769         <stdio-common/_itoa.h>.
70770         * debug/segfault.c: Likewise.
70771         * elf/dl-cache.c: Likewise.
70772         * elf/dl-minimal.c: Likewise.
70773         * elf/dl-misc.c: Likewise.
70774         * elf/dl-sysdep.c: Likewise.
70775         * elf/dl-version.c: Likewise.
70776         * elf/rtld.c: Likewise.
70777         * hurd/hurdsock.c: Likewise.
70778         * hurd/lookup-retry.c: Likewise.
70779         * malloc/malloc.c: Likewise.
70780         * malloc/mtrace.c: Likewise.
70781         * nscd/nscd_getgr_r.c: Likewise.
70782         * nscd/nscd_getpw_r.c: Likewise.
70783         * nscd/nscd_getserv_r.c: Likewise.
70784         * posix/getopt_init.c: Likewise.
70785         * posix/wordexp.c: Likewise.
70786         * stdio-common/_itoa.c: Likewise.
70787         * stdio-common/printf_fphex.c: Likewise.
70788         * stdio-common/vfprintf.c: Likewise.
70789         * string/_strerror.c: Likewise.
70790         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70791         * sysdeps/i386/i686/hp-timing.h: Likewise.
70792         * sysdeps/mach/_strerror.c: Likewise.
70793         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70794         * sysdeps/mach/hurd/sethostid.c: Likewise.
70795         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70796         * sysdeps/mach/xpg-strerror.c: Likewise.
70797         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70798         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70799         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70800         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70801         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70802         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70803         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70804         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70805         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70806         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70807         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70808         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70809         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70810         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70811         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70812         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70813         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70814         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70815         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70816         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70817         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70819         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70821         * stdio-common/_itoa.h: Moved to ...
70822         * sysdeps/generic/_itoa.h: Here.
70824         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70826         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70827         instead of "_itoa.h" and "_itowa.h".
70828         * stdio-common/vfprintf.: Likewise.
70830 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70832         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70833         <bits/wordsize.h>.
70834         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70835         (__signbit): Likwise.
70836         (llrintf): Likwise.
70837         (llrint): Likwise.
70839 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70841         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70842         __WORDSIZE != 64.
70844 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70846         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70847         OVERFLOW_EXCEPTION_OK.
70848         * math/libm-test.inc ("Philosophy"): Update comment about
70849         exception testing.
70850         (OVERFLOW_EXCEPTION): Define.
70851         (OVERFLOW_EXCEPTION_OK): Likewise.
70852         (INVALID_EXCEPTION_OK): Renumber.
70853         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70854         (IGNORE_ZERO_INF_SIGN): Likewise.
70855         (test_exceptions): Handle FE_OVERFLOW.
70856         (exp10_test): Expect overflow exceptions.
70857         (exp2_test): Likewise.
70858         (expm1_test): Likewise.
70859         (nextafter_test): Likewise.
70860         (pow_test): Likewise.
70861         (scalbn_test): Likewise.
70862         (scalbln_test): Likewise.
70864 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70866         * sysdeps/x86_64/bits/atomic.h
70867         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70868         64bit integer.
70869         (atomic_exchange_acq): Likewise.
70870         (__arch_exchange_and_add_body): Likewise.
70871         (__arch_add_body): Likewise.
70872         (atomic_add_negative): Likewise.
70873         (atomic_add_zero): Likewise.
70875 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70877         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70878         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70880 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70882         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70883         Check __x86_64__ instead of __WORDSIZE.
70885 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70887         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70889 2012-03-19  David S. Miller  <davem@davemloft.net>
70891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70893         * sysdeps/sparc/fpu/fenv_private.h: New file.
70894         * sysdeps/sparc/fpu/math_private.h: Use it.
70895         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70896         Remove.
70897         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70898         (libc_feholdexcept_setroundl): Remove.
70899         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70900         Remove.
70901         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70902         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70904 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70906         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70907         int64_t instead of long int.
70908         (INSERT_WORDS64): Likwise.
70910 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70912         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70913         _Unwind_GetCFA return to _Unwind_Ptr first.
70915 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70917         [BZ #13629]
70918         * math/s_clog.c: Include <float.h>.
70919         (__clog): Scale large or subnormal inputs.
70920         * math/s_clogf.c: Likewise.
70921         * math/s_clogl.c: Likewise.
70922         * math/s_clog10.c: Include <float.h>.
70923         (M_LOG10_2): Define.
70924         (__clog10): Scale large or subnormal inputs.
70925         * math/s_clog10f.c: Likewise.
70926         * math/s_clog10l.c: Likewise.
70927         * math/libm-test.inc (clog_test): Add more tests.
70928         (clog10_test): Likewise.
70929         * sysdeps/i386/fpu/libm-test-ulps: Update.
70930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70932         [BZ #11451]
70933         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70934         x and y.
70935         * math/libm-test.inc (atan2_test): Add another test.
70937         * Makerules (common-objdir-compile): Remove.
70938         * sysdeps/unix/Makefile (config-generated): Do not add
70939         $(unix-generated) to variable.
70940         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70941         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70942         Remove rule.
70943         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70944         Likewise.
70945         [generic bits/local_lim.h] (before-compile): Do not append to
70946         variable.
70947         [generic bits/local_lim.h] (common-generated): Likewise.
70948         [generic sys/param.h] (before-compile): Do not append to variable.
70949         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70950         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70951         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70952         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70953         include.
70954         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70955         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70956         [generic sys/param.h] ($(addprefix
70957         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70958         [generic sys/param.h] (common-generated): Do not append to
70959         variable.
70960         [generic sys/param.h] (sysdep_headers): Likewise.
70961         [generic bits/errno.h] (before-compile): Do not append to
70962         variable.
70963         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70964         rule.
70965         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70966         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70967         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70968         [generic bits/errno.h] (common-generated): Do not append to
70969         variable.
70970         [generic bits/ioctls.h] (before-compile): Do not append to
70971         variable.
70972         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70973         rule.
70974         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70975         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70976         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70977         rule.
70978         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70979         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70980         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70981         [generic bits/ioctls.h] (common-generated): Do not append to
70982         variable.
70983         [generic sys/syscall.h] (syscall.h): Remove variable.
70984         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70985         rule.
70986         [generic sys/syscall.h] (before-compile): Do not append to
70987         variable.
70988         [generic sys/syscall.h] (common-generated): Likewise.
70989         * sysdeps/unix/errnos-tmpl.c: Remove file.
70990         * sysdeps/unix/errnos.awk: Likewise.
70991         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70992         * sysdeps/unix/ioctls.awk: Likewise.
70993         * sysdeps/unix/mk-local_lim.c: Likewise.
70994         * sysdeps/unix/snarf-ioctls: Likewise.
70996 2012-03-19  Richard Henderson  <rth@twiddle.net>
70998         * sysdeps/i386/fpu/fenv_private.h: New file.
70999         * sysdeps/i386/fpu/math_private.h: Use it.
71000         (math_opt_barrier, math_force_eval): Remove.
71001         (libc_feholdexcept_setround_53bit): Remove.
71002         (libc_feupdateenv_53bit): Remove.
71003         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71004         (math_opt_barrier, math_force_eval): Remove.
71005         (libc_feholdexcept): Remove.
71006         (libc_feholdexcept_setround): Remove.
71007         (libc_fetestexcept, libc_fesetenv): Remove.
71008         (libc_feupdateenv_test): Remove.
71009         (libc_feupdateenv, libc_feholdsetround): Remove.
71010         (libc_feresetround): Remove.
71012         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
71013         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
71015         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
71016         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
71017         (libc_feupdateenv_testl): New.
71018         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
71019         (libc_feupdateenv_testf): New.
71020         (libc_feupdateenv): Use libc_feupdateenv_test.
71021         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
71022         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
71024         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
71025         (libc_feholdsetroundf, libc_feholdsetroundl): New.
71026         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
71027         (libc_feresetround_noex): New.
71028         (libc_feresetround_noexf): New.
71029         (libc_feresetround_noexl): New.
71030         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
71031         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
71032         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
71033         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
71034         SET_RESTORE_ROUND.
71035         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
71036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
71037         (__cos): Likewise.
71038         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
71039         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
71040         SET_RESTORE_ROUND_NOEX.
71041         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
71042         SET_RESTORE_ROUND_NOEXF.
71043         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
71044         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
71045         (libc_feholdsetroundf): New.
71046         (libc_feresetround, libc_feresetroundf): New.
71048         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
71049         (libc_feholdexcept_setround_53bit): Convert from macro to function.
71050         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
71052         * sysdeps/generic/math_private.h: Include <fenv.h>.
71053         (default_libc_feholdexcept): New.
71054         (default_libc_feholdexcept_setround): New.
71055         (default_libc_fesetenv, default_libc_feupdateenv): New.
71056         (libc_feholdexcept): Only define if undefined.
71057         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
71058         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
71059         (libc_feholdexcept_setroundl): Likewise.
71060         (libc_feholdexcept_setround_53bit): Likewise.
71061         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
71062         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
71063         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
71064         (libc_feupdateenv_53bit): Likewise.
71065         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
71066         (libc_feholdexcept): Convert from macro to inline function.
71067         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
71068         (libc_fesetenv, libc_feupdateenv): Likewise.
71070         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
71071         not previously defined.
71072         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
71073         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
71074         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
71075         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
71076         * sysdeps/ieee754/flt-32/math_private.h: New file.
71077         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
71078         math_private.h below SET_FLOAT_WORD.
71079         (__isnan, __isinf_ns, __finite): Remove.
71080         (__isnanf, __isinf_nsf, __finitef): Remove.
71082 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
71084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71086 2012-03-17  David S. Miller  <davem@davemloft.net>
71088         [BZ #6471]
71089         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
71090         for 2.16.
71092 2012-03-16  David S. Miller  <davem@davemloft.net>
71094         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
71095         warnings.
71097         [BZ #6471]
71098         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
71099         properly.
71100         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
71101         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
71102         sysdep_routines when subdir is sysvipc.
71103         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
71104         __getshmlba helper.
71106         * sysdeps/sparc/fpu/libm-test/ulps: Update.
71108 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71110         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
71111         [__LP64__].
71113 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71115         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71116         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
71117         (__lround): Renamed to ...
71118         (__llround): This.  Replace long int with long long int.
71119         Define lround functions as aliases of llround functions.
71120         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
71122 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71124         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
71125         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
71126         adresses to uintptr_t.  Replace "long int" and "unsigned long
71127         int" with "greg_t" on va_arg.
71129 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71131         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
71132         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
71134         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
71135         Move e_machine check before EI_CLASS check.  Handle x32
71136         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
71137         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71138         SKIP_EM_IA_64 and include
71139         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71141         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71142         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71143         (add_system_dir): New macro.
71145         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71146         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71148 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71150         [BZ #2551]
71151         [BZ #2552]
71152         [BZ #2553]
71153         [BZ #2554]
71154         [BZ #2562]
71155         [BZ #2563]
71156         [BZ #2565]
71157         [BZ #2566]
71158         [BZ #2576]
71159         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
71160         (y0): Likewise.
71161         * math/w_j0f.c (j0f): Likewise.
71162         (y0f): Likewise.
71163         * math/w_j0l.c (__j0l): Likewise.
71164         (__y0l): Likewise.
71165         * math/w_j1.c (j1): Likewise.
71166         (y1): Likewise.
71167         * math/w_j1f.c (j1f): Likewise.
71168         (y1f): Likewise.
71169         * math/w_j1l.c (__j1l): Likewise.
71170         (__y1l): Likewise.
71171         * math/w_jn.c (jn): Likewise.
71172         (yn): Likewise.
71173         * math/w_jnf.c (jnf): Likewise.
71174         (ynf): Likewise.
71175         * math/w_jnl.c (__jnl): Likewise.
71176         (__ynl): Likewise.
71177         * math/libm-test.inc (j0_test): Add more tests.
71178         (j1_test): Likewise.
71179         (jn_test): Likewise.  Add trailing semicolon to existing test.
71180         (y0_test): Likewise.
71181         (y1_test): Likewise.
71182         * sysdeps/i386/fpu/libm-test-ulps: Update.
71183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71185         [BZ #13851]
71186         [BZ #13854]
71187         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71188         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71189         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71190         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71191         (__tanl): Set errno for infinite argument.
71192         * sysdeps/i386/fpu/mptan.c: Remove.
71193         * sysdeps/i386/fpu/s_tan.S: Likewise.
71194         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71195         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71196         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71197         * math/libm-test.inc (tan_test): Add more tests and enable more
71198         tests for double and long double.
71199         * sysdeps/i386/fpu/libm-test-ulps: Update.
71200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71202 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71204         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71205         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71207 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71209         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71210         * configure.in: Use it for both main tree and add-ons.
71211         * configure: Regenerated.
71213 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71215         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71217 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71219         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71220         in comment.
71222         [BZ #13851]
71223         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71224         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71225         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71226         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71227         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71228         infinite argument.
71229         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71230         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71231         != 0 for prec == 2.
71232         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71233         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71234         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71235         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71236         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71237         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71238         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71239         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71240         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71241         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71242         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71243         * math/libm-test.inc (cos_test): Add more tests and enable more
71244         tests for long double.
71245         (sin_test): Likewise.
71246         (sincos_test): Likewise.
71247         * sysdeps/i386/fpu/libm-test-ulps: Update.
71248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71250 2012-03-16  David S. Miller  <davem@davemloft.net>
71252         * sysdeps/sparc/fpu/math_private.h: New file.
71254 2012-03-15  David S. Miller  <davem@davemloft.net>
71256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71257         file.
71258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71260         file.
71261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71266         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71267         sysdep routines.
71268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71270         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71271         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71273         * sysdeps/sparc/sparc-ifunc.h: New file.
71274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71275         sparc-ifunc.h
71276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71278         Likewise.
71279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71280         Likewise.
71281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71285         Likewise.
71286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71291         Likewise.
71292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71293         Likewise.
71294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71300         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71301         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71312         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71313         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71314         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71315         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71316         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71317         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71319 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71321         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71322         scaling.
71323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71325 2012-03-15  Andreas Jaeger  <aj@suse.de>
71327         [BZ #13852]
71328         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71329         ieee754/flt-32 implementation for sin, cos and sincos.
71330         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71331         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71332         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71333         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71334         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71335         ieee754/flt-32 implementation for tan.
71337         * math/libm-test.inc (cos_test): Enable some large input tests for
71338         float as well
71339         (sin_test): Likewise.
71340         (sincos_test): Likewise.
71341         (tan_test): Add tests for large input.
71343         * sysdeps/i386/fpu/libm-test-ulps: Update.
71345 2012-03-15  Andreas Jaeger  <aj@suse.de>
71347         [BZ #13658]
71348         * math/libm-test.inc (cos_test): Add more test cases.
71349         (sin_test): Likewise.
71350         (sincos_test): Likewise.
71352 2012-03-15  Andreas Jaeger  <aj@suse.de>
71354         [BZ #13837]
71355         * math/libm-test.inc (cos_test): Add a test case for large input
71356         value.
71357         (sin_test): Likewise.
71358         (sincos_test): Likewise.
71360 2012-03-15  Andreas Jaeger  <aj@suse.de>
71361             Joseph Myers  <joseph@codesourcery.com>
71363         [BZ #13658]
71364         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71365         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71366         * sysdeps/i386/fpu/branred.c: Likewise.
71367         * sysdeps/i386/fpu/dosincos.c: Likewise.
71368         * sysdeps/i386/fpu/mpa.c: Likewise.
71369         * sysdeps/i386/fpu/s_cos.S: Likewise.
71370         * sysdeps/i386/fpu/s_sin.S: Likewise.
71371         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71372         * sysdeps/i386/fpu/sincos32.c: Likewise.
71374         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71375         Define.
71376         (libc_feupdateenv_53bit): Define.
71377         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71378         Define.
71379         (libc_feupdateenv_53bit): Define.
71381         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71382         53 bit (without extend i386 double precision).
71384         * math/libm-test.inc (sincos_test): Add tests for large input.
71385         (sin): Likewise.
71386         (cos): Likewise.
71388         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71390 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71394 2012-03-15  David S. Miller  <davem@davemloft.net>
71396         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71397         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71398         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71399         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71404         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71410         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71412         file.
71413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71415         file.
71416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71418         file.
71419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71421         file.
71422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71424         fmin/fmax sysdep routines.
71425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71427 2012-03-14  David S. Miller  <davem@davemloft.net>
71429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71433         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71434         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71435         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71436         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71441         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71442         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71443         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71447         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71448         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71449         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71450         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71451         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71452         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71453         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71454         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71455         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71456         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71458         routines.
71459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71460         file.
71461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71463         file.
71464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71466         file.
71467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71469         file.
71470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71472         file.
71473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71475         file.
71476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71477         file.
71478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71479         file.
71480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71481         file.
71482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71483         New file.
71484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71485         file.
71486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71487         file.
71488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71490         file.
71491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71493         file.
71494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71496         file.
71497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71499         VIS3 routines.
71501         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71502         New file.
71504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71506         * sysdeps/sparc/configure.in: New file.
71507         * sysdeps/sparc/configure: Generate.
71508         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71509         * configure: Regenerate.
71510         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71511         * config.make.in (have-as-vis3): New.
71512         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71513         available use -Av9d instead of -Av9a.
71514         * sysdeps/sparc/sparc64/Makefile: Likewise.
71515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71517         New file.
71518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71519         file.
71520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71521         New file.
71522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71523         file.
71524         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71525         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71526         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71527         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71528         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71530         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71531         fzeros/fnegs to load 0x80000000 into a float register instead of
71532         using the stack.
71533         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71535 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71537         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71538         bits/syscall.h.
71539         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71540         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71541         ($(inst_includedir)/bits/syscall.h): Remove rule.
71542         ($(objpfx)bits/syscall.d): Include instead of
71543         $(objpfx)syscall-list.d.
71544         (generated): Change syscall-list.h and syscall-list.d to
71545         bits/syscall.h and bits/syscall.d.
71547 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71549         [BZ #13846]
71550         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71552 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71554         [BZ #13841]
71555         * math/s_csqrt.c: Include <float.h>.
71556         (__csqrt): Scale large or subnormal inputs.
71557         * math/s_csqrtf.c: Likewise.
71558         * math/s_csqrtl.c: Likewise.
71559         * math/libm-test.inc (csqrt_test): Add more tests.
71560         * sysdeps/i386/fpu/libm-test-ulps: Update.
71561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71563         [BZ #13840]
71564         * math/libm-test.inc (hypot_test): Add more tests.
71566 2012-03-13  David S. Miller  <davem@davemloft.net>
71568         [BZ #13840]
71569         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71570         double-precision for the calculation instead of scaling.
71572 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71574         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71575         manipulate bits before adding and subtracting TWO52[sx].
71576         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71577         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71578         Likewise.
71579         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71581 2012-03-13  David S. Miller  <davem@davemloft.net>
71583         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71584         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71585         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71586         rtld-global-offsets.h
71587         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71589         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71590         large parameters.
71592         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71594         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71595         'err' in the ifdef scope in which it is actually used.
71597         * nss/nss_db/db-init.c: Include string.h
71599 2012-03-12  David S. Miller  <davem@davemloft.net>
71601         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71602         masking out of the most significant byte of random value used.
71603         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71604         Fix coding style in previous change.
71606         * sysdeps/unix/sysv/linux/kernel-features.h
71607         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71608         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71609         expression.
71610         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71611         later.
71613 2012-03-11  David S. Miller  <davem@davemloft.net>
71615         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71616         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71617         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71618         for 'resultvar' otherwise things get truncated on 64-bit.
71620         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71621         Fix masking out of the most significant byte of random value used.
71623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71625 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71629 2012-03-09  David S. Miller  <davem@davemloft.net>
71631         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71632         variables with appropriate CPP guards.
71633         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71634         from the frame pointer, not the stack pointer.  Correct layout
71635         comments.  Fix test on resulting framesize and the management of
71636         the outregs buffer for pltexit.  Preserve floating point return
71637         values across _dl_call_pltexit call.
71638         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71639         framesize and the management of the outregs buffer for pltexit.
71640         Preserve floating point return values across _dl_call_pltexit
71641         call.
71642         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71643         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71644         (la_sparc64_gnu_pltexit): New functions.
71645         (print_exit): Fix format string for return register value.
71647 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71649         * sunrpc/Makefile (others): Add rpcgen.
71650         ($(objpfx)rpcgen): Remove special build rule and dependency on
71651         libc.
71652         * sunrpc/rpcgen.c: New file.
71654 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71656         [BZ #13673]
71657         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71658         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71659         * sysdeps/i386/crti.S: Likewise.
71660         * sysdeps/i386/crtn.S: Likewise.
71661         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71662         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71663         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71664         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71665         * sysdeps/sh/crti.S: Likewise.
71666         * sysdeps/sh/crtn.S: Likewise.
71667         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71669         [BZ #13673]
71670         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71671         with URL.
71672         * locale/programs/locfile-kw.gperf: Likewise.
71673         * locale/programs/charmap-kw.h: Regenerated.
71674         * locale/programs/locfile-kw.h: Likewise.
71676         [BZ #13673]
71677         * intl/plural.y: Replace FSF snail mail address with URL.
71678         * intl/plural.c: Regenerated.
71680 2012-03-09  Richard Henderson  <rth@twiddle.net>
71682         * include/math_private.h: Remove file.
71683         * math/math_private.h: Move file ...
71684         * sysdeps/generic/math_private.h: ... here.
71686         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71687         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71688         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71690         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71691         and <math_private.h>.
71692         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71693         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71694         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71695         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71696         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71697         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71698         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71699         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71700         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71701         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71702         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71703         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71704         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71705         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71706         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71707         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71708         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71709         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71710         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71711         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71712         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71713         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71714         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71715         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71716         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71717         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71718         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71719         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71721         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71722         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71723         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71724         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71725         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71726         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71727         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71728         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71729         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71730         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71731         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71732         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71733         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71734         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71735         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71736         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71737         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71738         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71739         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71740         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71741         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71742         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71743         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71744         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71745         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71746         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71747         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71748         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71749         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71750         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71751         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71752         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71753         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71754         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71755         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71756         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71757         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71758         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71759         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71760         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71761         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71762         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71763         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71764         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71765         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71766         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71767         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71768         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71769         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71770         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71771         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71772         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71773         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71774         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71775         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71776         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71777         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71778         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71779         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71780         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71781         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71782         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71783         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71784         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71785         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71786         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71787         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71788         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71789         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71790         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71791         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71792         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71793         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71794         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71795         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71796         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71797         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71798         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71799         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71800         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71801         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71802         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71803         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71804         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71805         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71806         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71807         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71808         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71809         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71810         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71811         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71812         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71813         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71814         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71815         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71816         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71817         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71818         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71819         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71820         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71821         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71822         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71823         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71824         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71825         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71826         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71827         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71828         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71829         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71830         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71831         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71832         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71833         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71834         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71835         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71836         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71837         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71838         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71839         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71840         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71841         * sysdeps/ieee754/k_standard.c: Likewise.
71842         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71843         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71844         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71845         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71846         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71847         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71848         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71849         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71850         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71851         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71852         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71853         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71854         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71855         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71856         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71857         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71858         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71859         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71860         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71861         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71862         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71863         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71864         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71865         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71866         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71867         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71868         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71869         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71870         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71871         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71872         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71873         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71874         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71875         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71876         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71877         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71878         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71879         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71880         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71881         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71882         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71883         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71884         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71885         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71886         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71887         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71888         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71889         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71890         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71891         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71892         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71893         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71894         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71895         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71896         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71897         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71898         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71899         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71900         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71901         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71902         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71903         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71904         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71905         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71906         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71907         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71908         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71909         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71910         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71911         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71912         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71914         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71915         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71916         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71917         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71918         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71919         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71920         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71921         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71922         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71923         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71924         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71925         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71926         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71927         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71928         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71929         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71930         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71931         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71932         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71933         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71934         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71935         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71936         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71937         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71938         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71939         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71940         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71941         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71942         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71943         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71944         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71945         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71946         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71947         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71948         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71949         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71950         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71951         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71952         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71953         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71954         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71955         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71956         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71957         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71958         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71959         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71960         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71961         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71962         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71963         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71964         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71965         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71966         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71967         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71968         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71969         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71970         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71971         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71972         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71973         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71974         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71975         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71976         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71977         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71978         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71979         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71980         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71981         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71982         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71983         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71984         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71985         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71986         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71987         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71988         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71989         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71990         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71991         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71992         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71993         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71994         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71995         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71996         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71997         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71998         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71999         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72000         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72001         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
72002         * sysdeps/ieee754/s_lib_version.c: Likewise.
72003         * sysdeps/ieee754/s_matherr.c: Likewise.
72004         * sysdeps/ieee754/s_signgam.c: Likewise.
72005         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72006         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72007         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
72008         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
72009         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
72010         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72011         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
72012         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
72013         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
72014         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
72015         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
72016         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
72017         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72018         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72019         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
72020         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72021         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72022         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72023         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72025         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72027 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72029         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
72030         * sunrpc/rpc_main.c: Likewise.
72031         * sunrpc/rpc_svcout.c: Likewise.
72033 2012-03-09  David S. Miller  <davem@davemloft.net>
72035         * include/math_private.h: New file.
72037 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72039         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
72040         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
72041         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
72042         from <bits/socket_type.h>.
72043         (enum __socket_type): Don't define here.
72044         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
72045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72046         bits/socket_type.h.
72048         [BZ #13566]
72049         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
72050         checking __USE_GNU.
72052         * Makerules ($(inst_includedir)/%.h): New rule.
72053         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
72054         (install-others): Remove variable setting.
72055         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
72057 2012-03-08  Richard Henderson  <rth@twiddle.net>
72059         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
72060         from macro to inline function; merge with the
72061         !__LIBC_INTERNAL_MATH_INLINES version.
72062         (__ieee754_sqrtf): Likewise.
72064         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
72065         to inline function.
72066         (__rintf, __floor, __floorf): Likewise.
72068         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
72069         macro to inline function.
72070         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
72072         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
72073         not <math/math_private.h>.
72075 2012-03-08  David S. Miller  <davem@davemloft.net>
72077         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
72078         copyright year.
72079         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
72081 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
72083         * resolv/gai_misc.c (handle_requests): Fix struct timespec
72084         normalization.
72085         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
72086         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
72088 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
72090         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
72091         be defined individually, they must be defined as a block.  Define
72092         S for printing a string instead of hidint the different by using a
72093         macro for adding the 'l'.
72094         * stdio-common/tst-fphex-wide.c: Adjust.
72096 2012-03-07  Marek Polacek  <polacek@redhat.com>
72098         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
72100 2012-03-08  Marek Polacek  <polacek@redhat.com>
72102         [BZ #13806]
72103         * stdio-common/Makefile (tests): Add tst-fphex-wide.
72104         * stdio-common/tst-fphex.c: Define a few macros to make the
72105         test reusable.  Use them.
72106         * stdio-common/tst-fphex-wide.c: New file.
72108 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
72110         [BZ #6911]
72111         * manual/macros.texi (gnusystems): New macro.
72112         (nongnusystems): Likewise.
72113         (gnulinuxhurdsystems): Likewise.
72114         (gnuhurdsystems): Likewise..
72115         (gnulinuxsystems): Likewise.
72116         * manual/charset.texi: Use new macros or @theglibc{} to refer to
72117         variants of the GNU system, not "GNU system".
72118         * manual/conf.texi: Likewise.
72119         * manual/errno.texi: Likewise.  Update example of errno macro
72120         expansion.
72121         * manual/filesys.texi: Likewise.
72122         (getumask): Document as specific to GNU/Hurd.
72123         * manual/install.texi: Likewise.  Reword some references to
72124         GNU/Linux.
72125         * manual/intro.texi: Likewise.
72126         * manual/io.texi: Likewise.
72127         (File Name Portability): Detail which constraints are inapplicable
72128         to all GNU systems and which are only inapplicable to GNU/Hurd.
72129         * manual/job.texi: Likewise.
72130         * manual/llio.texi: Likewise.
72131         (O_NOCTTY): Document as present on GNU/Linux.
72132         * manual/maint.texi: Likewise.
72133         * manual/memory.texi: Likewise.
72134         * manual/pattern.texi: Likewise.
72135         * manual/pipe.texi: Likewise.
72136         * manual/process.texi: Likewise.
72137         * manual/resource.texi: Likewise.
72138         (RUSAGE_CHILDREN): Remove statement about specifying a particular
72139         child on GNU/Hurd.
72140         * manual/setjmp.texi: Likewise.
72141         * manual/signal.texi: Likewise.
72142         * manual/startup.texi: Likewise.
72143         * manual/stdio.texi: Likewise.
72144         * manual/terminal.texi: Likewise.
72145         (ONLCR): Document as POSIX.
72146         (OXTABS): Document availability on GNU/Linux as XTABS.
72147         (ONOEOT): Document availability separately from other bits.
72148         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72149         * manual/time.texi: Likewise.
72150         * manual/users.texi: Likewise.
72151         * INSTALL: Regenerated.
72152         * sysdeps/gnu/errlist.c: Regenerated.
72154         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72155         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72156         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
72157         puts.
72158         * configure: Regenerated.
72160 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
72162         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72163         default includes instead of AC_HEADER_CHECK.
72164         * sysdeps/i386/configure: Regenerated.
72166         [BZ #10716]
72167         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
72168         * math/s_cacoshf.c (__cacoshf): Likewise.
72169         * math/s_cacoshl.c (__cacoshl): Likewise.
72170         * math/s_casinh.c (__casinh): Set signs of result from argument.
72171         * math/s_casinhf.c (__casinhf): Likewise.
72172         * math/s_casinhl.c (__casinhl): Likewise.
72173         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72174         (casinh_test): Add more tests.
72175         * sysdeps/i386/fpu/libm-test-ulps: Update.
72176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72178 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72180         * po/zh_TW.po: Update from translation team.
72182         * login/Makefile (distribute): Remove variable.
72183         * catgets/Makefile: Likewise.
72184         * mach/Makefile: Likewise.
72185         * malloc/Makefile: Likewise.
72186         * misc/Makefile: Likewise.
72187         * iconv/Makefile: Likewise.
72188         * nscd/Makefile: Likewise.
72189         * hurd/Makefile: Likewise.
72190         * manual/Makefile: Likewise.
72191         * locale/Makefile: Likewise.
72192         * intl/Makefile: Likewise.
72193         * conform/Makefile: Likewise.
72194         * nss/Makefile: Likewise.
72195         * time/Makefile: Likewise.
72196         * soft-fp/Makefile: Likewise.
72197         * dirent/Makefile: Likewise.
72198         * gmon/Makefile: Likewise.
72199         * po/Makefile: Likewise.
72200         * rt/Makefile: Likewise.
72201         * socket/Makefile: Likewise.
72202         * math/Makefile: Likewise.
72203         * signal/Makefile: Likewise.
72204         * debug/Makefile: Likewise.
72205         * elf/Makefile: Likewise.
72206         * timezone/Makefile: Likewise.
72207         * stdlib/Makefile: Likewise.
72208         * iconvdata/Makefile: Likewise.
72209         * sunrpc/Makefile: Likewise.
72210         * io/Makefile: Likewise.
72211         * argp/Makefile: Likewise.
72212         * inet/Makefile: Likewise.
72213         * hesiod/Makefile: Likewise.
72214         * grp/Makefile: Likewise.
72215         * csu/Makefile: Likewise.
72216         * wctype/Makefile: Likewise.
72217         * crypt/Makefile: Likewise.
72218         * libio/Makefile: Likewise.
72219         * string/Makefile: Likewise.
72220         * nis/Makefile: Likewise.
72221         * resolv/Makefile: Likewise.
72222         * stdio-common/Makefile: Likewise.
72223         * wcsmbs/Makefile: Likewise.
72224         * dlfcn/Makefile: Likewise.
72225         * posix/Makefile: Likewise.
72227         [BZ #6959]
72228         * timezone/Makefile: Don't install timezone files, just the programs
72229         and scripts.
72231 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72233         * nss/databases.def: Add missing gshadow entry.
72235         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72237 2012-03-06  Marek Polacek  <polacek@redhat.com>
72239         [BZ #13726]
72240         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72241         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72242         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72243         * stdio-common/tst-long-dbl-fphex.c: New file.
72245 2012-03-06  David S. Miller  <davem@davemloft.net>
72247         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72248         (set_obp_int): New function.
72249         (get_obp_int): New function.
72250         (__get_clockfreq_via_dev_openprom): Likewise.
72251         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72252         Avoid unused variable warnings on 'val' and use builtin_expect.
72253         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72254         __builtin_expect.
72255         (INLINE_CLONE_SYSCALL): Likewise.
72257 2012-03-05  David S. Miller  <davem@davemloft.net>
72259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72261 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72265         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72266         only for |x| >= 40.
72267         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72269 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72271         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72272         Replace gettimeofday with __vdso_gettimeofday.
72274         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72275         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72276         __vdso_clock_gettime and __vdso_getcpu.
72278         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72279         time with __vdso_time.
72281 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72283         * manual/lang.texi (size_t): Note types to which size_t may be
72284         equivalent with the GNU C Library, but do not describe when
72285         differences between them are significant.
72287 2012-03-05  Andreas Jaeger  <aj@suse.de>
72289         * sysdeps/i386/fpu/libm-test-ulps: Update.
72291 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72293         [BZ #3976]
72294         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72295         (__ieee754_pow): Save and restore rounding mode and use
72296         round-to-nearest for main computations.
72297         * math/libm-test.inc (pow_test_tonearest): New function.
72298         (pow_test_towardzero): Likewise.
72299         (pow_test_downward): Likewise.
72300         (pow_test_upward): Likewise.
72301         (main): Call the new functions.
72302         * sysdeps/i386/fpu/libm-test-ulps: Update.
72303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72305         [BZ #3976]
72306         * math/libm-test.inc (cosh_test_tonearest): New function.
72307         (cosh_test_towardzero): Likewise.
72308         (cosh_test_downward): Likewise.
72309         (cosh_test_upward): Likewise.
72310         (sinh_test_tonearest): Likewise.
72311         (sinh_test_towardzero): Likewise.
72312         (sinh_test_downward): Likewise.
72313         (sinh_test_upward): Likewise.
72314         (main): Call the new functions.
72315         * sysdeps/i386/fpu/libm-test-ulps: Update.
72316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72318 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72320         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72321         default stack guard is set in last bytes.
72322         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72324 2012-03-05  Kees Cook  <keescook@chromium.org>
72326         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72328         [BZ #13656]
72329         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72330         possibly allocate from heap instead of stack.
72331         * stdio-common/bug-vfprintf-nargs.c: New file.
72332         * stdio-common/Makefile (tests): Add nargs overflow test.
72334 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72338 2012-03-03  Marek Polacek  <polacek@redhat.com>
72340         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72341         * math/math_private.h: Likewise.
72342         * stdlib/tst-strtod.c: Likewise.
72343         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72344         * sysdeps/x86_64/bits/atomic.h: Likewise.
72346 2012-03-02  David S. Miller  <davem@davemloft.net>
72348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72352         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72353         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72354         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72355         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72357 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72359         [BZ #13792]
72360         * manual/examples/README: New file, says the example source files
72361         can be used under GPL>=2.
72362         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72363         line containing just "*/".
72364         * manual/examples/add.c: Add copyright header (GPL>=2).
72365         * manual/examples/argp-ex1.c: Likewise.
72366         * manual/examples/argp-ex2.c: Likewise.
72367         * manual/examples/argp-ex3.c: Likewise.
72368         * manual/examples/argp-ex4.c: Likewise.
72369         * manual/examples/atexit.c: Likewise.
72370         * manual/examples/db.c: Likewise.
72371         * manual/examples/dir.c: Likewise.
72372         * manual/examples/dir2.c: Likewise.
72373         * manual/examples/execinfo.c: Likewise.
72374         * manual/examples/filecli.c: Likewise.
72375         * manual/examples/filesrv.c: Likewise.
72376         * manual/examples/fmtmsgexpl.c: Likewise.
72377         * manual/examples/genpass.c: Likewise.
72378         * manual/examples/inetcli.c: Likewise.
72379         * manual/examples/inetsrv.c: Likewise.
72380         * manual/examples/isockad.c: Likewise.
72381         * manual/examples/longopt.c: Likewise.
72382         * manual/examples/memopen.c: Likewise.
72383         * manual/examples/memstrm.c: Likewise.
72384         * manual/examples/mkfsock.c: Likewise.
72385         * manual/examples/mkisock.c: Likewise.
72386         * manual/examples/mygetpass.c: Likewise.
72387         * manual/examples/pipe.c: Likewise.
72388         * manual/examples/popen.c: Likewise.
72389         * manual/examples/rprintf.c: Likewise.
72390         * manual/examples/search.c: Likewise.
72391         * manual/examples/select.c: Likewise.
72392         * manual/examples/setjmp.c: Likewise.
72393         * manual/examples/sigh1.c: Likewise.
72394         * manual/examples/sigusr.c: Likewise.
72395         * manual/examples/stpcpy.c: Likewise.
72396         * manual/examples/strdupa.c: Likewise.
72397         * manual/examples/strftim.c: Likewise.
72398         * manual/examples/strncat.c: Likewise.
72399         * manual/examples/subopt.c: Likewise.
72400         * manual/examples/swapcontext.c: Likewise.
72401         * manual/examples/termios.c: Likewise.
72402         * manual/examples/testopt.c: Likewise.
72403         * manual/examples/testpass.c: Likewise.
72404         * manual/examples/timeval_subtract.c: Likewise.
72406         [BZ #13792]
72407         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72408         function to ...
72409         * manual/timeval_subtract.c.texi: ... here, new file.
72411 2012-03-02  David S. Miller  <davem@davemloft.net>
72413         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72415 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72417         [BZ #3976]
72418         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72419         (__sin): Save and restore rounding mode and use round-to-nearest
72420         for all computations.
72421         (__cos): Save and restore rounding mode and use round-to-nearest
72422         for all computations.
72423         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72424         <fenv.h>.
72425         (tan): Save and restore rounding mode and use round-to-nearest for
72426         all computations.
72427         * math/libm-test.inc (cos_test_tonearest): New function.
72428         (cos_test_towardzero): Likewise.
72429         (cos_test_downward): Likewise.
72430         (cos_test_upward): Likewise.
72431         (sin_test_tonearest): Likewise.
72432         (sin_test_towardzero): Likewise.
72433         (sin_test_downward): Likewise.
72434         (sin_test_upward): Likewise.
72435         (tan_test_tonearest): Likewise.
72436         (tan_test_towardzero): Likewise.
72437         (tan_test_downward): Likewise.
72438         (tan_test_upward): Likewise.
72439         (main): Call the new functions.
72440         * sysdeps/i386/fpu/libm-test-ulps: Update.
72441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72443         [BZ #10135]
72444         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72445         small n, then large n, before computing and testing k+n.
72446         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72447         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72448         Likewise.
72449         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72450         Likewise.
72451         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72452         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72453         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72454         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72455         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72456         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72457         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72458         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72459         * math/libm-test.inc (scalbn_test): Add more tests.
72460         (scalbln_test): Likewise.
72462         * manual/filesys.texi (mode_t): Describe constraints on size and
72463         signedness, not exact equivalence to a particular type.
72464         (ino_t): Likewise.
72465         (ino64_t): Likewise.
72466         (dev_t): Likewise.
72467         (nlink_t): Likewise.
72468         (blkcnt_t): Likewise.
72469         (blkcnt64_t): Likewise.
72470         * manual/llio.texi (off_t): Likewise.
72472         [BZ #3976]
72473         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72474         (__ieee754_exp): Save and restore rounding mode and use
72475         round-to-nearest for all computations.
72476         * math/libm-test.inc (exp_test_tonearest): New function.
72477         (exp_test_towardzero): Likewise.
72478         (exp_test_downward): Likewise.
72479         (exp_test_upward): Likewise.
72480         (main): Call the new functions.
72481         * sysdeps/i386/fpu/libm-test-ulps: Update.
72482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72484 2012-03-01  Chris Demetriou  <cgd@google.com>
72486         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72487         have predictable order.
72489 2012-03-01  David S. Miller  <davem@davemloft.net>
72491         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72493         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72494         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72495         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72496         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72498         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72499         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72500         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72502         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72503         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72504         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72505         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72506         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72510         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72511         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72512         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72514         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72515         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72516         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72517         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72518         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72519         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72520         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72521         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72522         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72523         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72524         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72525         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72526         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72527         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72528         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72529         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72530         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72531         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72532         * sysdeps/sparc/elf/configure: Regenerated.
72534 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72536         * configure.in (AS, LD): Require binutils 2.20 or later.
72537         * configure: Regenerated.
72538         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72539         as required minimum version.
72540         * INSTALL: Regenerated.
72542         [BZ #2541]
72543         [BZ #4108]
72544         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72545         before squaring exponent.
72546         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72547         bottom long double and 27 bits of top long double before squaring
72548         exponent.
72549         * math/libm-test.inc (erfc_test): Add more tests.
72550         * sysdeps/i386/fpu/libm-test-ulps: Update.
72551         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72554 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72556         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72557         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72558         containing bit-fields.
72559         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72560         * soft-fp/single.h (_FP_UNION_S): Likewise.
72561         * soft-fp/double.h (_FP_UNION_D): Likewise.
72563 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72565         [BZ #13786]
72566         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72567         not include ../strcmp.S.
72568         [USE_AS_STRNCASECMP_L]: Likewise.
72569         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72570         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72571         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72572         (__strncasecmp_l_ia32): Define as alias to
72573         __strncasecmp_l_nonascii.
72575         [BZ #5794]
72576         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72577         * sysdeps/i386/fpu/libm-test-ulps: Update.
72578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72580         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72583 2012-02-29  Jeff Law  <law@redhat.com>
72585         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72586         out of bounds read.
72588 2012-02-29  Marek Polacek  <polacek@redhat.com>
72590         [BZ #13706]
72591         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72592         * elf/Makefile: Add rules to run tst-unused-dep.out.
72594 2012-02-28  David S. Miller  <davem@davemloft.net>
72596         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72597         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72598         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72599         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72600         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72601         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72603 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72605         * math/libm-test.inc (llround_test): Move one test from
72606         lround_test.  Use TEST_f_L in moved test.
72607         (lround_test): Move misplaced test to llround_test.  Add testcase
72608         from bug 2561.
72610 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72612         * sysdeps/x86_64/fpu/e_expf.S: New file.
72613         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72615 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72617         [BZ #13637]
72618         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72619         of remain_len that may cause incomplete multi-byte character and
72620         false match.
72621         * posix/bug-regex33.c: New file.
72622         * posix/Makefile (tests): Add bug-regex33.
72624 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72626         * manual/macros.texi: New file.
72627         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72628         * manual/libc.texinfo: Include macros.texi.
72629         * manual/creatute.texi: Likewise.
72630         * manual/install.texi: Likewise.
72631         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72632         @glibcadj{} in references to the GNU C Library.
72633         * manual/charset.texi: Likewise.
72634         * manual/conf.texi: Likewise.
72635         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72636         when not using those macros.
72637         * manual/creature.texi: Likewise.
72638         * manual/crypt.texi: Likewise.
72639         * manual/errno.texi: Likewise.
72640         * manual/filesys.texi: Likewise.
72641         * manual/header.texi: Likewise.
72642         * manual/install.texi: Likewise.
72643         * manual/intro.texi: Likewise.
72644         * manual/io.texi: Likewise.
72645         * manual/job.texi: Likewise.
72646         * manual/lang.texi: Likewise.
72647         * manual/libc.texiinfo: Likewise.
72648         * manual/llio.texi: Likewise.
72649         * manual/locale.texi: Likewise.
72650         * manual/maint.texi: Likewise.
72651         * manual/math.texi: Likewise.
72652         * manual/memory.texi: Likewise.
72653         * manual/message.texi: Likewise.
72654         * manual/nss.texi: Likewise.
72655         * manual/pattern.texi: Likewise.
72656         * manual/process.texi: Likewise.
72657         * manual/resource.texi: Likewise.
72658         * manual/search.texi: Likewise.
72659         * manual/setjmp.texi: Likewise.
72660         * manual/signal.texi: Likewise.
72661         * manual/socket.texi: Likewise.
72662         * manual/startup.texi: Likewise.
72663         * manual/stdio.texi: Likewise.
72664         * manual/string.texi: Likewise.
72665         * manual/sysinfo.texi: Likewise.
72666         * manual/syslog.texi: Likewise.
72667         * manual/terminal.texi: Likewise.
72668         * manual/time.texi: Likewise.
72669         * manual/users.texi: Likewise.
72670         * INSTALL: Regenerated.
72671         * NOTES: Regenerated.
72672         * sysdeps/gnu/errlist.c: Regenerated.
72674 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72676         * include/dirent.h: Include <dirstream.h> before
72677         <dirent/dirent.h>.
72679 2012-02-28  David S. Miller  <davem@davemloft.net>
72681         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72682         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72683         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72684         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72686 2012-02-27  David S. Miller  <davem@davemloft.net>
72688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72690         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72691         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72694         frame pointer instead of stack pointer relative arg slot.
72695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72696         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72697         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72699 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72701         [BZ #3992]
72702         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72704 2012-02-27  David S. Miller  <davem@davemloft.net>
72706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72710         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72711         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72712         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72713         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72715 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72717         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72718         later.  Allow versions 5-9.
72719         * configure: Regenerated.
72720         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72721         required minimum version and 4.6 as recommended version.  Do not
72722         mention bugs in GCC 2.7 and 2.8.
72723         * INSTALL: Regenerated.
72725 2012-02-27  David S. Miller  <davem@davemloft.net>
72727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72731         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72732         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72733         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72734         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72736         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72737         manipulate bits before adding and subtracting TWO112[sx].
72738         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72740 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72742         [BZ #13775]
72743         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72744         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72745         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72746         being in POSIX, because they are in 1003.1-2008.
72748         * rt/tst-aio.c: Include <fcntl.h>.
72749         * rt/tst-aio7.c: Likewise.
72750         * rt/tst-aio64.c: Likewise.
72752         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72754 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72756         * manual/install.texi (--with-headers): Describe headers as
72757         interface headers, not private headers.
72758         (Specific advice for GNU/Linux systems): Describe use of headers
72759         from "make headers_install", not private headers from older
72760         kernels.
72761         * INSTALL: Regenerated.
72762         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72763         Change to 2.6.19.
72764         * sysdeps/unix/sysv/linux/configure: Regenerated.
72766         * manual/llio.texi (fclean): Remove documentation.
72768         * manual/Makefile (libc-texi-generated): New variable.  Include
72769         version.texi.
72770         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72771         $(libc-texi-generated), not duplicated list of files.
72772         (version.texi, stamp-version): New rules.
72773         (realclean): Remove $(libc-texi-generated), not individual files
72774         from that list.  Do not remove dir-add.texinfo.
72775         * manual/libc.texinfo: Comment out uses of edition numbers and
72776         references to printed manual.  Remove last-updated dates.
72777         (EDITION): Comment out.
72778         (ISBN): Likewise.
72779         (VERSION, UPDATED): Remove.
72780         (version.texi): Include.
72782 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72784         * sysdeps/posix/spawni.c: Include <signal.h>.
72785         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72786         * sysdeps/pthread/aio_fsync.c: Likewise.
72788 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72790         * conform/Makefile (tests): Run only when not cross-compiling and
72791         when fast-check is not defined.
72793         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72794         * conform/data/limits.h-data: Fixes for POSIX2008.
72795         * conform/run-conformtest.sh: Run all tests.
72796         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72797         headers.
72798         * include/bits/dlfcn.h: Likewise.
72799         * include/langinfo.h: Likewise.
72800         * include/monetary.h: Likewise.
72801         * include/sys/poll.h: Likewise.
72803         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72804         for __USE_GNU.
72805         * posix/spawn.h: Define __need_sigset_t.
72806         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72807         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72808         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72809         to get sigevent_t only.
72810         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72811         only for __USE_GNU.
72812         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72813         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72814         process_vm_writev only for __USE_GNU.
72815         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72817         * conform/Makefile: For now ignore errors from run-conformtest.
72818         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72819         POSIX to avoid namespace pollution.  Don't prepend headers.
72820         * conform/data/aio.h-data: Fixes for POSIX testing.
72821         * conform/data/fcntl.h-data: Likewise.
72822         * conform/data/glob.h-data: Likewise.
72823         * conform/data/grp.h-data: Likewise.
72824         * conform/data/pthread.h-data: Likewise.
72825         * conform/data/pwd.h-data: Likewise.
72826         * conform/data/signal.h-data: Likewise.
72827         * conform/data/spawn.h-data: Likewise.
72828         * conform/data/stdio.h-data: Likewise.
72829         * conform/data/stdlib.h-data: Likewise.
72830         * conform/data/stropts.h-data: Likewise.
72831         * conform/data/sys/mman.h-data: Likewise.
72832         * conform/data/sys/stat.h-data: Likewise.
72833         * conform/data/sys/types.h-data: Likewise.
72834         * conform/data/sys/wait.h-data: Likewise.
72835         * conform/data/time.h-data: Likewise.
72836         * conform/data/unistd.h-data: Likewise.
72837         * conform/data/utime.h-data: Likewise.
72839         * io/sys/stat.h: fchmod was always in POSIX.
72840         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72841         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72842         * rt/aio.h: Define __need_timespec before including <time.h>.
72843         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72844         struct.  Add forward declaration of pthread_attr_t and use it in
72845         sigevent.
72846         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72847         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72848         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72849         always remove CLK_TCK definition.
72851 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72853         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72855 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72857         * conform/run-conformtest.sh: New file.
72858         * conform/Makefile: Run run-conformtest for tests.
72859         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72860         support.
72862         * conform/data/uchar.h-data: New file.
72863         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72864         * conform/data/arpa/inet.h-data: Likewise.
72865         * conform/data/assert.h-data: Likewise.
72866         * conform/data/complex.h-data: Likewise.
72867         * conform/data/cpio.h-data: Likewise.
72868         * conform/data/ctype.h-data: Likewise.
72869         * conform/data/dirent.h-data: Likewise.
72870         * conform/data/dlfcn.h-data: Likewise.
72871         * conform/data/errno.h-data: Likewise.
72872         * conform/data/fcntl.h-data: Likewise.
72873         * conform/data/float.h-data: Likewise.
72874         * conform/data/fmtmsg.h-data: Likewise.
72875         * conform/data/fnmatch.h-data: Likewise.
72876         * conform/data/ftw.h-data: Likewise.
72877         * conform/data/glob.h-data: Likewise.
72878         * conform/data/grp.h-data: Likewise.
72879         * conform/data/iconv.h-data: Likewise.
72880         * conform/data/inttypes.h-data: Likewise.
72881         * conform/data/langinfo.h-data: Likewise.
72882         * conform/data/libgen.h-data: Likewise.
72883         * conform/data/limits.h-data: Likewise.
72884         * conform/data/locale.h-data: Likewise.
72885         * conform/data/math.h-data: Likewise.
72886         * conform/data/monetary.h-data: Likewise.
72887         * conform/data/mqueue.h-data: Likewise.
72888         * conform/data/ndbm.h-data: Likewise.
72889         * conform/data/net/if.h-data: Likewise.
72890         * conform/data/netdb.h-data: Likewise.
72891         * conform/data/netinet/in.h-data: Likewise.
72892         * conform/data/nl_types.h-data: Likewise.
72893         * conform/data/poll.h-data: Likewise.
72894         * conform/data/pthread.h-data: Likewise.
72895         * conform/data/pwd.h-data: Likewise.
72896         * conform/data/regex.h-data: Likewise.
72897         * conform/data/sched.h-data: Likewise.
72898         * conform/data/search.h-data: Likewise.
72899         * conform/data/semaphore.h-data: Likewise.
72900         * conform/data/setjmp.h-data: Likewise.
72901         * conform/data/signal.h-data: Likewise.
72902         * conform/data/spawn.h-data: Likewise.
72903         * conform/data/stdarg.h-data: Likewise.
72904         * conform/data/stdio.h-data: Likewise.
72905         * conform/data/stdlib.h-data: Likewise.
72906         * conform/data/string.h-data: Likewise.
72907         * conform/data/strings.h-data: Likewise.
72908         * conform/data/stropts.h-data: Likewise.
72909         * conform/data/sys/ipc.h-data: Likewise.
72910         * conform/data/sys/mman.h-data: Likewise.
72911         * conform/data/sys/msg.h-data: Likewise.
72912         * conform/data/sys/resource.h-data: Likewise.
72913         * conform/data/sys/select.h-data: Likewise.
72914         * conform/data/sys/sem.h-data: Likewise.
72915         * conform/data/sys/shm.h-data: Likewise.
72916         * conform/data/sys/socket.h-data: Likewise.
72917         * conform/data/sys/stat.h-data: Likewise.
72918         * conform/data/sys/statvfs.h-data: Likewise.
72919         * conform/data/sys/time.h-data: Likewise.
72920         * conform/data/sys/timeb.h-data: Likewise.
72921         * conform/data/sys/times.h-data: Likewise.
72922         * conform/data/sys/types.h-data: Likewise.
72923         * conform/data/sys/uio.h-data: Likewise.
72924         * conform/data/sys/un.h-data: Likewise.
72925         * conform/data/sys/utsname.h-data: Likewise.
72926         * conform/data/sys/wait.h-data: Likewise.
72927         * conform/data/syslog.h-data: Likewise.
72928         * conform/data/tar.h-data: Likewise.
72929         * conform/data/termios.h-data: Likewise.
72930         * conform/data/utime.h-data: Likewise.
72931         * conform/data/utmpx.h-data: Likewise.
72932         * conform/data/varargs.h-data: Likewise.
72933         * conform/data/wchar.h-data: Likewise.
72934         * conform/data/wctype.h-data: Likewise.
72935         * conform/data/wordexp.h-data: Likewise.
72937         * include/stropts.h: New file.
72938         * include/uchar.h: New file.
72939         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72940         * include/assert.h: Likewise.
72941         * include/ctype.h: Likewise.
72942         * include/dirent.h: Likewise.
72943         * include/dlfcn.h: Likewise.
72944         * include/fcntl.h: Likewise.
72945         * include/fnmatch.h: Likewise.
72946         * include/glob.h: Likewise.
72947         * include/grp.h: Likewise.
72948         * include/libio.h: Likewise.
72949         * include/locale.h: Likewise.
72950         * include/math.h: Likewise.
72951         * include/net/if.h: Likewise.
72952         * include/netdb.h: Likewise.
72953         * include/netinet/in.h: Likewise.
72954         * include/pthread.h: Likewise.
72955         * include/pwd.h: Likewise.
72956         * include/regex.h: Likewise.
72957         * include/sched.h: Likewise.
72958         * include/search.h: Likewise.
72959         * include/setjmp.h: Likewise.
72960         * include/signal.h: Likewise.
72961         * include/stdio.h: Likewise.
72962         * include/stdlib.h: Likewise.
72963         * include/string.h: Likewise.
72964         * include/sys/cdefs.h: Likewise.
72965         * include/sys/mman.h: Likewise.
72966         * include/sys/msg.h: Likewise.
72967         * include/sys/resource.h: Likewise.
72968         * include/sys/select.h: Likewise.
72969         * include/sys/socket.h: Likewise.
72970         * include/sys/stat.h: Likewise.
72971         * include/sys/statvfs.h: Likewise.
72972         * include/sys/time.h: Likewise.
72973         * include/sys/times.h: Likewise.
72974         * include/sys/uio.h: Likewise.
72975         * include/sys/utsname.h: Likewise.
72976         * include/sys/wait.h: Likewise.
72977         * include/termios.h: Likewise.
72978         * include/time.h: Likewise.
72979         * include/ulimit.h: Likewise.
72980         * include/unistd.h: Likewise.
72981         * include/utime.h: Likewise.
72982         * include/wchar.h: Likewise.
72983         * include/wctype.h: Likewise.
72984         * include/wordexp.h: Likewise.
72986         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72988         * time/time.h: TIME_UTC must be a macro.
72989         Make timespec_get available for ISO C11 only as well.
72991 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72993         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72994         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72996 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72998         * configure.in: Use -o not -a in test for unsupported multi-arch.
73000 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73002         * manual/texinfo.tex: Update to version 2012-01-19.16.
73004 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73006         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
73008 2012-02-24  Roland McGrath  <roland@hack.frob.com>
73010         [BZ #13738]
73011         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
73012         * manual/fdl-1.3.texi: New file.
73013         * manual/fdl-1.1.texi: File removed.
73015         [BZ #13738]
73016         * manual/libc.texinfo (FDL_VERSION): New @set.
73017         Use it for mention of FDL in cover text.
73018         (Documentation License): Use it in @include file name.
73020 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73021             Roland McGrath  <roland@hack.frob.com>
73023         [BZ #5461]
73024         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
73025         (not LONG_LONG_MAX and LONG_LONG_MIN.
73026         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
73027         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
73028         name.
73029         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
73031 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73033         [BZ #2547]
73034         [BZ #11365]
73035         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
73036         manipulate bits before adding and subtracting TWO23[sx].
73037         * math/libm-test.inc (nearbyint_test): Add more tests.
73039 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73041         [BZ #2548]
73042         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
73043         bits before adding and subtracting TWO23[sx].
73044         * math/libm-test.inc (rint_test): Add more tests.
73045         (rint_test_tonearest): Likewise.
73046         (rint_test_towardzero): Likewise.
73047         (rint_test_downward): Likewise.
73048         (rint_test_upward: Likewise.
73050 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73052         [BZ #10110]
73053         * include/stdc-predef.h: New file.  Extracted from features.h.
73054         * include/features.h: Include stdc-predef.h.
73055         * Makefile (headers): Add stdc-predef.h.
73056         * CONFORMANCE (Compiler limitations): Update.
73058 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73060         * manual/libc.texinfo (VERSION, UPDATED): Revert.
73062 2012-02-21  David S. Miller  <davem@davemloft.net>
73064         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
73065         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73067 2012-02-20  David S. Miller  <davem@davemloft.net>
73069         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
73070         using a normal save/restore sequence, rather than allocating a
73071         dummy stack frame just to store a frame pointer and restore.
73072         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73074 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73076         * manual/install.texi: Fix stray word in line-wrapped comment.
73078 2012-02-20  David S. Miller  <davem@davemloft.net>
73080         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
73081         both binutils and gcc support GOTDATA.
73083         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
73084         "rd %pc" in the PIC register setup sequences.
73086         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
73087         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
73088         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73089         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
73090         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73091         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73092         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73093         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73094         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
73095         (SYSCALL_ERROR_HANDLER): Likewise.
73096         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73097         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73098         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
73099         (SYSCALL_ERROR_HANDLER): Likewise.
73101         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
73102         (HAVE_GCC_GOTDATA): New.
73103         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
73104         relocation support in both binutils and gcc.
73105         * sysdeps/sparc/elf/configure: Regenerate.
73107         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
73108         * sysdeps/sparc/sparc32/elf/configure: Delete.
73109         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
73110         * sysdeps/sparc/sparc64/elf/configure: Delete.
73111         * sysdeps/sparc/elf/configure.in: New file.
73112         * sysdeps/sparc/elf/configure: Generate.
73114         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
73115         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
73116         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73117         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
73118         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
73120 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73122         * manual/install.texi: Do not mention specific glibc version
73123         numbers.
73124         * manual/libc.texinfo (VERSION, UPDATED): Update.
73125         (@copying): Use @copyright{} and range of years.
73127 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73129         [BZ #13695]
73130         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
73131         [crti.S not in sysdirs] (generated): Do not append.
73132         [crti.S not in sysdirs] (omit-deps): Likewise.
73133         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
73134         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
73135         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
73136         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
73137         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73138         Likewise.
73139         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73140         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73141         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73142         * csu/defs.awk: Remove file.
73143         * sysdeps/generic/initfini.c: Likewise.
73144         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73145         variable.
73146         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73147         Likewise.
73149 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73151         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73152         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73153         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73154         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73155         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73156         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
73157         <bits/epoll.h>.
73158         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
73159         (__EPOLL_PACKED): Define to empty if not defined by
73160         <bits/epoll.h>.
73161         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73162         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73163         bits/epoll.h.
73165 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73167         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
73168         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
73169         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
73170         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73171         <bits/timerfd.h>.
73172         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73174         bits/timerfd.h.
73176 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73178         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73179         in C locale.
73180         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73181         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73182         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73185 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73187         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73188         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73190 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73192         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73193         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73194         defined.
73195         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73196         Likewise.
73197         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73198         entry for 2.16.
73200 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73202         * math/w_acos.c: Use non-signaling floating-point comparisons.
73203         * math/w_acosf.c: Likewise.
73204         * math/w_acosh.c: Likewise.
73205         * math/w_acoshf.c: Likewise.
73206         * math/w_acoshl.c: Likewise.
73207         * math/w_acosl.c: Likewise.
73208         * math/w_asin.c: Likewise.
73209         * math/w_asinf.c: Likewise.
73210         * math/w_asinl.c: Likewise.
73211         * math/w_atanh.c: Likewise.
73212         * math/w_atanhf.c: Likewise.
73213         * math/w_atanhl.c: Likewise.
73214         * math/w_exp2.c: Likewise.
73215         * math/w_exp2f.c: Likewise.
73216         * math/w_exp2l.c: Likewise.
73217         * math/w_j0.c: Likewise.
73218         * math/w_j0f.c: Likewise.
73219         * math/w_j0l.c: Likewise.
73220         * math/w_j1.c: Likewise.
73221         * math/w_j1f.c: Likewise.
73222         * math/w_j1l.c: Likewise.
73223         * math/w_jn.c: Likewise.
73224         * math/w_jnf.c: Likewise.
73225         * math/w_log.c: Likewise.
73226         * math/w_log10.c: Likewise.
73227         * math/w_log10f.c: Likewise.
73228         * math/w_log10l.c: Likewise.
73229         * math/w_log2.c: Likewise.
73230         * math/w_log2f.c: Likewise.
73231         * math/w_log2l.c: Likewise.
73232         * math/w_logf.c: Likewise.
73233         * math/w_logl.c: Likewise.
73234         * math/w_sqrt.c: Likewise.
73235         * math/w_sqrtf.c: Likewise.
73236         * math/w_sqrtl.c: Likewise.
73237         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73238         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73239         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73240         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73241         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73243 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73245         [BZ #9739]
73246         * manual/string.texi (strnlen): Use correct parameter name in
73247         equivalent expression.
73249 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73251         [BZ #11174]
73252         * manual/users.texi (seteuid): Consistently use neweuid for
73253         argument name.
73255 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73257         [BZ #13704]
73258         * manual/nss.texi (Services in the NSS configuration): Correct
73259         list of services in example configuration file.
73261 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73263         [BZ #11322]
73264         * manual/arith.texi: Remove statements about negative zero
73265         behaving identically to zero.
73267 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73269         [BZ #5993]
73270         * manual/install.texi: Do not document upgrading from libc5.
73272 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73274         [BZ #4596]
73275         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73277 2012-02-18  David S. Miller  <davem@davemloft.net>
73279         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73280         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73281         %o7 across the call.
73282         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73283         instead.
73284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73285         SETUP_PIC_REG_LEAF.
73286         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73287         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73288         * sysdeps/sparc/crtn.S: Likewise.
73290 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73292         * aout/Makefile: Remove.
73294 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73296         [BZ #13058]
73297         * manual/examples/argp-ex1.c (main): Format definition in GNU
73298         style.
73299         * manual/examples/argp-ex2.c (main): Likewise.
73300         * manual/examples/argp-ex3.c (main): Likewise.
73301         * manual/examples/argp-ex4.c (main): Likewise.
73302         * manual/examples/longopt.c (main): Use new-style prototype
73303         definition.
73304         * manual/examples/strncat.c (main): Specify return type and use
73305         (void) for arguments.
73306         * manual/examples/subopt.c (main): Use char **argv argument.
73308 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73310         [BZ #5077]
73311         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73312         rounding modes.
73314 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73316         [BZ #6907]
73317         * manual/string.texi (strchr): Change when strchrnul is
73318         recommended.
73320 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73322         [BZ #174]
73323         * manual/locale.texi (setlocale): Document LOCPATH.
73325 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73327         [BZ #10210]
73328         * manual/process.texi (execle): Move @dots{} before last argument.
73330 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73332         [BZ #12047]
73333         * manual/charset.texi (Generic Charset Conversion): Fix typo
73334         (LC_TYPE -> LC_CTYPE).
73336 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73338         [BZ #5805]
73339         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73340         (scalbnf): Likewise.
73341         (scalbnl): Likewise.
73342         (scalbln): Likewise.
73343         (scalblnf): Likewise.
73344         (scalblnl): Likewise.
73345         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73346         (vwarnx): Likewise.
73347         (verr): Likewise.
73348         (verrx): Likewise.
73349         * manual/filesys.texi (telldir): Use braces around return type.
73350         * manual/llio.texi (mmap): Add space after comma.
73351         (mmap64): Likewise.
73352         * manual/math.texi (jn): Use @var{} on parameter names.
73353         (jnf): Likewise.
73354         (jnl): Likewise.
73355         (yn): Likewise.
73356         (ynf): Likewise.
73357         (ynl): Likewise.
73358         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73359         line.
73360         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73361         "...".
73362         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73363         (sched_get_priority_max): Likewise.
73364         * manual/signal.texi (sigvec): Add space after comma.
73365         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73366         names.
73367         (if_indextoname): Likewise.
73368         (if_freenameindex): Likewise.
73369         (sendto): Use ',' instead of '.' in prototype.
73370         * manual/startup.texi (syscall): Use @dots{} instead of literal
73371         "...".
73372         * manual/stdio.texi (__fpending): Separate initial words of
73373         paragraph from @deftypefun line.
73374         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73375         "...".
73376         (vsyslog): Use @var{} on parameter names.
73377         * manual/terminal.texi (stty): Use @var{} on parameter names.
73378         * manual/users.texi (getutmp): Use @var{} on parameter names.
73379         (getutmpx): Likewise.
73381 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73383         [BZ #6884]
73384         * manual/stdio.texi (fopen): Fix typos in description of
73385         ",ccs=STRING".
73387 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73389         [BZ #4026]
73390         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73391         get clock_id definition.
73393 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73395         [BZ #4822]
73396         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73397         (madvise): Cast every argument to void on its own.
73399 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73401         [BZ #9902]
73402         * manual/startup.texi (Exit Status): Fix typo.
73404 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73406         [BZ #10140]
73407         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73408         * manual/examples/argp-ex2.c: Likewise.
73409         * manual/examples/argp-ex3.c: Likewise.
73411 2012-02-16  Richard Henderson  <rth@redhat.com>
73413         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73414         * sysdeps/s390/s390-32/initfini.c: Remove.
73415         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73416         * sysdeps/s390/s390-64/initfini.c: Remove.
73418 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73420         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73421         compiler output for sysdeps/generic/initfini.c.
73422         * sysdeps/sh/elf/initfini.c: Remove file.
73424 2012-02-16  David S. Miller  <davem@davemloft.net>
73426         [BZ #11494]
73427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73429         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73430         * sysdeps/sparc/crti.S: New file.
73431         * sysdeps/sparc/crtn.S: New file.
73432         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73433         * sysdeps/sparc/sparc64/Makefile: Likewise.
73435 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73437         [BZ #3335]
73438         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73440 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73442         [BZ #4822]
73443         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73445         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73446         (write, read, close): Likewise.
73447         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73449 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73451         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73452         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73453         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73454         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73455         <bits/signalfd.h>.
73456         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73457         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73458         bits/signalfd.h.
73460 2012-02-14  Marek Polacek  <polacek@redhat.com>
73462         * sysdeps/x86_64/crti.S: New file.
73463         * sysdeps/x86_64/crtn.S: New file.
73464         * sysdeps/x86_64/elf/initfini.c: Remove file.
73466 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73468         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73469         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73470         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73471         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73472         <bits/inotify.h>.
73473         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73474         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73475         bits/inotify.h.
73477 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73479         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73480         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73481         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73482         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73483         <bits/eventfd.h>.
73484         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73486         bits/eventfd.h.
73488 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73490         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73491         __feraiseexcept instead of feraiseexcept.
73493         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73494         nanosleep invocations.
73495         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73496         strings, and add error checking for a nanosleep invocations.
73498 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73500         Replace FSF snail mail address with URLs, as per GNU coding standards.
73501         Most of the snail mail addresses were wrong anyway, and omitting
73502         them makes the source code easier to maintain.  Almost all of the
73503         changes are to license notices and to locale LC_IDENTIFICATION
73504         addresses, except for this one:
73505         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73506         not its snail mail address.
73508 2012-02-09  Richard Henderson  <rth@twiddle.net>
73510         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73511         of kernel-features.h.
73513         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73515 2012-02-08  Marek Polacek  <polacek@redhat.com>
73517         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73518         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73519         * sysdeps/gnu/_G_config.h: Likewise.
73520         * sysdeps/generic/_G_config.h: Likewise.
73522 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73524         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73525         tests.
73526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73528         * sysdeps/powerpc/powerpc32/crti.S: New file.
73529         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73530         * sysdeps/powerpc/powerpc64/crti.S: New file.
73531         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73533         * Makeconfig (have-initfini): Don't set.
73534         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73535         * configure.in (nopic_initfini): Don't substitute.
73536         * config.h.in (HAVE_INITFINI): Don't #undef.
73537         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73538         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73540 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73542         Support crti.S and crtn.S provided directly by architectures.
73543         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73544         [crti.S in sysdirs] (omit-deps): Likewise.
73545         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73546         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73547         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73548         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73549         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73550         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73551         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73552         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73553         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73554         compiler output for sysdeps/generic/initfini.c.
73555         * sysdeps/i386/elf/Makefile: Remove file.
73556         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73558 2012-02-07  Marek Polacek  <polacek@redhat.com>
73560         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73561         * sysdeps/gnu/_G_config.h: Likewise.
73562         * sysdeps/mach/hurd/_G_config.h: Likewise.
73564 2012-02-07  Marek Polacek  <polacek@redhat.com>
73566         * math/Makefile (tests): Add tst-CMPLX2.
73567         * math/tst-CMPLX2.c: New file.
73569 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73571         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73573         * math/libm-test.inc (jn_test): Add missing L suffix.
73575 2012-02-06  Marek Polacek  <polacek@redhat.com>
73577         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73578         * sysdeps/i386/fpu/e_powf.S: Likewise.
73579         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73580         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73581         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73582         * sysdeps/i386/fpu/e_pow.S: Likewise.
73583         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73584         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73585         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73586         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73587         * sysdeps/i386/fpu/e_log2.S: Likewise.
73588         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73589         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73590         * sysdeps/i386/fpu/e_powl.S: Likewise.
73591         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73592         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73593         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73594         * sysdeps/i386/fpu/e_logl.S: Likewise.
73595         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73596         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73597         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73598         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73599         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73600         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73601         * sysdeps/i386/fpu/e_log.S: Likewise.
73602         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73603         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73604         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73605         * sysdeps/i386/fpu/e_logf.S: Likewise.
73606         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73607         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73608         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73609         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73610         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73611         * sysdeps/i386/fpu/e_log10.S: Likewise.
73612         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73613         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73614         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73615         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73616         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73617         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73618         * sysdeps/i386/asm-syntax.h: Likewise.
73619         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73620         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73621         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73622         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73623         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73624         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73625         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73626         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73627         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73628         * sysdeps/powerpc/sysdep.h: Likewise.
73629         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73630         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73632 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73634         [BZ #411]
73635         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73637 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73639         * sysdeps/i386/sysdep.h: Include <features.h>.
73640         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73641         version.
73643 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73645         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73646         Define.
73647         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73648         LOAD_PIC_REG_STR.
73650 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73652         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73653         (SETUP_PIC_REG): Use GET_PC_THUNK.
73654         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73655         macro.
73657 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73659         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73660         for non-PIC compilation.
73661         (SETUP_PIC_REG): Add .p2align directive.
73662         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73663         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73664         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73665         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73666         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73667         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73668         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73669         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73670         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73671         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73672         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73673         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73674         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73675         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73676         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73677         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73678         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73679         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73680         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73681         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73682         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73683         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73684         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73685         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73686         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73687         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73688         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73689         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73690         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73691         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73692         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73693         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73694         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73695         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73696         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73697         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73698         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73699         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73700         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73701         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73702         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73704 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73706         * math/tst-CMPLX.c: Include <stdio.h>.
73708 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73710         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73711         float.
73712         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73713         * sysdeps/sparc/bits/mathdef.h: Likewise.
73715 2012-01-31  Marek Polacek  <polacek@redhat.com>
73717         * libio/libio.h: Don't define _PARAMS.
73718         * locale/programs/config.h: Don't define PARAMS.
73719         * stdlib/strtol_l.c: Likewise.
73720         (__strtol_l): Remove PARAMS from the prototype.
73722 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73724         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73725         names.  Just use the correct names.  Remove unnecessary wrapper
73726         functions.
73727         * malloc/arena.c: Likewise.
73728         * malloc/hooks.c: Likewise.
73730         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73731         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73732         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73734 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73736         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73737         into tail calls.
73738         (update_get_addr): New function.
73739         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73740         GET_ADDR_MODULE parameter.
73742 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73744         * crypt/cert.c: Remove __STDC__ conditionals.
73745         * crypt/crypt-entry.c: Likewise.
73746         * crypt/crypt_util.c: Likewise.
73747         * libio/filedoalloc.c: Likewise.
73748         * libio/fileops.c: Likewise.
73749         * libio/genops.c: Likewise.
73750         * libio/iofclose.c: Likewise.
73751         * libio/iofdopen.c: Likewise.
73752         * libio/iofopen.c: Likewise.
73753         * libio/iofopen64.c: Likewise.
73754         * libio/iogetdelim.c: Likewise.
73755         * libio/iopopen.c: Likewise.
73756         * libio/obprintf.c: Likewise.
73757         * libio/oldfileops.c: Likewise.
73758         * libio/oldiofclose.c: Likewise.
73759         * libio/oldiofdopen.c: Likewise.
73760         * libio/oldiofopen.c: Likewise.
73761         * libio/oldiopopen.c: Likewise.
73762         * libio/wfiledoalloc.c: Likewise.
73763         * libio/wgenops.c: Likewise.
73764         * locale/programs/xmalloc.c: Likewise.
73765         * misc/syslog.c: Likewise.
73766         * stdio-common/xbug.c: Likewise.
73767         * string/memchr.c: Likewise.
73768         * string/memcmp.c: Likewise.
73769         * string/memrchr.c: Likewise.
73770         * string/rawmemchr.c: Likewise.
73771         * sysdeps/posix/getcwd.c: Likewise.
73772         * time/strftime_l.c: Likewise.
73774 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73776         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73777         * config.make.in (config-cflags-sse2avx): Define.
73778         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73779         Fix typo.
73781 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73783         * scripts/config.guess: Update from upstream config git repository.
73784         * scripts/config.sub: Likewise.
73786 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73788         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73789         (EM_NUM): Update.
73790         (R_TILEPRO_*, R_TILEGX_*): New macros.
73792         * scripts/firstversions.awk: Fix bug in version range handling.
73794         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73796         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73798         * include/sys/epoll.h: New file.
73799         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73800         libc_hidden_def.
73802 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73804         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73805         Avoid unnecessary __WORDSIZE == 64 test.
73806         (fmaxf): Use VEX format if possible.
73807         (fmax): Likewise.
73808         (fminf): Likewise.
73809         (fmin): Likewise.
73811         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73812         * math/math_private.h: Remove libc_fegetround* and
73813         libc_fesetround*.
73814         * sysdeps/i386/configure.in: Check for -msse2avx.
73815         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73816         also if SSE2AVX is defined.
73817         Remove libc_fegetround* and libc_fesetround*.
73818         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73819         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73820         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73821         of HAS_YMM_USABLE.
73822         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73823         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73824         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73825         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73826         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73828         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73830 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73832         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73833         size is not set.
73834         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73836 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73838         [BZ #13618]
73839         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73840         relocation.
73841         * Makeconfig (libm): Define.
73842         * elf/Makefile: Add rules to build and run tst-relsort1.
73843         * elf/tst-relsort1.c: New file.
73844         * elf/tst-relsort1mod1.c: New file.
73845         * elf/tst-relsort1mod2.c: New file.
73847 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73849         * math/s_ldexp.c: Remove __STDC__ conditionals.
73850         * math/s_ldexpf.c: Likewise.
73851         * math/s_ldexpl.c: Likewise.
73852         * math/s_nextafter.c: Likewise.
73853         * math/s_nexttowardf.c: Likewise.
73854         * math/s_significand.c: Likewise.
73855         * math/s_significandf.c: Likewise.
73856         * math/s_significandl.c: Likewise.
73857         * math/w_jnl.c: Likewise.
73858         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73859         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73860         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73861         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73862         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73863         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73864         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73865         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73866         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73867         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73868         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73869         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73870         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73871         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73872         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73873         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73874         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73875         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73877         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73878         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73879         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73880         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73881         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73882         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73883         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73884         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73885         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73886         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73887         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73888         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73889         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73890         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73891         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73892         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73893         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73894         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73895         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73896         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73897         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73898         * sysdeps/ieee754/k_standard.c: Likewise.
73899         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73900         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73901         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73902         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73903         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73904         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73905         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73906         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73907         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73908         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73909         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73910         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73911         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73912         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73913         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73914         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73915         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73916         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73917         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73918         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73919         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73920         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73921         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73922         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73923         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73924         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73925         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73926         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73927         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73928         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73929         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73930         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73931         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73932         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73933         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73934         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73935         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73936         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73937         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73938         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73939         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73940         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73941         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73942         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73943         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73944         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73945         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73946         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73947         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73948         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73949         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73950         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73951         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73952         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73953         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73954         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73955         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73956         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73957         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73958         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73959         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73960         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73961         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73962         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73963         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73964         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73965         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73966         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73967         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73968         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73969         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73970         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73971         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73972         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73973         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73974         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73975         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73976         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73977         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73978         * sysdeps/ieee754/s_matherr.c: Likewise.
73979         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73980         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73981         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73982         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73984 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73986         * crypt/md5.h: Remove __STDC__ conditionals.
73987         * libio/libioP.h: Likewise.
73988         * locale/programs/config.h: Likewise.
73989         * sysdeps/generic/sysdep.h: Likewise.
73990         * sysdeps/i386/asm-syntax.h: Likewise.
73991         * sysdeps/s390/asm-syntax.h: Likewise.
73992         * sysdeps/unix/sysdep.h: Likewise.
73993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73996 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73998         * libio/libio.h: Remove __STDC__ conditionals.
73999         * malloc/obstack.h: Likewise.
74000         * math/complex.h: Likewise.
74001         * math/math.h: Likewise.
74002         * sysdeps/generic/_G_config.h: Likewise.
74003         * sysdeps/gnu/_G_config.h: Likewise.
74004         * sysdeps/mach/hurd/_G_config.h: Likewise.
74005         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74006         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74007         * sysdeps/sparc/bits/mathdef.h: Likewise.
74009 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
74011         [BZ #13583]
74012         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
74013         Clean up HAS_* macros.
74014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
74015         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
74016         possible.
74017         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
74018         HAS_AVX.
74019         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74020         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74021         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74022         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74023         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74025 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
74027         * elf/tst-unique3.cc (gets): Remove declaration.
74028         * elf/tst-unique3lib.cc (gets): Likewise.
74029         * elf/tst-unique3lib2.cc (gets): Likewise.
74030         * elf/tst-unique4.cc (gets): Likewise.
74032 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
74034         * include/stdio.h: Add C++ protection.  Add gets declarations and
74035         definitions.
74036         * debug/tst-chk1.c: Don't declare gets here.
74037         * stdio-common/tst-gets.c: Likewise.
74039 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74041         * posix/glob: Remove directory.
74043 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74045         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
74047 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
74049         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
74050         of the non-standard EPFNOSUPPORT.
74052 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74054         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
74055         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
74056         ANYWHERE set to 1 only on KERN_NO_SPACE error.
74058 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
74060         * wcsmbs/uchar.h: Test __STDC_VERSION__.
74062 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
74064         * nscd/aicache.c (addhstaiX): Do not cache negative results of
74065         transient errors.
74066         * nscd/grpcache.c (cache_addgr): Likewise.
74067         * nscd/hstcache.c (cache_addhst): Likewise.
74068         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74069         * nscd/pwdcache.c (cache_addpw): Likewise.
74070         * nscd/servicescache.c (cache_addserv): Likewise.
74072 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
74074         * malloc/malloc.c: Various cleanups.
74075         * malloc/hooks.c: Likewise.
74077         * stdlib/Makefile (tests): Add bug-fmtmsg1.
74078         * stdlib/bug-fmtmsg1.c: New file.
74080         * stdlib/fmtmsg.c (init): Add missing unlock.
74081         Patch by Peng Haitao <penght@cn.fujitsu.com>.
74083 2012-01-12  Marek Polacek  <polacek@redhat.com>
74085         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
74086         and _GNU_SOURCE.
74088 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74090         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
74091         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
74092         macro to ensure uniqueness of label name.
74093         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74094         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74096 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
74098         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
74100         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
74101         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74102         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74103         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
74105 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
74107         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
74109         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
74110         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74111         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74113         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
74115         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
74116         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74117         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
74120         * math/bits/math-finite.h: Add ldexp support.
74122 2012-01-10  Marek Polacek  <polacek@redhat.com>
74124         * locale/programs/localedef.h (show_archive_content): Add noreturn
74125         attribute.
74127 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
74129         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
74131 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74133         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
74135         * io/Makefile (headers): Add bits/poll2.h.
74137 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
74139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74140         typo #include statement.
74142 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74144         * include/sys/cdefs.h: Define __attribute_alloc_size.
74145         * catgets/gencat.c: Add alloc_size attribute and apply consistently
74146         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74147         * elf/pldd.c: Likewise.
74148         * iconv/iconv_charmap.c: Likewise.
74149         * iconv/iconvconfig.c: Likewise.
74150         * iconv/strtab.c: Likewise.
74151         * locale/programs/locale.c: Likewise.
74152         * locale/programs/localedef.h: Likewise.
74153         * locale/programs/simple-hash.c: Likewise.
74154         * nscd/nscd.h: Likewise.
74155         * nss/makedb.c: Likewise.
74156         * sysdeps/generic/ldconfig.h: Likewise.
74157         * locale/programs/localedef.c: Remove xmalloc prototype.
74158         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
74160 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74162         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74163         appropriate.
74165 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74167         * math/Makefile (tests): Add tst-CMPLX.
74168         * math/tst-CMPLX.c: New file.
74170         * math/complex.h (CMPLXL): Fix typo.
74172         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74173         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74174         GLIBC_2.16.
74175         * debug/tst-chk1.c: Add poll and ppoll tests.
74176         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74177         * include/sys/poll.h: Add hidden proto for ppoll.
74178         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74179         * sysdeps/mach/hurd/ppoll.c: Likewise.
74180         * io/ppoll.c: Likewise.
74181         * debug/poll_chk.c: New file.
74182         * debug/ppoll_chk.c: New file.
74183         * include/bits/poll2.h: New file.
74184         * io/bits/poll2.h: New file.
74186         [BZ #1350]
74187         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74189         * configure.in: static is always set to yes.  Remove.
74190         * config.make.in: Don't set build-static.
74191         * Makeconfig: Remove use of build-static.
74192         * dlfcn/Makefile: Likewise.
74193         * elf/Makefile: Likewise.
74194         * math/Makefile: Likewise.
74195         * misc/Makefile: Likewise.
74196         * nptl/Makefile: Likewise.
74197         * sysdeps/mach/hurd/Makefile: Likewise.
74199         * configure.in: PWD_P is not used anymore.
74200         * config.make.in: Remove PWD_P entry.
74202         * configure.in: Remove last remnants of RANLIB.
74203         No need to check for signed size_t anymore.
74204         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74205         and IA-64.
74206         Remove __builtin_expect test because we require at least gcc 3.4.
74207         * aclocal.m4: Likewise.
74209         * wcsmbs/mbrtoc16.c: Implement using towc function.
74210         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74211         * wcsmbs/wcsmbsload.c: Likewise.
74212         * iconv/gconv_simple.c: Likewise.
74213         * iconv/gconv_int.h: Likewise.
74214         * iconv/gconv_builtin.h: Likewise.
74215         * iconv/iconv_prog.c: Remove CHAR16 handling.
74217         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74219         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74221         * configure.in: Remove --with-elf and --enable-bounded options.
74222         Dont set base_machine for ia64.  More non-ELF conditions removed.
74223         Remove testing and setting of leading underscore information.
74224         * config.make.in (build-bounded): Set to no.
74225         * config.h.in: Remove NO_UNDERSCORES entry.
74226         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74227         them.
74228         * csu/start.c: Remove !NO_UNDERSCORE code.
74229         * locale/localeinfo.h: Likewise.
74230         * sysdeps/generic/machine-gmon.h: Likewise.
74231         * sysdeps/generic/sysdep.h: Likewise.
74232         * sysdeps/i386/sysdep.h: Likewise.
74233         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74234         * sysdeps/mach/sysdep.h: Likewise.
74235         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74236         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74237         * sysdeps/sh/sysdep.h: Likewise.
74238         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74239         * sysdeps/unix/i386/sysdep.S: Likewise.
74240         * sysdeps/unix/sparc/start.c: Likewise.
74241         * sysdeps/unix/sparc/sysdep.S: Likewise.
74242         * sysdeps/unix/sparc/sysdep.h: Likewise.
74243         * sysdeps/unix/start.c: Likewise.
74244         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74245         * sysdeps/x86_64/sysdep.h: Likewise.
74247 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74249         [BZ #13553]
74250         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74251         for non-gcc.
74252         * argp/argp-fmtstream.h: Use const instead __const.
74253         * argp/argp.h: Likewise.
74254         * assert/assert.h: Likewise.
74255         * bits/fenv.h: Likewise.
74256         * bits/sched.h: Likewise.
74257         * bits/sigset.h: Likewise.
74258         * bits/sigthread.h: Likewise.
74259         * catgets/nl_types.h: Likewise.
74260         * conform/data/pthread.h-data: Likewise.
74261         * crypt/crypt-private.h: Likewise.
74262         * crypt/crypt.h: Likewise.
74263         * crypt/crypt_util.c: Likewise.
74264         * ctype/ctype.h: Likewise.
74265         * debug/execinfo.h: Likewise.
74266         * debug/mbsnrtowcs_chk.c: Likewise.
74267         * debug/mbsrtowcs_chk.c: Likewise.
74268         * debug/wcsnrtombs_chk.c: Likewise.
74269         * debug/wcsrtombs_chk.c: Likewise.
74270         * debug/wcstombs_chk.c: Likewise.
74271         * dirent/dirent.h: Likewise.
74272         * dlfcn/dlfcn.h: Likewise.
74273         * elf/neededtest4.c: Likewise.
74274         * grp/grp.h: Likewise.
74275         * gshadow/gshadow.h: Likewise.
74276         * iconv/gconv.h: Likewise.
74277         * iconv/gconv_int.h: Likewise.
74278         * iconv/gconv_simple.c: Likewise.
74279         * iconv/iconv.h: Likewise.
74280         * iconv/loop.c: Likewise.
74281         * iconv/skeleton.c: Likewise.
74282         * include/aio.h: Likewise.
74283         * include/aliases.h: Likewise.
74284         * include/argz.h: Likewise.
74285         * include/arpa/inet.h: Likewise.
74286         * include/assert.h: Likewise.
74287         * include/dirent.h: Likewise.
74288         * include/dlfcn.h: Likewise.
74289         * include/execinfo.h: Likewise.
74290         * include/fcntl.h: Likewise.
74291         * include/fenv.h: Likewise.
74292         * include/glob.h: Likewise.
74293         * include/grp.h: Likewise.
74294         * include/libintl.h: Likewise.
74295         * include/mntent.h: Likewise.
74296         * include/netdb.h: Likewise.
74297         * include/pwd.h: Likewise.
74298         * include/rpc/netdb.h: Likewise.
74299         * include/sched.h: Likewise.
74300         * include/search.h: Likewise.
74301         * include/shadow.h: Likewise.
74302         * include/signal.h: Likewise.
74303         * include/stdio.h: Likewise.
74304         * include/stdlib.h: Likewise.
74305         * include/string.h: Likewise.
74306         * include/sys/socket.h: Likewise.
74307         * include/sys/stat.h: Likewise.
74308         * include/sys/statfs.h: Likewise.
74309         * include/sys/statvfs.h: Likewise.
74310         * include/sys/syslog.h: Likewise.
74311         * include/sys/time.h: Likewise.
74312         * include/sys/uio.h: Likewise.
74313         * include/time.h: Likewise.
74314         * include/unistd.h: Likewise.
74315         * include/utmp.h: Likewise.
74316         * include/wchar.h: Likewise.
74317         * include/wctype.h: Likewise.
74318         * inet/aliases.h: Likewise.
74319         * inet/arpa/inet.h: Likewise.
74320         * inet/netinet/ether.h: Likewise.
74321         * inet/netinet/in.h: Likewise.
74322         * intl/libintl.h: Likewise.
74323         * io/bits/fcntl2.h: Likewise.
74324         * io/fcntl.h: Likewise.
74325         * io/ftw.h: Likewise.
74326         * io/sys/poll.h: Likewise.
74327         * io/sys/stat.h: Likewise.
74328         * io/sys/statfs.h: Likewise.
74329         * io/sys/statvfs.h: Likewise.
74330         * io/utime.h: Likewise.
74331         * libio/bits/stdio.h: Likewise.
74332         * libio/bits/stdio2.h: Likewise.
74333         * libio/libio.h: Likewise.
74334         * libio/libioP.h: Likewise.
74335         * libio/stdio.h: Likewise.
74336         * locale/lc-ctype.c: Likewise.
74337         * locale/locale.h: Likewise.
74338         * login/utmp.h: Likewise.
74339         * malloc/arena.c: Likewise.
74340         * malloc/malloc.c: Likewise.
74341         * malloc/malloc.h: Likewise.
74342         * malloc/mcheck.c: Likewise.
74343         * malloc/mtrace.c: Likewise.
74344         * math/bits/mathcalls.h: Likewise.
74345         * math/fenv.h: Likewise.
74346         * math/math_private.h: Likewise.
74347         * misc/bits/error.h: Likewise.
74348         * misc/bits/syslog.h: Likewise.
74349         * misc/err.h: Likewise.
74350         * misc/error.h: Likewise.
74351         * misc/fstab.h: Likewise.
74352         * misc/mntent.h: Likewise.
74353         * misc/regexp.h: Likewise.
74354         * misc/search.h: Likewise.
74355         * misc/sgtty.h: Likewise.
74356         * misc/sys/mman.h: Likewise.
74357         * misc/sys/syslog.h: Likewise.
74358         * misc/sys/uio.h: Likewise.
74359         * misc/sys/xattr.h: Likewise.
74360         * misc/ttyent.h: Likewise.
74361         * nis/rpcsvc/ypclnt.h: Likewise.
74362         * nss/nss.h: Likewise.
74363         * posix/bits/unistd.h: Likewise.
74364         * posix/fnmatch.h: Likewise.
74365         * posix/glob.h: Likewise.
74366         * posix/sched.h: Likewise.
74367         * posix/spawn.h: Likewise.
74368         * posix/sys/wait.h: Likewise.
74369         * posix/unistd.h: Likewise.
74370         * posix/wordexp.h: Likewise.
74371         * pwd/pwd.h: Likewise.
74372         * resolv/netdb.h: Likewise.
74373         * resource/sys/resource.h: Likewise.
74374         * rt/aio.h: Likewise.
74375         * rt/bits/mqueue2.h: Likewise.
74376         * rt/mqueue.h: Likewise.
74377         * shadow/shadow.h: Likewise.
74378         * signal/signal.h: Likewise.
74379         * socket/send.c: Likewise.
74380         * socket/sendto.c: Likewise.
74381         * socket/sys/socket.h: Likewise.
74382         * stdio-common/printf.h: Likewise.
74383         * stdlib/bits/stdlib.h: Likewise.
74384         * stdlib/fmtmsg.h: Likewise.
74385         * stdlib/monetary.h: Likewise.
74386         * stdlib/stdlib.h: Likewise.
74387         * stdlib/ucontext.h: Likewise.
74388         * streams/stropts.h: Likewise.
74389         * string/argz.h: Likewise.
74390         * string/bits/string2.h: Likewise.
74391         * string/string.h: Likewise.
74392         * string/strings.h: Likewise.
74393         * sunrpc/rpc/auth.h: Likewise.
74394         * sunrpc/rpc/auth_des.h: Likewise.
74395         * sunrpc/rpc/clnt.h: Likewise.
74396         * sunrpc/rpc/netdb.h: Likewise.
74397         * sunrpc/rpc/pmap_clnt.h: Likewise.
74398         * sunrpc/rpc/xdr.h: Likewise.
74399         * sysdeps/generic/inttypes.h: Likewise.
74400         * sysdeps/generic/net/if.h: Likewise.
74401         * sysdeps/generic/sys/swap.h: Likewise.
74402         * sysdeps/gnu/net/if.h: Likewise.
74403         * sysdeps/gnu/utmpx.h: Likewise.
74404         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74405         * sysdeps/i386/i486/bits/string.h: Likewise.
74406         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74407         * sysdeps/s390/bits/string.h: Likewise.
74408         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74409         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74410         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74411         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74412         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74413         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74414         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74415         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74416         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74417         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74418         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74419         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74420         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74421         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74422         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74423         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74424         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74425         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74426         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74427         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74428         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74429         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74430         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74431         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74432         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74433         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74434         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74435         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74436         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74437         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74438         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74439         * sysvipc/sys/ipc.h: Likewise.
74440         * sysvipc/sys/msg.h: Likewise.
74441         * sysvipc/sys/sem.h: Likewise.
74442         * sysvipc/sys/shm.h: Likewise.
74443         * termios/termios.h: Likewise.
74444         * time/sys/time.h: Likewise.
74445         * time/time.h: Likewise.
74446         * wcsmbs/bits/wchar2.h: Likewise.
74447         * wcsmbs/uchar.h: Likewise.
74448         * wcsmbs/wchar.h: Likewise.
74449         * wctype/wctype.h: Likewise.
74451         [BZ #13551]
74452         * Makeconfig: Remove all but ELF support including AIX support.
74453         * Makerules: Likewise.
74454         * config.h.in: Likewise.
74455         * config.make.in: Likewise.
74456         * configure: Likewise.
74457         * configure.in: Likewise.
74458         * csu/Makefile: Likewise.
74459         * csu/version.c: Likewise.
74460         * debug/Makefile: Likewise.
74461         * dlfcn/Makefile: Likewise.
74462         * elf/Makefile: Likewise.
74463         * extra-lib.mk: Likewise.
74464         * iconv/Makefile: Likewise.
74465         * include/libc-symbols.h: Likewise.
74466         * include/shlib-compat.h: Likewise.
74467         * resolv/Makefile: Likewise.
74468         * resolv/res_libc.c: Likewise.
74469         * rt/Makefile: Likewise.
74470         * sysdeps/i386/asm-syntax.h: Likewise.
74471         * sysdeps/i386/sysdep.h: Likewise.
74472         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74473         * sysdeps/mach/sysdep.h: Likewise.
74474         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74475         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74476         * sysdeps/s390/asm-syntax.h: Likewise.
74477         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74478         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74479         * sysdeps/sh/sysdep.h: Likewise.
74480         * sysdeps/unix/sparc/sysdep.h: Likewise.
74481         * sysdeps/wordsize-32/divdi3.c: Likewise.
74482         * sysdeps/x86_64/sysdep.h: Likewise.
74484         * argp/Versions: Remove _argp_unlock_xxx.
74486         [BZ #13559]
74487         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74488         * abilist/libBrokenLocale.abilist: Likewise.
74489         * abilist/libanl.abilist: Likewise.
74490         * abilist/libc.abilist: Likewise.
74491         * abilist/libcrypt.abilist: Likewise.
74492         * abilist/libdl.abilist: Likewise.
74493         * abilist/libm.abilist: Likewise.
74494         * abilist/libnsl.abilist: Likewise.
74495         * abilist/libpthread.abilist: Likewise.
74496         * abilist/libresolv.abilist: Likewise.
74497         * abilist/librt.abilist: Likewise.
74498         * abilist/libthread_db.abilist: Likewise.
74499         * abilist/libutil.abilist: Likewise.
74500         * abilist/libnss_db.abilist: New file.
74502         * scripts/abilist.awk: Add support for indirect functions.
74504         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74506         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74508         * shlib-versions: Remove entries for ports architectures.
74510         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74511         files in ports.
74512         * elf/stackguard-macros.h: Remove support for IA-64.
74513         * elf/tst-auditmod1.c: Likewise.
74514         * sysdeps/generic/ldsodefs.h: Likewise.
74516         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74517         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74518         configure files.
74520         [BZ #13552]
74521         * configure.in: Remove --enable-omitfp support.
74522         * FAQ.in: Adjust.
74523         * config.make.in: Likewise.
74524         * Makeconfig: Likewise.
74525         * manual/install.texi: Likewise.
74527         In case anyone cares, the IA-64 architecture could move to ports.
74528         * sysdeps/ia64/*: Removed.
74529         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74530         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74532         [BZ #13555]
74533         * configure.in: Remove entries for unsupported architectures.
74535         [BZ #13533]
74536         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74537         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74538         routines.
74539         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74540         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74541         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74542         fall back to using wcrtomb.
74543         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74544         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74545         renaming.
74546         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74547         * wcsmbs/tst-c16c32-1.c: New file.
74549         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74550         local variable.
74552         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74554         * elf/tst-unique3.cc: Add explicit declaration of gets.
74555         * elf/tst-unique3lib.cc: Likewise.
74556         * elf/tst-unique3lib2.cc: Likewise.
74557         * elf/tst-unique4.cc: Likewise.
74559         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74561 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74563         [BZ #13566]
74564         * assert/assert.h (static_assert): Don't define for C++.
74565         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74566         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74568 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74570         * iconv/loop.c (single loop): Fix assertion in storing of
74571         remaining bytes.
74573         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74575 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74577         * posix/getconf.c: Update copyright year.
74578         * nss/getent.c: Likewise.
74579         * nss/makedb.c: Likewise.
74580         * iconv/iconvconfig.c: Likewise.
74581         * iconv/iconv_prog.c: Likewise.
74582         * elf/ldconfig.c: Likewise.
74583         * elf/pldd.c: Likewise.
74584         * elf/sotruss.ksh: Likewise.
74585         * catgets/gencat.c: Likewise.
74586         * csu/version.c: Likewise.
74587         * elf/ldd.bash.in: Likewise.
74588         * elf/sprof.c (print_version): Likewise.
74589         * locale/programs/locale.c: Likewise.
74590         * locale/programs/localedef.c: Likewise.
74591         * login/programs/pt_chown.c: Likewise.
74592         * nscd/nscd.c (print_version): Likewise.
74593         * debug/xtrace.sh: Likewise.
74594         * malloc/memusage.sh: Likewise.
74595         * malloc/mtrace.pl: Likewise.
74596         * debug/catchsegv.sh: Likewise.
74598 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74600         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74601         pure attribute.
74603 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74605         [BZ #13533]
74606         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74607         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74608         transformations.
74609         * iconv/gconv_int.h: Likewise.
74610         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74611         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74612         from libc for GLIBC_2.16.
74613         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74614         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74615         * wcsmbs/uchar.h: Really define mbstate_t.
74616         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74617         * wcsmbs/c16rtomb.c: New file.
74618         * wcsmbs/mbrtoc16.c: New file.
74619         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74620         for C/POSIX locale.
74621         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74622         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74624         * wcsmbs/wchar.h: Add missing __restrict.
74626 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74628         [BZ #13532]
74629         * time/Makefile (routines): Add timespec_get.
74630         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74631         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74632         timespec for ISO C11.
74633         * time/timespec_get.c: New file.
74634         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74635         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74637         [BZ #13531]
74638         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74639         * stdlib/stdlib.h: Declare aligned_alloc.
74640         * Versions.def: Add GLIBC_2.16 for libc.
74641         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74643         [BZ 13527]
74644         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74645         ISO C11.
74647         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74648         code.
74650         [BZ #13528]
74651         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74653         [BZ #13529]
74654         * assert/assert.h (static_assert): Define.
74656         * version.h: Update for 2.16 development version.
74658         [BZ #13526]
74659         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74660         _ISOC11_SOURCE.
74662         * version.h (RELEASE): Bump for 2.15 release.
74663         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74665         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74666         Patch by Marek Polacek <mpolacek@redhat.com>.
74668         * bits/byteswap.h: Protect long long constants with __extension__.
74669         * sysdeps/i386/bits/byteswap.h: Likewise.
74670         * sysdeps/ia64/bits/byteswap.h: Likewise.
74671         * sysdeps/s390/bits/byteswap.h: Likewise.
74672         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74674 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74676         [BZ #13540]
74677         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74678         destination buffer.
74679         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74681 2011-12-23  Marek Polacek  <polacek@redhat.com>
74683         * elf/dl-addr.c (determine_info): Add inline keyword.
74684         * elf/tst-auditmod4b.c (check_avx): Likewise.
74685         * elf/tst-auditmod6b.c (check_avx): Likewise.
74686         * elf/tst-auditmod6c.c (check_avx): Likewise.
74687         * elf/tst-auditmod7b.c (check_avx): Likewise.
74689 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74691         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74692         !__SSE_MATH__.
74694 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74696         [BZ #13540]
74697         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74698         processing for last bytes.
74700 2011-08-06  Bruno Haible  <bruno@clisp.org>
74702         [BZ #13061]
74703         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74704         U+0385, not to U+1FEE.
74706         [BZ #13062]
74707         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74708         entry for U+00A5 U+0301.
74710 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74712         [BZ #13166]
74713         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74714         buffer for the output is too small.
74716         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74717         optimization.
74719         [BZ #13185]
74720         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74721         SSE flags if possible.
74723 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74725         [BZ #13540]
74726         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74727         processing for last bytes.
74729 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74731         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74732         (syscall-list-default-options, syscall-list-default-condition)
74733         (syscall-list-includes): Define.
74734         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74735         list of ABIs and options and #if conditions for each ABI.  Do not
74736         handle common syscalls between ABIs specially.
74737         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74738         Remove.
74739         (syscall-list-variants, syscall-list-32bit-options)
74740         (syscall-list-32bit-condition, syscall-list-64bit-options)
74741         (syscall-list-64bit-condition): Define.
74742         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74743         (syscall-list-variants, syscall-list-32bit-options)
74744         (syscall-list-32bit-condition, syscall-list-64bit-options)
74745         (syscall-list-64bit-condition): Define.
74746         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74747         Remove.
74748         (syscall-list-variants, syscall-list-32bit-options)
74749         (syscall-list-32bit-condition, syscall-list-64bit-options)
74750         (syscall-list-64bit-condition): Define.
74751         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74752         Remove.
74753         (syscall-list-variants, syscall-list-32bit-options)
74754         (syscall-list-32bit-condition, syscall-list-64bit-options)
74755         (syscall-list-64bit-condition): Define.
74757 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74759         * locale/iso-639.def: Add brx entry.
74761         [BZ #13328]
74762         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74763         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74765         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74766         __feraiseexcept_renamed.
74768 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74770         [BZ #13538]
74771         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74772         EPOLLET with unsigned values.
74773         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74774         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74776         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74777         to large cancellation.
74778         * math/s_cacoshf.c: Likewise.
74779         * math/s_cacoshl.c: Likewise.
74781 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74783         [BZ #13305]
74784         [BZ #12786]
74785         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74786         * math/s_cacoshf.c: Likewise.
74787         * math/s_cacoshl.c: Likewise.
74789 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74791         [BZ #13439]
74792         * iconv/gconv.h: Define __GCONV_SWAP.
74793         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74794         * iconvdata/utf-16.c: Likewise.
74795         * iconvdata/utf-32.c: Likewise.
74797 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74799         [BZ #13524]
74800         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74801         numerator after shifting it by one limb.
74803 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74805         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74806         under [__USE_EXTERN_INLINES].
74808 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74810         [BZ #13446]
74811         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74813 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74815         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74816         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74817         optimized code.
74818         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74819         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74820         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74821         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74822         for strncasecmp/strncasecmp_l compilation.
74823         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74824         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74826 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74828         [BZ #13484]
74829         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74830         of __asm__.
74832 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74834         [BZ #13506]
74835         * time/tzfile.c (__tzfile_read): Check values from file header.
74837 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74839         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74840         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74841         * powerpc/powerpc32/dl-start.S: Likewise.
74842         * powerpc/powerpc32/elf/start.S: Likewise.
74843         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74844         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74845         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74846         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74847         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74848         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74849         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74850         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74851         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74852         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74853         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74854         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74855         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74856         * powerpc/powerpc32/memset.S: Likewise.
74857         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74858         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74859         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74860         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74861         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74862         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74863         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74864         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74865         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74866         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74867         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74868         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74869         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74871 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74873         * math/libm-test.inc: Added more nearbyint tests.
74874         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74875         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74876         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74877         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74879 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74881         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74882         FD_CLOEXEC.
74884 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74886         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74887         Add wcscpy-ssse3 wcscpy-c.
74888         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74889         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74890         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74891         * sysdeps/x86_64/wcschr.S: New file.
74892         * sysdeps/x86_64/wcsrchr.S: New file.
74893         * string/test-strcmp.c: Remove checking of wcscmp function for
74894         wrong alignments.
74895         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74896         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74897         wcsrchr-sse2 wcsrchr-c.
74898         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74899         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74900         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74901         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74902         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74903         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74904         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74905         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74906         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74907         * wcsmbc/wcschr.c (WCSCHR): New macro.
74909 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74911         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74912         * wcsmbs/test-wcsrchr.c: New file.
74913         * string/test-strrchr.c: Add wcsrchr support.
74914         (WIDE): New macro.
74915         * wcsmbs/test-wcscpy.c: New file.
74916         * string/test-strcpy.c: Add wcscpy support.
74917         (WIDE): New macro.
74919 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74921         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74922         the inner loop.
74924 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74926         [BZ #13472]
74927         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74929 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74931         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74932         Minor optimizations.
74934         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74935         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74936         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74938 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74940         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74941         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74942         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74943         for gcc to avoid warnings.
74944         * inet/Makefile (tests): Add tst-checks.
74945         * inet/tst-checks.c: New file.
74947         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74948         warning.
74950         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74951         __wmemcmp_sse2.
74953         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74954         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74956         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74958 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74960         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74961         problem.
74963         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74965 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74967         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74968         conditional on GCC version.
74969         (__arch_compare_and_exchange_val_8_acq)
74970         (__arch_compare_and_exchange_val_16_acq)
74971         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74972         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74973         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74975 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74977         * sysdeps/sh/backtrace.c: New file.
74979 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74981         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74982         parenthesis.
74984 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74986         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74987         falling back to utime.
74989 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74991         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74992         expectations for float.
74994 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74996         * locale/weight.h (findidx): Add parameter len.
74997         * locale/weightwc.h (findidx): Likewise.
74998         * posix/fnmatch_loop.c (FCT): Adjust caller.
74999         * posix/regcomp.c (build_equiv_class): Likewise.
75000         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
75001         * posix/regexec.c (check_node_accept_bytes): Likewise.
75002         * string/strcoll_l.c (STRCOLL): Likewise.
75003         * string/strxfrm_l.c (STRXFRM): Likewise.
75005 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
75007         * Makefile.in: Remove CVSOPT handling.
75008         * configure.in: Remove use of AC_REVISION.
75009         * iconvdata/Makefile (distribute): No need to filter out CVS.
75010         * scripts/list-sources.sh: Remove CVS, subversion and monotone
75011         handling.
75013 2011-11-16  Andreas Schwab  <schwab@redhat.com>
75015         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
75016         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
75017         [USE_AS_STRNCASECMP_L]: Likewise.
75018         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
75019         NO_TLS_DIRECT_SEG_REFS.
75020         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
75021         Fix argument offsets for non-PIC.
75022         [USE_AS_STRNCASECMP_L]: Likewise.
75023         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
75024         NO_TLS_DIRECT_SEG_REFS.
75026 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75028         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
75029         O_CLOEXEC.
75030         * locale/loadlocale.c (_nl_load_locale): Likewise.
75032 2011-11-15  Andreas Schwab  <schwab@redhat.com>
75034         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
75035         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
75036         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
75037         (SYSCALL_GETTIME): Set errno on error.
75039         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
75040         count references to noai6ai_cached.
75042 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75044         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
75046         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
75047         FD_CLOEXEC for /proc/self/maps.
75049         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
75050         FD_CLOEXEC for /proc/meminfo.
75052         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
75053         gai.conf.
75055         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
75056         FD_CLOEXEC for given file.
75058         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
75060         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
75061         FD_CLOEXEC for /etc/hosts.
75062         (_gethtent): Likewise.
75064         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
75066         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
75067         cancellation and set FD_CLOEXEC for /etc/netgroup.
75069         * nss/nss_files/files-key.c (search): Don't allow cancellation when
75070         reading /etc/publickey.
75072         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
75073         allow cancellation when reading /etc/group.
75075         * nss/nss_files/files-alias.c (internal_setent): Don't allow
75076         cancellation.
75077         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
75079         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
75080         when using data file.
75082         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
75084         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
75085         (write_nis_obj): Use "c" and "e" in fopen.
75087         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
75089         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
75091         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
75093         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
75095         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
75096         locale.alias.
75098         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
75100         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
75102         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
75104         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
75105         file parsing and set FD_CLOEXEC.
75107 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75109         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
75111 2011-11-14  Andreas Schwab  <schwab@redhat.com>
75113         * malloc/arena.c (arena_get2): Don't call reused_arena when
75114         _int_new_arena failed.
75116 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75118         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
75119         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
75120         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
75121         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75122         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75123         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
75124         to compile strcasecmp and strncasecmp.
75125         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
75126         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
75128         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
75130 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
75132         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
75133         locale-defines.sym to gen-as-const-headers.
75134         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
75135         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
75136         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
75137         to compile strcasecmp and strncasecmp.
75138         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75139         strcasecmp_l and strncasecmp_l.
75140         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75141         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75142         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75143         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75144         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75145         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75146         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75147         * sysdeps/i386/i686/multiarch/strncase.S: New file.
75148         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75149         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75150         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75152 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
75154         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75155         result of SYSDEP_GETTIME_CPU to retval.
75156         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
75157         parameter list to macro.  Remove trailing semicolon.  Adjust users.
75159         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
75160         variable.
75162         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75163         mantissa words.
75164         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
75166         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
75167         from unused variable.
75169         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
75170         DWARF definitions.
75171         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75172         for assembling.
75174         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75175         over namespaces.
75177         * sunrpc/rpc_prot.c (rejected): Fix case value.
75179         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75180         unsigned long long int to avoid warnings in shift.
75182         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75183         of use of trans.
75184         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75185         variable tmp.
75187         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75188         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75189         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75191         * nis/nis_table.c (nis_list): Use variable of correct type for
75192         result of __follow_path call.
75194 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75196         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75197         of math functions ceil, trunc, floor, round, and sqrt, when
75198         avaliable on the platform.
75199         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75200         name clash.
75201         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75202         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75203         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75205 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75207         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75208         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75210 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75212         * include/unistd.h: Fix __readlink return type.
75213         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75215 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75217         * stdlib/ucontext.h: Undo last change for makecontext.
75219 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75221         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75223         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75224         * setjmp/setjmp.h: Mark functions as non-leaf.
75225         * setjmp/bits/setjmp2.h: Likewise.
75226         * stdlib/ucontext.h: Likewise.
75228 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75230         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75231         (reused_arena): Don't check arena limit.
75232         (arena_get2): Atomically check arena limit.
75234 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75236         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75237         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75239         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75240         instructions.
75242 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75244         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75245         handler when locking.
75247         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75248         Fix size of allocated buffer.
75250 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75252         [BZ #10103]
75253         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75254         declarations for long double functions.
75255         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75257         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75259 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75261         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75262         installed.
75264         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75265         is disabled.
75267 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75269         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75271 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75273         * include/alloca.h (stackinfo_alloca_round): Define.
75274         (extend_alloca): Use it.
75275         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75276         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75277         here.
75279         * scripts/check-local-headers.sh: Ignore libaudit.h.
75281         * nscd/Makefile (extra-objs): Make recursively expanded.
75283 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75285         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75286         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75288         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75289         * posix/tst-rfc3484-2.c: Likewise.
75290         * posix/tst-rfc3484-3.c: Likewise.
75292         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75293         process_vm_writev.
75294         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75295         process_vm_writev.
75296         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75297         process_vm_writev from libc using GLIBC_2.15 version.
75299         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75301 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75303         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75304         stack usage.
75306 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75308         [BZ #13367]
75309         * nss/getent.c (initgroups_keys): Show error message in case no group
75310         names are given.
75312         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75313         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75314         __bump_nl_timestamp.
75315         * nscd/connections (nscd_init): When host database is served open
75316         netlink socket and request notification about configuration changes.
75317         (main_loop_poll): Track netlink file descriptor and bump timestamp
75318         in case data becomes available.
75319         (main_loop_epoll): Likewise.
75320         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75321         (database_pers_head): Add extra_data fileds.
75322         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75323         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75324         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75325         Adjust caller.
75326         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75327         in6ai data, call __free_in6ai.
75328         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75329         Add -DHAVE_NETLINK.
75330         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75331         interface information.  Reuse previous data if netlink timestamp
75332         is not changed.
75333         (__bump_nl_timestamp): New function.
75334         (__free_in6ai): New function.
75336 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75338         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75339         close_not_cancel_no_status here.
75340         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75342 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75344         [BZ #13276]
75345         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75346         return value.
75348         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75349         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75350         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75352 2011-07-03  Andreas Jaeger  <aj@suse.de>
75354         [BZ #10709]
75355         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75356         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75357         * math/libm-test.inc (sin_test): Add test case.
75359 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75361         [BZ #13337]
75362         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75363         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75365         * elf/chroot_canon.c (chroot_canon): Cleanups.
75367         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75369         [BZ #13335]
75370         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75371         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75373         * string/test-strchr.c: Make usable for strchrnul testing.
75374         * string/test-strchrnul.c: New file.
75375         * string/Makefile (strop-tests): Add strchrnul.
75377         * po/it.po: Update from translation team.
75378         * po/es.po: Likewise.
75380 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75382         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75383         the three constants needed as parameters.  Drop the others.
75384         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75385         __m128i_strloadu_tolower.
75386         Create and initialize variable zero and use it in all the places
75387         where _mm_setzero_si128 was used.
75389         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75390         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75391         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75392         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75393         anymore.
75394         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75395         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75396         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75397         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75398         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75399         __mpranred, __mptan.
75400         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75401         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75402         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75403         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75404         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75405         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75406         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75407         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75408         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75410 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75412         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75413         redefine if SHARED.
75414         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75416         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75417         wide char related routines to wcsmbs subdir.
75419 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75421         [BZ #13344]
75422         * misc/sys/cdefs.h (__THROWNL): Define.
75423         * posix/unistd.h: Use __THREADNL instead of __THREAD
75424         for memory synchronization functions.
75426 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75428         [BZ #13349]
75429         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75430         doesn't exist.
75431         * manual/stdio.texi (Obstack Streams): Node removed.
75433 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75435         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75436         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75437         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75439         * math/math_private.h (math_force_eval): Allow non-addressable
75440         arguments.
75441         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75443 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75445         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75446         file is not needed.
75448         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75449         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75450         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75451         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75452         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75453         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75454         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75455         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75456         Add AVX variants.
75457         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75458         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75459         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75460         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75461         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75462         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75463         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75464         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75465         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75466         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75467         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75468         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75469         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75470         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75471         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75472         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75473         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75474         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75475         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75477         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75478         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75480         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75481         place.  Use VEX encoding when compiling for AVX.
75483 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75485         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75486         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75488         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75490 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75492         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75493         useless if() expression.
75494         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75495         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75496         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75497         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75498         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75499         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75500         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75501         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75502         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75503         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75504         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75505         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75506         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75507         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75508         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75509         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75510         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75511         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75512         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75514         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75516 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75518         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75519         condition.
75520         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75522 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75524         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75525         .text section.  Avoid duplicate constants.
75526         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75527         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75528         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75529         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75530         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75531         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75532         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75533         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75534         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75535         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75536         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75537         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75538         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75539         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75540         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75541         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75542         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75543         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75544         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75545         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75546         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75547         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75548         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75549         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75550         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75551         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75552         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75553         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75554         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75555         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75556         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75557         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75558         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75559         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75560         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75561         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75562         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75563         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75564         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75565         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75566         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75567         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75568         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75569         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75570         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75572 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75574         * sysdeps/x86_64/dla.h: Move to ...
75575         * sysdeps/x86_64/fpu/dla.h: ...here.
75576         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75577         situations.  Use __builtin_fma only for gcc 4.6 and up.
75579         * config.make.in: Add have-mfma4 entry.
75580         * configure.in: Substitute libc_cv_cc_fma4.
75581         * math/Makefile (dbl-only-routines): Add sincostab.
75582         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75583         Use __sincostab not sincos.
75584         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75585         name is a macro.
75586         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75587         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75588         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75589         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75590         using __copysign.
75591         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75592         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75593         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75594         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75595         and __inv.
75596         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75597         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75598         __copysign.
75599         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75600         define aliases when function name is a macro.
75601         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75602         sysdeps/ieee754/dbl-64/sincos.tbl.
75603         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75604         fma4-enabled routines.
75605         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75606         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75607         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75608         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75609         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75610         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75611         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75612         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75613         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75614         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75615         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75616         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75617         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75618         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75619         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75620         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75621         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75622         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75623         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75624         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75625         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75626         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75627         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75628         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75629         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75630         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75631         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75632         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75633         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75634         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75636         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75637         rename.
75638         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75639         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75640         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75641         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75642         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75643         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75644         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75645         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75647 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75649         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75651 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75653         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75655         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75656         prediction.
75657         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75659         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75660         Remove unused variable magic_bits.
75661         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75663         * string/strnlen.c: Define and use STRNLEN macro.
75664         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75665         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75666         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75667         * wcsmbs/wcslen.c: Define and use WCSLEN.
75668         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75669         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75670         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75671         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75672         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75673         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75674         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75676 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75678         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75679         strnlen-sse2-no-bsf.
75680         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75681         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75682         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75683         Add strnlen support.
75684         (USE_AS_STRNLEN): New macro.
75685         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75686         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75687         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75688         * sysdeps/x86_64/wcslen.S: New file.
75690 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75692         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75693         XMM-moves are used for copying on small sizes.
75695 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75697         * wcsmbs/Makefile (strop-tests): Add wcschr.
75698         * wcsmbs/test-wcschr.c: New file.
75699         * string/test-strchr.c: Update.
75700         Add wcschr support.
75701         (WIDE): New macro.
75703 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75705         * wcsmbs/Makefile (strop-tests): Add wcslen.
75706         * wcsmbs/test-wcslen.c: New file.
75707         * string/test-strlen.c: Update.
75708         Add wcslen support.
75709         (WIDE): New macro.
75711 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75713         * po/it.po: Update from translation team.
75715 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75717         * sysdeps/x86_64/wcscmp.S: Update.
75718         Fix wrong comparison semantics.
75719         wcscmp shall use signed comparison not unsigned.
75720         Don't use substraction to avoid overflow bug.
75721         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75722         * wcsmbc/wcscmp.c: Likewise.
75723         * string/test-strcmp.c: Likewise.
75724         Add new tests to check cases with negative values.
75726 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75728         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75729         * sysdeps/x86_64/dla.h: ...here.  New file.
75730         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75731         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75732         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75733         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75734         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75735         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75737         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75740 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75743         __ynl_finite aliases.
75745 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75749         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75750         define DLA_FMA.
75751         [DLA_FMA] (EMULV): Use DLA_FMA.
75752         [DLA_FMA] (MUL12): Use EMULV.
75753         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75754         that are not needed.
75755         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75756         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75760         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75761         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75763 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75765         * math/s_nan.c: Undef __nan.
75766         * math/s_nanf.c: Undef __nanf.
75767         * math/s_nanl.c: Undef __nanl.
75768         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75769         "math_private.h".
75771 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75773         * math/s_catan.c: Add branch predictions.
75774         * math/s_catanf.c: Likewise.
75775         * math/s_catanh.c: Likewise.
75776         * math/s_catanhf.c: Likewise.
75777         * math/s_catanhl.c: Likewise.
75778         * math/s_catanl.c: Likewise.
75779         * math/s_cexp.c: Likewise.
75780         * math/s_cexpf.c: Likewise.
75781         * math/s_cexpl.c: Likewise.
75782         * math/s_clog.c: Likewise.
75783         * math/s_clog10.c: Likewise.
75784         * math/s_clog10f.c: Likewise.
75785         * math/s_clog10l.c: Likewise.
75786         * math/s_clogf.c: Likewise.
75787         * math/s_clogl.c: Likewise.
75788         * math/s_csqrt.c: Likewise.
75789         * math/s_csqrtf.c: Likewise.
75790         * math/s_csqrtl.c: Likewise.
75791         * math/s_ctanf.c: Likewise.
75792         * math/s_ctanh.c: Likewise.
75793         * math/s_ctanhf.c: Likewise.
75794         * math/s_ctanhl.c: Likewise.
75795         * math/s_ctanl.c: Likewise.
75797         * math/math_private.h: Define __nan, __nanf, __nanl.
75798         * math/s_cacosh.c: Include <math_private.h>.
75799         * math/s_cacoshl.c: Likewise.
75800         * math/s_casinh.c: Likewise.
75801         * math/s_casinhf.c: Likewise.
75802         * math/s_casinhl.c: Likewise.
75803         * math/s_ccos.c: Rely entire on ccosh.
75804         * math/s_ccosf.c: Rely entire on ccoshf.
75805         * math/s_ccosl.c: Rely entirely on ccoshl.
75806         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75807         Remove tests for FE_INVALID.
75808         * math/s_ccoshf.c: Likewise.
75809         * math/s_ccoshl.c: Likewise.
75810         * math/s_csin.c: Likewise.
75811         * math/s_csinf.c: Likewise.
75812         * math/s_csinh.c Likewise.
75813         * math/s_csinhf.c: Likewise.
75814         * math/s_csinhl.c: Likewise.
75815         * math/s_csinl.c: Likewise.
75816         * math/s_ctan.c: Likewise.
75817         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75818         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75819         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75821 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75824         compilation problems.
75826         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75827         __builtin_expect.
75829 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75831         * sysdeps/i386/configure.in: Test for -mfma4 option.
75832         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75833         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75834         COMMON_CPUID_INDEX_80000001.
75835         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75836         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75837         use it if FMA3 is not supported.
75838         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75840         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75841         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75843 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75845         [BZ #12892]
75846         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75847         it would create a cycle with a link time dependency.
75849 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75851         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75852         instruction.
75853         * string/Makefile (strop-tests): Add rawmemchr.
75854         * string/test-rawmemchr.c: New file.
75856         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75857         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75858         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75859         when compiling str{,n}casecmp and when AVX is available.  Hook up
75860         new optimized code in initializers.
75862 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75864         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75865         __feraiseexcept instead of feraiseexcept.
75867 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75869         * math/math_private.h: Define defaults for libc_fetestexcept and
75870         libc_feupdateenv.
75871         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75872         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75873         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75874         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75875         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75876         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75877         libc_fetestexcept and libc_feupdateenv.
75879         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75880         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75881         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75882         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75883         libc_feholdexcept_setround.
75885         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75886         Add s_nearbyint-c and s_nearbyintf-c.
75887         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75888         nearbyintf inlines.
75889         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75890         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75891         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75892         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75894         * math/math_private.h: Define defaults for libc_fegetround,
75895         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75896         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75897         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75898         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75899         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75900         standard functions.
75901         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75902         Remove comments and hacks for old compiler versions.
75903         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75904         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75905         libc_feholdexceptl.
75907 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75909         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75910         (__feraiseexcept_renamed): Add __NTH.
75911         (feraiseexcept): Add __NTH.  Rename local variables to fix
75912         namespace violations.
75914 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75916         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75918         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75920         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75921         recently added interfaces.
75922         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75924         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75925         about macro parameter expansion.
75927         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75928         __NO_MATH_INLINES is defined.  Cleanups.
75930         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75931         and __floorf is target has SSE4.1.
75932         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75933         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75934         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75935         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75937         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75938         name.
75939         (floorf): Likewise.
75941         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75943 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75945         * misc/sys/cdefs.h: Fix last change.
75947         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75948         database lookup.
75950 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75952         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75954         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75955         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75956         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75957         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75958         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75959         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75960         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75961         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75962         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75963         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75964         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75965         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75966         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75967         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75968         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75969         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75970         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75971         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75972         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75973         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75974         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75975         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75977         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75978         ceil, ceilf, floor, floorf.
75980         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75981         Perform IRELATIVE relocations last.
75983         * elf/do-rel.h: Add another parameter nrelative, replacing the
75984         local variable with the same name.  Change name of the function
75985         to end in Rel or Rela (uppercase).
75986         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75987         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75988         elf_dynamic_do_##reloc function.
75990 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75992         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75993         is sufficient, at least on modern CPUs.
75995         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75997         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75998         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
76000         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
76001         __expl_finite.
76002         * math/bits/math-finite.h: Add entries for exp.
76003         * math/e_expl.c: Add __*_finite alias.
76004         * sysdeps/i386/fpu/e_exp.S: Likewise.
76005         * sysdeps/i386/fpu/e_expf.S: Likewise.
76006         * sysdeps/i386/fpu/e_expl.c: Likewise.
76007         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76008         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76009         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
76010         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
76011         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
76012         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76013         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76015         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
76016         is sufficient, at least on modern CPUs.
76018         * ctype/ctype-info.c (__ctype_init): Define.
76019         * include/ctype.h (__ctype_init): Declare.
76020         (__ctype_b_loc): The variable is always initialized.
76021         (__ctype_toupper_loc): Likewise.
76022         (__ctype_tolower_loc): Likewise.
76023         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
76024         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
76026 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
76028         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
76030         * configure.in: Also look in $cxxmachine/include for C++ system
76031         headers.
76033 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76035         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
76036         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
76037         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
76038         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
76039         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
76040         (USE_AS_WMEMCMP): New macro.
76041         Fixing indents.
76042         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
76043         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
76044         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
76045         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
76046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76047         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
76048         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
76049         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
76050         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
76051         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
76052         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
76053         (USE_AS_WMEMCMP): New macro.
76054         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
76055         * sysdeps/string/test-memcmp.c: Update.
76056         Fix simple_wmemcmp.
76057         Add new tests.
76058         * wcsmbs/wmemcmp.c: Update.
76059         (WMEMCMP): New macro.
76060         Fix overflow bug.
76062 2011-10-12  Andreas Jaeger  <aj@suse.de>
76064         [BZ #13268]
76065         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
76067 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76069         * libio/iofwide.c (do_length): Avoid warning.
76071         * ctype/ctype.h (__isctype_f): Add missing __THROW.
76073 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
76075         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
76077         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
76078         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
76079         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
76080         * sysdeps/i386/i686/fpu/e_log.S: New file.
76081         * sysdeps/i386/i686/fpu/e_logf.S: New file.
76082         * sysdeps/i386/i686/fpu/e_logl.S: New file.
76084         * ctype/ctype.h: Add support for inlined isXXX functions when
76085         compiling C++ code.
76087 2011-10-14  Andreas Schwab  <schwab@redhat.com>
76089         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76091         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
76093 2011-10-13  Roland McGrath  <roland@hack.frob.com>
76095         [BZ #13291]
76096         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
76098 2011-10-13  Andreas Schwab  <schwab@redhat.com>
76100         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
76101         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
76102         feraiseexcept.
76104         * sysdeps/x86_64/memrchr.S: Check for zero size.
76106         * string/stratcliff.c: Add memrchr tests.
76108 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76110         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76111         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
76112         rawmemchr-sse2 rawmemchr-sse2-bsf.
76113         * sysdeps/i386/i686/multiarch/memchr.S: New file.
76114         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
76115         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
76116         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
76117         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
76118         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
76119         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
76120         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
76121         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
76122         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
76123         * string/memrchr.c (MEMRCHR): New macro.
76125 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
76127         Add integration with gcc's -ffinite-math-only and optimize wrapper
76128         functions in libm.
76129         * Versions.def: Define GLIBC_2.15 version for libm.
76130         * math/Makefile (headers): Add bits/math-finite.h.
76131         * math/bits/math-finite.h: New file.
76132         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
76133         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
76134         * math/e_acoshl.c: Add __*_finite alias.
76135         * math/e_acosl.c: Likewise.
76136         * math/e_asinl.c: Likewise.
76137         * math/e_atan2l.c: Likewise.
76138         * math/e_atanhl.c: Likewise.
76139         * math/e_coshl.c: Likewise.
76140         * math/e_exp10.c: Likewise.
76141         * math/e_exp10f.c: Likewise.
76142         * math/e_exp10l.c: Likewise.
76143         * math/e_exp2l.c: Likewise.
76144         * math/e_fmodl.c: Likewise.
76145         * math/e_gammal_r.c: Likewise.
76146         * math/e_hypotl.c: Likewise.
76147         * math/e_j0l.c: Likewise.
76148         * math/e_j1l.c: Likewise.
76149         * math/e_jnl.c: Likewise.
76150         * math/e_lgammal_r.c: Likewise.
76151         * math/e_log10l.c: Likewise.
76152         * math/e_log2l.c: Likewise.
76153         * math/e_logl.c: Likewise.
76154         * math/e_powl.c: Likewise.
76155         * math/e_sinhl.c: Likewise.
76156         * math/e_sqrtl.c: Likewise.
76157         * math/e_scalb.c: Completely rewritten and optimized.
76158         * math/e_scalbf.c: Likewise.
76159         * math/e_scalbl.c: Likewise.
76160         * math/w_acos.c: Likewise.
76161         * math/w_acosf.c: Likewise.
76162         * math/w_acosl.c: Likewise.
76163         * math/w_acosh.c: Likewise.
76164         * math/w_acoshf.c: Likewise.
76165         * math/w_acoshl.c: Likewise.
76166         * math/w_asin.c: Likewise.
76167         * math/w_asinf.c: Likewise.
76168         * math/w_asinl.c: Likewise.
76169         * math/w_atan2.c: Likewise.
76170         * math/w_atan2f.c: Likewise.
76171         * math/w_atan2l.c: Likewise.
76172         * math/w_atanh.c: Likewise.
76173         * math/w_atanhf.c: Likewise.
76174         * math/w_atanhl.c: Likewise.
76175         * math/w_exp10.c: Likewise.
76176         * math/w_exp10f.c: Likewise.
76177         * math/w_exp10l.c: Likewise.
76178         * math/w_fmod.c: Likewise.
76179         * math/w_fmodf.c: Likewise.
76180         * math/w_fmodl.c: Likewise.
76181         * math/w_j0.c: Likewise.
76182         * math/w_j0f.c: Likewise.
76183         * math/w_j0l.c: Likewise.
76184         * math/w_j1.c: Likewise.
76185         * math/w_j1f.c: Likewise.
76186         * math/w_j1l.c: Likewise.
76187         * math/w_jn.c: Likewise.
76188         * math/w_jnf.c: Likewise.
76189         * math/w_log.c: Likewise.
76190         * math/w_logf.c: Likewise.
76191         * math/w_logl.c: Likewise.
76192         * math/w_log10.c: Likewise.
76193         * math/w_log10f.c: Likewise.
76194         * math/w_log10l.c: Likewise.
76195         * math/w_log2.c: Likewise.
76196         * math/w_log2f.c: Likewise.
76197         * math/w_log2l.c: Likewise.
76198         * math/w_pow.c: Likewise.
76199         * math/w_powf.c: Likewise.
76200         * math/w_powl.c: Likewise.
76201         * math/w_remainder.c: Likewise.
76202         * math/w_remainderf.c: Likewise.
76203         * math/w_remainderl.c: Likewise.
76204         * math/w_scalb.c: Likewise.
76205         * math/w_scalbf.c: Likewise.
76206         * math/w_scalbl.c: Likewise.
76207         * math/w_sqrt.c: Likewise.
76208         * math/w_sqrtf.c: Likewise.
76209         * math/w_sqrtl.c: Likewise.
76210         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76211         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76212         used.
76213         * math/math_private.h: Declare __kernel_standard_f.
76214         * math/w_cosh.c: Remove cruft and optimize a bit.
76215         * math/w_coshf.c: Likewise.
76216         * math/w_coshl.c: Likewise.
76217         * math/w_exp2.c: Likewise.
76218         * math/w_exp2f.c: Likewise.
76219         * math/w_exp2l.c: Likewise.
76220         * math/w_hypot.c: Likewise.
76221         * math/w_hypotf.c: Likewise.
76222         * math/w_hypotl.c: Likewise.
76223         * math/w_lgamma.c: Likewise.
76224         * math/w_lgamma_r.c: Likewise.
76225         * math/w_lgammaf.c: Likewise.
76226         * math/w_lgammaf_r.c: Likewise.
76227         * math/w_lgammal.c: Likewise.
76228         * math/w_lgammal_r.c: Likewise.
76229         * math/w_sinh.c: Likewise.
76230         * math/w_sinhf.c: Likewise.
76231         * math/w_sinhl.c: Likewise.
76232         * math/w_tgamma.c: Likewise.
76233         * math/w_tgammaf.c: Likewise.
76234         * math/w_tgammal.c: Likewise.
76235         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76236         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76237         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76238         Minor optimizations.  Pretty printing.  Remove cruft.
76239         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76240         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76241         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76242         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76243         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76244         * sysdeps/i386/fpu/e_asin.S: Likewise.
76245         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76246         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76247         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76248         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76249         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76250         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76251         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76252         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76253         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76254         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76255         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76256         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76257         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76258         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76259         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76260         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76261         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76262         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76263         * sysdeps/i386/fpu/e_log.S: Likewise.
76264         * sysdeps/i386/fpu/e_log10.S: Likewise.
76265         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76266         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76267         * sysdeps/i386/fpu/e_log2.S: Likewise.
76268         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76269         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76270         * sysdeps/i386/fpu/e_logf.S: Likewise.
76271         * sysdeps/i386/fpu/e_logl.S: Likewise.
76272         * sysdeps/i386/fpu/e_pow.S: Likewise.
76273         * sysdeps/i386/fpu/e_powf.S: Likewise.
76274         * sysdeps/i386/fpu/e_powl.S: Likewise.
76275         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76276         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76277         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76278         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76279         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76280         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76281         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76282         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76283         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76284         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76285         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76286         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76287         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76288         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76289         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76290         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76291         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76292         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76293         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76294         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76295         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76296         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76297         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76298         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76299         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76300         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76301         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76302         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76304         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76305         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76306         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76307         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76308         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76309         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76310         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76311         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76312         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76313         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76314         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76315         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76316         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76317         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76318         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76319         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76320         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76321         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76322         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76323         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76324         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76325         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76326         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76327         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76328         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76329         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76330         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76331         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76332         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76333         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76334         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76335         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76336         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76337         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76338         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76339         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76340         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76341         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76342         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76343         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76344         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76345         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76346         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76347         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76348         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76349         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76350         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76351         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76352         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76353         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76354         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76355         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76356         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76357         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76358         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76359         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76360         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76361         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76362         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76363         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76364         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76365         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76366         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76367         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76368         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76369         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76370         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76371         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76372         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76373         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76374         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76375         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76376         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76377         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76378         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76379         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76380         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76381         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76382         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76383         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76384         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76385         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76386         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76387         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76388         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76389         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76390         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76391         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76392         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76393         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76394         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76395         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76396         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76397         (__isnanf): Likewise.
76398         (__isinf_ns): Likewise.
76399         (__isinf_nsf): Likewise.
76400         (__finite): Likewise.
76401         (__finitef): Likewise.
76402         (__ieee754_sqrt): Define as macro.
76403         (__ieee754_sqrtf): Define as macro.
76404         (__ieee754_sqrtl): Define as macro.
76405         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76406         inlined copy.
76407         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76408         __FINITE_MATH_ONLY__ consistent.
76409         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76411 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76413         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76414         of rawmemchr.
76416         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76418 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76420         * po/ja.po: Update from translation team.
76422 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76424         * locale/programs/locarchive.c (prepare_address_space): New function.
76425         (create_archive, enlarge_archive, open_archive): Use it.
76427         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76428         inside [SHARED], where it is used.
76430         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76432         * nss/getent.c (netgroup_keys): Remove unused variable.
76433         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76435 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76437         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76438         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76439         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76440         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76441         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76442         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76443         * math/Makefile (libm-calls): Add s_isinf_ns.
76444         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76445         * math/multc3.c: Likewise.
76446         * math/s_casin.c: Likewise.
76447         * math/s_casinf.c: Likewise.
76448         * math/s_casinl.c: Likewise.
76449         * math/s_ccos.c: Likewise.
76450         * math/s_ccosf.c: Likewise.
76451         * math/s_ccosl.c: Likewise.
76452         * math/s_ctan.c: Likewise.
76453         * math/s_ctanf.c: Likewise.
76454         * math/s_ctanh.c: Likewise.
76455         * math/s_ctanhf.c: Likewise.
76456         * math/s_ctanhl.c: Likewise.
76457         * math/s_ctanl.c: Likewise.
76458         * math/w_fmod.c: Likewise.
76459         * math/w_fmodf.c: Likewise.
76460         * math/w_fmodl.c: Likewise.
76461         * math/w_remainder.c: Likewise.
76462         * math/w_remainderf.c: Likewise.
76463         * math/w_remainderl.c: Likewise.
76464         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76465         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76466         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76467         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76468         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76469         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76470         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76471         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76473         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76474         of the number.
76475         * stdio-common/printf_fphex.c: Likewise.
76476         * stdio-common/printf_size.c: Likewise.
76478         * math/e_exp10.c: Include math_private.h using <...> not "...".
76479         * math/e_exp10f.c: Likewise.
76480         * math/e_exp10l.c: Likewise.
76481         * math/e_exp2l.c: Likewise.
76482         * math/e_j0l.c: Likewise.
76483         * math/e_j1l.c: Likewise.
76484         * math/e_jnl.c: Likewise.
76485         * math/e_lgammal_r.c: Likewise.
76486         * math/e_rem_pio2l.c: Likewise.
76487         * math/e_scalb.c: Likewise.
76488         * math/e_scalbf.c: Likewise.
76489         * math/e_scalbl.c: Likewise.
76490         * math/k_cosl.c: Likewise.
76491         * math/k_sinl.c: Likewise.
76492         * math/k_tanl.c: Likewise.
76493         * math/s_cacoshf.c: Likewise.
76494         * math/s_catan.c: Likewise.
76495         * math/s_catanf.c: Likewise.
76496         * math/s_catanh.c: Likewise.
76497         * math/s_catanhf.c: Likewise.
76498         * math/s_catanhl.c: Likewise.
76499         * math/s_catanl.c: Likewise.
76500         * math/s_ccosh.c: Likewise.
76501         * math/s_ccoshf.c: Likewise.
76502         * math/s_ccoshl.c: Likewise.
76503         * math/s_cexp.c: Likewise.
76504         * math/s_cexpf.c: Likewise.
76505         * math/s_cexpl.c: Likewise.
76506         * math/s_clog.c: Likewise.
76507         * math/s_clog10.c: Likewise.
76508         * math/s_clog10f.c: Likewise.
76509         * math/s_clog10l.c: Likewise.
76510         * math/s_clogf.c: Likewise.
76511         * math/s_clogl.c: Likewise.
76512         * math/s_csin.c: Likewise.
76513         * math/s_csinf.c: Likewise.
76514         * math/s_csinh.c: Likewise.
76515         * math/s_csinhf.c: Likewise.
76516         * math/s_csinhl.c: Likewise.
76517         * math/s_csinl.c: Likewise.
76518         * math/s_csqrt.c: Likewise.
76519         * math/s_csqrtf.c: Likewise.
76520         * math/s_csqrtl.c: Likewise.
76521         * math/s_ctan.c: Likewise.
76522         * math/s_ctanf.c: Likewise.
76523         * math/s_ctanh.c: Likewise.
76524         * math/s_ctanhf.c: Likewise.
76525         * math/s_ctanhl.c: Likewise.
76526         * math/s_ctanl.c: Likewise.
76527         * math/s_ldexp.c: Likewise.
76528         * math/s_ldexpf.c: Likewise.
76529         * math/s_ldexpl.c: Likewise.
76530         * math/s_significand.c: Likewise.
76531         * math/s_significandf.c: Likewise.
76532         * math/s_significandl.c: Likewise.
76533         * math/w_acos.c: Likewise.
76534         * math/w_acosf.c: Likewise.
76535         * math/w_acosh.c: Likewise.
76536         * math/w_acoshf.c: Likewise.
76537         * math/w_acoshl.c: Likewise.
76538         * math/w_acosl.c: Likewise.
76539         * math/w_asin.c: Likewise.
76540         * math/w_asinf.c: Likewise.
76541         * math/w_asinl.c: Likewise.
76542         * math/w_atan2.c: Likewise.
76543         * math/w_atan2f.c: Likewise.
76544         * math/w_atan2l.c: Likewise.
76545         * math/w_atanh.c: Likewise.
76546         * math/w_atanhf.c: Likewise.
76547         * math/w_atanhl.c: Likewise.
76548         * math/w_cosh.c: Likewise.
76549         * math/w_coshf.c: Likewise.
76550         * math/w_coshl.c: Likewise.
76551         * math/w_dremf.c: Likewise.
76552         * math/w_exp10.c: Likewise.
76553         * math/w_exp10f.c: Likewise.
76554         * math/w_exp10l.c: Likewise.
76555         * math/w_exp2.c: Likewise.
76556         * math/w_exp2f.c: Likewise.
76557         * math/w_fmod.c: Likewise.
76558         * math/w_fmodf.c: Likewise.
76559         * math/w_fmodl.c: Likewise.
76560         * math/w_hypot.c: Likewise.
76561         * math/w_hypotf.c: Likewise.
76562         * math/w_hypotl.c: Likewise.
76563         * math/w_j0.c: Likewise.
76564         * math/w_j0f.c: Likewise.
76565         * math/w_j0l.c: Likewise.
76566         * math/w_j1.c: Likewise.
76567         * math/w_j1f.c: Likewise.
76568         * math/w_j1l.c: Likewise.
76569         * math/w_jn.c: Likewise.
76570         * math/w_jnf.c: Likewise.
76571         * math/w_jnl.c: Likewise.
76572         * math/w_lgamma.c: Likewise.
76573         * math/w_lgamma_r.c: Likewise.
76574         * math/w_lgammaf.c: Likewise.
76575         * math/w_lgammaf_r.c: Likewise.
76576         * math/w_lgammal.c: Likewise.
76577         * math/w_lgammal_r.c: Likewise.
76578         * math/w_log.c: Likewise.
76579         * math/w_log10.c: Likewise.
76580         * math/w_log10f.c: Likewise.
76581         * math/w_log10l.c: Likewise.
76582         * math/w_log2.c: Likewise.
76583         * math/w_log2f.c: Likewise.
76584         * math/w_log2l.c: Likewise.
76585         * math/w_logf.c: Likewise.
76586         * math/w_logl.c: Likewise.
76587         * math/w_pow.c: Likewise.
76588         * math/w_powf.c: Likewise.
76589         * math/w_powl.c: Likewise.
76590         * math/w_remainder.c: Likewise.
76591         * math/w_remainderf.c: Likewise.
76592         * math/w_remainderl.c: Likewise.
76593         * math/w_scalb.c: Likewise.
76594         * math/w_scalbf.c: Likewise.
76595         * math/w_scalbl.c: Likewise.
76596         * math/w_sinh.c: Likewise.
76597         * math/w_sinhf.c: Likewise.
76598         * math/w_sinhl.c: Likewise.
76599         * math/w_sqrt.c: Likewise.
76600         * math/w_sqrtf.c: Likewise.
76601         * math/w_sqrtl.c: Likewise.
76602         * math/w_tgamma.c: Likewise.
76603         * math/w_tgammaf.c: Likewise.
76604         * math/w_tgammal.c: Likewise.
76606         * po/ja.po: Update from translation team.
76608 2011-09-29  Andreas Jaeger  <aj@suse.de>
76610         [BZ #13179]
76611         * sunrpc/netname.c (netname2host): Fix logic.
76613         [BZ #6779]
76614         [BZ #6783]
76615         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76616         correctly.
76617         * math/w_remainder.c (__remainder): Likewise.
76618         * math/w_remainderf.c (__remainderf): Likewise.
76619         * math/libm-test.inc (remainder_test): Add test cases.
76621 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76623         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76624         sdiv_qrnnd.
76626 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76628         * string/test-memcmp.c: Avoid unncessary #defines.
76629         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76631 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76633         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76634         Use new sse2 version for core i3 - i7 as it's faster
76635         than sse42 version.
76636         (bit_Prefer_PMINUB_for_stringop): New.
76637         * sysdeps/x86_64/rawmemchr.S: Update.
76638         Replace with faster SSE2 version.
76639         * sysdeps/x86_64/memrchr.S: New file.
76640         * sysdeps/x86_64/memchr.S: Update.
76641         Replace with faster SSE2 version.
76643 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76645         * elf/dl-load.c (lose): Add cast to avoid warning.
76647 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76649         * po/ca.po: Update from translation team.
76651         * inet/getnetgrent_r.c: Hook up nscd.
76652         * nscd/Makefile (routines): Add nscd_netgroup.
76653         (nscd-modules): Add netgroupcache.
76654         (CFLAGS-netgroupcache.c): Define.
76655         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76656         (cache_search): Add const to second parameter.
76657         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76658         INNETGR.
76659         (dbs): Add netgrdb entry.
76660         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76661         (verify_persistent_db): Handle netgrdb.
76662         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76663         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76664         GETFDNETGR.
76665         (netgroup_response_header): Define.
76666         (innetgroup_response_header): Define.
76667         (datahead): Add netgroup_response_header and innetgroup_response_header
76668         elements.
76669         * nscd/nscd.conf: Add entries for netgroup cache.
76670         * nscd/nscd.h (dbtype): Add netgrdb.
76671         (_PATH_NSCD_NETGROUP_DB): Define.
76672         (netgroup_iov_disabled): Declare.
76673         (xmalloc, xcalloc, xrealloc): Move declarations here.
76674         (cache_search): Adjust prototype.
76675         Add netgroup-related prototypes.
76676         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76677         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76678         (__nscd_innetgr): Declare.
76679         * nscd/selinux.c (perms): Use access_vector_t as element type and
76680         add netgroup-related initializers.
76681         * nscd/netgroupcache.c: New file.
76682         * nscd/nscd_netgroup.c: New file.
76683         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76684         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76685         For four parameters use innetgr.
76686         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76687         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76688         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76689         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76691         * nscd/connections.c (register_traced_file): Don't register file
76692         for disabled databases.
76694 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76696         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76698         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76699         from tree and freeing node.
76701 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76703         * nss/nsswitch.c (__nss_database_lookup): Handle
76704         nss_parse_service_list out of memory case.
76706 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76708         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76709         out of memory case.
76711 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76713         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76714         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76715         pass it down.
76716         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76717         elf_machine_rela, elf_machine_lazy_rel.
76718         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76719         (ELF_DYNAMIC_DO_REL): Likewise.
76720         (ELF_DYNAMIC_DO_RELA): Likewise.
76721         (ELF_DYNAMIC_RELOCATE): Likewise.
76722         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76723         to ELF_DYNAMIC_DO_REL.
76724         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76725         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76726         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76727         elf_machine_rela.
76728         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76729         skip_ifunc, don't call ifunc function if non-zero.
76730         (elf_machine_rela): Likewise.
76731         (elf_machine_lazy_rel): Likewise.
76732         (elf_machine_lazy_rela): Likewise.
76733         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76734         (elf_machine_lazy_rel): Likewise.
76735         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76736         Likewise.
76737         (elf_machine_lazy_rel): Likewise.
76738         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76739         Likewise.
76740         (elf_machine_lazy_rel): Likewise.
76741         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76742         (elf_machine_lazy_rel): Likewise.
76743         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76744         (elf_machine_lazy_rel): Likewise.
76745         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76746         (elf_machine_lazy_rel): Likewise.
76747         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76748         (elf_machine_lazy_rel): Likewise.
76749         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76750         (elf_machine_lazy_rel): Likewise.
76751         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76752         (elf_machine_lazy_rel): Likewise.
76754 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76756         * nss/nss_files/files-init.c (_nss_files_init): Use static
76757         initialization for all the *_traced_file variables.
76759 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76761         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76763 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76765         [BZ #13226]
76766         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76768 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76770         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76771         Reread the line before reparsing it.
76773 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76775         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76777 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76778             Maxim Kuvyrkov  <maxim@codesourcery.com>
76779             Joseph Myers  <joseph@codesourcery.com>
76781         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76782         if needed for __stack_chk_guard.
76784 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76786         * sysdeps/posix/spawni.c (script_execute): Always define it.
76787         It will be optimized away if unused.
76788         (maybe_script_execute): New function.
76789         (__spawni): Call it.
76791         * Makerules: Don't include tls.make.
76792         (config-tls): Always set to thread.
76793         * tls.make.c: File removed.
76795 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76797         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76798         * config.make.in (CPPFLAGS-config): New substituted variable.
76800 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76802         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76804         [BZ #13192]
76805         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76806         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76808 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76810         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76811         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76812         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76813         (CALL_FAIL): Likewise.
76814         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76815         (CALL_FAIL): Macro removed.
76816         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76818 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76820         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76821         for __FINITE_MATH_ONLY__ == 1.
76823 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76825         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76826         __ieee754_sqrt instead of sqrt.
76827         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76828         __ieee754_sqrtf instead of sqrtf.
76829         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76830         __floorf instead of floorf.
76831         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76832         __floorf, __truncf instead of floorf, truncf.
76834 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76836         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76838         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76839         __extern_always_inline.
76840         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76841         32-bit.
76843 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76845         * elf/rtld.c (dl_main): Also relocate in dependency order when
76846         doing symbol dependency testing.
76848 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76850         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76851         Always define `refsym'.
76853 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76855         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76856         (__FD_ELT): Renamed from __FDELT.
76857         * misc/bits/select2.h (__FD_ELT): Likewise.
76858         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76859         __FD_MASK instead of __FDELT, __FDMASK.
76860         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76861         Likewise.
76862         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76863         Likewise.
76865         * elf/Makefile (gen-ldd): Fix pattern.
76867         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76868         (init_tls): Likewise.
76870 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76872         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76874 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76876         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76877         `struct cmsghdr *' instead of `void *'.
76878         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76879         Likewise.
76881 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76883         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76884         if non-absolute.
76885         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76886         ldd_rewrite_script.
76888 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76890         * configure.in: Remove --with-tls option.
76891         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76892         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76893         out in case it is missing.
76894         * sysdeps/ia64/elf/configure.in: Likewise.
76895         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76896         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76897         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76898         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76899         * sysdeps/sh/elf/configure.in: Likewise.
76900         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76901         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76902         * sysdeps/x86_64/elf/configure.in: Likewise.
76903         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76904         * sysdeps/mach/hurd/tls.h: Likewise.
76906         [BZ #13067]
76907         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76909         [BZ #13090]
76910         * configure.in: Fix use of AC_INIT.
76912         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76914 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76916         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76917         __set_errno.
76918         * malloc/hooks.c: Likewise.
76920         [BZ #11929]
76921         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76922         variables statically.
76923         (narenas): Initialize.
76924         (list_lock): Initialize.
76925         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76926         initializtion of main_arena and list_lock.  Small cleanups.
76927         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76928         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76929         Add initializers to main_arena and mp_.
76930         (malloc_state): Remove pagesize member.  Change all users to use
76931         GLRO(dl_pagesize).
76933         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76934         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76935         is always initialized.
76937         * malloc/malloc.c: Removed unused configurations and dead code.
76938         * malloc/arena.c: Likewise.
76939         * malloc/hooks.c: Likewise.
76940         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76942         * include/tls.h: Removed.  USE___THREAD must always be defined.
76943         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76944         * elf/dl-libc.c: Likewise.
76945         * elf/dl-tsd.c: Likewise.
76946         * include/errno.h: Likewise.
76947         * include/netdb.h: Likewise.
76948         * include/resolv.h: Likewise.
76949         * inet/herrno-loc.c: Likewise.
76950         * inet/herrno.c: Likewise.
76951         * malloc/arena.c: Likewise.
76952         * malloc/hooks.c: Likewise.
76953         * malloc/malloc.c: Likewise.
76954         * resolv/res-state.c: Likewise.
76955         * resolv/res_libc.c: Likewise.
76956         * sysdeps/i386/dl-machine.h: Likewise.
76957         * sysdeps/ia64/dl-machine.h: Likewise.
76958         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76959         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76960         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76961         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76962         * sysdeps/sh/dl-machine.h: Likewise.
76963         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76964         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76965         * sysdeps/unix/i386/sysdep.S: Likewise.
76966         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76967         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76968         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76969         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76970         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76971         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76972         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76973         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76974         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76975         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76976         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76977         * sysdeps/x86_64/dl-machine.h: Likewise.
76978         * tls.make.c: Likewise.
76980         * configure.in: Remove --with-__thread option.  Make tests for
76981         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76982         tls_model attribute fail if no support is available.  Remove
76983         USE_IN_LIBIO.
76984         * Makeconfig: Adjust for dropped configure option.  All features are
76985         now mandatory.
76986         * Makerules: Likewise.
76987         * Versions.def: Likewise.
76988         * argp/argp-fmtstream.c: Likewise.
76989         * argp/argp-fmtstream.h: Likewise.
76990         * argp/argp-help.c: Likewise.
76991         * assert/assert.c: Likewise.
76992         * config.h.in: Likewise.
76993         * config.make.in: Likewise.
76994         * configure: Likewise.
76995         * configure.in: Likewise.
76996         * csu/Versions: Likewise.
76997         * csu/init.c: Likewise.
76998         * elf/tst-audit2.c: Likewise.
76999         * elf/tst-tls10.c: Likewise.
77000         * elf/tst-tls10.h: Likewise.
77001         * elf/tst-tls11.c: Likewise.
77002         * elf/tst-tls12.c: Likewise.
77003         * elf/tst-tls14.c: Likewise.
77004         * elf/tst-tlsmod11.c: Likewise.
77005         * elf/tst-tlsmod12.c: Likewise.
77006         * elf/tst-tlsmod13.c: Likewise.
77007         * elf/tst-tlsmod13a.c: Likewise.
77008         * elf/tst-tlsmod14a.c: Likewise.
77009         * elf/tst-tlsmod15b.c: Likewise.
77010         * elf/tst-tlsmod16a.c: Likewise.
77011         * elf/tst-tlsmod16b.c: Likewise.
77012         * elf/tst-tlsmod7.c: Likewise.
77013         * elf/tst-tlsmod8.c: Likewise.
77014         * elf/tst-tlsmod9.c: Likewise.
77015         * gmon/gmon.c: Likewise.
77016         * grp/fgetgrent_r.c: Likewise.
77017         * grp/putgrent.c: Likewise.
77018         * hurd/fopenport.c: Likewise.
77019         * include/libc-symbols.h: Likewise.
77020         * include/tls.h: Likewise.
77021         * intl/gettextP.h: Likewise.
77022         * intl/loadinfo.h: Likewise.
77023         * locale/global-locale.c: Likewise.
77024         * locale/localeinfo.h: Likewise.
77025         * mach/devstream.c: Likewise.
77026         * malloc/arena.c: Likewise.
77027         * malloc/set-freeres.c: Likewise.
77028         * misc/err.c: Likewise.
77029         * misc/getttyent.c: Likewise.
77030         * misc/mntent_r.c: Likewise.
77031         * posix/getopt.c: Likewise.
77032         * posix/wordexp.c: Likewise.
77033         * pwd/fgetpwent_r.c: Likewise.
77034         * resolv/Versions: Likewise.
77035         * resolv/res_hconf.c: Likewise.
77036         * shadow/fgetspent_r.c: Likewise.
77037         * shadow/putspent.c: Likewise.
77038         * stdio-common/printf_fphex.c: Likewise.
77039         * stdio-common/tmpfile.c: Likewise.
77040         * stdlib/abort.c: Likewise.
77041         * stdlib/fmtmsg.c: Likewise.
77042         * sunrpc/auth_unix.c: Likewise.
77043         * sunrpc/clnt_perr.c: Likewise.
77044         * sunrpc/clnt_tcp.c: Likewise.
77045         * sunrpc/clnt_udp.c: Likewise.
77046         * sunrpc/clnt_unix.c: Likewise.
77047         * sunrpc/openchild.c: Likewise.
77048         * sunrpc/svc_simple.c: Likewise.
77049         * sunrpc/svc_tcp.c: Likewise.
77050         * sunrpc/svc_udp.c: Likewise.
77051         * sunrpc/svc_unix.c: Likewise.
77052         * sunrpc/xdr.c: Likewise.
77053         * sunrpc/xdr_array.c: Likewise.
77054         * sunrpc/xdr_rec.c: Likewise.
77055         * sunrpc/xdr_ref.c: Likewise.
77056         * sunrpc/xdr_stdio.c: Likewise.
77058 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77060         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77062 2011-07-03  Andreas Jaeger  <aj@suse.de>
77064         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
77065         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
77066         regenerate with gen-libm-tests.pl.
77068 2010-05-12  Petr Baudis  <pasky@suse.cz>
77070         [BZ #11589]
77071         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
77072         around j0() zero points by switching to j1().
77073         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77074         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77075         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77076         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77078 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77080         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
77081         instead of 0.
77082         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
77083         instead of 0.
77084         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77085         Patch in part by Pavel Roskin <proski@gnu.org>.
77087         [BZ #13138]
77088         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
77089         realloc.
77090         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
77091         Free memory block if necessary.
77093         [BZ #12847]
77094         * libio/genops.c (INTDEF): For string streams the _lock pointer can
77095         be NULL.  Don't lock in this case.
77097 2011-09-09  Roland McGrath  <roland@hack.frob.com>
77099         * elf/elf.h (ELFOSABI_GNU): New macro.
77100         (ELFOSABI_LINUX): Define to that.
77102 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
77104         * string/strncat.c (strncat): Undef the symbol in case it has been
77105         defined in bits/string.h.
77107 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77109         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
77111         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
77112         link map.
77114 2011-08-17  Andreas Jaeger  <aj@suse.de>
77116         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
77118 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
77119             Ian Lance Taylor  <iant@google.com>
77121         * math/libm-test.inc (lround_test): New testcase.
77122         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
77124 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
77126         * Makefile: Remove support for automatic cvs check-ins.
77127         * Makerules: Likewise.
77128         * config.make.in: Likewise.
77129         * configure.in: Likewise.
77130         * intl/Makefile: Likewise.
77131         * locale/Makefile: Likewise.
77132         * po/Makefile: Likewise.
77133         * posix/Makefile: Likewise.
77134         * sysdeps/gnu/Makefile: Likewise.
77135         * sysdeps/mach/hurd/Makefile: Likewise.
77136         * sysdeps/sparc/sparc32/Makefile: Likewise.
77138         [BZ #13118]
77139         * posix/Makefile (bug-regex32-ENV): Define.
77140         Patch by John Stanley <jpsinthemix@verizon.net>.
77142         * misc/Makefile (headers): Add bits/select2.h.
77143         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77144         * misc/bits/select2.h: New file.
77145         * include/bits/select2.h: New file.
77146         * debug/Makefile (routines): Add fdelt_chk.
77147         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77148         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77149         FD_ISSET.
77150         * debug/fdelt_chk.c: New file.
77152         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
77153         * wcsmbs/test-wmemcmp.c: Likewise.
77154         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77155         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
77157 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77159         * string/Makefile (strop-tests): Add memcmp.
77160         * string/test-wmemcmp.c: New file.
77161         * string/test-memcmp.c: Add wmemcmp support.
77163 2011-09-08  Roland McGrath  <roland@hack.frob.com>
77165         [BZ #13153]
77166         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
77167         2011-07-19 change.
77169         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
77170         garbage value in a __mach_port_mod_refs call in the cases of the
77171         task-self and thread-self ports.
77173 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77175         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77177 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77179         * elf/dl-load.c (lose): Check for non-null L.
77181 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77183         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77185         * elf/dl-libc.c (dlerror_run): Pass back error code from
77186         dl_catch_error.
77188         [BZ #13123]
77189         * elf/dl-load.c (lose): Free l_origin if it is valid.
77191         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77192         names.
77193         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77194         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77195         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77196         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77197         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77198         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77200 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77202         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77203         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77204         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77205         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77206         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77207         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77208         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77209         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77210         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77211         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77213 2011-08-15  Alan Modra  <amodra@gmail.com>
77215         [BZ #13092]
77216         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77217         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77218         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77219         ppc_mcount to static-only-routines.
77220         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77221         __mcount_internal.
77222         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77223         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77225 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77227         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77228         for finite and infinity parameters.
77230 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77232         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77233         and add nop instructions for throughput optimization.
77234         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77236 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77238         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77239         aligned copy for power7 with vector-scalar instructions.
77240         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77242 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77244         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77245         AVX check.
77247 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77249         [BZ #13144]
77250         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77251         last change.
77253 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77255         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77256         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77257         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77258         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77259         clock_gettime.
77261 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77263         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77264         Forgot to demangle the pointer.
77266         * sysdeps/i386/sysdep.h: Define atom_text_section.
77267         * sysdeps/x86_64/sysdep.h: Likewise.
77268         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77269         section with atom_text_section.
77270         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77271         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77272         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77273         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77274         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77276         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77277         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77278         already be defined.  Change to take two parameters and don't assign
77279         result to variable.  Adjust all users.
77280         Define INTERNAL_GETTIME if not already defined.
77281         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77282         call.
77283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77284         HAVE_CLOCK_GETTIME_VSYSCALL.
77285         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77287         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77288         gettimeofday vsyscall, just use time.
77290 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77292         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77293         <errno.h>.
77295 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77297         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77298         syscall on x86-64.
77299         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77300         syscall.
77301         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77302         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77303         syscall if possible.
77305 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77307         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77308         e_ident.  Don't pass to find_mapsXX.
77309         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77311 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77314         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77315         * sysdeps/x86_64/multiarch/strchr.S: Update.
77316         Check bit_slow_BSF bit.
77317         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77318         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77319         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77321 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77323         [BZ #13134]
77324         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77325         before glibc 2.15.
77326         (tryshell): Define.
77327         (__spawni): Change last parameter to be flag.  Test
77328         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77329         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77330         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77331         * posix/spawni.c: Likewise.
77332         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77333         * posix/spawnp.c: Likewise.  Change normal version to use
77334         SPAWN_XFLAGS_USE_PATH.
77335         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77336         SPAWN_XFLAGS_TRY_SHELL.
77338         [BZ #13150]
77339         * posix/glob.h: Remove gcc 1.x support.
77341         [BZ #13068]
77342         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77344 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77346         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77347         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77348         strrchr-sse2-bsf
77349         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77350         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77351         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77352         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77353         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77354         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77356 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77358         * sysdeps/x86_64/wcscmp.S: New file.
77360         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77361         wcscmp-c wcscmp-sse2
77362         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77363         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77364         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77365         * wcsmbs/wcscmp.c: Allow renaming.
77367 2011-09-05  David S. Miller  <davem@davemloft.net>
77369         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77370         stack slot, rather than the struct return pointer slot.
77371         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77372         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77374         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77376 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77378         * po/ja.po: Update from translation team.
77380         [BZ #13144]
77381         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77382         kernel in 64-bit binaries.
77384 2011-09-01  David S. Miller  <davem@davemloft.net>
77386         * elf/elf.h (HWCAP_SPARC_*): Move to..
77387         * sysdeps/sparc/sysdep.h: this new file and add new values.
77388         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77389         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77390         _DL_HWCAP_COUNT to 24.
77391         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77392         entries.
77393         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77394         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77395         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77396         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77397         instead of magic constants.
77398         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77400 2011-08-31  David S. Miller  <davem@davemloft.net>
77402         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77403         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77404         Reimplement to do errno handling inline.
77405         (SYSCALL_ERROR_HANDLER): New macro.
77406         (__SYSCALL_STRING): Do not do errno handling in asm.
77407         (__CLONE_SYSCALL_STRING): Delete.
77408         (__INTERNAL_SYSCALL_STRING): Delete.
77409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77410         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77411         (PSEUDO): Reimplement to do errno handling inline.
77412         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77413         (SYSCALL_ERROR_HANDLER): New macro.
77414         (__SYSCALL_STRING): Do not do errno handling in asm.
77415         (__CLONE_SYSCALL_STRING): Delete.
77416         (__INTERNAL_SYSCALL_STRING): Delete.
77417         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77418         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77419         i386.
77420         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77421         (inline_syscall*): Add 'err' argument.
77422         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77423         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77424         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77425         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77427         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77428         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77430 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77432         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77434 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77436         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77437         directive.
77439 2011-08-24  David S. Miller  <davem@davemloft.net>
77441         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77443 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77445         * elf/Makefile: Add rules to build and run unload8 test.
77446         * elf/unload8.c: New file.
77447         * elf/unload8mod1.c: New file.
77448         * elf/unload8mod1x.c: New file.
77449         * elf/unload8mod2.c: New file.
77450         * elf/unload8mod3.c: New file.
77452         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77453         it wasn't used.
77455 2011-08-23  David S. Miller  <davem@davemloft.net>
77457         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77458         subtract stack bias.
77459         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77460         %sp not %fp in calculations.
77461         (_JMPBUF_UNWINDS_ADJ): Likewise.
77463         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77464         (aio_suspend): Call it to force an exception region around the
77465         AIO_MISC_WAIT() invocation.
77467 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77469         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77470         backslash.
77472 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77474         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77475         protection macro.
77476         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77477         and <dl-machine.h>.
77478         (Elf64_FuncDesc): Remove.
77480 2011-08-22  David S. Miller  <davem@davemloft.net>
77482         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77483         sigaltstack check, add missing cfi directives.
77484         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77485         missing cfi directives, and sigaltstack handling.
77487 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77489         [BZ #11724]
77490         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77491         object is seen twice.
77492         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77494         * elf/Makefile (distribute): Add tst-initorder2.c.
77495         (tests): Add tst-initorder2.
77496         (modules-names): Add tst-initorder2a tst-initorder2b
77497         tst-initorder2c tst-initorder2d.  Add rules to build them.
77498         ($(objpfx)tst-initorder2.out): New rule.
77499         * elf/tst-initorder2.c: New file.
77500         * elf/tst-initorder2.exp: New file.
77502 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77504         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77506         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77507         dependencies back to end of function.
77509         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77510         $(elfobjdir)/ld.so.
77512 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77514         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77515         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77516         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77517         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77518         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77519         of __vdso_gettimeofday.
77520         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77521         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77522         attribute_hidden.
77523         (_libc_vdso_platform_setup): Remove initialization of
77524         __vdso_gettimeofday and __vdso_time.
77526 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77528         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77529         and fgetc_unlocked.
77530         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77531         getc_unlocked.
77533         * elf/dl-open.c (add_to_global): Report additions to the global scope
77534         for LD_DEBUG=scopes.
77535         (dl_open_worker): Also print scope of newly loaded dependencies.
77536         (_dl_show_scope): Indicate if there is no scope.
77538         [BZ #13114]
77539         * stdio-common/Makefile (tests): Add bug24.
77540         * stdio-common/bug24.c: New file.
77542 2011-08-19  Andreas Jaeger  <aj@suse.de>
77544         [BZ #13114]
77545         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77546         non-existant file when using close-on-exec mode.
77548 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77550         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77551         the very first instruction.
77553         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77554         the CFI state in the end.
77555         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77556         inclusion of dl-trampoline.h.
77557         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77559 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77561         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77562         expectations for long double.
77564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77565         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77567 2011-08-14  David S. Miller  <davem@davemloft.net>
77569         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77570         artificual limit depends upon the system page size.
77572 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77574         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77575         * resolv/Makefile: Define CFLAGS-libresolv.
77577 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77579         * nss/makedb.c (compute_tables): Make variables used in nested
77580         function static.
77582 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77584         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77585         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77586         if buffer was too small.
77588         * elf/pldd.c (main): Attach to all threads in the process.
77589         Rewrite /proc handling to use *at functions.
77591 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77593         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77594         specifies first scope to show.
77595         (dl_open_worker): Update callers.  Move printing scope of new
77596         object to before the relocation.
77597         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77598         * sysdeps/generic/ldsodefs.h: Update declaration.
77600         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77601         string for the scope number.
77603 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77605         * nscd/servicescache.c (cache_addserv): Make sure written is always
77606         initialized.
77608 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77610         * sysdeps/i386/i486/bits/atomic.h
77611         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77612         statement expression, so as to suppress "set but not used" warning.
77613         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77615         * string/strncat.c (STRNCAT): Use prototype definition.
77617         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77618         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77619         -Iprograms here.
77620         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77621         (localedef-modules): Add localedef.
77622         (locale-modules): Add locale.
77624         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77625         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77626         to avoid a warning.
77628 2011-08-14  David S. Miller  <davem@davemloft.net>
77630         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77631         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77633 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77635         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77636         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77637         * elf/rtld.c (dl_main): Set l_name of vDSO.
77638         Call _dl_show_scope when DL_DEBUG_SCOPES.
77639         (process_dl_debug): Recognize scopes flag and also set it for all.
77640         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77641         Declare _dl_show_scope.
77643         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77644         (do_dlopen): Pass caller_dlopen to dl_open.
77645         (__libc_dlopen_mode): Initialize caller_dlopen.
77647         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77648         of libc.  Make tolower call locale-independent.  Optimize a bit by
77649         using isdigit instead of isalnum.
77650         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77652 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77654         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77655         was a dependency or dynamically loaded.
77657 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77659         * intl/l10nflist.c: Allow architecture-specific pop function.
77660         * sysdeps/x86_64/l10nflist.c: New file.
77662         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77663         classification.
77665 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77667         * include/dirent.h: Add libc_hidden_proto for scandirat and
77668         scandirat64.  Don't declare __scandirat64.
77669         * dirent/scandirat.c: Add libc_hidden_def.
77670         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77671         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77673 2011-08-10  David S. Miller  <davem@davemloft.net>
77675         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77676         enum.
77677         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77678         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77679         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77681 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77683         * Versions.def [libc]: Add GLIBC_2.15.
77684         * dirent/Makefile (routines): Add scandirat and scandirat64.
77685         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77686         GLIBC_2.15.
77687         * dirent/dirent.h: Declare scandirat and scandirat64.
77688         * dirent/scandirat.c: New file.
77689         * dirent/scandirat64.c: New file.
77690         * sysdeps/wordsize-64/scandirat.c: New file.
77691         * sysdeps/wordsize-64/scandirat64.c: New file.
77692         * dirent/opendir.c: Define opendirat.
77693         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77694         using scandirat.
77695         * dirent/scandir64.c: Adjust for scandir.c change.
77696         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77697         __scandirat64, and __scandir_cancel_handler.
77698         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77699         additional parameter and use openat instead of open (outside of ld.so).
77700         Add new __opendir as wrapper around __opendirat.
77701         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77702         here without requiring old scandirat implementation.
77704 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77706         * dirent/scandir.c (cancel_handler): Renamed to
77707         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77708         defined.  Adjust users.
77709         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77710         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77712 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77714         * string/test-string.h (IMPL): Use __STRING to expand name and then
77715         stringify it.
77717         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77718         of cleanups.
77720 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77722         * string/Makefile: Update.
77723         (strop-tests): Append strncat.
77724         * string/test-wcscmp.c: New file.
77725         New comprehensive test for wcscmp.
77726         * string/test-strcmp.c: Update.
77727         (WIDE): New define.
77729 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77731         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77732         line.
77734 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77737         encoding to ACE if AI_IDN.
77739 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77741         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77742         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77744 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77746         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77747         Fix overflow bug in strncat.
77748         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77750         * string/test-strncat.c: Update.
77751         Add new tests for checking overflow bugs.
77753 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77756         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77757         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77758         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77759         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77760         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77761         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77762         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77763         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77765         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77766         (USE_AS_STRCAT): Define.
77767         Add strcat and strncat support.
77768         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77770 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77772         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77773         __n bigger than INT_MAX+1.
77774         (__strncmp_g): Likewise.
77776 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77778         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77779         * libio/stido.h: Likewise.
77781         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77782         (AF_NFC): Define.
77783         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77784         (AF_NFC): Define.
77786         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77787         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77788         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77789         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77790         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77792         [BZ #13021]
77793         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77794         installed.
77796         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77797         typo.
77798         (_dl_x86_64_save_sse): Likewise.
77800 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77802         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77803         OSXSAVE.
77804         (_dl_x86_64_save_sse): Likewise.
77806         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77808         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77810 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77812         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77813         change.
77814         (_dl_x86_64_save_sse): Use correct AVX check.
77816 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77818         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77819         bug in strncpy/strncat.
77820         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77822 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77824         * string/tester.c (test_strcat): Add tests for different alignments
77825         of source and destination.
77826         (test_strncat): Likewise.
77828 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77830         [BZ #12852]
77831         * posix/glob.c (glob): Check passed in values before using them in
77832         expressions to avoid some overflows.
77833         (glob_in_dir): Likewise.
77835         [BZ #13007]
77836         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77837         check for AVX enablement so that we don't crash with old kernels and
77838         new hardware.
77839         * elf/tst-audit4.c: Add same checks here.
77840         * elf/tst-audit6.c: Likewise.
77842         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77844 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77846         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77848 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77850         * po/cs.po: Update from translation team.
77851         * po/bg.po: Likewise.
77853 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77855         * misc/sys/cdefs.h: Add support for const attribute.
77856         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77857         to gnu_dev_{major,minor,makedev} functions.
77859 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77861         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77863 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77865         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77866         strlen results.
77868 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77870         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77871         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77872         register in order to avoid conflicts with the soft frame pointer
77873         being held in r11 when necessary.
77874         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77875         (INTERNAL_VSYSCALL_NCS): Likewise.
77877 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77879         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77880         * elf/dl-fini.c (_dl_fini): Adjust caller.
77881         * elf/dl-close.c (_dl_close_worker): Likewise.
77882         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77884 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77886         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77887         "aux_cache->nlibs < 0".
77889         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77890         in the reload-count case.
77892 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77894         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77895         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77896         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77897         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77898         * sysdeps/x86_64/multiarch/strcat.S: New file.
77899         * sysdeps/x86_64/multiarch/strncat.S: New file.
77900         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77901         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77902         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77903         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77904         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77905         (USE_AS_STRCAT): Define.
77906         Add strcat and strncat support.
77907         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77908         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77909         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77910         * string/strncat.c: Update.
77911         (USE_AS_STRNCAT): Define.
77912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77913         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77914         and i7.
77915         * sysdeps/x86_64/multiarch/init-arch.h
77916         (bit_Prefer_PMINUB_for_stringop): New.
77917         (index_Prefer_PMINUB_for_stringop): Likewise.
77918         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77919         bit_Prefer_PMINUB_for_stringop.
77921 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77923         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77924         buffer64.
77925         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77926         of casting of buffer.
77927         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77928         buffer32 and buffer64.
77929         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77930         writes instead of casting of buffer.
77931         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77932         buffer32.
77933         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77934         casting of buffer.
77936 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77938         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77940 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77942         * nscd/nscd.c (termination_handler): Don't do anything for a database
77943         if it has not yet been initialized.
77945 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77947         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77949 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77951         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77953 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77955         * po/nl.po: Update from translation team.
77956         * po/sv.po: Likewise.
77958 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77960         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77961         now disallowed by GCC.
77963         * configure.in (use-default-link): Default to yes if a test -shared
77964         link meets our qualifications.
77965         * configure: Regenerated.
77967         * config.make.in (output-format): New variable.
77968         * configure.in: Check for ld --print-output-format support.
77969         * configure: Regenerated.
77970         * Makerules ($(common-objpfx)format.lds)
77971         [$(output-format) != unknown]: Just use $(output-format),
77972         instead of the linker-script munging.
77974 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77976         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77977         of $(common-objpfx)shlib.lds.
77978         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77980         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77981         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77983         * configure.in (-z relro check): Adjust test code to add a large
77984         writable data section after it.
77985         * configure: Regenerated.
77987 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77989         * configure.in (-z relro check): Fix test code to make the variable
77990         truly const.
77991         * configure: Regenerated.
77993 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77995         * nscd/nscd.h (struct traced_file): Define.
77996         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77997         elements.  Add traced_files.
77998         (inotify_fd): Declare.
77999         (register_traced_file): Declare.
78000         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
78001         (inotify_fd): Export.
78002         (resolv_conf_descr): Remove.
78003         (nscd_init): Move inotify descriptor creation to main.
78004         Don't register files for notification here.
78005         (register_traced_file): New function.
78006         (invalidate_cache): Don't use reset_res to determine whether to call
78007         res_init, go through the list of registered files.
78008         (main_loop_poll): The inotify descriptors are now stored in the
78009         structures for the traced files.
78010         (main_loop_epoll): Likewise.
78011         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
78012         to __nss_disable_nscd.
78013         * nscd/cache.c (prune_cache): There is no single inotify descriptor
78014         for a database anymore.  Check the records for all the registered
78015         files instead.
78016         * nss/Makefile (libnss_files-routines): Add files-init.
78017         (libnss_db-routines): Add db-init.
78018         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
78019         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
78020         * nss/nss_db/db-init.c: New file.
78021         * nss/nss_files/files-init.c: New file.
78022         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
78023         __nss_lookup_function.
78024         (__nss_lookup_function): Call nss_load_library.
78025         (nss_load_all_libraries): New function.
78026         (__nss_disable_nscd): Take parameter with callback function for files
78027         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
78028         used for the cached services.
78029         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
78030         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
78031         options for features to all the files in nscd.
78033         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
78035 2011-07-10  Roland McGrath  <roland@hack.frob.com>
78037         * csu/elf-init.c (__libc_csu_init): Comment typo.
78039 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
78041         * po/pl.po: Update from translation team.
78042         * po/ja.po: Likewise.
78043         * po/ru.po: Likewise.
78044         * po/ko.po: Likewise.
78045         * po/fr.po: Likewise.
78047 2011-07-09  Roland McGrath  <roland@hack.frob.com>
78049         * configure.in (.ctors/.dtors header and trailer check):
78050         Use an empirical test on a built program.
78051         * configure: Regenerated.
78053         * configure.in (-z relro check): Use an empirical test on a built DSO.
78054         Detect, but do not require, on ia64.
78055         * configure: Regenerated.
78057         * configure.in (READELF): Find it with AC_CHECK_TOOL.
78058         Update tests that use readelf to use $READELF instead.
78059         * configure: Regenerated.
78061 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
78063         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
78064         if the result is not used.
78066 2011-07-05  Andreas Jaeger  <aj@suse.de>
78068         [BZ#9696]
78069         * stdlib/tst-strtod.c: Add testcase.
78071 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
78073         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
78074         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
78075         The latter has a higher limit.  Take additional parameter to pass to
78076         the new function.
78077         (__pathconf): Pass file to __statfs_link_max.
78078         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
78079         __statfs_link_max.
78080         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
78081         __statfs_link_max.
78083         [BZ #12868]
78084         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
78085         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78086         Handle Lustre.
78087         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
78088         (__statfs_filesize_max): Likewise.
78089         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
78091 2011-07-05  Andreas Jaeger  <aj@suse.de>
78093         * resolv/res_comp.c (dn_skipname): Remove unused variable.
78095 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
78097         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
78098         `status' variable.
78099         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
78100         Likewise.
78102 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
78104         * Makefile (strop-tests): Add strncat.
78105         * string/test-strncat.c: New file.
78107 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
78109         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
78111 2011-06-21  Andreas Jaeger  <aj@suse.de>
78113         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
78114         Copy rule from iconvdata/Makefile.
78116 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78118         [BZ #12922]
78119         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
78120         but no long options are defined, just return 'W'.
78122 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
78124         [BZ #9696]
78125         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
78127 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78129         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
78130         netgroups to read.
78131         (innetgr): Likewise.
78133 2011-07-05  Roland McGrath  <roland@hack.frob.com>
78135         * config.make.in (install_root): Default to $(DESTDIR).
78137 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
78139         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78141 2011-07-02  Roland McGrath  <roland@hack.frob.com>
78143         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78145         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78146         containing directory rather than embedding absolute directory names.
78148         * scripts/check-local-headers.sh: Rewritten using awk.
78149         Match by word, not by line.  Print error messages for matches.
78150         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78152         * Makerules [shlib-lds-flags empty]:
78153         ($(common-objpfx)libc_pic.opts): New target.
78154         ($(common-objpfx)libc_pic.os.clean): New target.
78155         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
78157         * config.make.in (OBJCOPY): New variable.
78158         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
78159         * configure: Regenerated.
78161         * config.make.in (use-default-link): New variable.
78162         * configure.in (use_default_link): Grok --with-default-link to set it.
78163         * configure: Regenerated.
78164         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
78165         (shlib-lds, shlib-lds-flags): Define to empty.
78167         * Makerules (shlib-lds): New variable.
78168         (shlib-lds-flags): New variable.
78169         (build-shlib, build-moduile, build-module-asneeded): Use it.
78170         ($(common-objpfx)libc.so): Use $(shlib-lds).
78171         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78172         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78174         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78175         DT_FLAGS/DT_FLAGS_1 with zero flags.
78177         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78178         linker script munging.
78180 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78182         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78183         as 128-bit value.
78184         * crypt/sha512.c (sha512_process_block): Perform total addition using
78185         128-bit if possible.
78186         (__sha512_finish_ctx): Likewise.
78187         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78188         as 64-bit value.
78189         * crypt/sha256.c (SWAP64): Define.
78190         (sha256_process_block): Perform total addition using 64-bit if
78191         possible.
78192         (__sha256_finish_ctx): Likewise.
78194 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78196         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78197         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78198         * nscd/hstcache.c (cache_addhst): Likewise.
78199         * nscd/grpcache.c (cache_addgr): Likewise.
78200         * nscd/aicache.c (addhstaiX): Likewise.
78201         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78203 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78205         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78206         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78207         * nscd/hstcache.c (cache_addhst): Likewise.
78208         * nscd/grpcache.c (cache_addgr): Likewise.
78209         * nscd/aicache.c (addhstaiX): Likewise.
78211 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78213         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78214         domain only when needed.
78216 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78219         is always restored.
78221 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78223         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78224         are re-adding the entry.
78225         * nscd/servicescache.c (cache_addserv): Likewise.
78227 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78229         * sysdeps/generic/dl-irel.h: fix protection against multiple
78230         inclusions.
78231         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78233 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78235         [BZ #12935]
78236         * malloc/memusage.sh: Fix quoting in message.
78237         * debug/xtrace.sh: Likewise.
78239         * configure.in: Remove support for --experimental-malloc option, make
78240         it the default.
78241         * config.make.in: Likewise.
78242         * malloc/Makefile: Likewise.
78244 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78246         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78247         two-byte characters.
78249 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78251         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78252         AC_CACHE_CHECK invocation.
78253         * configure: Regenerated.
78255         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78257 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78259         [BZ #12350]
78260         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78261         bit from old_res_options.
78263         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78265         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78266         value type for setfct.
78268 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78270         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78271         __gettimeofday instead of gettimeofday.
78273 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78275         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78277 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78279         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78281         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78282         info.
78284 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78286         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78287         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78288         strcpy-sse2-unaligned strncpy-sse2-unaligned
78289         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78290         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78291         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78292         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78293         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78294         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78295         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78296         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78297         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78298         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78299         (STRCPY): Support SSE2 and SSSE3 versions.
78301 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78303         [BZ #12874]
78304         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78305         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78306         kernels which artificially limit size of requests.
78308 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78310         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78311         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78312         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78313         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78314         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78315         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78316         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78317         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78318         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78319         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78320         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78321         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78322         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78323         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78324         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78326         Enable unaligned load optimization for Intel Core i3, i5 and i7
78327         processors.
78328         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78329         Define.
78330         (index_Fast_Unaligned_Load): Define.
78331         (HAS_FAST_UNALIGNED_LOAD): Define.
78333 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78335         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78337 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78339         [BZ #12907]
78340         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78341         until it is clear that the information is realy needed.
78342         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78344 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78346         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78348 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78350         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78351         /sys/devices/system/cpu/online if it is usable.
78353         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78354         reading the information from the /proc filesystem to once a second.
78356 2011-06-21  Andreas Jaeger  <aj@suse.de>
78358         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78359         NULL after inclusion of kernel headers.
78361 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78363         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78364         calls to internal_setent.
78366         [BZ #12885]
78367         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78368         addresses using gethostbyname4_r ignore IPv4 addresses.
78370         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78371         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78373         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78375 2011-06-20  David S. Miller  <davem@davemloft.net>
78377         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78378         inclusions.
78379         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78381         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78382         (elf_irel): Use it.
78383         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78384         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78385         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78386         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78387         * sysdeps/x86_64/dl-irel.h: Likewise.
78389         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78390         * elf/dl-sym.c: Likewise.
78392 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78394         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78395         need to dereference resplen2.
78397 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78399         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78401 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78403         * Makeconfig: Define vardbdir and inst_vardbdir.
78404         * nss/Makefile: Add rules to install db-Makefile.
78406         * nss/nss_db/db-XXX.c: Cleanup.
78408         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78409         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78410         GLIBC_PRIVATE.
78411         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78412         * nss/makedb.c: Implement -g option to specify that value strings
78413         are generated and should not be added to table iterated over for
78414         get*ent calls.
78415         * nss/nss_db/db-initgroups.c: New file.
78417         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78418         interface.
78420         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78421         (internal_getgrouplist): Adjust to name change.
78422         Update use_initgroups_entry if this is not the first call.
78423         * nss/databases.def: Add initgroups entry.
78425         * nss/makedb.c (compute_tables): Check result of multiple hash table
78426         sizes to minimize maximum chain length.
78428 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78430         * Versions.def: Add entry for libnss_db.
78431         * shlib-versions: Likewise.
78432         * nss/Makefile: Add rules to build libnss_db.
78433         * nss/Versions: Add libnss_db information.  Organize libnss_files
78434         entries better.
78435         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78436         makedb progra.  Some minor improvements to generate smaller files.
78437         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78438         here from...
78439         * nss/makedb.c: ...here.
78440         Improve database format to be smaller and require less memory at
78441         runtime.
78442         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78443         db anymore.
78444         * nss/nss_db/db-netgrp.c: Likewise.
78445         * nss/nss_db/db-open.c: Likewise.
78446         * nss/nss_files/flies-XXX.x: Adjust comments.
78447         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78448         * nss/nss_files/files-grp.c: Likewise.
78449         * nss/nss_files/files-hosts.c: Likewise.
78450         * nss/nss_files/files-network.c: Likewise.
78451         * nss/nss_files/files-proto.c: Likewise.
78452         * nss/nss_files/files-pwd.c: Likewise.
78453         * nss/nss_files/files-rpc.c: Likewise.
78454         * nss/nss_files/files-service.c: Likewise.
78455         * nss/nss_files/files-sgrp.c: Likewise.
78456         * nss/nss_files/files-spwd.c: Likewise.
78457         * nss/nss_db/db-alias.c: Removed.
78458         * nss/nss_db/dummy-db.h: Removed.
78460 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78462         * nss/makedb.c: Rewritten to not use database library.
78463         * nss/Makefile: Update to build new makedb program.
78465 2011-06-14  Andreas Jaeger  <aj@suse.de>
78467         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78468         memset declaration.
78470 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78473         tmpbuf.
78475 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78477         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78478         * elf/Makefile ($(objpfx)ld.so): Likewise.
78480         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78481         Don't list ld.so twice in dependencies.
78483         * posix/bug-regex31.c: Include <stdlib.h>.
78485         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78487         * nis/nss_compat/compat-spwd.c
78488         (getspent_next_nss_netgr): Remove unused variable.
78489         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78491         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78492         nonmembers" output to use the right array.
78494         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78496         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78498         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78499         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78500         * catgets/gencat.c (read_input_file): Likewise.
78501         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78503         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78504         variable definition inside #if's controlling its use.
78506         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78508         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78510         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78512         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78513         unreachable code.
78515         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78517         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78518         * configure: Regenerated.
78520         * Makerules: Revert last change.
78521         * elf/Makefile: Likewise.
78523 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78525         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78526         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78527         (reloc-link): Likewise.
78529 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78531         * elf/Makefile: Add rules to build pldd.
78532         * elf/pldd.c: New file.
78533         * elf/pldd-xx.c: New file.
78535 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78537         * version.h: Update for 2.15 development version.
78539 2011-06-07  David S. Miller  <davem@davemloft.net>
78541         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78542         ifuncs.
78543         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78544         elf_machine_lazy_rel): Likewise.
78545         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78546         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78547         elf_machine_lazy_rel): Likewise.
78548         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78549         dl_hwcap via passed in argument.
78550         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78551         Likewise.
78553 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78555         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78557 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78559         [BZ #12849]
78560         * manual/fdl-1.1.texi: New file, verbatim from:
78561         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78562         * manual/lgpl-2.1.texi: New file, verbatim from:
78563         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78564         * manual/Makefile (licenses): New variable, list those new file names.
78565         (texis): Use it.
78566         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78568         * manual/fdl.texi: File removed.
78569         * manual/lesser.texi: File removed.
78570         * manual/libc.texinfo (Copying, Documentation License):
78571         Use new @include file names, put @appendix directive before @include.
78573 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78575         [BZ #12841]
78576         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78577         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78578         (mq_open): Add __NTH.
78580 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78583         Assume Intel Core i3/i5/i7 processor if AVX is available.
78585 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78587         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78588         typo.
78590 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78592         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78593         memory.  Use alloca_account.  Fix memory leak when retrying.
78595 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78597         * version.h (RELEASE): Bump for 2.14 release.
78598         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78600         * config.make.in (RANLIB): Remove entry.
78602 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78604         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78605         (libc.pot): Work around missing support for .ksh extension in xgettext.
78607         [BZ #12684]
78608         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78609         if both request failed.
78610         (send_dg): In case of server errors clear resplen or *resplen2.
78612         [BZ #12454]
78613         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78614         when there are multiple maps.
78615         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78616         (_dl_fini): Remove test here.
78618         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78620 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78622         [BZ #12350]
78623         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78624         bit from old_res_options.
78625         (gaih_inet): Likewise.
78627         [BZ #11099]
78628         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78629         as signed.
78631         * resolv/res_init.c (res_setoptions): Make the code more compact.
78633         [BZ #11558]
78634         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78635         set RES_USEVC.
78637         [BZ #11634]
78638         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78640         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78642         [BZ #11781]
78643         * malloc/malloc.h: Declare malloc hook variables as volatile.
78645         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78646         in last patch.
78648         [BZ #11799]
78649         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78650         raise in the comment.
78651         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78652         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78653         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78655 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78657         [BZ #12811]
78658         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78659         grow the buffers more if it already has to be sufficient.
78660         (build_wcs_upper_buffer): Likewise.
78661         * posix/regexec.c (check_matching): Likewise.
78662         (clean_state_log_if_needed): Likewise.
78663         (extend_buffers): Don't enlarge buffers beyond size of the input
78664         buffer.
78665         Patches mostly by Emil Wojak <emil@wojak.eu>.
78666         * posix/bug-regex32.c: New file.
78667         * posix/Makefile (tests): Add bug-regex32.
78669         * locale/findlocale.c (_nl_find_locale): Return right away if
78670         _nl_explode_name failed.
78671         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78673         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78675         * debug/xtrace.sh: Unify messages.
78676         * malloc/memusage.sh: Likewise.
78678         [BZ #12813]
78679         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78680         time symbol from vDSO.  Substitute with vsyscall if not available.
78681         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78682         __vdso_time.
78684         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78685         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78686         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78687         Add sendmmsg and internal_sendmmsg.
78688         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78689         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78690         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78692         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78693         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78694         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78696 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78698         [BZ #12813]
78699         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78700         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78701         available.
78702         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78703         __vdso_getcpu.
78705         [BZ #12814]
78706         * iconvdata/Makefile (tests): Add bug-iconv9.
78707         * iconvdata/bug-iconv9.c: New file.
78709 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78711         [BZ #12814]
78712         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78714 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78716         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78717         (struct user_regs_struct): Change intcs field back to cs.
78719 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78721         * po/ja.po: Update from translation team.
78723 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78725         [BZ #12795]
78726         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78727         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78729 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78731         * stdlib/longlong.h: Update from GCC.
78733 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78735         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78736         parameter name.
78737         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78738         Add parameter name.
78739         (__sysconf): Pass it down.
78741 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78743         [BZ #12671]
78744         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78745         some situations.
78746         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78747         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78748         add in in __libc_use_alloca calls.  Adjust callers.
78749         (glob): Use malloc in some situations.
78751         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78752         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78753         pltexit.
78755 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78757         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78758         and CLOCK_BOOTTIME_ALARM.
78760         [BZ #12782]
78761         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78762         is returned.
78764         * string/_strerror.c (__strerror_r): Print negative errors as signed
78765         numbers.
78767         [BZ #12777]
78768         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78769         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78770         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78772         * configure.in: Fix typo in redirection and correct removal of test
78773         files in two cases.
78775         [BZ #12788]
78776         * locale/setlocale.c (new_composite_name): Fix test to check for
78777         identical name of all categories.
78779         [BZ #12792]
78780         * libio/filedoalloc.c (local_isatty): New function.
78781         (_IO_file_doallocate): Use local_isatty.
78782         * stdio-common/perror.c (perror): In case a new stream is used
78783         forward the stream error.
78784         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78785         error flag.
78787 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78789         [BZ #11884]
78790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78791         alloca.
78792         * include/alloca.h (extend_alloca_account): Define.
78794         [BZ #11857]
78795         * posix/regex.h: Fix comments with documentation of user-accessible
78796         fields after compilation and describe correct free'ing of pattern
78797         after re_compile_pattern.
78798         Patch by Reuben Thomas <rrt@sc3d.org>.
78800 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78802         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78803         and -mno-altivec to prevent the compiler from using Altivec and/or
78804         VSX instructions when the corresponding registers are not available.
78806 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78808         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78810 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78812         * libio/freopen.c (freopen): Use __dup2, not dup2.
78813         * libio/freopen64.c (freopen64): Likewise.
78815 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78817         [BZ #12775]
78818         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78819         * math/Makefile (tests): Add test-powl.
78820         (CFLAGS-test-powl.c): Define.
78821         * math/test-powl.c: New file.
78823 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78825         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78827 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78829         [BZ #11837]
78830         * iconvdata/gb18030.c: Update to GB18020-2005.
78832 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78834         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78835         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78836         Patch by Aharon Robbins <arnold@skeeve.com>.
78838         [BZ #11892]
78839         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78840         on the stack.
78842         [BZ #11895]
78843         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78844         through underflows.
78846         [BZ #12766]
78847         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78848         point to strings before performing equality test for error_one_per_line
78849         mode.
78851         [BZ #11697]
78852         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78854         [BZ #11820]
78855         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78856         (struct user_fpregs_struct): Avoid __uint*_t types.
78858         [BZ #6420]
78859         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78860         symbol info.  Use it instead of calling _dl_addr locally.
78861         (lock_and_info): New function.
78862         (tr_freehook): Call lock_and_info and pass symbol info as additional
78863         parameter to tr_where.
78864         (tr_mallochook): Likewise.
78865         (tr_reallochook): Likewise.
78866         (tr_memalignhook): Likewise.
78868         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78869         used and couldn't be at all thread-safe.
78871 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78873         * libio/freopen.c (freopen): Don't close old file descriptor
78874         before the new one is opened.  Instead dup the new file descriptor
78875         to the old one after the new stream is created.
78876         * libio/freopen64.c (freopen64): Likewise.
78877         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78878         * libio/fileops.c (_IO_new_file_close_it): Handle new
78879         _IO_FLAGS2_NOCLOSE flag.
78880         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78881         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78882         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78883         _IO_FLAGS2_NOCLOSE flag.
78884         * include/unistd.h: Add hidden_proto for dup3.
78885         Define __have_dup3.
78886         * io/dup3.c: Define hidden symbol.
78887         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78889         [BZ #7101]
78890         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78891         when an incomplete long option is used.
78892         * posix/tst-getopt_long1.c: New file.
78893         * posix/Makefile (tests): Add tst-getopt_long1.
78895         [BZ #10138]
78896         * scripts/config.guess: Update from autoconf-2.68.
78897         * scripts/config.sub: Likewise.
78899         [BZ #10157]
78900         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78901         tests into ...
78902         (has_cpuclock): ...this.  New function.
78903         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78904         macro here based on has_cpuclock code.
78906         [BZ #10149]
78907         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78908         First byte (not low byte) is now always NUL.
78909         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78911         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78912         Use non-cancelable interfaces.
78914         [BZ #9809]
78915         * locale/iso-639.def: Add entry for Sorani.
78917         [BZ #11901]
78918         * include/stdlib.h: Move include protection to the right place.
78919         Define abort_msg_s.  Declare __abort_msg with it.
78920         * stdlib/abort.c (__abort_msg): Adjust type.
78921         * assert/assert.c (__assert_fail_base): New function.  Majority
78922         of code from __assert_fail.  Allocate memory for __abort_msg with
78923         mmap.
78924         (__assert_fail): Now call __assert_fail_base.
78925         * assert/assert-perr.c: Remove bulk of implementation.  Use
78926         __assert_fail_base.
78927         * include/assert.hL Declare __assert_fail_base.
78928         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78929         mmap.
78930         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78932 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78934         [BZ #11952]
78935         [BZ #12453]
78936         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78937         until all modules are registered in the DTV.
78938         * elf/Makefile: Add rules to build and run tst-tls19.
78939         * elf/tst-tls19.c: New file.
78940         * elf/tst-tls19mod1.c: New file.
78941         * elf/tst-tls19mod2.c: New file.
78942         * elf/tst-tls19mod3.c: New file.
78943         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78945         [BZ #12083]
78946         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78947         correctly.
78949         [BZ #12601]
78950         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78951         two-byte sequence errors.
78952         * iconvdata/Makefile (tests): Add bug-iconv8.
78953         * iconvdata/bug-iconv8.c: New file.
78955         [BZ #12626]
78956         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78957         buf2 definition.
78959         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78961         [BZ #12432]
78962         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78963         (dummy_getcfa): New function.
78964         (init): Get _Unwind_GetCFA address, use dummy if not found.
78965         (backtrace_helper): In recursion check, also check whether CFA changes.
78966         (__backtrace): Completely initialize arg.
78968         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78969         storing incomplete byte sequence in state object.  Avoid testing for
78970         guaranteed too small input if we know there is enough data available.
78972 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78974         * Makeconfig (+link-pie): Indent.
78975         * Rules (binaries-pie): Define if $(have-fpie) and
78976         $(build-shared).
78977         (binaries-shared): Also filter out $(binaries-pie).
78978         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78979         * nscd/Makefile (others-pie): Add nscd.
78980         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78981         ($(objpfx)nscd): Remove command override.
78982         * login/Makefile (others-pie): Add pt_chown.
78983         ($(objpfx)pt_chown): Remove command override.
78984         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78985         remove command overrides.
78987 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78989         * libio/tst_putwc.c: Fix error messages.
78991         [BZ #12724]
78992         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78993         currently writing and seek to current position when not.
78994         * libio/Makefile (tests): Add bug-fclose1.
78995         * libio/bug-fclose1.c: New file.
78997 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78999         [BZ #12511]
79000         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
79001         don't set DF_1_NODELETE here.
79002         (do_lookup_x): When entering new entry test for copy relocation
79003         and if necessary set DF_1_NODELETE flag.
79004         * elf/tst-unique4.cc: New file.
79005         * elf/tst-unique4.h: New file.
79006         * elf/tst-unique4lib.cc: New file.
79007         * elf/Makefile: Add rules to build and run tst-unique4.
79008         Patch by Piotr Bury <pbury@goahead.com>.
79010 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
79012         [BZ #12052]
79013         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
79015         [BZ #12625]
79016         * misc/mntent_r.c (addmntent): Flush the stream after the output
79018         [BZ #12393]
79019         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
79020         (is_trusted_path_normalize): Skip initial colon.  Append slash
79021         to empty buffer.  Duplicate is_trusted_path code but allow
79022         constructed patch to be prefix.
79023         (is_dst): Allow $ORIGIN followed by /.
79024         (_dl_dst_substitute): Correct clearing of check_for_trusted.
79025         Correct testing of result of is_trusted_path_normalize
79026         (decompose_rpath): Fix warning.
79028 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
79030         [BZ #11257]
79031         * grp/initgroups.c (internal_getgrouplist): When we found the service
79032         list through the initgroups entry in nsswitch.conf do not always
79033         continue on a successful lookup.  Don't always use the
79034         __nss_group_database value if it is set.
79035         * nss/nsswitch.conf (initgroups): Change action for successful db
79036         lookup to continue for compatibility.
79038 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
79040         [BZ #11532]
79041         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
79042         and CP774 modules.
79043         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
79044         and CP774 modules.
79045         * iconvdata/tst-tables.sh: Likewise.
79046         * iconvdata/cp770.c: New file.
79047         * iconvdata/cp771.c: New file.
79048         * iconvdata/cp772.c: New file.
79049         * iconvdata/cp773.c: New file.
79050         * iconvdata/cp774.c: New file.
79051         * iconvdata/testdata/CP770: New file.
79052         * iconvdata/testdata/CP770..UTF8: New file.
79053         * iconvdata/testdata/CP771: New file.
79054         * iconvdata/testdata/CP771..UTF8: New file.
79055         * iconvdata/testdata/CP772: New file.
79056         * iconvdata/testdata/CP772..UTF8: New file.
79057         * iconvdata/testdata/CP773: New file.
79058         * iconvdata/testdata/CP773..UTF8: New file.
79059         * iconvdata/testdata/CP774: New file.
79060         * iconvdata/testdata/CP774..UTF8: New file.
79062         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
79063         END CHARMAP line.
79064         * iconvdata/gen-8bit-gap.sh: Likewise.
79065         * iconvdata/gen-8bit.sh: Likewise.
79067         * locale/iso-639.def: Add ary entry.
79069         [BZ #11258]
79070         * locale/C-translit.h.in: Add U20A1 transliteration.
79072         [BZ #12178]
79073         * locale/iso-639.def: Add wae entry.
79074         Patch by Kevin Bortis <bortis@translate-wae.ch>.
79076         [BZ #12545]
79077         * locale/programs/localedef.c (construct_output_path): Use ssize_t
79078         for n.
79080         [BZ #12711]
79081         * locale/C-translit.h.in: Add entry for U20B9.
79082         Patch by pravin.d.s@gmail.com.
79084 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
79086         [BZ #12713]
79087         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
79088         ENAMETOOLONG use generic getcwd.
79089         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
79090         in rtld.  Use *stat64.
79091         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
79092         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
79093         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
79094         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
79095         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
79096         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
79097         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
79098         __fstatat64 macros.
79099         * include/dirent.h: Add libc_hidden_proto for rewinddir.
79100         * dirent/rewinddir.c: Add libc_hidden_def.
79101         * sysdeps/mach/hurd/rewinddir.c: Likewise.
79102         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
79104         * include/dirent.h (__alloc_dir): Add flags parameter.
79105         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
79106         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
79107         __alloc_dir.
79108         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
79109         from fdopendir if O_CLOEXEC is already set.
79111 2011-03-15  Alan Modra  <amodra@gmail.com>
79113         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
79114         l_tls_firstbyte_offset non-zero.  Save padding offset in
79115         l_tls_firstbyte_offset for later use.
79116         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79117         freeing static tls block.
79119 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
79121         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
79122         where #ifdef was intended.  The intent is to prevent ARG_MAX from
79123         being defined by the kernel headers.
79125 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
79127         [BZ #12734]
79128         * resolv/resolv.h: Define RES_NOTLDQUERY.
79129         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
79130         no-tld-query and set RES_NOTLDQUERY.
79131         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
79132         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
79133         modern BIND to search name as TLD unless forbidden.
79135 2011-05-07  Petr Baudis  <pasky@suse.cz>
79136             Ulrich Drepper  <drepper@gmail.com>
79138         [BZ #12393]
79139         * elf/dl-load.c (fillin_rpath): Move trusted path check...
79140         (is_trusted_path): ...to here.
79141         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79142         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79143         using is_trusted_path_normalize() in setuid scripts.
79145 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79147         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79148         __BEGIN/__END_DECLS.
79150 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
79152         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79153         NSS_STATUS_NOTFOUND if no record was found.
79155 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79157         * sunrpc/Makefile (headers): Add rpc/netdb.h.
79158         (headers-not-in-tirpc): Remove rpc/netdb.h
79159         * resolv/netdb.h: Revert last change.
79161 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79163         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
79164         circular dependency between libgcc.a and libc.a.
79166 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79168         * resolv/netdb.h: Don't include <rpc/netdb.h>.
79169         * nis/Makefile: Don't install rpcsvc/*.
79170         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79171         instead of <rpc/types.h>.
79172         (MAXHOSTNAMELEN): Define.
79174 2011-05-03  Andreas Schwab  <schwab@redhat.com>
79176         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79178 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79180         [BZ #12714]
79181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79182         gethostbyname4_r when IPv6 results are possible.
79184 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79186         [BZ #12723]
79187         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79188         _PC_PIPE_BUF handling.
79190 2011-04-30  Bruno Haible  <bruno@clisp.org>
79192         [BZ #12717]
79193         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79194         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79195         to 'int'.
79196         * inet/getnameinfo.c (getnameinfo): Likewise.
79198 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79200         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79201         to groups setting in database lookup.
79202         * nss/nsswitch.conf: Add initgroups entry.
79204 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79206         [BZ #12685]
79207         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79208         mode string.
79209         Patch by Eric Blake <eblake@redhat.com>.
79211 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79213         * sunrpc/Makefile (need-export-routines): Add svc_run.
79214         (routines): Remove svc_run.
79215         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79216         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79217         * sunrpc/svc_run.c (svc_run): Likewise.
79218         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79220 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79222         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79223         problem in reallocation in last patch.
79225 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79227         * sunrpc/Makefile: Move inclusion of Rules.
79229 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79231         * nss/nss_files/files-initgroups.c: New file.
79232         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79233         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79234         _nss_files_initgroups_dyn.
79236 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79238         * elf/elf.h (R_ARM_IRELATIVE): Define.
79240 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79242         * po/ru.po: Update from translation team.
79244 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79246         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79247         dependencies.
79249 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79251         [BZ #12653]
79252         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79253         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79254         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79255         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79256         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79258 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79260         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79261         differing bytes.
79262         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79263         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79264         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79266 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79268         [BZ #12420]
79269         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79270         storing it.
79271         * stdlib/bug-getcontext.c: New file.
79272         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79274 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79276         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79277         instructions into .machine "z9-109".
79278         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79279         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79281 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79283         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79284         between environment variables and auxiliary vector.
79286 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79288         * Makefile: Add rules to build linkobj/libc.so.
79289         * include/libc-symbols.h: Define libc_hidden_nolink.
79290         * include/rpc/auth.h: Mark functions which are to be hidden.
79291         * include/rpc/auth_des.h: Likewise.
79292         * include/rpc/auth_unix.h: Likewise.
79293         * include/rpc/clnt.h: Likewise.
79294         * include/rpc/des_crypt.h: Likewise.
79295         * include/rpc/key_prot.h: Likewise.
79296         * include/rpc/pmap_clnt.h: Likewise.
79297         * include/rpc/pmap_prot.h: Likewise.
79298         * include/rpc/pmap_rmt.h: Likewise.
79299         * include/rpc/rpc_msg.h: Likewise.
79300         * include/rpc/svc.h: Likewise.
79301         * include/rpc/svc_auth.h: Likewise.
79302         * include/rpc/xdr.h: Likewise.
79303         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79304         * nss/Makefile: Likewise.
79305         * sunrpc/Makefile: Don't install headers.  Build library with normal
79306         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79307         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79308         for the compat linking library.  Remove use of INTDEF/INTUSE.
79309         * sunrpc/auth_none.c: Likewise.
79310         * sunrpc/auth_unix.c: Likewise.
79311         * sunrpc/authdes_prot.c: Likewise.
79312         * sunrpc/authuxprot.c: Likewise.
79313         * sunrpc/clnt_gen.c: Likewise.
79314         * sunrpc/clnt_perr.c: Likewise.
79315         * sunrpc/clnt_raw.c: Likewise.
79316         * sunrpc/clnt_simp.c: Likewise.
79317         * sunrpc/clnt_tcp.c: Likewise.
79318         * sunrpc/clnt_udp.c: Likewise.
79319         * sunrpc/clnt_unix.c: Likewise.
79320         * sunrpc/des_crypt.c: Likewise.
79321         * sunrpc/des_soft.c: Likewise.
79322         * sunrpc/get_myaddr.c: Likewise.
79323         * sunrpc/key_call.c: Likewise.
79324         * sunrpc/key_prot.c: Likewise.
79325         * sunrpc/netname.c: Likewise.
79326         * sunrpc/pm_getmaps.c: Likewise.
79327         * sunrpc/pm_getport.c: Likewise.
79328         * sunrpc/pmap_clnt.c: Likewise.
79329         * sunrpc/pmap_prot.c: Likewise.
79330         * sunrpc/pmap_prot2.c: Likewise.
79331         * sunrpc/pmap_rmt.c: Likewise.
79332         * sunrpc/publickey.c: Likewise.
79333         * sunrpc/rpc_cmsg.c: Likewise.
79334         * sunrpc/rpc_common.c: Likewise.
79335         * sunrpc/rpc_dtable.c: Likewise.
79336         * sunrpc/rpc_prot.c: Likewise.
79337         * sunrpc/rpc_thread.c: Likewise.
79338         * sunrpc/rtime.c: Likewise.
79339         * sunrpc/svc.c: Likewise.
79340         * sunrpc/svc_auth.c: Likewise.
79341         * sunrpc/svc_authux.c: Likewise.
79342         * sunrpc/svc_raw.c: Likewise.
79343         * sunrpc/svc_run.c: Likewise.
79344         * sunrpc/svc_simple.c: Likewise.
79345         * sunrpc/svc_tcp.c: Likewise.
79346         * sunrpc/svc_udp.c: Likewise.
79347         * sunrpc/svc_unix.c: Likewise.
79348         * sunrpc/svcauth_des.c: Likewise.
79349         * sunrpc/xcrypt.c: Likewise.
79350         * sunrpc/xdr.c: Likewise.
79351         * sunrpc/xdr_array.c: Likewise.
79352         * sunrpc/xdr_float.c: Likewise.
79353         * sunrpc/xdr_intXX_t.c: Likewise.
79354         * sunrpc/xdr_mem.c: Likewise.
79355         * sunrpc/xdr_rec.c: Likewise.
79356         * sunrpc/xdr_ref.c: Likewise.
79357         * sunrpc/xdr_sizeof.c: Likewise.
79358         * sunrpc/xdr_stdio.c: Likewise.
79360 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79362         [BZ #12650]
79363         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79364         * sysdeps/ia64/dl-tls.h: Likewise.
79365         * sysdeps/powerpc/dl-tls.h: Likewise.
79366         * sysdeps/s390/dl-tls.h: Likewise.
79367         * sysdeps/sh/dl-tls.h: Likewise.
79368         * sysdeps/sparc/dl-tls.h: Likewise.
79369         * sysdeps/x86_64/dl-tls.h: Likewise.
79370         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79372 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79374         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79375         rpath element also skip the following colon.
79376         (expand_dynamic_string_token): Add is_path parameter and pass
79377         down to DL_DST_REQUIRED and _dl_dst_substitute.
79378         (decompose_rpath): Call expand_dynamic_string_token with
79379         non-zero is_path.  Ignore empty rpaths.
79380         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79381         with zero is_path.
79383 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79386         Make cancelable.
79388 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79390         [BZ #12655]
79391         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79392         Patch by Filipe David Manana <fdmanana@apache.org>.
79394 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79396         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79397         Maintain aligned stack.
79398         (CHECK_RSP): Remove unused macro.
79400 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79402         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79403         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79405 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79407         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79409         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79411 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79413         [BZ #12518]
79414         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79415         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79416         * sysdeps/x86_64/memmove.c: New file.
79417         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79418         (memcpy): Renamed to ...
79419         (__new_memcpy): This.
79420         (memcpy): Provide GLIBC_2_14 memcpy.
79421         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79422         (memcpy): Provide GLIBC_2_2_5 memcpy.
79424 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79426         [BZ #12631]
79427         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79429 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79431         * misc/syncfs.c: New file.
79432         * misc/Makefile (routines): Add syncfs.
79433         * posix/unistd.h: Declare syncfs.
79434         * sysdeps/unix/syscalls.list: Add syncfs.
79436 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79438         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79439         open_by_handle_at.
79440         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79441         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79442         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79443         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79444         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79445         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79446         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79448 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79450         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79451         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79452         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79453         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79454         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79455         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79456         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79458         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79459         sync_file_range.c with -fexceptions.
79460         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79461         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79462         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79463         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79464         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79465         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79466         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79467         sync_file_range as cancellation point
79468         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79469         now a wrapper around __call_sync_file_range with cancellation handling.
79470         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79471         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79472         function name to __call_sync_file_range.
79473         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79474         Add call_sync_file_range.
79476 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79478         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79479         bits/timex.h.
79481 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79483         * iconv/iconv.h: Fix typo in comment.
79484         * io/fcntl.h: Likewise.
79485         * libio/stdio.h: Likewise.
79486         * posix/spawn.h: Likewise.
79487         * posix/unistd.h: Likewise.
79488         * stdlib/stdlib.h: Likewise.
79489         * time/time.h: Likewise.
79490         * wcsmbs/wchar.h: Likewise.
79492         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79493         open_by_handle): Add.
79494         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79495         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79496         Augment a few comments.
79497         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79498         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79499         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79500         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79501         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79502         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79503         open_by_handle.
79505         * io/fcntl.h (AT_EMPTY_PATH): Define.
79507 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79509         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79510         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79511         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79512         to...
79513         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79514         * Versions.def: Add GLIBC_2.14.
79515         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79516         Export.
79518 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79520         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79521         round counter.
79522         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79524 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79526         [BZ #12597]
79527         * string/test-strncmp.c (do_page_test): New function.
79528         (check2): Likewise.
79529         (test_main): Call check2.
79530         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79532 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79534         [BZ #12587]
79535         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79536         Handle cache information in CPU leaf 4.
79537         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79539 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79541         [BZ #12583]
79542         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79543         character representation.
79544         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79546 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79548         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79549         END(__isnan) to END(__isnanf) to match function entry point/label
79550         EALIGN(__isnanf,...).
79552 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79554         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79556 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79558         [BZ #12510]
79559         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79560         copy from the symbol referenced in the relocation to initialize the
79561         used variable.
79562         Patch by Piotr Bury <pbury@goahead.com>.
79563         * elf/Makefile: Add rules to build and tst-unique3.
79564         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79565         * elf/tst-unique3.cc: New file.
79566         * elf/tst-unique3.h: New file.
79567         * elf/tst-unique3lib.cc: New file.
79568         * elf/tst-unique3lib2.cc: New file.
79570         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79572 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79574         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79575         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79576         to _start.
79578 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79580         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79581         to-be-loaded object along a path to loader is ld.so.
79583 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79584             Ulrich Drepper  <drepper@gmail.com>
79586         * sysdeps/x86_64/memset.S: After aligning destination, code
79587         branches to different locations depending on the value of
79588         misalignment, when multiarch is enabled. Fix this.
79590 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79592         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79593         Set _x86_64_preferred_memory_instruction for AMD processsors.
79594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79595         Set bit_Prefer_SSE_for_memop for AMD processors.
79597 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79599         * libio/fmemopen.c (fmemopen): Optimize a bit.
79601 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79603         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79605 2011-03-03  Roland McGrath  <roland@redhat.com>
79607         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79609 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79611         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79612         __bzero_ultra1 instead of __memset_ultra1.
79614 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79615             Ulrich Drepper  <drepper@gmail.com>
79617         [BZ #12509]
79618         * include/link.h (struct link_map): Add l_orig_initfini.
79619         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79620         returning unsuccessfully.
79621         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79622         close of a file loaded at startup, restore the original l_initfini
79623         list.
79624         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79625         list, store the pointer.
79626         * elf/Makefile ($(objpfx)noload-mem): New rule.
79627         (noload-ENV): Define.
79628         (tests): Add $(objpfx)noload-mem.
79629         * elf/noload.c: Include <memcheck.h>.
79630         (main): Call mtrace.  Close all opened handles.
79632 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79634         [BZ #12454]
79635         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79636         dependencies are missing.
79638 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79640         Fix __if_freereq crash: Unlike the generic version which uses free,
79641         Hurd needs munmap.
79642         * sysdeps/mach/hurd/ifreq.h: New file.
79644 2011-01-27  Petr Baudis  <pasky@suse.cz>
79645             Ulrich Drepper  <drepper@gmail.com>
79647         [BZ 12445]#
79648         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79649         to extend_alloca().
79650         * stdio-common/bug23.c: New file.
79651         * stdio-common/Makefile (tests): Add bug23.
79653 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79654             Ulrich Drepper  <drepper@gmail.com>
79656         [BZ #12489]
79657         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79658         before performing relro protection.  At old place add assertion
79659         to make sure nothing changed.
79661 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79662             Glauber de Oliveira Costa  <glommer@gmail.com>
79664         * elf/elf.h: Add new ARM TLS relocs.
79666 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79669         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79670         cast from r3.
79671         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79672         'tests' variable.
79673         * sysdeps/wordsize-64/tst-writev.c: New file.
79675 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79677         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79678         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79679         insns in _dl_start to prevent a TOC reference before relocs are
79680         resolved.
79682 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79684         [BZ #12469]
79685         * Makeconfig: Remove RANLIB definition.
79686         * Makerules: Don't use RANLIB.
79687         * aclocal.m4: Remove ranlib test.
79688         * configure.in: No need to check for ranlib.
79689         * elf/rtld-Rules: Don't use RANLIB.
79691 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79693         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79694         protection macro.
79695         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79696         inclusion protection macro.
79698         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79699         SIGRTMIN and SIGRTMAX and print information in that case only when
79700         SIGRTMIN is defined.
79702 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79704         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79705         arginfo fn returning -1.
79707         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79708         and thousands string is zero terminated.
79710 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79712         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79713         sysdeps/unix/sysv/linux/bits/socket.h.
79715 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79717         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79718         (__CPU_COUNT): Remove old macros.
79719         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79720         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79721         (__CPU_ALLOC, __CPU_FREE): Add macros.
79722         (__sched_cpualloc, __sched_cpufree): Add declarations.
79724 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79726         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79727         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79728         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79729         (readdhstai): Return value of addhstaiX call.
79730         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79731         (addgrbyX): Return value returned by cache_addgr.
79732         (readdgrbyname): Return value returned by addgrbyX.
79733         (readdgrbygid): Likewise.
79734         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79735         (addpwbyX): Return value returned by cache_addpw.
79736         (readdpwbyname): Return value returned by addhstbyX.
79737         (readdpwbyuid): Likewise.
79738         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79739         (addservbyX): Return value returned by cache_addserv.
79740         (readdservbyname): Return value returned by addservbyX:
79741         (readdservbyport): Likewise.
79742         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79743         (addhstbyX): Return value returned by cache_addhst.
79744         (readdhstbyname): Return value returned by addhstbyX.
79745         (readdhstbyaddr): Likewise.
79746         (readdhstbynamev6): Likewise.
79747         (readdhstbyaddrv6): Likewise.
79748         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79749         (readdinitgroups): Return value returned by addinitgroupsX.
79750         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79751         (prune_cache): Keep track of timeout value of re-added entries.
79752         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79753         * nscd/nscd.h: Adjust prototypes of readd* functions.
79755 2011-02-04  Roland McGrath  <roland@redhat.com>
79757         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79758         (nis_stats): Likewise.
79759         * nis/nis_modify.c (nis_modify): Likewise.
79760         * nis/nis_remove.c (nis_remove): Likewise.
79761         * nis/nis_add.c (nis_add): Likewise.
79763         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79765         * posix/fnmatch_loop.c: Add some consts.
79767         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79769 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79771         [BZ #12460]
79772         * config.make.in (config-cflags-novzeroupper): Define.
79773         * configure.in: Substitute libc_cv_cc_novzeroupper.
79774         * elf/Makefile (AVX-CFLAGS): Define.
79775         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79776         (CFLAGS-tst-auditmod4a.c): Likewise.
79777         (CFLAGS-tst-auditmod4b.c): Likewise.
79778         (CFLAGS-tst-auditmod6b.c): Likewise.
79779         (CFLAGS-tst-auditmod6c.c): Likewise.
79780         (CFLAGS-tst-auditmod7b.c): Likewise.
79781         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79783 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79785         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79786         function to the callback.
79787         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79789 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79791         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79792         of errno.
79794 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79796         [BZ #11724]
79797         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79798         of constructors.
79799         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79800         of destructors.
79801         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79803         [BZ #11724]
79804         * elf/Makefile: Add rules to build and run new test.
79805         * elf/tst-initorder.c: New file.
79806         * elf/tst-initorder.exp: New file.
79807         * elf/tst-initordera1.c: New file.
79808         * elf/tst-initordera2.c: New file.
79809         * elf/tst-initordera3.c: New file.
79810         * elf/tst-initordera4.c: New file.
79811         * elf/tst-initorderb1.c: New file.
79812         * elf/tst-initorderb2.c: New file.
79813         * elf/tst-order-a1.c: New file.
79814         * elf/tst-order-a2.c: New file.
79815         * elf/tst-order-a3.c: New file.
79816         * elf/tst-order-a4.c: New file.
79817         * elf/tst-order-b1.c: New file.
79818         * elf/tst-order-b2.c: New file.
79819         * elf/tst-order-main.c: New file.
79820         New test case by George Gensure <werkt0@gmail.com>.
79822 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79825         decoding ACE if AI_CANONIDN.
79827 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79829         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79831 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79833         * version.h (RELEASE): Bump for 2.13 release.
79834         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79836         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79838         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79839         MADV_NOHUGEPAGE.
79840         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79841         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79842         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79843         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79844         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79845         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79847         * posix/getconf.c: Update copyright year.
79848         * catgets/gencat.c: Likewise.
79849         * csu/version.c: Likewise.
79850         * debug/catchsegv.sh: Likewise.
79851         * debug/xtrace.sh: Likewise.
79852         * elf/ldconfig.c: Likewise.
79853         * elf/ldd.bash.in: Likewise.
79854         * elf/sprof.c (print_version): Likewise.
79855         * iconv/iconv_prog.c: Likewise.
79856         * iconv/iconvconfig.c: Likewise.
79857         * locale/programs/locale.c: Likewise.
79858         * locale/programs/localedef.c: Likewise.
79859         * malloc/memusage.sh: Likewise.
79860         * malloc/mtrace.pl: Likewise.
79861         * nscd/nscd.c (print_version): Likewise.
79862         * nss/getent.c: Likewise.
79864         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79865         PF_CAIF, and PF_ALG.
79866         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79868 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79870         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79871         (modules-names): Use them.
79872         (ifunc-test-modules, ifunc-pie-tests): Define.
79873         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79874         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79875         (test-extras): Likewise.
79876         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79877         $(compile-command.c).
79878         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79879         (all-built-dso): Define.
79880         (check-textrel.out, check-execstack.out): Depend on it.
79882         * configure.in: Don't override --enable-multi-arch.
79884 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79886         [BZ #6812]
79887         * nscd/hstcache.c (tryagain): Define.
79888         (cache_addhst): Return tryagain not notfound for temporary errors.
79889         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79890         failed.
79892 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79894         [BZ #10563]
79895         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79896         to make the syscall.
79897         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79899         [BZ #12378]
79900         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79901         and fall back to matching as normal character if the string ends before
79902         the matching ']' is found.  This is what POSIX requires.
79903         * posix/testfnm.c: Adjust test result.
79904         * posix/globtest.sh: Adjust test result.  Add new test.
79905         * posix/tst-fnmatch.input: Likewise.
79906         * posix/tst-fnmatch2.c: Add new test.
79908 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79910         * elf/Makefile (check-execstack): Revert last change.  Depend on
79911         check-execstack.h.
79912         (check-execstack.h): New target.
79913         (generated): Add check-execstack.h.
79914         * elf/check-execstack.c: Include "check-execstack.h".
79915         (main): Revert last change.
79916         (handle_file): Return zero if GNU_STACK is absent and
79917         DEFAULT_STACK_PERMS doesn't include PF_X.
79919 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79921         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79922         in child fails because the descriptor is already closed.
79923         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79924         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79925         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79927         [BZ #12397]
79928         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79929         syscall.
79931         [BZ #10484]
79932         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79933         temporary buffer used to handle multi lookups locally.
79934         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79936 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79938         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79939         loader is ld.so.
79941 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79943         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79944         alignment for SSE2.
79946 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79948         [BZ #12394]
79949         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79950         characters.  When rounding increased number of integer digits recompute
79951         number of groups.
79952         * stdio-common/tst-grouping.c: New file.
79953         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79955 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79957         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79958         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79960         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79961         void.
79962         * bits/select.h: Likewise.
79964 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79966         * po/ja.po: Update from translation team.
79968 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79970         [BZ #11155]
79971         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79972         implementation just like for lxstat, fxstatat, et al.
79974 2010-12-27  Jim Meyering  <meyering@redhat.com>
79976         [BZ #12348]
79977         * posix/regexec.c (build_trtable): Return failure indication upon
79978         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79980 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79982         [BZ #12201]
79983         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79984         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79985         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79986         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79988         [BZ #12207]
79989         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79991         [BZ #12204]
79992         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79993         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79995 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79997         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79998         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79999         script has SORT_BY_INIT_PRIORITY.
80000         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
80001         NO_CTORS_DTORS_SECTIONS is defined.
80002         * elf/soinit.c: Likewise.
80003         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
80004         NO_CTORS_DTORS_SECTIONS is defined.
80005         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
80006         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
80007         * sysdeps/sh/init-first.c: Likewise.
80008         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
80010 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
80012         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
80013         always use the slow path.
80015 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
80017         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
80018         similar rule which adds the sysdep directories to the header search in
80019         order to pick up the correct platform stackinfo.h.
80020         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
80021         perform test if it is, otherwise return successfully without testing.
80022         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
80023         DEFAULT_STACK_PERMS define in stackinfo.h.
80024         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
80025         defined in stackinfo.h.
80026         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
80027         DEFAULT_STACK_PERMS defined in stackinfo.h.
80028         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
80029         * sysdeps/ia64/stackinfo.h: Likewise.
80030         * sysdeps/s390/stackinfo.h: Likewise.
80031         * sysdeps/sh/stackinfo.h: Likewise.
80032         * sysdeps/sparc/stackinfo.h: Likewise.
80033         * sysdeps/x86_64/stackinfo.h: Likewise.
80034         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
80035         PF_X for powerpc64.  Retain PF_X for powerpc32.
80037 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
80039         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
80040         accurately.
80041         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
80042         GETDENTS_64BIT_ALIGNED.
80044 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
80046         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
80048 2010-12-10  Andreas Schwab  <schwab@redhat.com>
80050         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
80051         _GNU_SOURCE.
80053         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
80054         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
80055         Remove __restrict.
80056         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
80057         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
80059 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
80061         [BZ #11655]
80062         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
80063         are initialized.
80065 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
80067         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
80069 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
80071         * po/it.po: Update from translation team.
80073 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
80075         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
80076         unused codes.
80078 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
80080         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
80082 2010-11-24  Andreas Schwab  <schwab@redhat.com>
80084         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
80085         specially.
80086         (gaih_getanswer_slice): Likewise.
80088 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
80090         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
80092 2010-05-31  Petr Baudis  <pasky@suse.cz>
80094         [BZ #11149]
80095         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
80096         silently even in the chroot mode.
80098 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
80100         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
80101         last patch a bit.  Pretty printing
80103 2010-05-31  Petr Baudis <pasky@suse.cz>
80105         [BZ #10085]
80106         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
80107         initialization of skip_initgroups_dyn.
80109 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
80111         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
80112         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80114 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
80116         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
80118 2010-11-11  Andreas Schwab  <schwab@redhat.com>
80120         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
80121         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
80122         (tst-fnmatch-ENV): Set MALLOC_TRACE.
80123         ($(objpfx)tst-fnmatch-mem): New rule.
80124         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
80125         * posix/tst-fnmatch.c (main): Call mtrace.
80127 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
80129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80130         Support Intel processor model 6 and model 0x2c.
80132 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
80134         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
80135           signed comparison.
80137 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
80139         [BZ #12205]
80140         * string/test-strncasecmp.c (check_result): New function.
80141         (do_one_test): Use it.
80142         (check1): New function.
80143         (test_main): Use it.
80144         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80145         Support strcasecmp and strncasecmp.
80147 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
80149         [BZ #12194]
80150         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80151         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80153 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
80155         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80156         IFUNC support.
80157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80158         memset-x86-64.
80159         * sysdeps/x86_64/multiarch/bzero.S: New file.
80160         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
80161         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80162         * sysdeps/x86_64/multiarch/memset.S: New file.
80163         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
80164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80165         Set bit_Prefer_SSE_for_memop for Intel processors.
80166         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
80167         Define.
80168         (index_Prefer_SSE_for_memop): Define.
80169         (HAS_PREFER_SSE_FOR_MEMOP): Define.
80171 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
80173         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80174         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80176 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80178         [BZ #12191]
80179         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80180         (__x86_64_raw_data_cache_size_half): Likewise.
80181         (__x86_64_raw_shared_cache_size): Likewise.
80182         (__x86_64_raw_shared_cache_size_half): Likewise.
80184         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80185         (__x86_64_raw_data_cache_size_half): Likewise.
80186         (__x86_64_raw_shared_cache_size): Likewise.
80187         (__x86_64_raw_shared_cache_size_half): Likewise.
80188         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80189         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80190         and __x86_64_raw_shared_cache_size_half.  Round
80191         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80192         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80193         to multiple of 256 bytes.
80195 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80197         [BZ #12167]
80198         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80199         of inacessible symlinks.  Verify result of symlink before returning it.
80200         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80201         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80203 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80205         * math/math.h (isinf): Fix typo in comment.
80207 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80209         * po/da.po: Update from translation team.
80211 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80213         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80214         is added to the list.
80216 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80217             Ulrich Drepper  <drepper@gmail.com>
80219         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80220         the global list here.  Move code to...
80221         (_dl_add_to_namespace_list): ...here.  New function.
80222         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80223         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80224         * elf/dl-load.c (lose): Don't remove the element from the list.
80225         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80226         (_dl_map_object): Likewise.
80228 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80230         [BZ #12159]
80231         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80232         into all bytes of SSE register.
80233         Patch by Richard Li <richardpku@gmail.com>.
80235 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80237         [BZ #12140]
80238         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80239         perturbing.
80241 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80243         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80244         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80245         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80246         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80248         submachine.
80249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80251 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80253         * include/dlfcn.h (__RTLD_SECURE): Define.
80254         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80255         mode & __RTLD_SECURE instead.
80256         (open_path): Rename preloaded parameter to secure.
80257         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80258         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80259         * elf/dl-deps.c (openaux): Likewise.
80260         * elf/rtld.c (struct map_args): Remove is_preloaded.
80261         (map_doit): Don't use it.
80262         (dl_main): Likewise.
80263         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80264         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80266 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80268         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80269         (sysd-rules-targets): Remove duplicates.
80270         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80271         rtld-%.$o dependency.
80273 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80275         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80276         _dl_map_object do it.
80278 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80280         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80281         fast fma builtins, define the macros in the C99 standard.
80282         (FP_FAST_FMAF): Likewise.
80283         (FP_FAST_FMAL): Likewise.
80284         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80286         * bits/mathdef.h: Update copyright year.
80287         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80289 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80291         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80292         builtins, define the macros in the C99 standard.
80293         (FP_FAST_FMAF): Likewise.
80294         (FP_FAST_FMAL): Likewise.
80295         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80296         multiply/add.
80297         (FP_FAST_FMAF): Likewise.
80299 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80301         [BZ #3268]
80302         * math/libm-test.inc (fma_test): Some new testcases.
80303         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80304         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80305         y and infinite z.  Do multiplication by C already in long double.
80306         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80308         y and infinite z.  Do bitwise or of inexact bit into u.d.
80309         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80310         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80311         * sysdeps/i386/fpu/s_fma.S: Removed.
80312         * sysdeps/i386/fpu/s_fmal.S: Removed.
80314 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80316         [BZ #3268]
80317         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80319         computation is not scheduled after fetestexcept.  Fix value
80320         of minimum denormal long double.
80322 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80324         [BZ #3268]
80325         * math/libm-test.inc (fma_test): Add some more tests.
80326         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80327         correctly.
80329 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80331         * scripts/data/localplt-s390-linux-gnu.data: New file.
80332         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80334 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80336         [BZ #3268]
80337         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80338         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80339         instead of dbl-64.
80340         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80341         inlines.
80342         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80343         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80344         if one of x and y is very large and the other is subnormal.
80345         * sysdeps/s390/fpu/s_fmaf.c: New file.
80346         * sysdeps/s390/fpu/s_fma.c: New file.
80347         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80348         * sysdeps/powerpc/fpu/s_fma.S: New file.
80349         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80350         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80351         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80353 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80355         [BZ #3268]
80356         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80357         fma tests.
80358         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80359         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80360         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80361         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80362         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80363         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80364         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80366 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80368         [BZ #12078]
80369         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80370         * posix/bug-regex31.input: Add test case.
80372 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80374         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80375         * posix/bug-regex31.input: New file.
80377         [BZ #12078]
80378         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80379         (parse_sub_exp): Fix last change, use postorder.
80381         * posix/bug-regex31.c: New file.
80382         * posix/Makefile: Add rules to build and run bug-regex31.
80384         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80386         [BZ #12078]
80387         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80389         [BZ #12108]
80390         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80391         to have entries in sys_siglist.
80393         [BZ #12093]
80394         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80395         be NULL.
80397 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80399         [BZ #3268]
80400         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80401         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80402         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80403         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80404         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80405         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80406         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80407         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80408         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80409         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80410         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80411         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80412         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80413         * math/ftestexcept.c (fetestexcept): Likewise.
80414         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80415         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80416         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80417         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80418         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80419         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80420         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80422 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80424         [BZ #12107]
80425         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80426         newline.
80428 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80430         * string/bug-strstr1.c: New file.
80431         * string/Makefile: Add rules to build and run bug-strstr1.
80433 2010-10-05  Eric Blake  <eblake@redhat.com>
80435         [BZ #12092]
80436         * string/str-two-way.h (two_way_long_needle): Always clear memory
80437         when skipping input due to the shift table.
80439 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80441         [BZ #12005]
80442         * malloc/mcheck.c: Handle large requests.
80444         [BZ #12077]
80445         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80446         for strncmp and strncasecmp.
80447         * string/stratcliff.c: Add tests for strcmp and strncmp.
80448         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80450 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80452         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80453         __set_fpscr.
80455 2010-09-30  Andreas Jaeger  <aj@suse.de>
80457         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80458         (CGROUP_SUPER_MAGIC): Define.
80459         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80460         Handle btrfs and cgroup file systems.
80461         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80462         Likewise.
80464 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80466         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80467         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80469 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80471         [BZ #12067]
80472         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80473         trying to locate the ELF header.
80475 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80477         [BZ #11611]
80478         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80479         Mask out sign-bit copies when constructing f_fsid.
80481 2010-09-24  Petr Baudis <pasky@suse.cz>
80483         * debug/stack_chk_fail_local.c: Add missing licence exception.
80484         * debug/warning-nop.c: Likewise.
80486 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80488         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80489         implementing getdents64 using getdents syscall, set d_type if
80490         __ASSUME_GETDENTS32_D_TYPE.
80492 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80494         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80495         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80497 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80499         [BZ #12037]
80500         * posix/unistd.h: Undo change of feature selection for ftruncate from
80501         2010-01-11.
80503 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80505         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80506         detection.
80508 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80510         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80511         fanotify_mark.
80512         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80514 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80516         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80517         variables after CHECK_SP call.
80518         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80520 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80521             Ulrich Drepper  <drepper@redhat.com>
80523         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80524         re-relocationg ld.so.
80525         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80526         _dl_init_paths call.
80527         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80528         here anymore.
80530 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80532         * resolv/res_init.c (__res_vinit): Count the default server we added.
80534 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80535             Ulrich Drepper  <drepper@redhat.com>
80537         [BZ #11968]
80538         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80539         (____longjmp_chk): Use %ebx for saving value across system call.
80540         Add unwind info.
80542 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80544         * manual/Makefile: Don't mix pattern rules with normal rules.
80546 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80548         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80549         operation.
80550         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80551         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80552         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80553         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80555         Likewise.
80557 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80559         [BZ #11979]
80560         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80561         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80563 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80565         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80566         * sysdeps/x86_64/addmul_1.S: Likewise.
80567         * sysdeps/x86_64/lshift.S: Likewise.
80568         * sysdeps/x86_64/mul_1.S: Likewise.
80569         * sysdeps/x86_64/rshift.S: Likewise.
80570         * sysdeps/x86_64/sub_n.S: Likewise.
80571         * sysdeps/x86_64/submul_1.S: Likewise.
80573 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80575         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80576         Define __sched_param instead of SCHED_* and sched_param when
80577         <bits/sched.h> is included with __need_schedparam defined.
80578         * bits/sched.h [__need_schedparam]
80579         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80580         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80581         (__defined_schedparam): Define to 1.
80582         (__sched_param): New structure, identical to sched_param.
80583         (__need_schedparam): Undefine.
80585 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80587         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80588         (epoll_create1): Declare.
80590         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80592 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80594         [BZ #7066]
80595         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80596         shifting retval into place.
80598 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80600         * nis/rpcsvc/nis.h: Update copyright notice.
80601         * nis/rpcsvc/nis.x: Likewise.
80602         * nis/rpcsvc/nis_callback.h: Likewise.
80603         * nis/rpcsvc/nis_callback.x: Likewise.
80604         * nis/rpcsvc/nis_object.x: Likewise.
80605         * nis/rpcsvc/nis_tags.h: Likewise.
80606         * nis/rpcsvc/yp.h: Likewise.
80607         * nis/rpcsvc/yp.x: Likewise.
80608         * nis/rpcsvc/ypupd.h: Likewise.
80609         * nis/yp_xdr.c: Likewise.
80610         * nis/ypupdate_xdr.c: Likewise.
80612         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80613         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80614         (pmap_getport): Use __libc_rpc_getport.
80615         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80616         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80617         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80619 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80622         fanotify_mark.
80624 2010-08-27  Roland McGrath  <roland@redhat.com>
80626         * sysdeps/i386/i686/multiarch/Makefile
80627         (CFLAGS-varshift.c): New variable.
80629 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80631         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80632         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80634         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80636         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80638 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80640         * sysdeps/x86_64/strlen.S: Unroll the loop.
80641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80642         strlen-sse2 strlen-sse2-bsf.
80643         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80644         __strlen_no_bsf if bit_Slow_BSF is set.
80645         (__strlen_sse42): Removed.
80646         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80647         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80649 2010-08-25  Roland McGrath  <roland@redhat.com>
80651         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80652         * sysdeps/x86_64/multiarch/varshift.c: New file.
80653         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80654         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80655         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80656         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80658 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80660         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80661         strlen-sse2 strlen-sse2-bsf.
80662         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80663         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80664         (__strlen_sse2): Removed.
80665         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80666         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80668         bit_Slow_BSF for Atom.
80669         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80670         (index_Slow_BSF): Define.
80671         (HAS_SLOW_BSF): Define.
80673 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80675         [BZ #10851]
80676         * resolv/res_init.c (__res_vinit): When no server address at all
80677         is given default to loopback.
80679 2010-08-24  Roland McGrath  <roland@redhat.com>
80681         * configure.in: Remove config-name.h generation.
80682         * configure: Regenerated.
80683         * config-name.in: File removed.
80684         * scripts/config-uname.sh: New file.
80685         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80686         ($(objdir)config-name.h): New target.
80688         * sunrpc/rpc_parse.h: Avoid nested comment.
80690 2010-08-24  Richard Henderson  <rth@redhat.com>
80691             Ulrich Drepper  <drepper@redhat.com>
80692             H.J. Lu  <hongjiu.lu@intel.com>
80694         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80696         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80697         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80698         _mm_alignr_epi8 with _mm_loadu_si128.
80699         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80700         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80701         (__m128i_shift_right): Removed.
80702         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80703         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80704         * sysdeps/x86_64/multiarch/varshift.h: New file.
80705         * sysdeps/x86_64/multiarch/varshift.S: New file.
80707 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80709         * configure.in: Move assembler checks to before sysdep dir checking.
80711 2010-08-20  Petr Baudis  <pasky@suse.cz>
80713         * LICENSES: Sync the sunrpc license.
80715 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80717         * sunrpc/auth_des.c: Update copyright notice once again.
80718         * sunrpc/auth_none.c: Likewise.
80719         * sunrpc/auth_unix.c: Likewise.
80720         * sunrpc/authdes_prot.c: Likewise.
80721         * sunrpc/authuxprot.c: Likewise.
80722         * sunrpc/bindrsvprt.c: Likewise.
80723         * sunrpc/clnt_gen.c: Likewise.
80724         * sunrpc/clnt_perr.c: Likewise.
80725         * sunrpc/clnt_raw.c: Likewise.
80726         * sunrpc/clnt_simp.c: Likewise.
80727         * sunrpc/clnt_tcp.c: Likewise.
80728         * sunrpc/clnt_udp.c: Likewise.
80729         * sunrpc/clnt_unix.c: Likewise.
80730         * sunrpc/des_crypt.c: Likewise.
80731         * sunrpc/des_soft.c: Likewise.
80732         * sunrpc/get_myaddr.c: Likewise.
80733         * sunrpc/getrpcport.c: Likewise.
80734         * sunrpc/key_call.c: Likewise.
80735         * sunrpc/key_prot.c: Likewise.
80736         * sunrpc/openchild.c: Likewise.
80737         * sunrpc/pm_getmaps.c: Likewise.
80738         * sunrpc/pm_getport.c: Likewise.
80739         * sunrpc/pmap_clnt.c: Likewise.
80740         * sunrpc/pmap_prot.c: Likewise.
80741         * sunrpc/pmap_prot2.c: Likewise.
80742         * sunrpc/pmap_rmt.c: Likewise.
80743         * sunrpc/rpc/auth.h: Likewise.
80744         * sunrpc/rpc/auth_unix.h: Likewise.
80745         * sunrpc/rpc/clnt.h: Likewise.
80746         * sunrpc/rpc/des_crypt.h: Likewise.
80747         * sunrpc/rpc/key_prot.h: Likewise.
80748         * sunrpc/rpc/netdb.h: Likewise.
80749         * sunrpc/rpc/pmap_clnt.h: Likewise.
80750         * sunrpc/rpc/pmap_prot.h: Likewise.
80751         * sunrpc/rpc/pmap_rmt.h: Likewise.
80752         * sunrpc/rpc/rpc.h: Likewise.
80753         * sunrpc/rpc/rpc_des.h: Likewise.
80754         * sunrpc/rpc/rpc_msg.h: Likewise.
80755         * sunrpc/rpc/svc.h: Likewise.
80756         * sunrpc/rpc/svc_auth.h: Likewise.
80757         * sunrpc/rpc/types.h: Likewise.
80758         * sunrpc/rpc/xdr.h: Likewise.
80759         * sunrpc/rpc_clntout.c: Likewise.
80760         * sunrpc/rpc_cmsg.c: Likewise.
80761         * sunrpc/rpc_common.c: Likewise.
80762         * sunrpc/rpc_cout.c: Likewise.
80763         * sunrpc/rpc_dtable.c: Likewise.
80764         * sunrpc/rpc_hout.c: Likewise.
80765         * sunrpc/rpc_main.c: Likewise.
80766         * sunrpc/rpc_parse.c: Likewise.
80767         * sunrpc/rpc_parse.h: Likewise.
80768         * sunrpc/rpc_prot.c: Likewise.
80769         * sunrpc/rpc_sample.c: Likewise.
80770         * sunrpc/rpc_scan.c: Likewise.
80771         * sunrpc/rpc_scan.h: Likewise.
80772         * sunrpc/rpc_svcout.c: Likewise.
80773         * sunrpc/rpc_tblout.c: Likewise.
80774         * sunrpc/rpc_util.c: Likewise.
80775         * sunrpc/rpc_util.h: Likewise.
80776         * sunrpc/rpcinfo.c: Likewise.
80777         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80778         * sunrpc/rpcsvc/key_prot.x: Likewise.
80779         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80780         * sunrpc/rpcsvc/mount.x: Likewise.
80781         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80782         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80783         * sunrpc/rpcsvc/rex.x: Likewise.
80784         * sunrpc/rpcsvc/rstat.x: Likewise.
80785         * sunrpc/rpcsvc/rusers.x: Likewise.
80786         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80787         * sunrpc/rpcsvc/spray.x: Likewise.
80788         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80789         * sunrpc/rtime.c: Likewise.
80790         * sunrpc/svc.c: Likewise.
80791         * sunrpc/svc_auth.c: Likewise.
80792         * sunrpc/svc_authux.c: Likewise.
80793         * sunrpc/svc_raw.c: Likewise.
80794         * sunrpc/svc_run.c: Likewise.
80795         * sunrpc/svc_simple.c: Likewise.
80796         * sunrpc/svc_tcp.c: Likewise.
80797         * sunrpc/svc_udp.c: Likewise.
80798         * sunrpc/svc_unix.c: Likewise.
80799         * sunrpc/svcauth_des.c: Likewise.
80800         * sunrpc/xcrypt.c: Likewise.
80801         * sunrpc/xdr.c: Likewise.
80802         * sunrpc/xdr_array.c: Likewise.
80803         * sunrpc/xdr_float.c: Likewise.
80804         * sunrpc/xdr_mem.c: Likewise.
80805         * sunrpc/xdr_rec.c: Likewise.
80806         * sunrpc/xdr_ref.c: Likewise.
80807         * sunrpc/xdr_sizeof.c: Likewise.
80808         * sunrpc/xdr_stdio.c: Likewise.
80810         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80811         handling.
80813 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80815         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80817 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80819         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80820         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80821         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80822         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80823         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80824         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80825         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80826         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80827         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80828         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80829         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80830         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80831         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80832         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80834 2010-07-26  Anton Blanchard  <anton@samba.org>
80836         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80837         * malloc/arena.c (heap_trim): Likewise.
80839 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80841         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80842         here.  Not...
80843         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80844         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80846 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80848         * sysdeps/i386/elf/Makefile: New file.
80850 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80852         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80853         from fanotify_init.
80854         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80855         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80857 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80859         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80860         of strncasecmp_l.
80861         * sysdeps/multiarch/strcmp.S: Likewise.
80863 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80865         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80866         strncase_l-nonascii.
80867         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80868         Add strncase_l-ssse3.
80869         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80870         * sysdeps/x86_64/strcmp.S: Likewise.
80871         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80872         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80873         * sysdeps/x86_64/strncase.S: New file.
80874         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80875         * sysdeps/x86_64/strncase_l.S: New file.
80876         * string/Makefile (strop-tests): Add strncasecmp.
80877         * string/test-strncasecmp.c: New file.
80879         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80880         warning.
80882         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80883         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80885 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80887         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80889 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80891         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80892         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80893         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80895 2010-05-01  Alan Modra  <amodra@gmail.com>
80897         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80898         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80899         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80900         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80901         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80902         tidying.  Don't tail-call __sigjmp_save for static lib.
80903         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80904         save location.
80905         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80906         (CALL_MCOUNT): Add eh info, and nop after bl.
80907         (TAIL_CALL_SYSCALL_ERROR): New macro.
80908         (PSEUDO_RET): Use it.
80909         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80910         Correct save location of integer regs and cr.
80911         (_dl_profile_resolve): Correct cr save location.  Delete nops
80912         after bl when SHARED.  Reduce cfi size a little by better
80913         placement of cfi directives.
80914         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80915         make a stack frame.  Instead use parm save area as a temp.
80916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80917         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80919         Don't make a stack frame for parent, use parm save area.
80920         Increase child stack frame to 112 bytes.  Don't save unused reg,
80921         and adjust reg usage.  Set up cfi on error recovery and
80922         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80924         (__makecontext): Add dummy nop after jump to exit.
80925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80926         Use correct parm save area and cr save, reduce stack frame.
80927         Correct cfi for possible PSEUDO_RET frame setup.
80928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80929         Branch to local label emitted by PSEUDO_RET rather than
80930         __syscall_error.
80932 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80934         [BZ #11904]
80935         * locale/programs/locale.c (print_assignment): New function.
80936         (show_locale_vars): Use it.
80938 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80940         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80941         field.
80942         (struct statfs64): Likewise.
80943         (_STATFS_F_FLAGS): Define.
80944         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80945         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80946         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80947         (ST_VALID): Define locally.
80948         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80949         __statvfs_getflags, use the provided value.
80950         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80951         __ASSUME_STATFS_F_FLAGS.
80953         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80955         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80956         Add sys/fanotify.h.
80957         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80958         fanotify_mask for GLIBC_2.13.
80959         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80960         fanotify_init and fanotify_mark.
80961         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80962         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80964         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80965         Add prlimit.
80966         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80967         prlimit64 for GLIBC_2.13.
80968         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80969         prlimit64.
80970         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80971         syscall.
80972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80973         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80974         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80975         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80976         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80977         add prlimit alias.
80978         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80980         [BZ #11903]
80981         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80982         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80984         * nss/Makefile: Add rules to build and run tst-nss-test1.
80985         * shlib-versions: Add entry for libnss_test1.
80986         * nss/nss_test1.c: New file.
80987         * nss/tst-nss-test1.c: New file.
80989         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80990         (__nss_configure_lookup): Set appropriate entry in
80991         __nss_configure_lookup to true.
80992         * nss/nsswitch.h: Define enum with indeces of databases in
80993         databases and __nss_database_custom arrays.  Declare
80994         __nss_database_custom.
80995         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80996         to avoid using nscd when custom rules are installed.
80997         * nss/getXXbyYY_r.c: Likewise.
80998         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
81000         * nss/nss_files/files-parse.c: Whitespace fixes.
81002 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
81004         [BZ #11883]
81005         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
81006         * posix/fnmatch_loop.c: Likewise.
81008 2010-07-17  Andi Kleen  <ak@linux.intel.com>
81010         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
81011         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
81012         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
81013         * Versions.def [GLIBC_2.13]: Add.
81015 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
81017         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81018         Also fail if tpwd after pwuid call is NULL.
81020 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81022         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
81023         when converting to ms.
81025 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81027         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
81028         EOPNOTSUPP errors with ENOTTY.
81029         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
81030         EOPNOTSUPP errors with ENOTTY.
81032 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
81034         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81035         Add strcasecmp_l-ssse3.
81036         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
81037         strcasecmp.
81038         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
81039         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
81040         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81042 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
81044         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
81046         * string/Makefile (strop-tests): Add strcasecmp.
81047         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81048         strcasecmp_l-nonascii.
81049         (gen-as-const-headers): Add locale-defines.sym.
81050         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
81051         * sysdeps/x86_64/strcasecmp.S: New file.
81052         * sysdeps/x86_64/strcasecmp_l.S: New file.
81053         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
81054         * sysdeps/x86_64/locale-defines.sym: New file.
81055         * string/test-strcasecmp.c: New file.
81057         * string/test-strcasestr.c: Test both ends of the range of characters.
81058         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
81060 2010-07-29  Roland McGrath  <roland@redhat.com>
81062         [BZ #11856]
81063         * manual/locale.texi (Yes-or-No Questions): Fix example code.
81065 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
81067         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
81068         for ld.so.
81070 2010-07-27  Andreas Schwab  <schwab@redhat.com>
81072         * manual/memory.texi (Malloc Tunable Parameters): Document
81073         M_PERTURB.
81075 2010-07-26  Roland McGrath  <roland@redhat.com>
81077         [BZ #11840]
81078         * configure.in (-fgnu89-inline check): Set and substitute
81079         gnu89_inline, not libc_cv_gnu89_inline.
81080         * configure: Regenerated.
81081         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
81083 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
81085         * string/test-strnlen.c: New file.
81086         * string/Makefile (strop-tests): Add strnlen.
81087         * string/tester.c (test_strnlen): Add a few more test cases.
81088         * string/tst-strlen.c: Better error reporting.
81090         * sysdeps/x86_64/strnlen.S: New file.
81092 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
81094         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
81095         lower-latency instructions.
81097 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
81099         * string/test-strcasestr.c: New file.
81100         * string/test-strstr.c: New file.
81101         * string/Makefile (strop-tests): Add strstr and strcasestr.
81102         * string/str-two-way.h: Don't undefine MAX.
81103         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
81105 2010-07-21  Andreas Schwab  <schwab@redhat.com>
81107         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81108         strcasestr-nonascii.
81109         (CFLAGS-strcasestr-nonascii.c): Define.
81110         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
81111         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
81112         Remove unused attribute.
81114 2010-07-20  Roland McGrath  <roland@redhat.com>
81116         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
81117         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
81118         ld.so.cache was broken.  With it, there is no way to disable dsocaps
81119         like LD_HWCAP_MASK can disable hwcaps.
81121 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81123         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
81125 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
81127         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
81128         call in strcasestr.
81129         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
81130         __strcasestr_sse42_nonascii.
81131         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
81132         strcasestr-nonascii.c.
81133         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
81135 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
81137         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81138         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81139         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81140         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81142 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
81144         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81145         fcntl.
81147 2010-07-06  Andreas Schwab  <schwab@redhat.com>
81149         [BZ #11577]
81150         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81151         dl_signal_cerror.
81153 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
81155         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81156         _PC_PIPE_BUF using F_GETPIPE_SZ.
81158 2010-07-05  Roland McGrath  <roland@redhat.com>
81160         * manual/arith.texi (Rounding Functions): Fix rint description
81161         implicit in round description.
81163 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
81165         * elf/Makefile: Fix linking for a few tests to make recent linker
81166         happy.
81168 2010-06-30  Andreas Schwab  <schwab@redhat.com>
81170         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81171         $(common-objpfx)libc_nonshared.a.
81173 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
81175         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81176         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81177         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81178         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81179         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81180         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81181         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81182         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81197         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81198         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81199         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81200         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81201         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81202         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81203         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81204         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81205         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81206         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81207         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81208         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81224 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81226         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81227         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81228         * string/memmove.c (memmove): Renamed to ...
81229         (MEMMOVE): ...this.  Default to memmove.
81230         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81231         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81232         (END_CHK): Define.
81233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81234         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81235         mempcpy-ssse3-back memmove-ssse3-back.
81236         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81237         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81238         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81239         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81240         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81241         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81242         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81243         * sysdeps/x86_64/multiarch/memmove.c: New file.
81244         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81245         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81246         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81247         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81248         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81249         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81250         Define.
81251         (index_Fast_Copy_Backward): Define.
81252         (HAS_ARCH_FEATURE): Define.
81253         (HAS_FAST_REP_STRING): Define.
81254         (HAS_FAST_COPY_BACKWARD): Define.
81256 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81258         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81259         Restore proper fallback handling.
81261 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81263         [BZ #11701]
81264         * posix/group_member.c (__group_member): Correct checking loop.
81266         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81267         OOM in getpwuid_r correctly.  Return error number when the caller
81268         should return, otherwise -1.
81269         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81270         call returning > 0 value.
81271         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81273 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81275         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81276         libc_nonshared.a from targets in modules-names.
81278 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81280         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81281         requires it.
81283 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81285         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81286         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81287         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81288         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81290 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81292         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81294 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81296         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81297         and F_GETPIPE_SZ.
81298         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81299         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81300         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81301         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81302         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81303         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81305 2010-06-14  Roland McGrath  <roland@redhat.com>
81307         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81309 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81311         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81312         __REDIRECT followed by __THROW.
81313         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81314         * posix/getopt.h (getopt): Likewise.
81316 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81318         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81319         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81320         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81321         in AT_FLAGS.
81322         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81323         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81325 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81327         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81329 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81331         [BZ #11640]
81332         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81333         Properly check family and model.
81335 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81337         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81339 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81341         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81343 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81345         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81346         symbol reference.
81348 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81350         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81351         symbol reference.
81353 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81355         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81356         and internal_recvmmsg.
81357         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81358         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81359         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81360         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81362         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81363         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81364         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81366 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81368         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81370 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81372         POWER7 optimizations.
81373         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81374         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81376 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81378         * version.h: Update for 2.13 development version.
81380 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81382         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81383         exceptions.  Return 0.
81385 2010-05-07  Roland McGrath  <roland@redhat.com>
81387         * elf/ldconfig.c (main): Add a const.
81389 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81391         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81392         (args_options): Add no-idn option.
81393         (ahosts_keys_int): Add idn_flags to ai_flags.
81394         (parse_option): Handle 'i' option to clear idn_flags.
81396         * malloc/malloc.c (_int_free): Possible race in the most recently
81397         added check.  Only act on the data if no current modification
81398         happened.
81400 See ChangeLog.17 for earlier changes.