Add canonicalize, canonicalizef, canonicalizel.
[glibc.git] / ChangeLog
blob7dbfbc8d653020129764cf5eee2e52c1bf61170c
1 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
3         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4         (canonicalize): New declaration.
5         * math/Versions (canonicalize): New libm symbol at version
6         GLIBC_2.25.
7         (canonicalizef): Likewise.
8         (canonicalizel): Likewise.
9         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
10         * math/s_canonicalize_template.c: New file.
11         * math/libm-test.inc: Update comment on functions tested and
12         testing of NaN payloads.
13         (TEST_NAN_PAYLOAD): New macro.
14         (NO_TEST_INLINE): Update value.
15         (XFAIL_TEST): Likewise.
16         (ERRNO_UNCHANGED): Likewise.
17         (ERRNO_EDOM): Likewise.
18         (ERRNO_ERANGE): Likewise.
19         (IGNORE_RESULT): Likewise.
20         (NON_FINITE): Likewise.
21         (TEST_SNAN): Likewise.
22         (NO_TEST_MATHVEC): Likewise.
23         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
24         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
25         (struct test_Ffp_b1_data): New type.
26         (RUN_TEST_Ffp_b1): New macro.
27         (RUN_TEST_LOOP_Ffp_b1): Likewise.
28         (canonicalize_test_data): New array.
29         (canonicalize_test): New function.
30         (main): Call canonicalize_test.
31         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
32         canonicalizef and canonicalizel.
33         * manual/libm-err-tab.pl: Update comment on interfaces without
34         ulps tabulated.
35         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
36         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
37         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
38         canonicalize.
39         (CFLAGS-nldbl-canonicalize.c): New variable.
40         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
41         to ...
42         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
43         ... here.
44         (do_test): Also test canonicalizel.
45         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
46         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
47         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
48         file.
49         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
50         Use libm_hidden_def.
51         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
52         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
53         (do_test): Also test canonicalizel.
54         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
55         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
56         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
57         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
58         libm_hidden_def.
59         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
60         macro.
61         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
62         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
63         * sysdeps/nacl/libm.abilist: Update.
64         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
65         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
69         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
70         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
71         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
73         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
74         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
75         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
76         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
77         Likewise.
78         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
79         Likewise.
80         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
81         Likewise.
82         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
83         Likewise.
84         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
85         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
86         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
87         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
88         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
89         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
90         Likewise.
91         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
92         Likewise.
93         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
94         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
95         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
97         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
98         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
99         getpayload.
100         (CFLAGS-nldbl-getpayload.c): New variable.
102 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
104         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
105         integer from the format string.
107 2016-10-26  Florian Weimer  <fweimer@redhat.com>
109         [BZ #19473]
110         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
111         declarations.
112         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
113         weak aliases.
114         * malloc/hooks.c (__malloc_get_state): Remove definition.
115         (malloc_get_state): New stub implementation as
116         compatibility symbol.
117         (malloc_set_state): Rename from __malloc_set_state.  Turn into
118         compat symbol.
119         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
120         malloc_set_state.
121         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
123 2016-10-26  Florian Weimer  <fweimer@redhat.com>
125         * iconvdata/iso646.c (enum variant): Drop illegal_var.
126         (names): Turn into concatenation of strings.
127         (gconv_init): Adapt iteration over names.
129 2016-10-26  Florian Weimer  <fweimer@redhat.com>
131         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
132         make const.
133         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
134         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
135         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
136         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
137         character in sbconv.
138         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
139         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
140         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
142 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
144         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
146         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
147         (M_TRIM_THRESHOLD): Likewise.
149         * manual/memory.texi (M_ARENA_TEST): Add documentation.
150         (M_ARENA_MAX): Likewise.
151         * malloc/malloc.c: Remove obsolete comment.
153         * manual/memory.texi: Add environment variable alternatives to
154         setting mallopt parameters.
156 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
158         * include/atomic.h
159         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
160         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
162 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
164         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
165         * stdlib/tst-strfrom.h: New file.
166         * stdlib/tst-strfrom.c: New file.
167         * stdlib/tst-strfrom-locale.c: New file.
169         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
170         * stdlib/bug-strtod2.c: Likewise.
171         * stdlib/tst-strtod-round-skeleton.c: Likewise.
172         * stdlib/tst-strtod6.c: Likewise.
173         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
175 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
177         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
178         * manual/arith.texi: Document strfromd, strfromf, strfroml.
179         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
180         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
181         * stdlib/stdlib.h (strfromd): New declaration.
182         (strfromf): Likewise.
183         (strfroml): Likewise.
184         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
185         strfrom.
186         * stdlib/strfromd.c: New file.
187         * stdlib/strfromf.c: Likewise.
188         * stdlib/strfroml.c: Likewise.
189         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
190         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
191         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
192         * sysdeps/arm/nacl/libc.abilist: Update.
193         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
194         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
195         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
196         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
197         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
198         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
199         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
200         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
201         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
202         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
203         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
204         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
205         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
206         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
211         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
212         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
213         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
214         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
215         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
218         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
219         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
220         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
222 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
224         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
225         instead of cmpli.
226         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
227         instead of cmpli.
229 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
231         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
232         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
233         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
234         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
235         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
236         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
238 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
240         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
241         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
242         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
243         SYSCALL_LL64_PRW.
244         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
245         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
246         __ASSUME_PRW_DUMMY_ARG.
247         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
248         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
249         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
250         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
251         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
252         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
254 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
256         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
258 2016-10-22  Florian Weimer  <fweimer@redhat.com>
260         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
261         "C++", to override a potential extern "C" directive around the
262         header file inclusion.
264 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
266         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
268 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
270         * sysdeps/powerpc/fpu/fenv_private.h:
271         (_FPU_MASK_ALL): Rename to...
272         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
273         XE FPSCR bits.
275         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
277         (_FPU_MASK_ROUNDING): Rename to...
278         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
279         NI bits.
281         (_FPU_MASK_EXCEPT_ROUND): Rename to...
282         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
283         bits and rounding bits.
285         (__libc_feholdbits_ppc): New inline function to mask, set,
286         and pontentially clear FSPCR bits, and change MSR[FE] bits.
287         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
288         (libc_feholdexcept_setround_ppc): Likewise.
290         (__libc_femergeenv_ppc): New function to dynamically mask both
291         old and new FP environments and merge.
292         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
293         (libc_feresetround_ppc): Likewise.
294         (libc_feupdateenv_test_ppc): Likewise.
295         (libc_feupdateenv_ppc): Likewise.
297         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
298         of ISA RN bits, and update macro names.
299         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
300         effectively the same as the previously mentioned function.
302         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
303         usage with fe_resetround_ppc.
305         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
306         to be used.
307         (libc_feholdexcept_setround_ctxf): Likewise.
308         (libc_feholdexcept_setround_ctxl): Likewise.
310 2016-10-21  Florian Weimer  <fweimer@redhat.com>
312         [BZ #20715]
313         * math/math.h [__cplusplus] (iszero): Define as function template.
314         * math/Makefile [CXX] (tests): Add test-math-iszero.
315         (CFLAGS-test-math-iszero.cc): Set.
316         * math/test-math-iszero.cc: New file.
318 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
320         [BZ #20660]
321         * sysdeps/arm/e_sqrt.c: New file.
322         * sysdeps/arm/e_sqrtf.c: Likewise.
324 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
326         [BZ #20718]
327         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
328         not use floating-point comparisons to test sign.
329         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
330         Likewise.
332         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
333         (getpayload): New declaration.
334         * math/Versions (getpayload): New libm symbol at version
335         GLIBC_2.25.
336         (getpayloadf): Likewise.
337         (getpayloadl): Likewise.
338         * math/Makefile (libm-calls): Add s_getpayloadF.
339         * math/libm-test.inc: Include <nan-high-order-bit.h>.
340         (struct test_f_f_data): Add comment.
341         (RUN_TEST_fp_f): New macro.
342         (RUN_TEST_LOOP_fp_f): Likewise.
343         (getpayload_test_data): New array.
344         (getpayload_test): New function.
345         (main): Call getpayload_test.
346         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
347         descriptor.
348         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
349         getpayloadf and getpayloadl.
350         * manual/libm-err-tab.pl: Update comment on interfaces without
351         ulps tabulated.
352         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
353         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
354         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
355         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
356         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
357         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
358         * sysdeps/nacl/libm.abilist: Update.
359         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
360         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
361         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
362         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
363         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
364         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
365         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
366         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
367         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
368         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
369         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
370         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
372         Likewise.
373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
374         Likewise.
375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
376         Likewise.
377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
378         Likewise.
379         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
380         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
381         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
382         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
383         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
385         Likewise.
386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
387         Likewise.
388         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
389         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
390         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
392 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
394         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
395         tst-fallocate{64}.
396         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
397         on syscall return.
399 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
401         [BZ #20689]
402         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
403         usable.
405 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
407         * sysdeps/generic/nan-high-order-bit.h: New file.
408         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
409         * sysdeps/mips/nan-high-order-bit.h: Likewise.
410         * sysdeps/hppa/math_private.h: Remove file.
411         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
412         not define here.
413         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
414         <nan-high-order-bit.h>.
415         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
416         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
417         <nan-high-order-bit.h>.
418         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
419         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
420         <nan-high-order-bit.h>.
421         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
422         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
423         <nan-high-order-bit.h>.
424         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
425         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
426         <nan-high-order-bit.h>.
427         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
428         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
429         <nan-high-order-bit.h>.
430         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
431         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
432         <nan-high-order-bit.h>.
433         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
434         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
435         <nan-high-order-bit.h>.
436         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
437         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
438         <nan-high-order-bit.h>.
439         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
440         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
441         <nan-high-order-bit.h>.
442         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
443         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
444         <nan-high-order-bit.h>.
445         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
446         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
447         <nan-high-order-bit.h>.
448         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
449         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
450         <nan-high-order-bit.h>.
451         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
452         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
453         <nan-high-order-bit.h>.
454         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
455         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
456         <nan-high-order-bit.h>.
457         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
458         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
459         <nan-high-order-bit.h>.
460         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
461         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
462         <nan-high-order-bit.h>.
463         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
464         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
465         <nan-high-order-bit.h>.
466         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
468 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
470         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
472 2016-09-22  John David Anglin  <dave.anglin@bell.net>
474         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
475         abort-instr.h.
476         (EFAULT): Remove conditional define.
477         (ENOSYS): Likewise.
478         (atomic_compare_and_exchange_val_acq): Use instruction nullification
479         instead of conditional branch instructions.
481 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
483         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
484         (totalordermag): New declaration.
485         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
486         New macro.
487         * math/Versions (totalordermag): New libm symbol at version
488         GLIBC_2.25.
489         (totalordermagf): Likewise.
490         (totalordermagl): Likewise.
491         * math/Makefile (libm-calls): Add s_totalordermagF.
492         * math/libm-test.inc (totalordermag_test_data): New array.
493         (totalordermag_test): New function.
494         (main): Call totalordermag_test.
495         * math/test-tgmath.c (NCALLS): Increase to 125.
496         (F(compile_test)): Call totalordermag.
497         (F(totalordermag)): New function.
498         * manual/arith.texi (FP Comparison Functions): Document
499         totalordermag, totalordermagf and totalordermagl.
500         * manual/libm-err-tab.pl: Update comment on interfaces without
501         ulps tabulated.
502         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
503         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
504         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
505         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
506         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
507         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
508         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
509         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
510         totalordermag.
511         (CFLAGS-nldbl-totalordermag.c): New variable.
512         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
513         (do_test): Also test totalordermagl.
514         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
515         Likewise.
516         * sysdeps/nacl/libm.abilist: Update.
517         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
518         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
519         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
520         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
521         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
522         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
523         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
524         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
525         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
526         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
527         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
528         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
530         Likewise.
531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
532         Likewise.
533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
534         Likewise.
535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
536         Likewise.
537         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
540         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
543         Likewise.
544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
545         Likewise.
546         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
547         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
548         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
550 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
552         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
553         boolean.
555 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
557         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
558         raising FE_INVALID with feraisexcept in case where part of
559         argument is infinite, subtract that part of argument from itself.
560         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
561         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
562         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
564 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
566         * math/libm-test.inc (totalorder_test_data): Add more tests.
568 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
570         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
571         Undefine weak_alias and add a comment why mips64 require
572         versioning.
574 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
576         [BZ #20647]
577         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
578         maximum CPUID level is less than 2.
580 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
582         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
583         (totalorder): New declaration.
584         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
585         New macro.
586         * math/Versions (totalorder): New libm symbol at version
587         GLIBC_2.25.
588         (totalorderf): Likewise.
589         (totalorderl): Likewise.
590         * math/Makefile (libm-calls): Add s_totalorderF.
591         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
592         string.
593         * math/libm-test.inc (PAYLOAD_DIG): New macro.
594         (qnan_value_pl): Likewise.
595         (snan_value_pl): Likewise.
596         (qnan_value): Define using qnan_value_pl.
597         (snan_value): Define using snan_value_pl.
598         (struct test_ff_i_data): Add comment about which tests use this
599         structure.
600         (RUN_TEST_ff_b): New macro.
601         (RUN_TEST_LOOP_ff_b): Likewise.
602         (totalorder_test_data): New array.
603         (totalorder_test): New function.
604         (main): Call totalorder_test.
605         * math/test-tgmath.c (NCALLS): Increase to 122.
606         (F(compile_test)): Call totalorder.
607         (F(totalorder)): New function.
608         * manual/arith.texi (FP Comparison Functions): Document
609         totalorder, totalorderf and totalorderl.
610         * manual/libm-err-tab.pl: Update comment on interfaces without
611         ulps tabulated.
612         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
613         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
614         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
615         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
616         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
617         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
618         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
619         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
620         totalorder.
621         (CFLAGS-nldbl-totalorder.c): New variable.
622         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
623         file.
624         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
625         Add test-totalorderl-ldbl-128ibm.
626         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
627         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
628         test-totalorderl-ldbl-96.
629         * sysdeps/nacl/libm.abilist: Update.
630         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
631         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
632         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
633         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
634         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
635         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
636         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
637         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
638         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
639         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
640         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
641         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
643         Likewise.
644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
645         Likewise.
646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
647         Likewise.
648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
649         Likewise.
650         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
651         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
652         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
653         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
654         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
656         Likewise.
657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
658         Likewise.
659         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
660         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
661         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
663 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
665         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
666         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
667         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
668         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
669         remove ENOSYS implementation.
670         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
671         Consolidate all Linux implementations.
673 2016-10-11  Florian Weimer  <fweimer@redhat.com>
675         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
676         * resolv/herror.c (herror): Cast away const-ness.
677         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
678         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
680 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
682         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
683         instead of M_NAN + M_NAN.
684         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
686 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
688         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
689         unused variable 'p'.
691 2016-10-09  Alan Modra  <amodra@gmail.com>
692             Andreas Schwab  <schwab@linux-m68k.org>
694         [BZ #20554]
695         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
696         [PIC && !SHARED]: Set up PIC register for PLT call.
698 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
700         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
701         conditional on value of [__FLT_EVAL_METHOD__].
702         * math/test-iseqsig-excess-precision.c: New file.
703         * math/Makefile (tests): Add test-iseqsig-excess-precision.
705 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
707         * math/s_iseqsig_template.c: Include math-private.h.
709         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
710         * posix/tst-posix_fadvise.c: New file.
711         * posix/tst-posix_fadvise64.c: Likewise.
712         * posix/tst-posix_fadvise-common.c: Likewise.
713         * sysdeps/unix/sysv/linux/arm/kernel-features.h
714         (__ASSUME_FADVISE64_64_6ARG): Define.
715         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
716         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
717         * sysdeps/unix/sysv/linux/tile/kernel-features.h
718         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
719         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
720         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
721         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
722         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
723         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
724         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
725         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
726         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
729         Likewise.
730         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
731         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
732         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
733         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
734         Alias to __posix_fadvise64_l32.
735         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
736         Add compat definition to posix_fadvise64.
737         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
738         Add versioned definition to posix_fadvise64.
739         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
740         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
741         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
742         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
743         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
745         * io/Makefile (tests): Add tst-posix_fallocate and
746         tst-posix_fallocate64.
747         * io/tst-posix_fallocate-common.c: New file.
748         * io/tst-posix_fallocate.c: Likewise.
749         * io/tst-posix_fallocate64.c: Likewise.
750         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
751         file.
752         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
753         Likewise.
754         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
755         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
756         Likewise.
757         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
758         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
759         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
760         SYSCALL_LL to pass both offset and len arguments.
761         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
762         Likewise.
763         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
764         __libc_pwrite64 alias used by posix_fallocate64.
766         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
767         tst-fallocate64.
768         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
769         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
770         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
771         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
772         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
773         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
774         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
775         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
776         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
777         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
778         macro on offset argument.
779         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
780         SYSCALL_LL64 on offset argument.
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.
797         * test-skeleton.c (FAIL_RET): Add macro.
798         (FAIL_EXIT): Likewise.
799         (FAIL_EXIT1): Likewise.
800         (_FAIL): Likewise.
802 2016-10-07  Florian Weimer  <fweimer@redhat.com>
804         [BZ #20629]
805         resolv: Remove RES_USEBSTRING and its implementation.
806         * resolv/resolv.h (RES_USEBSTRING): Remove.
807         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
808         (digitvalue, encode_bitstring, decode_bitstring): Remove.
809         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
810         (labellen): Remove extended label types support.
811         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
812         * resolv/res_init.c (res_setoptions): Likewise.
813         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
815 2016-10-07  Florian Weimer  <fweimer@redhat.com>
817         resolv: Remove RES_NOIP6DOTINT and its implementation.
818         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
819         (RES_NOIP6DOTINT): Remove.
820         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
821         handling.
822         * resolv/res_debug.c (p_option): Likewise.
823         * resolv/res_init.c (res_setoptions): Likewise.
824         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
826 2016-10-07  Florian Weimer  <fweimer@redhat.com>
828         resolv: Deprecate unimplemented flags.
829         * misc/sys/cdefs.h (__glibc_macro_warning1)
830         (__glibc_macro_warning): Define.
831         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
832         (RES_KEEPTSIG): Mark as deprecated.
833         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
834         RES_NOCHECKNAME, RES_KEEPTSIG.
835         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
837 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
839         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
840         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
841         Use strong_alias to create symbols for glibc verison 2.19.
843 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
845         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
847 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
849         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
851 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
853         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
855 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
857         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
858         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
859         in header for using it as type for ifunc function because __GI_* symbols
860         for ppc32 do not target the ifunc symbols.
861         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
863 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
865         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
866         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
867         libc_ifunc_hidden_def.
868         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
869         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
870         Redirect ifunced function in header for using it as type of ifunc'ed
871         function. Redefine libc_hidden_def to use fallback non ifunc'ed
872         function for __GI_* symbol.
873         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
874         * include/libc-symbols.h
875         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
877 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
879         [BZ #20478]
880         * sysdeps/s390/multiarch/ifunc-resolve.h
881         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
882         to create ifunc symbols.
883         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
884         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
885         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
886         for using it as type for ifunc function.
887         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
888         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
889         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
890         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
891         * sysdeps/s390/multiarch/strcat.c: Likewise.
892         * sysdeps/s390/multiarch/strchr.c: Likewise.
893         * sysdeps/s390/multiarch/strcmp.c: Likewise.
894         * sysdeps/s390/multiarch/strcpy.c: Likewise.
895         * sysdeps/s390/multiarch/strcspn.c: Likewise.
896         * sysdeps/s390/multiarch/strlen.c: Likewise.
897         * sysdeps/s390/multiarch/strncmp.c: Likewise.
898         * sysdeps/s390/multiarch/strncpy.c: Likewise.
899         * sysdeps/s390/multiarch/strnlen.c: Likewise.
900         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
901         * sysdeps/s390/multiarch/strrchr.c: Likewise.
902         * sysdeps/s390/multiarch/strspn.c: Likewise.
903         * sysdeps/s390/multiarch/wcschr.c: Likewise.
904         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
905         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
906         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
907         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
908         * sysdeps/s390/multiarch/wmemset.c: Likewise.
909         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
910         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
911         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
912         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
913         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
914         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
916 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
918         * include/libc-symbols.h (__ifunc_resolver):
919         New macro is used by __ifunc* macros.
920         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
921         depending on HAVE_GCC_IFUNC.
922         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
923         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
925         Redirect ifunced function in header for using as type for ifunc function.
926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
930         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
932         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
933         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
934         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
935         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
936         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
937         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
938         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
939         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
945         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
946         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
947         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
948         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
949         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
950         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
951         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
952         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
953         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
954         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
955         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
956         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
957         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
958         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
960         Add libc_hidden_def() and use libc_ifunc_hidden() macro
961         instead of libc_ifunc() macro.
962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
963         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
965 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
967         * config.h.in (HAVE_GCC_IFUNC): New undef.
968         * configure.ac: Add check if gcc supports attribute ifunc feature.
969         * configure: Regenerated.
970         * manual/install.texi: Add recommendation for gcc with
971         indirect-function support.
972         * INSTALL: Regenerated.
974 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
976         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
977         macro.
978         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
979         (__iseqsig): New declaration.
980         * math/s_iseqsig_template.c: New file.
981         * math/Versions (__iseqsigf): New libm symbol at version
982         GLIBC_2.25.
983         (__iseqsig): Likewise.
984         (__iseqsigl): Likewise.
985         * math/libm-test.inc (iseqsig_test_data): New array.
986         (iseqsig_test): New function.
987         (main): Call iseqsig_test.
988         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
989         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
990         * manual/libm-err-tab.pl: Update comment on interfaces without
991         ulps tabulated.
992         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
993         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
994         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
995         * sysdeps/nacl/libm.abilist: Update.
996         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
997         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
998         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
999         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1000         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1001         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1002         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1003         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1004         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1005         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1006         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1007         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1009         Likewise.
1010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1011         Likewise.
1012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1013         Likewise.
1014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1015         Likewise.
1016         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1017         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1018         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1019         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1020         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1022         Likewise.
1023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1024         Likewise.
1025         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1026         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1027         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1029 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1031         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
1032         do_sincos_2, sloww, sloww1): Update comments.
1034         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
1035         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
1037         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
1038         K boolean and rename it.
1039         (__sin): Adjust.
1040         (__cos): Adjust.
1042 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1043             Siddhesh Poyarekar  <siddhesh@sourceware.org>
1045         * manual/nss.texi: Fix typos in the manual.
1047 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1049         * manual/contrib.texi: Fix typos in the manual.
1051         * manual/maint.texi: Fix typos in the manual.
1053         * manual/install.texi: Fix typos in the manual.
1054         * INSTALL: Regenerated.
1056         * manual/lang.texi: Fix typos in the manual.
1058         * manual/probes.texi: Fix typos in the manual.
1060         * manual/threads.texi: Fix typos in the manual.
1062         * manual/debug.texi: Fix typos in the manual.
1064         * manual/crypt.texi: Fix typos in the manual.
1066         * manual/conf.texi: Fix typos in the manual.
1068         * manual/sysinfo.texi: Fix typos in the manual.
1070         * manual/users.texi: Fix typos in the manual.
1072         * manual/job.texi: Fix typos in the manual.
1074         * manual/process.texi: Fix typos in the manual.
1076         * manual/argp.texi: Fix typos in the manual.
1077         * manual/getopt.texi: Likewise.
1078         * manual/startup.texi: Likewise.
1080         * manual/signal.texi: Fix typos in the manual.
1082         * manual/setjmp.texi: Fix typos in the manual.
1084         * manual/resource.texi: Fix typos in the manual.
1086         * manual/time.texi: Fix typos in the manual.
1088         * manual/arith.texi: Fix typos in the manual.
1090         * manual/math.texi: Fix typos in the manual.
1092         * manual/syslog.texi: Fix typos in the manual.
1094         * manual/terminal.texi: Fix typos in the manual.
1096         * manual/socket.texi: Fix typos in the manual.
1098         * manual/filesys.texi: Fix typos in the manual.
1100         * manual/llio.texi: Fix typos in the manual.
1102         * manual/stdio.text: Fix typos in the manual.
1104 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1106         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
1107         instead of K1.
1109         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
1110         SHIFT_QUADRANT and make it bool.
1111         (do_sincos_2): Likewise.
1112         (sloww): Likewise.
1113         (sloww1): Likewise.
1114         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
1115         (__cos): Likewise.
1117 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1119         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1121 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
1123         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1124         Define to __WORDSIZE, not conditional on [LONG_MAX ==
1125         0x7fffffffL].
1126         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1128 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1130         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1131         inline by __inline__.
1132         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1133         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1134         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1135         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1136         sigset_t from signal.h.
1137         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1138         which is already required.
1140 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1142         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1144 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
1146         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1147         (struct tcp_repair_window): New type.
1149 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1151         * libio/tst-memstream3.c: Include string.h.
1153 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1155         [BZ #18241]
1156         [BZ #20181]
1157         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1158         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1159         write position is at the end the buffer.
1160         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1161         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1162         (_IO_str_seekoff): Set correct offset from negative displacement and
1163         set EINVAL for invalid ones.
1164         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1165         buffer length.
1166         (_IO_wstr_switch_to_get_mode): New function.
1167         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1168         set EINVAL for invalid ones.
1169         * libio/tst-memstream3.c: New file.
1170         * libio/tst-wmemstream3.c: Likewise.
1171         * manual/examples/memstrm.c: Remove warning when priting size_t.
1173 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1175         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1176         macro to use __builtin_fma.
1177         * sysdeps/x86_64/fpu/dla.h: Remove file.
1179         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1180         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1181         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1183 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1185         [BZ #20292]
1186         * elf/Makefile (routines): Add dl-addr-obj.
1187         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1188         tst-_dl_addr_inside_object.
1189         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1190         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1191         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1192         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1193         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1194         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1195         * elf/dl-open.c: Likewise.
1196         * elf/dl-addr-obj.c: New file.
1197         * elf/tst-_dl_addr_inside_object.c: New file.
1199 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1201         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1202         <bits/iscanonical.h>.
1203         * bits/iscanonical.h: New file.
1204         * math/s_iscanonicall.c: Likewise.
1205         * math/Versions (__iscanonicall): New libm symbol at version
1206         GLIBC_2.25.
1207         * math/libm-test.inc (iscanonical_test_data): New array.
1208         (iscanonical_test): New function.
1209         (main): Call iscanonical_test.
1210         * math/Makefile (headers): Add bits/iscanonical.h.
1211         (type-ldouble-routines): Add s_iscanonicall.
1212         * manual/arith.texi (Floating Point Classes): Document
1213         iscanonical.
1214         * manual/libm-err-tab.pl: Update comment on interfaces without
1215         ulps tabulated.
1216         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1217         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1218         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1219         Likewise.
1220         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1221         test-iscanonical-ldbl-128ibm.
1222         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1223         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1224         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1225         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1226         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1227         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1228         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1230         Likewise.
1231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1232         Likewise.
1233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1234         Likewise.
1235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1236         Likewise.
1237         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1238         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1240 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1242         * string/bits/string3.h: Remove C++ style comments.
1244 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1246         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1247         instead of ternary condition.
1248         (do_sincos_2): Likewise.
1249         (__sin): Likewise.
1250         (__cos): Likewise.
1251         (slow): Likewise.
1252         (sloww): Likewise.
1253         (sloww1): Likewise.
1254         (bsloww): Likewise.
1255         (bsloww1): Likewise.
1257         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1258         instead of ternary condition.
1259         (do_sin_slow): Likewise.
1260         (do_sincos_1): Likewise.
1261         (do_sincos_2): Likewise.
1262         (__cos): Likewise.
1263         (sloww): Likewise.
1264         (sloww1): Likewise.
1265         (sloww2): Likewise.
1266         (bsloww): Likewise.
1267         (bsloww1): Likewise.
1268         (bsloww2): Likewise.
1270         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1271         check from here...
1272         (slow2): ... and here...
1273         (__sin): ... to here.
1275 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1277         * math/math.h
1278         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1279         Cast argument to its own type.
1280         * math/test-iszero-excess-precision.c: New file.
1281         * math/Makefile (tests): Add test-iszero-excess-precision.
1282         (CFLAGS-test-iszero-excess-precision.c): New variable.
1284 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1286         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1287         field, add err field.
1288         (__spawni_child): Report error through err member instead of pipe.
1289         (__spawnix): Likewise.
1291 2016-09-28  Zack Weinberg  <zackw@panix.com>
1293         * scripts/check-installed-headers.sh: Generalize treatment of
1294         sys/elf.h to all target architectures.
1296         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1297         deleted typedef ucontext_t.
1299 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1301         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1302         (__INTERNAL_SYSCALL1): Likewise.
1303         (__INTERNAL_SYSCALL2): Likewise.
1304         (__INTERNAL_SYSCALL3): Likewise.
1305         (__INTERNAL_SYSCALL4): Likewise.
1306         (__INTERNAL_SYSCALL5): Likewise.
1307         (__INTERNAL_SYSCALL6): Likewise.
1308         (__INTERNAL_SYSCALL7): Likewise.
1309         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1310         (__INTERNAL_SYSCALL_NARGS): Likewise.
1311         (__INTERNAL_SYSCALL_DISP): Likewise.
1312         (INTERNAL_SYSCALL_CALL): Likewise.
1313         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1314         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1315         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1316         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1317         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1318         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1319         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1320         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1321         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1322         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1323         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1324         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1325         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1327 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1329         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1330         macro.
1331         * math/libm-test.inc (iszero_test_data): New array.
1332         (iszero_test): New function.
1333         (main): Call iszero_test.
1334         * manual/arith.texi (Floating Point Classes): Document iszero.
1335         * manual/libm-err-tab.pl: Update comment on interfaces without
1336         ulps tabulated.
1338 2016-09-23  Zack Weinberg  <zackw@panix.com>
1340         * scripts/check-installed-headers.sh: New script.
1341         * Rules: In each directory that defines header files to be installed,
1342         run check-installed-headers.sh on them as a special test.
1343         * Makefile: Likewise for the headers installed at top level.
1345         * include/aliases.h, include/alloca.h, include/argz.h
1346         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1347         * include/elf.h, include/envz.h, include/err.h
1348         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1349         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1350         * include/link.h, include/malloc.h, include/mcheck.h
1351         * include/mntent.h, include/netinet/ether.h
1352         * include/nss.h, include/obstack.h, include/printf.h
1353         * include/pty.h, include/resolv.h, include/rpc/auth.h
1354         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1355         * include/rpc/clnt.h, include/rpc/des_crypt.h
1356         * include/rpc/key_prot.h, include/rpc/netdb.h
1357         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1358         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1359         * include/rpc/rpc_msg.h, include/rpc/svc.h
1360         * include/rpc/svc_auth.h, include/rpc/xdr.h
1361         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1362         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1363         * include/rpcsvc/ypupd.h, include/shadow.h
1364         * include/stdio_ext.h, include/sys/epoll.h
1365         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1366         * include/sys/prctl.h, include/sys/profil.h
1367         * include/sys/statfs.h, include/sys/sysctl.h
1368         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1369         * sysdeps/arm/nacl/include/bits/setjmp.h
1370         * sysdeps/mips/include/sys/asm.h
1371         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1372         * sysdeps/unix/sysv/linux/include/sys/timex.h
1373         * sysdeps/x86/fpu/include/bits/fenv.h:
1374         Add #ifndef _ISOMAC guard around internal declarations.
1375         Add multiple-inclusion guard if not already present.
1377 2016-09-23  Zack Weinberg  <zackw@panix.com>
1379         * sysdeps/generic/sys/ucontext.h
1380         * sysdeps/arm/sys/ucontext.h
1381         * sysdeps/i386/sys/ucontext.h
1382         * sysdeps/m68k/sys/ucontext.h
1383         * sysdeps/mips/sys/ucontext.h
1384         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1385         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1386         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1387         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1388         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1389         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1390         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1391         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1392         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1393         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1394         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1395         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1396         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1397         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1398         Include both bits/sigcontext.h and bits/sigstack.h.
1399         Fix grammar error in comment, if present.
1401         * bits/sigstack.h
1402         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1403         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1404         * sysdeps/unix/sysv/linux/bits/sigstack.h
1405         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1406         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1407         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1408         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1409         * bits/sigcontext.h
1410         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1411         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1412         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1413         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1414         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1415         as well as signal.h, if this was not already allowed.  Request
1416         definition of size_t if necessary.  Minimize semantically-null
1417         differences across files.
1419 2016-09-23  Zack Weinberg  <zackw@panix.com>
1421         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1422         Remove all logic conditional on __need macros.  Move all the
1423         conditionally defined types to their own headers...
1424         * time/bits/types/clock_t.h: Define clock_t here.
1425         * time/bits/types/clockid_t.h: Define clockid_t here.
1426         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1427         * time/bits/types/struct_timespec.h: Define struct timespec here.
1428         * time/bits/types/struct_timeval.h: Define struct timeval here.
1429         * time/bits/types/struct_tm.h: Define struct tm here.
1430         * time/bits/types/time_t.h: Define time_t here.
1431         * time/bits/types/timer_t.h: Define timer_t here.
1432         * time/Makefile: Install the new headers.
1434         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1435         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1436         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1437         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1438         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1439         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1440         * sysdeps/unix/sysv/linux/bits/resource.h
1441         * sysdeps/unix/sysv/linux/bits/timex.h
1442         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1443         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1444         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1445         * sysdeps/unix/sysv/linux/sys/acct.h
1446         * sysdeps/unix/sysv/linux/sys/timerfd.h
1447         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1448         * time/sys/time.h, time/sys/timeb.h
1449         Use the new bits/types headers.
1451         * include/time.h: Remove __need logic.
1452         * include/bits/time.h
1453         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1454         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1455         * include/bits/types/struct_itimerspec.h
1456         * include/bits/types/struct_timespec.h
1457         * include/bits/types/struct_timeval.h
1458         * include/bits/types/struct_tm.h:
1459         New wrapper headers.
1461 2016-09-23  Zack Weinberg  <zackw@panix.com>
1463         * sysdeps/mach/hurd/net/if_ppp.h
1464         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1465         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1466         if __USE_MISC is defined, to ensure struct ifreq is declared.
1468         * inet/netinet/ether.h: Condition all function prototypes
1469         on __USE_MISC, to ensure struct ether_addr is declared.
1471         * socket/bits/types/struct_osockaddr.h: New header.
1472         * include/bits/types/struct_osockaddr.h: New wrapper.
1473         * socket/Makefile: Install the new header.
1474         * socket/sys/socket.h, inet/protocols/talkd.h:
1475         Refer to bits/types/struct_osockaddr.h for the definition of
1476         struct osockaddr.
1478 2016-09-23  Zack Weinberg  <zackw@panix.com>
1480         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1481         * inet/protocols/routed.h, inet/protocols/talkd.h
1482         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1483         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1484         * sysdeps/generic/netinet/if_ether.h
1485         * sysdeps/generic/netinet/in_systm.h
1486         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1487         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1488         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1489         * sysdeps/mach/hurd/net/if_arp.h
1490         * sysdeps/mach/hurd/net/if_ppp.h
1491         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1492         * sysdeps/unix/sysv/linux/bits/in.h
1493         * sysdeps/unix/sysv/linux/net/ethernet.h
1494         * sysdeps/unix/sysv/linux/net/if_arp.h
1495         * sysdeps/unix/sysv/linux/net/if_ppp.h
1496         * sysdeps/unix/sysv/linux/net/if_shaper.h
1497         * sysdeps/unix/sysv/linux/net/route.h
1498         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1499         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1500         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1501         * sysdeps/unix/sysv/linux/netipx/ipx.h
1502         * sysdeps/unix/sysv/linux/sys/acct.h
1503         * include/arpa/nameser.h, include/resolv.h:
1504         Change all uses of u_char to unsigned char,
1505         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1506         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1507         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1508         and u_int64_t and u_quad_t to uint64_t.
1510         * mach/sys/reboot.h: Remove two casts of integer literals
1511         to the types they already have.
1513         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1514         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1515         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1516         from referring to 'unsigned char' to 'uint8_t' for consistency with
1517         the macro definition below.
1519         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1520         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1521         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1522         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1523         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1524         * sysdeps/unix/sysv/linux/sys/acct.h
1525         * include/arpa/nameser.h, include/resolv.h:
1526         Fix indentation disrupted by mechanical edits.
1528         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1529         * sysdeps/generic/netinet/in_systm.h
1530         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1531         * sysdeps/gnu/netinet/udp.h
1532         * sysdeps/unix/sysv/linux/net/ethernet.h
1533         * sysdeps/unix/sysv/linux/net/if_arp.h
1534         * sysdeps/unix/sysv/linux/net/if_ppp.h
1535         * sysdeps/unix/sysv/linux/net/if_shaper.h
1536         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1537         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1538         * sysdeps/unix/sysv/linux/netipx/ipx.h
1539         * sysdeps/unix/sysv/linux/sys/acct.h
1540         Include stdint.h for uintNN_t definitions.
1541         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1543 2016-09-23  Zack Weinberg  <zackw@panix.com>
1545         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1546         * sysdeps/unix/sysv/linux/netrose/rose.h:
1547         Include sys/socket.h and netax25/ax25.h.
1549         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1550         * resolv/arpa/nameser_compat.h:
1551         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1553         * sysdeps/unix/sysv/linux/sys/quota.h:
1554         Use __caddr_t instead of caddr_t.
1555         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1556         Use __clockid_t instead of clockid_t.
1558         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1560         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1561         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1562         expanding it.
1564         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1565         Define __glibc_c99_flexarr_available to 1 when the compiler
1566         supports C99-compatible flexible array members, 0 otherwise.
1567         * sysdeps/unix/sysv/linux/bits/socket.h
1568         * sysdeps/mach/hurd/bits/socket.h
1569         * bits/socket.h: Use __glibc_c99_flexarr_available in
1570         definitions of struct cmsghdr and CMSG_DATA.
1572 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1574         * manual/nss.texi (NSS Modules Interface): Adjust function return
1575         type to enum nss_status.  Document errnop argument.  Clarify
1576         h_errnop semantics.  Fix cross-reference formatting.
1577         (NSS Module Function Internals): Mention that *errnop needs to be
1578         set on failure, but not to zero.
1580 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1582         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1583         (get_random_name): New functions.
1584         (check_wrapper_flags_mode): Use linkat to give the new file a name
1585         determined by get_random_name.
1586         (do_test): Add calls to test open64 and openat64.
1588 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1590         * test-skeleton.c: Remove #include <stdarg.h>.
1592 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1594         [BZ #19826]
1595         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1596         initialization of static TLS entries.
1597         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1598         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1600 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1602         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1603         _hurd_malloc_fork_prepare.
1604         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1605         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1606         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1607         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1608         (_hurd_fork_child_hook): Drop malloc_fork_child.
1609         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1610         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1611         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1612         after locking locks (notably hurd_dtable_lock). Call
1613         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1614         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1615         __malloc_fork_unlock_child.
1616         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1618 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1620         * soft-fp/extendhftf2.c: New.
1621         * soft-fp/fixhfti.c: Likewise.
1622         * soft-fp/fixunshfti.c: Likewise.
1623         * soft-fp/floattihf.c: Likewise.
1624         * soft-fp/floatuntihf.c: Likewise.
1625         * soft-fp/half.h: Likewise.
1626         * soft-fp/trunctfhf2.c: Likewise.
1628 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1630         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1631         macro.
1632         * math/libm-test.inc (issubnormal_test_data): New array.
1633         (issubnormal_test): New function.
1634         * manual/arith.texi (Floating Point Classes): Document
1635         issubnormal.
1636         * manual/libm-err-tab.pl: Update comment on interfaces without
1637         ulps tabulated.
1639         * sysdeps/generic/stdint.h: Define
1640         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1641         <bits/libc-header-start.h> instead of including <features.h>.
1642         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1644         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1650         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1651         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1652         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1653         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1656         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1657         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1659         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1662         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1664         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1665         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1666         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1667         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1668         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1669         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1670         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1671         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1673         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1675         * manual/arith.texi (Integers): Document these macros for types
1676         specified by width properties.
1677         * manual/lang.texi (Width of Type): Document these macros for
1678         other standard typedefs.
1679         * stdlib/tst-width-stdint.c: New file.
1680         * stdlib/Makefile (tests): Add tst-width-stdint.
1682 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1684         [BZ #20016]
1685         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1686         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1687         Move ...
1688         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1689         ... here, as compatibility symbols in a new file.
1690         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1691         * resolv/res_init.c (__res_vinit): Adjust member names.
1692         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1693         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1694         (res_send_rhook): Remove.
1695         (struct __res_state): Rename qhook, rhook members.
1697 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1699         malloc: Use __libc_lock wrappers.
1700         * malloc/arena.c (list_lock, free_list_lock): Define using
1701         __libc_lock_define_initialized.
1702         (arena_lock): Adjust formatting.
1703         * malloc/malloc.c (struct malloc_state): Define mutex using
1704         __libc_lock_define.
1705         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1706         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1707         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1708         (mutex_unlock, mutex_trylock): Remove.
1709         (__pthread_initialize): Remove unused macro.
1710         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1711         (mutex_unlock, mutex_trylock): Remove.
1713 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1715         [BZ #20592]
1716         Remove RR type classification macros.
1717         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1718         (ns_t_udp_p, ns_t_xfr_p): Remove.
1720 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1722         Remove misleading version information.
1723         * resolv/arpa/nameser.h (__NAMESER): Remove.
1724         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1726 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1728         Remove the always-defined BIND_4_COMPAT macro.
1729         * resolv/arpa/nameser.h: Unconditionally include
1730         <arpa/nameser_compat.h>.
1731         (BIND_4_COMPAT): Remove.
1732         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1734 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1736         [BZ #20591]
1737         Remove obsolete DNSSEC support.
1738         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1739         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1740         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1741         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1742         (ns_cert_types): Add comment.
1743         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1744         separately.
1745         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1746         (dst_s_dns_key_id): Remove.
1747         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1748         variables.
1750 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1752         [BZ #20524]
1753         * manual/string.texi (String/Array Comparison): Clarify the
1754         strverscmp behavior.
1756 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1758         * test-skeleton.c (xasprintf): Add function.
1759         * io/tst-open-tmpfile.c: New test.
1760         * io/Makefile (tests): Add it.
1762 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1764         Avoid running $(CXX) during build to obtain header file paths.
1765         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1766         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1767         * Makerules (cstdlib, cmath): Remove variables.  Use
1768         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1769         * configure: Regenerate.
1771 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1773         * Makeconfig (all-object-suffixes): Include .op only if
1774         $(build-profile).
1776 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1778         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1779         conditionals.  Do not define PATH_MAX.
1781 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1783         * posix/Makefile (tests): Add tst-spawn3.
1784         * posix/tst-spawn3.c: New file.
1785         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1786         if it is already opened for open action.
1788         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1789         all signals when executing the clone vfork child.
1790         (SIGALL_SET): Remove macro.
1792         * nptl/Makefile (tests): Add tst-exec5.
1793         * nptl/tst-exec5.c: New file.
1794         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1795         asynchronous cancellation.
1797 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1799         * hurd/exc2signal.c: #include <hurd/signal.h>
1800         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1801         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1802         accordingly.
1803         * mach/mach_error.c (mach_error): Fix old-style function definition.
1804         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1806 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1808         * math/Makefile (libm-calls): Remove s_nanF.
1809         (gen-libm-calls): Add s_nanF.
1811         * math/s_nan.c: Refactor into ...
1812         * math/s_nan_template.c: New file.
1814         * math/s_nanf.c: Removed.
1815         * math/s_nanl.c: Removed.
1816         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1817         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1819         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1820         (LDOUBLE_nanl_libm_version): New macro.
1822         * sysdeps/generic/math-type-macros-double.h:
1823         (M_STRTO_NAN): New macro.
1824         * sysdeps/generic/math-type-macros-float.h: Likewise.
1825         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1827         * sysdeps/generic/math-type-macros.h: Document
1828         M_STRTO_NAN.
1830 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1832         * math/s_nanf.c: Remove __nanf undef.
1833         * math/s_nan.c: Remove __nan undef.
1834         * math/s_nanl.c: Remove __nanl undef.
1836         * sysdeps/generic/math_private.h (__nan): Remove macro
1837         override.
1838         (__nanf): Likewise.
1839         (__nanl): Likewise.
1841 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1843         * math/Makefile (gen-all-calls): New variable.
1844         (generated): Replace gen-libm-calls with gen-all-calls.
1845         (gen-libm-templates.stmp): Likewise.  Also, ensure
1846         the output directory exists or is created and add
1847         dependency on the Makefile.
1848         (calls): Move s_ldexpF into gen-calls.
1849         (gen-calls): New variable.
1851         * math/s_ldexpf.c: Removed.
1852         * math/s_ldexpl.c: Removed.
1853         * math/s_ldexp.c: Refactored into ...
1854         * math/s_ldexp_template.c: New file.
1856         * sysdeps/generic/math-type-macros-double.h: Remove
1857         redundant fall-through definition of declare_mgen_alias.
1858         (declare_mgen_alias_2): New macro.
1860         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1861         New macro for function aliased to two exported symbols.
1863         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1864         new template file.
1865         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1867 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1869         * Makeconfig (all-object-suffixes): Remove .og.
1870         * Makerules (elide-routines.og): Remove.
1871         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1872         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1873         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1875 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1877         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1878         .os objects.
1880 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1882         [BZ #20615]
1883         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1884         fpu directory by non-fpu.
1885         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1886         on non-fpu directory from a fpu directory.
1888 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1890         * include/limits.h: Define
1891         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1892         <bits/libc-header-start.h> instead of including <features.h>.
1893         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1894         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1895         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1896         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1897         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1898         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1899         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1900         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1901         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1902         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1903         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1904         * manual/lang.texi (Width of Type): Document these macros.
1905         * stdlib/tst-width.c: New file.
1906         * stdlib/Makefile (tests): Add tst-width.
1908 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1910         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1911         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1913 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1915         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1916         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1917         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1919 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1921         [BZ #18243]
1922         * rt/Makefile (test): Add tst-shm-cancel.
1923         * rt/tst-shm-cancel.c: New file.
1924         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1926         [BZ #18243]
1927         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1928         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1929         definition.
1930         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1931         uncontended case.
1932         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1933         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1934         (tf): Fix check for uncontended case.
1935         (do_test): Likewise.
1936         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1937         (tf): Fix check for uncontended case.
1938         (do_test): Likewise.
1939         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1940         (tf): Fix check for uncontended case.
1941         (do_test): Likewise.
1942         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1943         (tf): Fix check for uncontended case.
1944         (do_test): Likewise.
1946         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1947         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1949         [BZ #15765]
1950         * nptl/Makefile (tests): Add tst-sem16.
1951         * nptl/tst-sem16.c: New file.
1952         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1954         * nptl/sem_open.c (sem_open): Init pad value to 0.
1955         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1956         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1958 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1960         [BZ #20611]
1961         * inet/Makefile (routines): Add inet6_scopeid_pton.
1962         (tests): Add tst-inet6_scopeid_pton.
1963         * inet/inet6_scopeid_pton.c: New file.
1964         * inet/net-internal.h: Likewise.
1965         * inet/tst-inet6_scopeid_pton.c: New test.
1966         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1967         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1970 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1972         Remove support for compiling wrappers with PTW.
1973         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1974         * nptl/Makefile (pthread-compat-wrappers): Define.
1975         (libpthread-routines): Use pthread-compat-wrappers.
1976         * sysdeps/unix/sysv/linux/alpha/Makefile
1977         (libpthread-routines, libpthread-shared-only-routines): Remove
1978         ptw- prefix.
1979         * sysdeps/s390/nptl/Makefile
1980         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1981         * sysdeps/ia64/nptl/Makefile
1982         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1983         * sysdeps/nacl/Makefile (libpthread-routines): Use
1984         pthread-compat-wrappers to filter the routines list instead of the
1985         ptw- prefix.
1987 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1989         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1990         with L() and remove explicit suffix, convert real literals
1991         which can be equivalentally substituted with integers, and
1992         transform -L(x) to L(-x).
1994         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1995         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1996         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1997         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1998         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1999         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2000         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2001         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2002         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2003         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2004         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2005         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2006         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2007         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2008         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2009         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2010         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2011         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2012         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2013         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2014         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2015         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2016         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2017         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2018         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2019         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2020         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2021         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2022         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2023         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2024         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2025         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2026         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2027         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2028         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2029         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2030         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2031         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2032         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2033         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2034         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2035         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2036         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2037         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2038         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2039         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2040         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2041         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2042         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2043         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2045 2016-09-13  Florian Weimer  <fweimer@redhat.com>
2047         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2049 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2051         * malloc/Makefile (tests): Remove individual static test names
2052         and just add all of tests-static.
2054         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
2056 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2058         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
2059         file.
2061         * sysdeps/sparc/fpu/fegetmode.c: New file.
2062         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
2064         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
2065         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
2067         * sysdeps/s390/fpu/fegetmode.c: New file.
2068         * sysdeps/s390/fpu/fesetmode.c: Likewise.
2070         * sysdeps/powerpc/fpu/fegetmode.c: New file.
2071         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
2072         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
2073         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
2074         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
2075         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
2077         * sysdeps/mips/fpu/fegetmode.c: New file.
2078         * sysdeps/mips/fpu/fesetmode.c: Likewise.
2080         * sysdeps/m68k/fpu/fegetmode.c: New file.
2081         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
2083         * sysdeps/ia64/fpu/fegetmode.c: New file.
2084         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
2086         * sysdeps/hppa/fpu/fegetmode.c: New file.
2087         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
2089         * sysdeps/arm/fegetmode.c: New file.
2090         * sysdeps/arm/fesetmode.c: Likewise.
2092         * sysdeps/alpha/fpu/fegetmode.c: New file.
2093         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
2095         * sysdeps/aarch64/fpu/fegetmode.c: New file.
2096         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
2098         * math/fegetmode.c: New file.
2099         * math/fesetmode.c: Likewise.
2100         * sysdeps/i386/fpu/fegetmode.c: Likewise.
2101         * sysdeps/i386/fpu/fesetmode.c: Likewise.
2102         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
2103         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
2104         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
2105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
2106         declaration.
2107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
2108         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
2109         typedef.
2110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2111         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2112         (femode_t): New typedef.
2113         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2114         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2115         (femode_t): New typedef.
2116         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2117         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2118         (femode_t): New typedef.
2119         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2120         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2121         (femode_t): New typedef.
2122         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2123         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2124         (femode_t): New typedef.
2125         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2126         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2127         (femode_t): New typedef.
2128         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2129         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2130         (femode_t): New typedef.
2131         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2132         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2133         (femode_t): New typedef.
2134         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2135         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2136         (femode_t): New typedef.
2137         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2138         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2139         (femode_t): New typedef.
2140         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
2141         declaration.
2142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2143         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2144         (femode_t): New typedef.
2145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2146         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2147         (femode_t): New typedef.
2148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2149         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2150         (femode_t): New typedef.
2151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2152         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2153         (femode_t): New typedef.
2154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2155         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2156         (femode_t): New typedef.
2157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2158         * manual/arith.texi (FE_DFL_MODE): Document macro.
2159         (fegetmode): Document function.
2160         (fesetmode): Likewise.
2161         * math/Versions (fegetmode): New libm symbol at version
2162         GLIBC_2.25.
2163         (fesetmode): Likewise.
2164         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2165         (tests): Add test-femode and test-femode-traps.
2166         * math/test-femode-traps.c: New file.
2167         * math/test-femode.c: Likewise.
2168         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2169         alias for __fe_dfl_env.
2170         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2171         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2172         (__fe_dfl_mode): Likewise.
2173         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2174         version GLIBC_2.25.
2175         * sysdeps/nacl/libm.abilist: Update.
2176         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2177         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2178         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2179         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2180         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2181         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2182         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2183         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2184         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2185         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2186         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2187         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2189         Likewise.
2190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2191         Likewise.
2192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2193         Likewise.
2194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2195         Likewise.
2196         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2197         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2198         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2199         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2202         Likewise.
2203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2204         Likewise.
2205         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2206         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2207         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2209 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2211         [BZ #20495]
2212         [BZ #20508]
2213         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2214         processors, set Use_dl_runtime_resolve_slow and set
2215         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2216         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2217         New.
2218         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2219         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2220         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2221         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2222         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2223         if Use_dl_runtime_resolve_opt is set.  Use
2224         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2225         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2226         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2227         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2228         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2229         New.
2230         (_dl_runtime_resolve_opt): Likewise.
2231         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2232         defined.
2234 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2236         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2237         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2239 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2241         Convert malloc to __libc_lock.  Automated part, using this Perl
2242         s/// command:
2243           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2244             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2245         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2246         conversion.
2248 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2250         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2251         (linknamespace-symlists-tests): Likewise.
2252         (linknamespace-header-tests): Likewise.
2254 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2256         [BZ #19810]
2257         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2258         * elf/tst-noload.c: New test case.
2259         * elf/Makefile (tests): Add tst-noload.
2261 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2263         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2265         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2266         not any more.
2268         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2270 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2272         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2273         (do_cos_slow): Likewise.
2274         (do_sin): Likewise.
2275         (do_sin_slow): Likewise.
2276         (slow): Likewise.
2277         (slow1): Likewise.
2278         (slow2): Likewise.
2279         (sloww): Likewise.
2280         (sloww1): Likewise.
2281         (sloww2): Likewise.
2282         (bsloww): Likewise.
2283         (bsloww1): Likewise.
2284         (bsloww2): Likewise.
2285         (cslow2): Likewise.
2287         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2289         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2290         arguments.  Consolidate input partitioning from callers here.
2291         (do_cos_slow): Likewise.
2292         (do_sin): Likewise.
2293         (do_sin_slow): Likewise.
2294         (do_sincos_1): Remove the no longer necessary input partitioning.
2295         (do_sincos_2): Likewise.
2296         (__sin): Likewise.
2297         (__cos): Likewise.
2298         (slow1): Likewise.
2299         (slow2): Likewise.
2300         (sloww1): Likewise.
2301         (sloww2): Likewise.
2302         (bsloww1): Likewise.
2303         (bsloww2): Likewise.
2304         (cslow2): Likewise.
2306 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2308         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2309         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2310         outside of allocated array.
2312 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2314         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2315         instead of MB_CUR_MAX to avoid variable-length array.
2317 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2319         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2320         (type-double-routines): Add k_rem_pio2.
2321         (type-float-routines): Add k_rem_pio2f.
2323         * sysdeps/generic/math_private.h:
2324         (__kernel_rem_pio2l): Removed.
2326         * math/k_rem_pio2l.c: Removed.
2327         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2328         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2329         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2330         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2332 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2334         * math/Makefile (gen-libm-calls): Add s_fmin
2335         (libm-calls): Remove above.
2337         * math/s_fmin.c: Refactor into ...
2338         * math/s_fmin_template.c: New file.
2340         * math/s_fminf.c: Removed.
2341         * math/s_fminl.c: Removed.
2342         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2343         (LDOUBLE_fmin_libm_version): New macro.
2345         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2346         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2348 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2350         * math/Makefile: (gen-libm-calls): Add s_fmax.
2351         (libm-calls): Remove above.
2353         * math/s_fmax.c: Refactor into ...
2354         * math/s_fmax_template.c: New file.
2355         * math/s_fmaxf.c: Removed.
2356         * math/s_fmaxl.c: Removed.
2358         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2359         (LDOUBLE_fmaxl_libm_version): New macro.
2361         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2362         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2364         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2365         s_fmin.c to pick the aarch64 version of the file.
2366         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2367         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2369 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2371         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2372         (libm-calls): Remove above.
2374         * math/s_nextdown.c: Refactor into ...
2375         * math/s_nextdown_template.c: New file.
2376         * math/s_nextdownf.c: Removed.
2377         * math/s_nextdownl.c: Removed.
2379         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2381 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2383         * math/Makefile (gen-libm-calls): Add s_fdim.
2384         (libm-calls): Move to above.
2386         * math/s_fdim.c: Renamed and refactored into to ...
2387         * math/s_fdim_template.c: New file.
2388         * math/s_fdiml.c: Removed.
2389         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2390         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2392         * sysdeps/generic/math-type-macros-double.h:
2393         (declare_mgen_alias): Don't declare if already declared.
2394         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2395         Likewise.
2397         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2398         (declare_mgen_alias): Don't declare if already declared.
2399         (M_LIBM_NEED_COMPAT): Likewise.
2400         (declare_mgen_libm_compat): Likewise.
2401         (LDOUBLE_fdiml_libm_version): New macro.
2403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2404         Include math/s_fdim.c now that ldbl-opt version is not needed.
2405         (declare_mgen_alias): New macro to disable aliasing.
2407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2408         (declare_mgen_alias): Likewise.
2409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2410         (declare_mgen_alias): Likewise.
2411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2412         (declare_mgen_alias): Likewise.
2413         (M_LIBM_NEED_COMPAT): Likewise.
2415 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2417         [BZ #20525]
2418         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2419         Include <linux/quota.h>.
2420         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2421         and btodb.
2422         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2423         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2424         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2425         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2426         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2427         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2428         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2429         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2430         types.
2431         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2432         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2434 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2436         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2437         (gammal_positive): Fix spacing.
2438         (__ieee754_gammal_r): Likewise.
2440 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2442         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2443         (_Float128): Define as long double, always.
2444         (L): Apply long double type suffix, always.
2446         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2447         _Float128, excepting comments.
2449         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2451         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2453         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2454         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2455         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2457         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2458         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2459         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2460         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2461         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2462         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2463         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2464         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2465         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2466         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2467         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2468         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2469         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2470         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2471         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2472         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2473         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2474         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2475         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2476         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2477         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2478         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2479         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2480         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2481         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2482         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2483         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2484         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2485         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2486         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2487         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2488         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2489         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2490         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2491         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2492         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2493         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2494         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2495         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2496         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2497         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2498         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2499         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2500         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2501         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2502         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2503         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2504         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2505         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2506         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2507         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2508         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2509         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2510         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2511         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2512         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2513         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2514         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2515         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2516         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2518         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2519         _Float128, and include math_private.h.
2520         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2522         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2523         long double semantics.
2524         (_Float128): Likewise.
2525         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2526         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2527         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2528         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2530 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2532         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2533         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2534         * sysdeps/s390/configure: Regenerated.
2535         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2536         instruction for raising over-/underflow if z196 zarch is supported
2537         by default.
2538         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2540 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2542         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2543         it point to a dumb buffer for RPC to fill it.
2545 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2547         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2548         instead of if/else.
2549         (do_sin_slow): Likewise.
2550         (do_sincos_1): Use fabs instead of if/else.
2551         (do_sincos_2): Likewise.
2552         (__sin): Likewise.
2553         (__cos): Likewise.
2554         (slow2): Likewise.
2555         (sloww): Likewise.
2556         (sloww1): Likewise.  Drop argument M.
2557         (sloww2): Use fabs instead of if/else.
2558         (bsloww): Likewise.
2559         (bsloww1): Likewise.
2560         (bsloww2): Likewise.
2562         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2563         fall through comment.
2564         (do_sincos_1): Likewise.
2566         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2567         Consolidate switch cases 0 and 2.
2569 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2571         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2572         (libm-calls): Remove the above.
2574         * math/s_cexp_template.c: Update using type-generic macros.
2575         * math/s_clog10_template.c: Likewise.
2576         * math/s_cpow_template.c: Likewise.
2577         * math/s_clog_template.c: Likewise.
2578         * math/s_cproj_template.c: Likewise.
2579         * math/s_csqrt_template.c: Likewise.
2581         * math/s_cexp.c: Removed.
2582         * math/s_cexpf.c: Removed.
2583         * math/s_cexpl.c: Removed.
2584         * math/s_clog10.c: Removed.
2585         * math/s_clog10f.c: Removed.
2586         * math/s_clog10l.c: Removed.
2587         * math/s_cpow.c: Removed.
2588         * math/s_cpowf.c: Removed.
2589         * math/s_cpowl.c: Removed.
2590         * math/s_clog.c: Removed.
2591         * math/s_clogf.c: Removed.
2592         * math/s_clogl.c: Removed.
2593         * math/s_cproj.c: Removed.
2594         * math/s_cprojf.c: Removed.
2595         * math/s_cprojl.c: Removed.
2596         * math/s_csqrt.c: Removed.
2597         * math/s_csqrtf.c: Removed.
2598         * math/s_csqrtl.c: Removed.
2600         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2601         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2602         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2603         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2604         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2605         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2607         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2608         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2609         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2610         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2611         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2612         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2613         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2614         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2615         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2616         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2617         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2619         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2620         version.
2622         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2623         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2624         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2625         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2627 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2629         * s_cexp_template.c: Copy of s_cexp.c.
2630         * s_clog_template.c: Copy of s_clog.c.
2631         * s_clog10_template.c: Copy of s_clog10.c.
2632         * s_cpow_template.c: Copy of s_cpow.c.
2633         * s_cproj_template.c: Copy of s_cproj.c.
2634         * s_csqrt_template.c: Copy of s_csqrt.c.
2636 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2638         [BZ #20517]
2639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2640         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2641         exported.
2643 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2645         * math/fetestexceptflag.c: New file.
2646         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2647         Stefan Liebler.
2648         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2649         (fetestexceptflag): New function declaration.
2650         * manual/arith.texi (fetestexceptflag): Document function.
2651         * math/Versions (fetestexceptflag): New libm symbol at version
2652         GLIBC_2.25.
2653         * math/Makefile (libm-support): Add fetestexceptflag.
2654         (tests): Add test-fetestexceptflag.
2655         * math/test-fetestexceptflag.c: New file.
2656         * sysdeps/nacl/libm.abilist: Update.
2657         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2658         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2659         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2660         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2661         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2662         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2663         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2664         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2665         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2666         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2667         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2668         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2670         Likewise.
2671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2672         Likewise.
2673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2674         Likewise.
2675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2676         Likewise.
2677         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2678         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2679         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2680         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2681         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2683         Likewise.
2684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2685         Likewise.
2686         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2687         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2688         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2690 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2692         [BZ #20432]
2693         Avoid strong references to malloc-internal symbols when linking
2694         statically, to support statically interposed mallocs.
2695         * include/libc-symbols.h (call_function_static_weak): New macro.
2696         * malloc/Makefile (tests): Add tst-interpose-nothread,
2697         tst-interpose-thread, tst-interpose-static-nothread,
2698         tst-interpose-static-thread.
2699         (tests-static): Add tst-interpose-static-nothread,
2700         tst-interpose-static-thread.
2701         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2702         tst-interpose-aux-thread.o.
2703         (test-extras): Add tst-interpose-aux-nothread,
2704         tst-interpose-aux-thread.
2705         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2706         tst-interpose-aux-nothread.o.
2707         (tst-interpose-thread, tst-interpose-static-thread): Link with
2708         tst-interpose-aux-thread.o and libthread.
2709         * malloc/tst-interpose-aux-nothread.c: New file.
2710         * malloc/tst-interpose-aux-thread.c: Likewise.
2711         * malloc/tst-interpose-aux.c: Likewise.
2712         * malloc/tst-interpose-aux.h: Likewise.
2713         * malloc/tst-interpose-nothread.c: Likewise.
2714         * malloc/tst-interpose-skeleton.c: Likewise.
2715         * malloc/tst-interpose-static-nothread.c: Likewise.
2716         * malloc/tst-interpose-static-thread.c: Likewise.
2717         * malloc/tst-interpose-thread.c: Likewise.
2718         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2719         * sysdeps/mach/hurd/fork.c (__fork): Only call
2720         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2721         __malloc_fork_unlock_child if defined.
2722         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2724 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2726         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2727         timespec C99 designated initialization.
2729 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2731         [BZ #19946]
2732         Avoid expected SIGALRM signals.
2733         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2734         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2735         (xpthread_create, xpthread_detach, xpthread_join)
2736         (delayed_exit_thread, delayed_exit): New functions.
2737         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2738         (tf): Use xpthread_cond_wait.
2739         (do_test): Likewise.  Replace alarm with delayed_exit.
2740         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2741         (do_test): Call delayed_exit.  Report failure.
2742         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2743         (do_test): Call delayed_exit.
2744         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2745         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2746         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2747         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2748         error.
2749         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2750         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2751         error.
2752         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2753         (do_test): Call delayed_exit.
2754         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2755         (do_test): Call delayed_exit.
2756         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2757         (do_test): Call delayed_exit instead of alarm.  Use
2758         xpthread_mutex_lock.
2759         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2760         (do_test): Call delayed_exit instead of alarm.  Use
2761         xpthread_mutex_lock.
2762         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2763         (do_test): Call delayed_exit instead of alarm.
2764         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2765         (do_test): Call delayed_exit instead of alarm.  Use
2766         xpthread_spin_lock.
2767         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2768         (do_test): Call delayed_exit instead of alarm.  Use
2769         xpthread_join.
2771 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2773         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2774         adjust CFA when allocating register save area on re-aligned
2775         stack.
2777 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2779         * string/tst-cmp.c: New test.
2780         * string/Makefile (tests): Add it.
2782 2016-08-25  Mark Wielaard  <mark@klomp.org>
2784         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2785         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2786         (check_tree_recurse): Use newly defined accessors.
2787         (check_tree): Likewise.
2788         (maybe_split_for_insert): Likewise.
2789         (__tfind): Likewise.
2790         (__tdelete): Likewise.
2791         (trecurse): Likewise.
2792         (tdestroy_recurse): Likewise.
2793         (__tsearch): Likewise. And add asserts for malloc alignment.
2794         (__twalk): Cast root to node in case CHECK_TREE is defined.
2796 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2798         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2800 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2802         * math/Makefile (libm-gen-calls): Add
2803         catan, catanh, ctan, ctanh.
2804         (libm-calls): Remove the above.
2806         * math/s_catan_template.c: Update using type-generic macros.
2807         * math/s_catanh_template.c: Likewise.
2808         * math/s_ctan_template.c: Likewise.
2809         * math/s_ctanh_template.c: Likewise.
2811         * math/s_catanf.c: Removed.
2812         * math/s_catan.c: Removed.
2813         * math/s_catanl.c: Removed.
2814         * math/s_catanhf.c: Removed.
2815         * math/s_catanh.c: Removed.
2816         * math/s_catanhl.c: Removed.
2817         * math/s_ctanf.c: Removed.
2818         * math/s_ctan.c: Removed.
2819         * math/s_ctanl.c: Removed.
2820         * math/s_ctanhf.c: Removed.
2821         * math/s_ctanh.c: Removed.
2822         * math/s_ctanhl.c: Removed.
2824         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2825         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2826         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2827         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2828         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2829         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2831         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2832         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2833         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2834         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2836 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2838         * s_catan_template.c: Copy of s_catan.c.
2839         * s_catanh_template.c: Copy of s_catanh.c.
2840         * s_ctan_template.c: Copy of s_ctan.c.
2841         * s_ctanh_template.c: Copy of s_ctanh.c.
2843 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2845         * math/Makefile (gen-libm-calls): Move
2846         casin, casinh, csin, csinh here.
2847         (libm-calls): Remove the above.
2849         * math/s_casin_template.c: Update using type-generic macros.
2850         * math/s_casinh_template.c: Likewise.
2851         * math/s_csin_template.c: Likewise.
2852         * math/s_csinh_template.c: Likewise.
2853         * math/k_casinh_template.c: Likewise.
2855         * math/s_casinf.c: Removed.
2856         * math/s_casin.c: Removed.
2857         * math/s_casinl.c: Removed.
2858         * math/s_casinh.c: Removed.
2859         * math/s_casinhf.c: Removed.
2860         * math/s_casinhl.c: Removed.
2861         * math/s_csin.c: Removed.
2862         * math/s_csinf.c: Removed.
2863         * math/s_csinl.c: Removed.
2864         * math/s_csinh.c: Removed.
2865         * math/s_csinhf.c: Removed.
2866         * math/s_csinhl.c: Removed.
2867         * math/k_casinh.c: Removed.
2868         * math/k_casinhf.c: Removed.
2869         * math/k_casinhl.c: Removed.
2871         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2872         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2873         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2874         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2876         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2877         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2878         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2879         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2880         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2881         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2882         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2883         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2885         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2886         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2887         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2888         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2890         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2891         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2892         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2893         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2895 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2897         * s_casin_template.c: Copy of s_casin.c.
2898         * s_casinh_template.c: Copy of s_casinh.c.
2899         * s_csin_template.c: Copy of s_csin.c.
2900         * s_csinh_template.c: Copy of s_csinh.c.
2901         * k_casinh_template.c: Copy of k_casinh.c.
2903 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2905         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2907 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2909         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2910         (mul_split) Remove, rename as mul_splitl, remove
2911         redundant float.h include, and include via mul_splitl.h
2913         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2914         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2915         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2916         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2917         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2919         * math/mul_splitl.h: New file.
2921         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2922         Move into mul_split.h, and remove redundant float.h include.
2924         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2925         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2926         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2927         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2929         * math/mul_split.h: New file.
2931 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2933         * math/Makefile (libm-gen-calls): Move
2934         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2935         (libm-calls): Remove above.
2937         * math/s_cacos_template.c: Update using type-generic macros.
2938         * math/s_cacosh_template.c: Likewise.
2939         * math/s_ccos_template.c: Likewise.
2940         * math/s_ccosh_template.c: Likwise.
2942         * math/s_cacosf.c: Removed.
2943         * math/s_cacos.c: Removed.
2944         * math/s_cacosl.c: Removed.
2945         * math/s_cacoshf.c: Removed.
2946         * math/s_cacosh.c: Removed.
2947         * math/s_cacoshl.c: Removed.
2948         * math/s_ccosf.c: Removed.
2949         * math/s_ccos.c: Removed.
2950         * math/s_ccosl.c: Removed.
2951         * math/s_ccoshf.c: Removed.
2952         * math/s_ccosh.c: Removed.
2953         * math/s_ccoshl.c: Removed.
2955         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2956         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2957         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2958         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2959         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2960         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2962         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2963         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2964         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2965         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2967         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2968         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2969         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2970         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2972 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2974         * s_cacos_template.c: Copy of s_cacos.c.
2975         * s_cacosh_template.c: Copy of s_cacosh.c.
2976         * s_ccos_template.c: Copy of s_ccos.c.
2977         * s_ccosh_template.c: Copy of s_ccosh.c.
2979 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2981         * stdlib/tst-strtod-round-skeleton.c:
2982         Refactored from tst-strtod-round.c.
2984         (L_): New macro to apply literal modifier.
2985         (FNPFX): New macro to select str or wcs prefix.
2986         (CHAR): New macro to choose wchar_t or char.
2987         (STRM): New macro to choose printf for tested character type.
2989         (STRTO): New macro to choose appropriate string -> real function.
2990         (FNPFXS): Stringitized version of FNPFX.
2991         (STR): Support for above macro.
2992         (STRX): Likewise.
2994         (TEST): Update with above macros.
2995         (test): Likewise.
2996         (GEN_ONE_TEST): Likewise.
2997         (test_in_one_mode): Likewise.
2999         * stdlib/tst-strtod-round.c: New file.
3000         * wcsmbs/tst-wcstod-round.c: New file.
3002         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
3003         (tst-wcstod-round): Add libm depencency for fesetround.
3005 2016-08-19  Zack Weinberg  <zackw@panix.com>
3007         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
3009 2016-08-18  Torvald Riegel  <triegel@redhat.com>
3011         [BZ #20477]
3012         * resolv/res_hconf.c (do_init): Use atomic access.
3013         * resolv/res_hconf.h: Add comments.
3014         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
3015         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
3016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3018 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3020         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3021         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
3022         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3023         Likewise.
3025 2016-08-18  Florian Weimer  <fweimer@redhat.com>
3027         [BZ #16907]
3028         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
3029         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
3030         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
3031         (__attribute__): Remove definition.
3033 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3035         * sysdeps/ieee754/ldbl-128/e_asinl.c:
3036         Remove unused sqrtl declaration.
3038 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3040         * math/Makefile: (gen-libm-templates.stmp): New rule.
3041         (libm-calls): Move carg conj cimag and cabs into ...
3042         (gen-libm-calls): New variable.
3043         (generated): Inform Make objects from gen-libm-calls
3044         may be generated.
3046         * sysdeps/generic/math-type-macros.h: New file.
3047         * sysdeps/generic/math-type-macros-float.h: Likewise.
3048         * sysdeps/generic/math-type-macros-double.h: Likewise.
3049         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3050         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
3051         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
3053         * math/cabs.c: Refactor into
3054         * math/cabs_template.c: new file.
3055         * math/cabsf.c: Removed.
3056         * math/cabsl.c: Removed.
3057         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
3058         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
3060         * math/carg.c: Refactor into
3061         * math/carg_template.c: new file.
3062         * math/cargf.c: Removed.
3063         * math/cargl.c: Removed.
3064         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
3065         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
3067         * math/conj.c: Refactor into
3068         * math/conj_template.c: new file.
3069         * math/conjf.c: Removed.
3070         * math/conjl.c: Removed.
3071         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
3072         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
3074         * math/cimag.c: Refactor into
3075         * math/cimag_template.c: new file.
3076         * math/cimagf.c: Removed.
3077         * math/cimagl.c: Removed.
3078         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3079         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3081         * math/cimag.c: Refactor into
3082         * math/cimag_template.c: new file.
3083         * math/cimagf.c: Removed.
3084         * math/cimagl.c: Removed.
3085         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3086         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3088 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3090         Reduce time to expected nptl/tst-once5 failure.
3091         * nptl/tst-once5.cc (TIMEOUT): Define.
3093 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3095         [BZ #20452]
3096         Avoid additional copies of objects in libc.a in static libraries.
3097         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
3098         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
3099         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
3100         rt-sysdep.
3101         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
3102         Add nptl-sysdep.
3103         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
3104         Add ptw-sysdep.
3105         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
3106         rt-sysdep.
3107         * sysdeps/unix/sysv/linux/alpha/Makefile
3108         (libpthread-shared-only-routines): Add ptw-sysdep,
3109         ptw-sigprocmask, ptw-rt_sigaction.
3110         * sysdeps/unix/sysv/linux/ia64/Makefile
3111         (librt-shared-only-routines): Add rt-sysdep.
3112         * sysdeps/unix/sysv/linux/i386/Makefile
3113         (libpthread-shared-only-routines): Add libc-do-syscall.
3114         * sysdeps/unix/sysv/linux/microblaze/Makefile
3115         (libpthread-shared-only-routines): Add sysdep.
3116         * sysdeps/unix/sysv/linux/powerpc/Makefile
3117         (librt-shared-only-routines): Add rt-sysdep.
3118         (libpthread-shared-only-routines): Add sysdep.
3119         * sysdeps/unix/sysv/linux/s390/Makefile
3120         (librt-shared-only-routines): Add rt-sysdep.
3121         * sysdeps/unix/sysv/linux/sparc/Makefile
3122         (librt-shared-only-routines): Add rt-sysdep.
3123         (libpthread-shared-only-routines): Add sysdep.
3124         * sysdeps/unix/sysv/linux/tile/Makefile
3125         (libpthread-shared-only-routines): Likewise.
3127 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3129         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3130         Mask implicit bit out of unpacked value.
3131         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3132         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3133         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3135         * sysdeps/sparc/fpu/fesetexcept.c: New file.
3137         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3139         * sysdeps/s390/fpu/fesetexcept.c: New file.
3141         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
3142         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
3143         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
3145         * sysdeps/mips/fpu/fesetexcept.c: New file.
3147         * sysdeps/m68k/fpu/fesetexcept.c: New file.
3149         * sysdeps/ia64/fpu/fesetexcept.c: New file.
3151         * sysdeps/hppa/fpu/fesetexcept.c: New file.
3153         * sysdeps/arm/fesetexcept.c: New file.
3155         * sysdeps/alpha/fpu/fesetexcept.c: New file.
3157         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3159         * math/fesetexcept.c: New file.
3160         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3161         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3162         * math/fenv.h: Define
3163         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3164         <bits/libc-header-start.h> instead of including <features.h>.
3165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3166         declaration.
3167         * manual/arith.texi (fesetexcept): Document function.
3168         * math/Versions (fesetexcept): New libm symbol at version
3169         GLIBC_2.25.
3170         * math/Makefile (libm-support): Add fesetexcept.
3171         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3172         * math/test-fesetexcept.c: New file.
3173         * math/test-fesetexcept-traps.c: Likewise.
3174         * sysdeps/nacl/libm.abilist: Update.
3175         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3176         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3177         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3178         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3179         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3180         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3181         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3182         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3183         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3184         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3185         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3186         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3188         Likewise.
3189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3190         Likewise.
3191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3192         Likewise.
3193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3194         Likewise.
3195         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3196         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3197         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3198         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3199         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3201         Likewise.
3202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3203         Likewise.
3204         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3205         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3206         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3208 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3210         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3211         New.
3212         (do_test): Apply default_stack_size_in_mb if not set.
3213         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3215 2016-08-15  Andreas Schwab  <schwab@suse.de>
3217         [BZ #20435]
3218         CVE-2016-6323
3219         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3220         as .cantunwind.
3222 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3224         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3225         comment from fraiseexcpt.c.
3227         * math/test-fexcept.c (feraiseexcept_exact): New function.
3228         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3229         (test_except): Likewise.
3231 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3233         [BZ #20455]
3234         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3235         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3236         to be restored.
3238         * math/test-fexcept-traps.c: New file.
3239         * math/test-fexcept.c: Likewise.
3240         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3241         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3242         macro.
3243         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3244         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3246 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3248         * include/atomic.h (atomic_fetch_and_relaxed,
3249         atomic_fetch_and_release, atomic_fetch_or_release,
3250         atomic_fetch_xor_release): New.
3252 2016-08-06  Christian Seiler  <christian@iwakd.de>
3254         [BZ #20444]
3255         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3256         MACH_PORT_NULL.
3258 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3260         * math/s_fdim.c: Avoid alias renamed.
3261         * math/s_fdimf.c: Likewise.
3262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3263         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3264         Add s_fdimf-vis3, s_fdim-vis3.
3265         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3266         (CFLAGS-s_fdim-vis3.c): Likewise.
3267         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3268         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3270 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3273         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3274         Remove s_fdimf-vis3, s_fdim-vis3.
3275         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3276         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3283         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3284         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3286 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3288         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3289         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3290         -Wa,-Av9a -mvis.
3292 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3294         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3295         LIT() to individual constants in simple expressions
3296         after splitting on spaces.
3297         (_apply_lit): Rename replaced version, and use it to
3298         apply to what appears to be a token.
3300         * math/libm-test.inc: Fix many, many issues with
3301         spacing.
3303 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3305         * math/math.h: Move comment about <bits/mathdef.h> definitions
3306         above inclusion of <bits/mathdef.h>.  Do not mention
3307         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3309 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3311         * include/atomic.h (atomic_exchange_relaxed): New.
3313 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3315         * math/e_scalb.c: Do not include <fenv.h>.
3316         (invalid_fn): Do calculation resulting in NaN instead of raising
3317         FE_INVALID and returning a NaN explicitly.
3318         * math/e_scalbf.c: Do not include <fenv.h>.
3319         (invalid_fn): Do calculation resulting in NaN instead of raising
3320         FE_INVALID and returning a NaN explicitly.
3321         * math/e_scalbl.c: Do not include <fenv.h>.
3322         (invalid_fn): Do calculation resulting in NaN instead of raising
3323         FE_INVALID and returning a NaN explicitly.
3325 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3327         * po/de.po: Updated from Translation Project.
3328         * po/fi.po: Likewise.
3329         * po/sv.po: Likewise.
3331 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3333         [BZ #20452]
3334         Use sysdep.o from libc.a in static libraries.
3335         * sysdeps/unix/sysv/linux/i386/Makefile
3336         (libpthread-shared-only-routines): Add sysdep.
3337         (librt-shared-only-routines): Likewise.
3339 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3341         * math/tgmath.h (nextdown): Define if
3342         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3343         (nextup): Likewise.
3345         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3346         macro.
3347         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3348         Document.
3349         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3350         Document macro.
3351         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3352         (exp10f): Likewise.
3353         (exp10l): Likewise.
3354         * math/bits/mathcalls.h (exp10): Declare if
3355         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3357         * manual/arith.texi (nextup): Fix typo in last change.
3359 2016-08-03  Zack Weinberg  <zackw@panix.com>
3361         [BZ #19239]
3362         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3363         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3364         define major, minor, and makedev to issue deprecation warnings on use.
3365         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3366         previously-activated deprecation warnings for these macros and prevent
3367         subsequent inclusions of this header from having any effect.
3368         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3369         including <sys/sysmacros.h>, and undefine it again afterward.
3371 2016-08-03  Zack Weinberg  <zackw@panix.com>
3373         * sysdeps/generic/sys/sysmacros.h: Delete file.
3374         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3375         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3376         * bits/sysmacros.h: ... here; this encoding is now the generic
3377         encoding.  Now defines only the following macros:
3378         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3379         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3380         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3382         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3383         bits/sysmacros.h and the above new macros to generate the
3384         public implementations of major, minor, and makedev.
3385         * misc/tst-makedev.c: New test.
3386         * include/sys/sysmacros.h: New wrapper.
3388         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3389         (routines): Add makedev.
3390         (tests): Add tst-makedev.
3391         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3392         gnu_dev_makedev.
3393         * posix/Makefile (headers): Remove sys/sysmacros.h.
3394         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3396         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3397         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3398         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3399         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3400         * sysdeps/unix/sysv/linux/arm/libc.abilist
3401         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3402         * sysdeps/unix/sysv/linux/i386/libc.abilist
3403         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3404         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3405         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3406         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3407         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3408         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3409         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3410         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3411         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3416         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3417         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3418         * sysdeps/unix/sysv/linux/sh/libc.abilist
3419         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3420         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3423         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3424         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3425         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3426         Add GLIBC_2.25.
3428         * include/features.h (__glibc_clang_prereq): New macro.
3429         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3430         (__attribute_deprecated_msg__): New macros.
3432 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3434         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3435         macro.
3436         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3437         * manual/arith.texi (issignaling): Document as ISO from TS
3438         18661-1:2014.
3439         (nextup): Likewise.
3440         (nextupf): Likewise.
3441         (nextupl): Likewise.
3442         (nextdown): Likewise.
3443         (nextdownf): Likewise.
3444         (nextdownl): Likewise.
3445         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3446         macro.
3447         * math/math.h: Define
3448         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3449         <bits/libc-header-start.h> instead of including <features.h>.
3450         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3451         [__USE_GNU].
3452         * math/bits/mathcalls.h (nextdown): Declare if
3453         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3454         (nextup): Likewise.
3455         (__issignaling): Likewise.
3457 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3459         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3460         check, and remove __glibc_likely hint
3461         from FP_INFINITE check.
3462         * s_csinhf.c (__csinhf): Likewise.
3464         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3465         hint from FP_INFINITE check.
3466         * s_csinhl.c (__csinhl): Likewise.
3468 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3470         * math/Makefile (libm-calls): Insert F placeholder into
3471         object names.  Move w_lgamma_compat* routines into
3472         (libm-compat-calls): New variable.
3473         (libm-compat-calls-ldouble-yes): New variable.
3474         (calls): Insert F placeholder.
3475         (generated): Redefine using new type-foreach macro call.
3476         (routines): Likewise.
3478         (types): New variable to hold a list of symbolic names
3479         for each type supported by the target machine.
3480         (libm-routines): Redefine using new types variable.
3481         (type-foreach): macro to replace fooF with the
3482         appropriately suffixed foo for each types.
3484         (type-ldouble-suffix): New variable.
3485         (type-ldouble-routines): Likewise.
3486         (type-ldouble-yes): Likewise.
3487         (type-double-suffix): Likewise.
3488         (type-double-routines): Likewise.
3489         (type-float-suffix): Likewise.
3490         (type-float-routines): Likewise.
3492         (dbl-only-routines): Remove.
3493         (long-c-yes): Likewise.
3494         (long-m-routines): Likewise.
3495         (long-m-support): Likewise.
3496         (long-m-yes): Likewise.
3497         (test-longdouble-yes): Likewise.
3499         (test-float.o): Simplify by increasing the scope of the
3500         recipe which adds libm-test.stmp to the vector types.
3501         (test-ifloat.o): Likewise.
3502         (test-float-finite.o): Likewise.
3503         (test-double.o): Likewise
3504         (test-idouble.o): Likewise.
3505         (test-double-finite.o): Likewise.
3506         (test-ldouble.o): Likewise
3507         (test-ildoubl.o): Likewise.
3508         (test-ldouble-finite.o): Likewise.
3510         (libm-tests): Redefine type tests using foreach and the
3511         list of types in types.
3513         (CPPFLAGS-test-ildoubl.c): Rename to
3514         (CPPFLAGS-test-ildouble.c): New variable
3516         * math/test-ildoubl.c: Rename to
3517         * math/test-ildouble.c: New file.
3519 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3521         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3522         Use fabsl instead of fabs.
3523         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3524         Likewise.
3525         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3526         Add long double suffix to constant to ensure proper
3527         promotion to long double.
3529 2016-08-03  Tom Tromey  <tom@tromey.com>
3531         [BZ #20311]
3532         * nptl_db/Makefile (headers): Add proc_service.h.
3533         * nptl_db/proc_service.h: Add include guard.  Use
3534         __BEGIN/__END_DECLS.
3535         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3536         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3537         arguments.
3540 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3542         [BZ #17730]
3543         Avoid using memalign for TCB allocations.
3544         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3545         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3546         Avoid alignment gap in the TLS_DTV_AT_TP case.
3547         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3548         determine the pointer to free.
3549         * nptl/tst-tls3-malloc.c: New test.
3550         * nptl/Makefile (tests): Add it.
3551         (tst-tls3-malloc): Link with libdl, libpthread.
3552         (LDFLAGS-tst-tls3-malloc): Set.
3553         (tst-tls3-malloc.out): Depend on DSO used in test.
3555 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3557         [BZ #17730]
3558         Avoid using memalign for TLS allocations.
3559         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3560         is_static member with to_free member.
3561         (union dtv): Use struct dtv_pointer.
3562         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3563         dtv_pointer instead of is_static.
3564         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3565         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3566         instead of val.
3567         (allocate_dtv_entry): New function.
3568         (allocate_and_init): Return struct dtv_pointer.  Call
3569         allocate_dtv_entry instead of __libc_memalign.
3570         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3571         instead of val.
3572         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3573         instead of is_static.  Adjust call to allocate_and_init.
3574         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3575         struct dtv_pointer instead of val.
3577 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3579         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3580         (MALLOC_ALIGN_MASK): Move ...
3581         * malloc/malloc-internal.h: ... to here.
3582         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3584 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3586         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3587         (UDP_ENCAP_GTP1U): Likewise.
3589         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3590         (PF_MAX): Update value.
3591         (AF_QIPCRTR): New macro.
3593 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3595         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3596         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3597         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3598         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3599         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3600         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3601         s_truncf-vis3, s_trunc-vis3.
3602         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3603         (CFLAGS-s_ceil-vis3.c): Likewise.
3604         (CFLAGS-s_floorf-vis3.c): Likewise.
3605         (CFLAGS-s_floor-vis3.c): Likewise.
3606         (CFLAGS-s_truncf-vis3.c): Likewise.
3607         (CFLAGS-s_trunc-vis3.c): Likewise.
3608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3610         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3612         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3613         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3615         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3616         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3617         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3618         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3619         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3621 2016-08-02  David S. Miller  <davem@davemloft.net>
3623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3624         (__nearbyint_vis3): Don't check for sNaN before float register is
3625         loaded with the incoming argument.
3626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3627         (__nearbyintf_vis3): Likewise.
3628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3629         Likewise.
3630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3631         Likewise.
3633         * string/test-strncmp.c (do_test_limit): Make sure the test data
3634         stream is aligned as required for the type "CHAR".
3635         (do_test): Likewise.
3637 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3639         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3640         by beq instructions jumping to the end of the function.
3641         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3642         clobber list. Use "i" constraint instead of "X".
3643         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3644         of "X".
3646 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3648         * bits/libc-header-start.h: New file.
3649         * Makefile (headers): Add bits/libc-header-start.h.
3650         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3651         (__GLIBC_USE): New macro.
3652         * libio/stdio.h: Define
3653         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3654         <bits/libc-header-start.h> instead of including <features.h>.
3655         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3656         (open_memstream): Likewise.
3657         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3658         (__asprintf): Likewise.
3659         (asprintf): Likewise.
3660         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3661         (getdelim): Likewise.
3662         (getline): Likewise.
3663         * string/string.h: Define
3664         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3665         <bits/libc-header-start.h> instead of including <features.h>.
3666         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3667         (strndup): Likewise.
3668         * wcsmbs/wchar.h: Define
3669         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3670         <bits/libc-header-start.h> instead of including <features.h>.
3671         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3672         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3674 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3676         Support linking against compatibility symbols, for use in tests.
3677         * include/libc-symbols.h (symbol_version_reference): New macro.
3678         (symbol_version): Use it.
3679         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3680         (compat_symbol): Use compat_symbol_reference.
3681         (compat_symbol_1, compat_symbol_2): Remove.
3682         (compat_symbol_reference, compat_symbol_reference_1)
3683         (compat_symbol_reference_2): New macro.  Use
3684         symbol_version_reference.
3686 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3688         [BZ #19469]
3689         * malloc/Makefile (CPPFLAGS): Compile tests with
3690         -DTEST_NO_MALLOPT.
3691         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3693 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3695         [BZ #20033]
3696         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3697         finite version.
3698         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3699         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3700         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3701         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3702         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3703         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3704         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3705         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3706         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3707         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3708         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3709         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3710         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3711         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3712         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3713         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3714         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3715         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3716         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3717         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3718         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3719         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3720         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3721         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3722         in zero power.
3724 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3726         [BZ #20370]
3727         * malloc/arena.c (get_free_list): Update comment.  Assert that
3728         arenas on the free list have no attached threads.
3729         (remove_from_free_list): New function.
3730         (reused_arena): Call it.
3732 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3734         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3735         when it is a NaN.
3736         [_IEEE_FP_INEXACT] Remove.
3737         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3738         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3739         when it is a NaN.
3740         [_IEEE_FP_INEXACT] Remove.
3741         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3742         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3743         when it is a NaN.
3744         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3745         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3746         when its absolute value is greater than 0x1.0p52.
3747         [_IEEE_FP_INEXACT] Remove.
3748         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3749         when its absolute value is greater than 0x1.0p23.
3750         [_IEEE_FP_INEXACT] Remove.
3752 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3754         * version.h (RELEASE): Set to "development"
3755         (VERSION): Set to 2.24.90.
3756         * NEWS: Add 2.25 section.
3758         * version.h (RELEASE): Set to "stable"
3759         (VERSION): Set to 2.24.
3760         * include/features.h (__GLIBC_MINOR__): Set to 24.
3762         * NEWS: Add 2.24 fixed bugs.
3763         * po/libc.pot: Regenerate.
3765 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3768         [$(subdir) = math] (libm-sysdep_routines): Remove.
3769         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3770         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3771         s_truncf-vis3, s_trunc-vis3.
3772         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3774         file.
3775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3796         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3797         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3799         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3800         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3802         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3803         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3806         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3808         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3809         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3810         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3811         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3812         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3813         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3814         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3815         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3816         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3817         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3819 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3821         [BZ #20384]
3822         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3823         test-double-libmvec-sincos-avx-main.o,
3824         test-double-libmvec-sincos-avx2-main.o,
3825         test-double-libmvec-sincos-main.o,
3826         test-float-libmvec-sincosf-avx-main.o,
3827         test-float-libmvec-sincosf-avx2-main.o and
3828         test-float-libmvec-sincosf-main.o.
3829         test-float-libmvec-sincosf-avx512-main.o.
3830         ($(objpfx)test-double-libmvec-sincos): Also link with
3831         $(objpfx)test-double-libmvec-sincos-main.o.
3832         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3833         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3834         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3835         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3836         ($(objpfx)test-float-libmvec-sincosf): Also link with
3837         $(objpfx)test-float-libmvec-sincosf-main.o.
3838         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3839         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3840         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3841         test-double-libmvec-sincos-avx512-main.o and
3842         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3843         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3844         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3845         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3846         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3847         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3848         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3849         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3850         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3851         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3852         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3853         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3854         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3855         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3856         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3857         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3858         -DREQUIRE_AVX2.
3859         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3860         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3861         -DREQUIRE_AVX512F.
3862         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3863         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3864         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3865         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3866         file.
3867         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3868         Likewise.
3869         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3870         Likewise.
3871         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3872         Likewise.
3873         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3874         Likewise.
3875         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3876         Likewise.
3877         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3878         Likewise.
3879         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3880         Likewise.
3882 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3884         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3886 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3888         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3889         and typo in a comment about AT_HWCAP entry.
3891 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3893         * sysdeps/aarch64/libm-test-ulps: Updated.
3895 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3897         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3898         of r13 as it is not restored in mvcle case.
3900 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3902         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3903         Rename "ret" to "__ret".
3904         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3905         inline_syscall5, inline_syscall6): Likewise.
3907 2016-07-19   Will Newton  <will.newton@gmail.com>
3909         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3910         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3911         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3912         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3913         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3915 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3917         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3918         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3919         -mfpmath=387 with $(rtld-CFLAGS).
3920         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3921         $(rtld-CFLAGS).
3923 2016-07-18   Ross Burton  <ross.burton@intel.com>
3924              Khem Raj  <raj.khem@gmail.com>
3926         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3927         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3928         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3929         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3930         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3931         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3932         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3933         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3934         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3935         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3936         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3937         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3938         R_METAG_TLS_DTPOFF): New.
3940 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3941             Matt Clay  <mclay@lycos.com>
3943         [BZ #20357]
3944         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3945         to call __mpsin/__mpcos and to negate values.
3946         * math/auto-libm-test-in: Add test.
3947         * math/auto-libm-test-out: Regenerate.
3949 2016-07-18  Zack Weinberg  <zackw@panix.com>
3951         * grp/Makefile: Don't install the internal header grp-merge.h.
3953 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3955         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3957 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3959         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3961 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3963         [BZ #15368]
3964         * sysdeps/unix/sysv/linux/nptl-signals.h
3965         (__nptl_clear_internal_signals): New function.
3966         (__libc_signal_block_all): Likewise.
3967         (__libc_signal_block_app): Likewise.
3968         (__libc_signal_restore_set): Likewise.
3969         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3970         implementation.
3971         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3972         the cached pid/tid value in pthread structure.
3974 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3976         [BZ #20347]
3977         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3979 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3981         [BZ #20348]
3982         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3983         preadv64, pwrite64 and pwritev64.
3985 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3987         [BZ #20350]
3988         * posix/tst-preadwrite.c: Renamed to ...
3989         * posix/tst-preadwrite-common.c: This.
3990         (PREAD): Removed.
3991         (PWRITE): Likewise.
3992         (STRINGIFY): Likewise.
3993         (STRINGIFY2): Likewise.
3994         (do_prepare): Make it static and remove function arguments.
3995         (do_test): Likewise.
3996         (PREPARE): Updated.
3997         (TEST_FUNCTION): New.
3998         (name): Make it static.
3999         (fd): Likewise.
4000         (do_prepare): Use create_temp_file.
4001         (do_test): Renamed to ...
4002         (do_test_with_offset): This.  Make it static and accept offset.
4003         Properly check return value of PWRITE and PREAD.  Return bytes
4004         read.  Don't close fd nor unlink name.
4005         * posix/tst-preadwrite.c: Rewrite.
4006         * posix/tst-preadwrite64.c: Likewise.
4008 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4010         [BZ #20309]
4011         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
4012         -mtls-dialect=gnu2 works.
4013         * configure: Regenerated.
4014         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
4015         (tests): Add tst-gnu2-tls1.
4016         (modules-names): Add tst-gnu2-tls1mod.
4017         ($(objpfx)tst-gnu2-tls1): New.
4018         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
4019         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
4020         * elf/tst-gnu2-tls1.c: New file.
4021         * elf/tst-gnu2-tls1mod.c: Likewise.
4022         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
4023         bytes for push in the PLT entry to align the stack.
4025 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4027         [BZ #20349]
4028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
4030 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4032         [BZ #18707]
4033         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
4034         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
4036 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4038         * sysdeps/unix/sysv/linux/sysdep.h
4039         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
4040         guards.
4041         * misc/tst-preadvwritev-common.c: New file.
4042         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
4043         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
4044         a check for files larger than 2GB.
4046         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4047         (__ASSUME_OFF_DIFF_OFF64): Remove define.
4048         * sysdeps/unix/sysv/linux/pread.c
4049         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
4050         __OFF_T_MATCHES_OFF64_T.
4051         * sysdeps/unix/sysv/linux/pread64.c
4052         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
4053         * sysdeps/unix/sysv/linux/preadv.c
4054         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
4055         * sysdeps/unix/sysv/linux/preadv64.c
4056         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
4057         * sysdeps/unix/sysv/linux/pwrite.c
4058         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
4059         * sysdeps/unix/sysv/linux/pwrite64.c
4060         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
4061         * sysdeps/unix/sysv/linux/pwritev.c
4062         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
4063         * sysdeps/unix/sysv/linux/pwritev64.c
4064         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
4066 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
4068         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4069         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
4071 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4073         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
4075 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4077         [BZ #20240]
4078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4079         (CFLAGS-s_modf-ppc32.c): New variable.
4080         (CFLAGS-s_modff-ppc32.c): Likewise.
4081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4082         (CFLAGS-s_modf-ppc64.c): Likewise.
4083         (CFLAGS-s_modff-ppc64.c): Likewise.
4085 2016-07-07  Andreas Schwab  <schwab@suse.de>
4087         [BZ #20263]
4088         * nptl/tst-robust10.c: New test.
4089         * nptl/Makefile (tests): Add tst-robust10.
4091 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
4093         [BZ #20263]
4094         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
4096 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4098         * sysdeps/s390/linkmap.h (struct link_map_machine):
4099         Remove member gotplt and add member jmprel.
4100         * sysdeps/s390/s390-32/dl-machine.h
4101         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
4102         instead of gotplt with &got[3].
4103         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
4104         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4106 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
4108         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
4110 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4112         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
4113         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
4114         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4115         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
4116         * libio/vtables.c (_IO_vtable_check)
4117         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4118         * libio/libioP.h (IO_set_accept_foreign_vtables)
4119         [!PTR_MANGLE]: Do not call PTR_MANGLE.
4121 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
4123         [BZ #20314]
4124         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4125         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4126         $(common-objpfx)cmath.
4127         ($(common-objpfx)cstdlib): New target.
4128         ($(common-objpfx)cmath): Likewise.
4130 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
4132         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4134 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4136         [BZ #20327]
4137         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4138         are not part of the string.
4140 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4142         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4143         * nptl/tst-cancel4-common.h (fifoname): New variable.
4144         (fifofd): Likewise.
4145         (cl_fifo): New function.
4146         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4147         SIGINT.
4148         (tf_open): Add early cancel test.
4150 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4152         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
4154 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
4156         * sysdeps/generic/ldsodefs.h
4157         (dl_symbol_visibility_binds_local_p): New inline function.
4158         * elf/dl-addr.c (determine_info): Treat hidden and internal
4159         symbols as local.
4160         * elf/dl-lookup.c (do_lookup_x): Likewise.
4161         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4163 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4165         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4166         invalid exception for a sNaN input.
4167         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4168         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4169         (__nearbyint_vis3): Likewise
4170         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4171         (__nearbyintf_vis3): Likewise
4172         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4173         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4174         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4175         Likewise.
4176         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4177         Likewise.
4179 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4181         [BZ #20139]
4182         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4183         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4184         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4185         2.24 or above.
4186         (HAVE_AVX512_ASM_SUPPORT): Removed.
4187         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4188         * sysdeps/x86_64/configure: Regenerated.
4189         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4190         check unconditional.
4191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4192         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4193         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4194         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4195         Likewise.
4196         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4197         Likewise.
4198         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4199         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4200         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4201         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4202         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4203         Likewise.
4204         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4205         Likewise.
4206         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4207         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4208         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4209         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4210         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4211         Likewise.
4212         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4213         Likewise.
4214         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4215         Likewise.
4216         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4217         Likewise.
4218         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4219         Likewise.
4220         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4221         Likewise.
4222         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4223         Likewise.
4224         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4225         Likewise.
4226         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4227         Likewise.
4228         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4229         Likewise.
4230         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4231         Likewise.
4233 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4235         [BZ #20024]
4236         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4237         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4238         of this implementation of vector function.
4239         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4240         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4241         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4242         Likewise.
4243         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4245         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4246         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4247         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4248         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4249         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4250         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4251         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4252         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4253         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4254         for testing vector sincos with fixed ABI.
4255         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4256         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4257         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4258         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4259         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4260         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4261         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4262         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4263         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4264         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4265         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4266         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4267         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4268         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4269         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4270         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4272 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4274         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4276 2016-06-30  Anton Blanchard  <anton@samba.org>
4278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4279         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4280         s_sinf-ppc64.
4281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4284         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4286 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4289         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4290         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4291         e_expf-ppc64.
4292         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4293         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4294         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4295         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4297 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4299         [BZ #20277]
4300         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4301         when SHARED is defined.
4303 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4305         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4306         (index_arch_Prefer_ERMS): Likewise.
4307         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4308         __memcpy_erms for Prefer_ERMS.
4309         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4310         (__memmove_erms): Enabled for libc.a.
4311         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4312         __memmove_erms or Prefer_ERMS.
4313         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4314         __mempcpy_erms for Prefer_ERMS.
4315         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4316         __memset_erms for Prefer_ERMS.
4318 2016-06-30  Andreas Schwab  <schwab@suse.de>
4320         [BZ #20262]
4321         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4322         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4323         of memory.
4325 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4327         [BZ #18645]
4328         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4329         (test-extras): Add tst-cleanupx4aux.
4330         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4331         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4332         tst-cleanupx4aux.o.
4333         * nptl/tst-cleanupx4aux.c: New file.
4335 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4337         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4339 2016-06-29  Andreas Schwab  <schwab@suse.de>
4341         [BZ #20260]
4342         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4343         address before the beginning of the string as an integer to avoid
4344         array-bounds warning.
4346 2016-06-28  Richard Henderson  <rth@redhat.com>
4348         * elf/elf.h (EM_BPF): New.
4349         (EM_NUM): Update.
4350         (R_BPF_NONE, R_BPF_MAP_FD): New.
4352         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4353         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4354         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4355         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4356         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4357         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4358         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4359         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4360         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4361         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4362         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4363         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4364         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4365         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4366         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4367         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4368         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4369         (EM_NUM): Update.
4371 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4373         [BZ #18960]
4374         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4375         Set _nl_current_LC_CATEGORY_used to two instead of one.
4377 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4379         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4380         (do_test): ... this.
4381         (TEST_FUNCTION): New macro.
4382          Include test-skeleton.c.
4383         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4384         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4386 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4388         [BZ #15479]
4389         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4390         floating-point environment rather than just control word.
4391         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4392         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4393         floating-point environment, with "invalid" exceptions merged in,
4394         rather than just control word.
4395         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4396         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4397         "inexact" exceptions.
4399         [BZ #15479]
4400         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4401         floating-point environment rather than just control word.
4402         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4403         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4404         floating-point environment, with "invalid" exceptions merged in,
4405         rather than just control word.
4406         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4407         * math/libm-test.inc (floor_test_data): Do not allow spurious
4408         "inexact" exceptions.
4410         [BZ #15479]
4411         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4412         floating-point environment rather than just control word.
4413         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4414         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4415         floating-point environment, with "invalid" exceptions merged in,
4416         rather than just control word.
4417         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4418         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4419         "inexact" exceptions.
4421 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4423         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4424         __libc_vfork.
4425         (__vfork) [IS_IN (libc)]: Remove alias.
4426         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4427         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4428         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4430 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4432         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4433         of atomic_compare_and_exchange_bool_rel.
4434         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4435         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4436         catomic_compare_and_exchange_bool_rel): Remove.
4437         * sysdeps/aarch64/atomic-machine.h
4438         (atomic_compare_and_exchange_bool_rel): Likewise.
4439         * sysdeps/alpha/atomic-machine.h
4440         (atomic_compare_and_exchange_bool_rel): Likewise.
4441         * sysdeps/arm/atomic-machine.h
4442         (atomic_compare_and_exchange_bool_rel): Likewise.
4443         * sysdeps/mips/atomic-machine.h
4444         (atomic_compare_and_exchange_bool_rel): Likewise.
4445         * sysdeps/microblaze/atomic-machine.h
4446         ( __arch_compare_and_exchange_bool_8_rel,
4447         __arch_compare_and_exchange_bool_16_rel): Likewise.
4448         * sysdeps/powerpc/atomic-machine.h
4449         ( __arch_compare_and_exchange_bool_8_rel,
4450         __arch_compare_and_exchange_bool_16_rel): Likewise.
4451         * sysdeps/powerpc/powerpc32/atomic-machine.h
4452         ( __arch_compare_and_exchange_bool_32_rel,
4453         __arch_compare_and_exchange_bool_64_rel): Likewise.
4454         * sysdeps/powerpc/powerpc64/atomic-machine.h
4455         ( __arch_compare_and_exchange_bool_32_rel,
4456         __arch_compare_and_exchange_bool_64_rel): Likewise.
4457         * sysdeps/tile/atomic-machine.h
4458         (atomic_compare_and_exchange_bool_rel): Likewise.
4460 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4462         [BZ #20296]
4463         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4464         when either argument is a NaN.
4465         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4466         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4468         * math/libm-test.inc (snan_value_ld): New macro.
4469         (isgreater_test_data): Add sNaN tests.
4470         (isgreaterequal_test_data): Likewise.
4471         (isless_test_data): Likewise.
4472         (islessequal_test_data): Likewise.
4473         (islessgreater_test_data): Likewise.
4474         (isunordered_test_data): Likewise.
4475         (nextafter_test_data): Likewise.
4476         (nexttoward_test_data): Likewise.
4477         (remainder_test_data): Likewise.
4478         (remquo_test_data): Likewise.
4479         (significand_test_data): Likewise.
4480         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4482 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4484         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4485         environment macros are defined.
4486         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4488 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4490         [BZ #20191]
4491         Implement vtable verification in libio.
4492         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4493         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4494         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4495         _IO_new_file_init_internal instead of _IO_file_init.
4496         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4497         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4498         * libio/Makefile (routines): Add vtables.
4499         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4500         (_IO_init): Remove, not for internal use.
4501         (_IO_init_internal): Declare, internal replacement for _IO_init.
4502         (_IO_file_init): Remove, not for internal use.
4503         (_IO_new_file_init): Remove, not for internal use.
4504         (_IO_new_file_init_internal): Declare, internal replacement for
4505         _IO_new_file_init.
4506         (_IO_old_file_init): Remove, not for internal use.
4507         (_IO_old_file_init_internal): Declare, internal replacement for
4508         _IO_old_file_init.
4509         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4510         internal use.
4511         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4512         Declare.
4513         (libio_vtable): New macro.
4514         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4515         functions.
4516         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4517         _IO_new_file_init.
4518         (_IO_new_file_init): New externally visible wrapper which disables
4519         vtable verification.
4520         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4521         Define as vtables.
4522         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4523         (_IO_init): New externally visible wrapper which disables
4524         vtable verification.
4525         * libio/iofdopen.c (_IO_new_fdopen): Call
4526         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4527         comment.
4528         * libio/iofopen.c (__fopen_internal): Call
4529         _IO_new_file_init_internal instead of _IO_file_init.
4530         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4531         Define as vtables.
4532         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4533         _IO_new_file_init_internal instead of _IO_file_init.
4534         * libio/iopopen.c (_IO_new_popen): Likewise.
4535         (_IO_proc_jumps): Define as vtable.
4536         * libio/iovdprintf.c (_IO_vdprintf): Call
4537         _IO_new_file_init_internal instead of _IO_file_init.
4538         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4539         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4540         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4541         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4542         _IO_old_file_init.
4543         (_IO_old_file_init): New externally visible wrapper which disables
4544         vtable verification.
4545         (_IO_old_file_jumps): Define as vtable.
4546         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4547         _IO_old_file_init_internal instead of _IO_old_file_init.
4548         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4549         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4550         (_IO_old_proc_jumps): Define as vtable.
4551         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4552         Define as vtables.
4553         * libio/vtables.c: New file.
4554         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4555         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4556         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4557         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4558         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4559         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4560         instead of _IO_init.
4562 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4564         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4566 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4568         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4569         potentially unused.
4571 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4573         * test-skeleton.c (write_message): New function.
4574         * malloc/tst-mallocfork2.c (write_message): Remove.
4575         * debug/tst-longjmp_chk2.c (write_indented): New function.
4576         (write_message): Remove.
4577         (stackoverflow_handler): Call write_indented.
4579 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4581         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4582         "inexact" exceptions after fnstenv.
4583         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4584         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4585         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4587 2015-06-22  Zack Weinberg  <zackw@panix.com>
4589         * sysdeps/generic/bits/hwcap.h: Moved to ...
4590         * bits/hwcap.h: Here.
4592 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4594         * sysdeps/aarch64/memcpy.S (memcpy):
4595         Further tuning for performance.
4597 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4599         [BZ #20284]
4600         * malloc/arena.c (reused_arena): Do not return NULL if we start
4601         out with a non-corrupted arena.
4603 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4605         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4606         * misc/tst-preadvwritev.c: New file.
4607         * misc/tst-preadvwritev64.c: Likewise.
4608         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4609         usage.
4610         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4611         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4612         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4613         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4615 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4617         [BZ #19654]
4618         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4619         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4620         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4621         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4622         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4623         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4624         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4625         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4626         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4627         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4628         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4629         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4630         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4631         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4632         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4633         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4634         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4635         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4636         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4637         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4638         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4639         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4640         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4641         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4642         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4643         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4645 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4647         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4648         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4650 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4652         * sysdeps/aarch64/memcpy.S (memcpy):
4653         Rewrite of optimized memcpy and memmove.
4654         * sysdeps/aarch64/memmove.S (memmove): Remove
4655         memmove code (merged into memcpy.S).
4657 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4659         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4660         * sysdeps/generic/dl-dtv.h: New file.
4661         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4662         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4663         (dtv_t): Remove.
4664         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4665         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4666         (dtv_t): Remove.
4667         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4668         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4669         (dtv_t): Remove.
4670         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4671         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4672         (dtv_t): Remove.
4673         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4674         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4675         (dtv_t): Remove.
4676         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4677         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4678         (dtv_t): Remove.
4679         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4680         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4681         (dtv_t): Remove.
4682         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4683         (dtv_t): Remove.
4684         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4685         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4686         (dtv_t): Remove.
4687         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4688         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4689         (dtv_t): Remove.
4690         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4691         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4692         (dtv_t): Remove.
4693         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4694         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4695         (dtv_t): Remove.
4696         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4697         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4698         (dtv_t): Remove.
4699         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4700         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4701         (dtv_t): Remove.
4702         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4703         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4704         (dtv_t): Remove.
4705         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4706         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4707         (dtv_t): Remove.
4709 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4711         Revert symbol poisoning of  __malloc_initialize_hook.
4712         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4713         poisoning.
4714         * malloc/Makefile: Remove un-poisoning.
4715         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4716         instead of old__malloc_initialize_hook.
4717         * malloc/malloc-hooks.h: Likewise.
4718         * malloc/malloc.c: Likewise.
4719         * malloc/mcheck-init.c: Likewise.
4721 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4723         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4725 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4727         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4728         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4729         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4730         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4732 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4734         * NEWS: Mention addition of nextup and nextdown.
4735         * manual/arith.texi: Document nextup and nextdown.
4736         * manual/libm-err-tab.pl: Add nextup and nextdown.
4737         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4738         * math/Versions (libm): Add GLIBC_2.24.
4739         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4740         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4741         Add new test.
4742         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4743         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4744         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4745         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4746         (nextup_test_data): Likewise.
4747         (nextdown_test_data): Likewise.
4748         * math/s_nextdown.c: New file.
4749         * math/s_nextdownf.c: Likewise.
4750         * math/s_nextdownl.c: Likewise.
4751         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4752         F(nextup): New function.
4753         F(nextdown): Likewise.
4754         * math/tgmath.h: Add nextup and nextdown.
4755         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4756         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4757         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4758         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4759         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4760         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4761         Add nextup and nextdown.
4762         (CFLAGS-nldbl-nextup.c): New variable.
4763         (CFLAGS-nldbl-nextdown.c): Likewise.
4764         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4765         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4766         * sysdeps/nacl/libm.abilist: Update.
4767         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4768         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4769         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4770         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4771         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4772         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4773         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4774         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4775         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4776         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4777         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4778         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4781         Likewise.
4782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4784         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4785         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4786         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4787         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4788         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4791         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4792         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4793         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4794         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4796 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4798         * manual/pattern.texi: Fix typos & grammar errors.
4800 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4802         * manual/search.texi: Fix typos & grammar errors.
4804 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4806         * manual/message.texi: Fix typos & grammar errors.
4808 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4810         * manual/contrib.texi: Fix spelling typos.
4811         * manual/crypt.texi: Likewise.
4812         * manual/filesys.texi: Likewise.
4813         * manual/locale.texi: Likewise.
4814         * manual/message.texi: Likewise.
4815         * manual/nss.texi: Likewise.
4816         * manual/string.texi: Likewise.
4818 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4820         * manual/locale.texi: Fix typos & grammar errors.
4822 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4824         * manual/charset.texi: Fix typos & grammar errors.
4826 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4828         * manual/string.texi: Fix typos.
4830 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4832         * manual/ctype.texi: Fix typos.
4834 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4836         * manual/memory.texi: Fix various typos & grammar errors.
4838 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4840         [BZ #20255]
4841         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4842         * math/libm-test.inc (fdim_test_data): Add another test.
4844         [BZ #6796]
4845         [BZ #20255]
4846         [BZ #20256]
4847         * math/s_fdim.c: Include <math_private.h>.
4848         (__fdim): Use math_narrow_eval on result.
4849         * math/s_fdimf.c: Include <math_private.h>.
4850         (__fdimf): Use math_narrow_eval on result.
4851         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4852         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4853         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4854         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4855         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4856         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4857         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4858         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4859         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4860         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4861         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4862         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4863         overflow.  Add sNaN tests.
4865         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4866         fpclassify.
4867         * math/s_fdimf.c (__fdimf): Likewise.
4868         * math/s_fdiml.c (__fdiml): Likewise.
4870 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4872         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4873         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4875         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4876         ifunc'ed strcasecmp/strncasecmp.
4877         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4878         [EALIGN]: Removed.
4879         [END]: Likewise.
4880         [__strcasecmp]: Define instead of the above to control symbol name.
4881         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4882         for __strcasecmp_power8.
4883         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4884         for __strncasecmp_power8.
4885         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4886         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4887         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4888         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4889         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4890         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4892 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4894         [BZ #20252]
4895         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4896         arguments when second argument is a NaN.
4897         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4898         qNaN tests.
4900         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4901         (conj_test_data): Likewise.
4902         (copysign_test_data): Likewise.
4903         (creal_test_data): Likewise.
4904         (fma_test_data): Likewise.
4905         (fmod_test_data): Likewise.
4907         [BZ #20250]
4908         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4909         itself.
4910         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4911         zero input to itself.
4912         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4913         Likewise.
4914         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4915         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4916         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4917         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4918         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4920 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4922         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4923         * nptl/tst-cancel4-common.c: New file.
4924         * nptl/tst-cancel4-common.h: Likewise.
4925         * nptl/tst-cancel4.c: Move common definitions to
4926         tst-cancel4-common.{c,h} file.
4927         * nptl/tst-cancel4_1.c: New test.
4928         * nptl/tst-cancel4_2.c: New test.
4930 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4932         [BZ #20248]
4933         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4934         (write_message): New function.
4935         (stackoverflow_handler): Call it instead of printf, to avoid
4936         excessive stack usage by printf.
4937         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4939 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4941         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4942         (prio_inherit_missing): Remove define.
4943         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4944         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4945         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4946         Likewise.
4947         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4948         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4949         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4950         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4951         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4952         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4954 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4956         [BZ #19670]
4957         [BZ #19672]
4959         * io/test-lfs.c (do_prepare): Use xmalloc.
4960         * io/tst-fcntl.c (do_prepare): Likewise.
4961         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4962         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4963         * login/tst-utmp.c (do_prepare): Likewise.
4964         * posix/tst-exec.c (do_prepare): Likewise.
4965         * posix/tst-pathconf.c (prepare): Likewise.
4966         * posix/tst-spawn.c (do_prepare): Likewise.
4967         * posix/tst-truncate.c (do_prepare): Likewise.
4968         * rt/tst-aio.c (do_prepare): Likewise.
4969         * rt/tst-aio64.c (do_prepare): Likewise.
4971 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4973         [BZ #20237]
4974         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4975         (get*ent): Set entidx to NULL during initialization.  If entidx is
4976         NULL, start iteration from the beginning.
4978 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4980         * malloc/malloc.c (musable): Return correct size for dumped fake
4981         mmapped chunk.
4983 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4985         [BZ #20222]
4986         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4987         (_IO_cookie_write): Likewise.
4988         (_IO_cookie_seek): Likewise.
4989         (_IO_cookie_close): Likewise.
4990         (_IO_old_cookie_seek): Likewise.
4991         (set_callbacks): New function.
4992         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4994 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4996         * locale/programs/localedef.c (oldstyle_tables): Remove.
4997         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4999 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
5001         [BZ #20240]
5002         * math/Makefile (CFLAGS-s_modf.c): New variable.
5003         (CFLAGS-s_modff.c): Likewise.
5004         (CFLAGS-s_modfl.c): Likewise.
5005         * math/libm-test.inc (modf_test_data): Add sNaN tests.
5007 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
5009         [BZ #20215]
5010         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
5011         [!__GNUC_PREREQ (3,2)]: Likewise.
5013 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5015         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
5016         (msghdr.msg_controllen): Likewise.
5017         (cmsghdr.cmsg_len): Likewise.
5018         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
5019         ptw-oldsendmsg.
5020         (CFLAGS-oldrecvmsg.c): Remove rule.
5021         (CFLAGS-oldsendmsg.c): Likewise.
5022         (CFLAGS-recvmsg.c): Add rule.
5023         (CFLAGS-sendmsg.c): Likewise.
5024         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5025         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
5026         (CFLAGS-recvmsg.c): Remove rule.
5027         (CFLAGS-sendmsg.c): Likewise.
5028         (CFLAGS-oldrecvmsg.c): Likewise.
5029         (CFLAGS-oldsendmsg.c): Likewise.
5030         (CFLAGS-recvmmsg.c): Likewise.
5031         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
5032         to kernel defined interfaces.
5033         (msghdr.msg_controllen): Likewise.
5034         (cmsghdr.cmsg_len): Likewise.
5035         (msghdr.__glibc_reserved1): Remove member.
5036         (msghdr.__glibc_reserved2): Likewise.
5037         (cmsghdr.__glibc_reserved1): Likewise.
5038         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
5039         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
5040         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5041         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5042         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
5043         version.
5044         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5045         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
5046         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5047         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
5048         Remove recvmsg and sendmsg.
5049         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
5050         Likewise.
5051         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5052         Likewise.
5053         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5054         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5055         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5056         Likewise.
5057         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5058         Likewise.
5059         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
5060         [libc] (GLIBC_2.24): Likewise.
5061         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5062         Likewise.
5063         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5064         Likewise.
5065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5066         [libc] (GLIBC_2.24): Likewise.
5067         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5068         Likewise.
5069         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5070         Likewise.
5071         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5072         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5073         Likewise.
5074         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5075         Likewise.
5076         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5077         Likewise.
5078         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
5079         Likewise.
5080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
5081         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
5082         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
5083         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
5084         version for {recv,send,recm,sendm}msg.
5085         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5086         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5087         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5088         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5089         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5090         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5091         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5092         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5093         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5094         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5095         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5096         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5098         Likewise.
5099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5100         Likewise.
5101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5103         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5104         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5105         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5106         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5107         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5108         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5111         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5112         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5113         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5115 2016-06-10  Florian Weimer  <fweimer@redhat.com>
5117         [BZ #19564]
5118         Remove __malloc_initialize_hook from the API.
5119         * malloc/malloc.h (__malloc_initialize_hook): Remove.
5120         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
5121         #pragma GCC poison.
5122         * malloc/malloc-hooks.h: New file.
5123         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5124         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5125         (old__malloc_initialize_hook): Rename from
5126         __malloc_initialize_hook to evade poisoning.  Turn into compat
5127         symbol.
5128         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5129         __malloc_initialize_hook.
5130         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5131         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5132         * manual/memory.texi (Hooks for Malloc): Remove
5133         __malloc_initialize_hook.  Adjust hook example.
5135 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
5137         [BZ #20235]
5138         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5139         itself.
5140         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5141         * math/libm-test.inc (log2_test_data): Add sNaN tests.
5143         [BZ #20234]
5144         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5145         infinity or NaN input to itself.
5147         [BZ #20233]
5148         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
5149         to itself.
5151         [BZ #20232]
5152         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5153         itself.
5155 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5157         * sysdeps/x86_64/start.S (_start): Always indirect branch to
5158         __libc_start_main via GOT.
5160 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5162         * sysdeps/x86_64/memcopy.h: New file.
5163         * sysdeps/x86_64/wordcopy.c: Likewise.
5165 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5167         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5168         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5169         <cstdlib>.
5170         (optimization_barrier): New.
5171         (do_test): Use it.  Call quick_exit in the global namespace.
5172         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5173         instead of <cstdlib>, <thread>.
5174         (optimization_barrier): New.
5175         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5176         Call quick_exit in the global namespace.
5177         (do_test): Call optimization_barrier.  Use pthread_create,
5178         pthread_join instead of std::thread.
5180 2016-06-09  Andreas Schwab  <schwab@suse.de>
5182         [BZ #19755]
5183         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5184         new entries in auto-propagate mode.
5185         * nscd/grpcache.c (cache_addgr): Likewise.
5187 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5189         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5190         New functions.
5191         (add_temp_file): Use them.
5193 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5195         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5197 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5199         [BZ #20229]
5200         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5201         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5202         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5204         [BZ #20228]
5205         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5206         itself.
5207         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5208         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5210         [BZ #20227]
5211         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5212         itself.
5213         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5214         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5215         * math/libm-test.inc (log_test_data): Add sNaN tests.
5217         [BZ #20226]
5218         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5219         itself.
5220         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5221         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5222         (exp10_test_data): Likewise.
5223         (expm1_test_data): Likewise.
5225         [BZ #20225]
5226         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5227         itself.
5228         * math/s_ldexpf.c (__ldexpf): Likewise.
5229         * math/s_ldexpl.c (__ldexpl): Likewise.
5230         * math/w_scalbln.c (__w_scalbln): Likewise.
5231         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5232         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5233         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5234         (scalbln_test_data): Likewise.
5236         [BZ #20224]
5237         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5238         argument to itself.
5239         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5241 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5243         [BZ #19776]
5244         * sysdeps/x86_64/memcpy.S: Make it dummy.
5245         * sysdeps/x86_64/mempcpy.S: Likewise.
5246         * sysdeps/x86_64/memmove.S: New file.
5247         * sysdeps/x86_64/memmove_chk.S: Likewise.
5248         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5249         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5250         * sysdeps/x86_64/memmove.c: Removed.
5251         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5252         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5253         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5254         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5255         Likewise.
5256         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5257         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5259         memcpy-sse2-unaligned, memmove-avx-unaligned,
5260         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5262         (__libc_ifunc_impl_list): Replace
5263         __memmove_chk_avx512_unaligned_2 with
5264         __memmove_chk_avx512_unaligned.  Remove
5265         __memmove_chk_avx_unaligned_2.  Replace
5266         __memmove_chk_sse2_unaligned_2 with
5267         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5268         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5269         with __memmove_avx512_unaligned.  Replace
5270         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5271         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5272         with __memcpy_chk_avx512_unaligned.  Remove
5273         __memcpy_chk_avx_unaligned_2.  Replace
5274         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5275         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5276         Replace __memcpy_avx512_unaligned_2 with
5277         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5278         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5279         with __mempcpy_chk_avx512_unaligned.  Remove
5280         __mempcpy_chk_avx_unaligned_2.  Replace
5281         __mempcpy_chk_sse2_unaligned_2 with
5282         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5283         Replace __mempcpy_avx512_unaligned_2 with
5284         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5285         Replace __mempcpy_sse2_unaligned_2 with
5286         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5287         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5288         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5289         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5290         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5291         (ENTRY): Removed.
5292         (END): Likewise.
5293         (ENTRY_CHK): Likewise.
5294         (libc_hidden_builtin_def): Likewise.
5295         Don't include ../memcpy.S.
5296         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5297         __memcpy_chk_avx512_unaligned_erms and
5298         __memcpy_chk_avx512_unaligned.  Use
5299         __memcpy_chk_avx_unaligned_erms and
5300         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5301         Default to __memcpy_chk_sse2_unaligned.
5302         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5303         Change function suffix from unaligned_2 to unaligned.
5304         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5305         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5306         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5307         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5308         (ENTRY): Removed.
5309         (END): Likewise.
5310         (ENTRY_CHK): Likewise.
5311         (libc_hidden_builtin_def): Likewise.
5312         Don't include ../mempcpy.S.
5313         (mempcpy): New.  Add a weak alias.
5314         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5315         __mempcpy_chk_avx512_unaligned_erms and
5316         __mempcpy_chk_avx512_unaligned.  Use
5317         __mempcpy_chk_avx_unaligned_erms and
5318         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5319         Default to __mempcpy_chk_sse2_unaligned.
5321 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5323         [BZ #19881]
5324         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5325         into ...
5326         * sysdeps/x86_64/memset.S: This.
5327         (__bzero): Removed.
5328         (__memset_tail): Likewise.
5329         (__memset_chk): Likewise.
5330         (memset): Likewise.
5331         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5332         defined.
5333         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5334         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5335         (__memset_zero_constant_len_parameter): Check SHARED instead of
5336         PIC.
5337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5338         memset-avx2 and memset-sse2-unaligned-erms.
5339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5340         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5341         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5342         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5343         (__bzero): Enabled.
5344         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5345         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5346         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5347         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5348         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5349         (memset): Removed.
5350         (__memset_chk): Likewise.
5351         (MEMSET_SYMBOL): New.
5352         (libc_hidden_builtin_def): Replace __memset_sse2 with
5353         __memset_sse2_unaligned.
5354         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5355         __memset_chk_sse2 and __memset_chk_avx2 with
5356         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5357         Use __memset_chk_sse2_unaligned_erms or
5358         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5359         __memset_chk_avx512_unaligned_erms and
5360         __memset_chk_avx512_unaligned.
5362 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5364         * math/gen-auto-libm-test.c (fp_format_desc): remove
5365         suffix member.
5366         (output_generic_value): Remove usage of suffix member,
5367         and the resulting unuse of the fp_format argument.
5368         (output_for_one_input_case): Remove unused fp_format
5369         parameter.
5371         * math/auto-libm-test-out: Regenerate.
5373         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5374         usage with TEST_COND_ibm128.
5375         (TEST_COND_flt_32): Remove.
5376         (TEST_COND_dbl_64): Remove.
5377         (TEST_COND_ldbl_96_intel): Remove.
5378         (TEST_COND_ldbl_96_m68k): Remove.
5379         (TEST_COND_ldbl_128): Remove.
5381 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5383         * auto-libm-test-in:
5384         Replace flt-32 usage with binary32.
5385         Replace dbl-64 usage with binary64.
5386         Replace ldbl-intel-96 usage with intel96.
5387         Replace ldbl-m68k-96 usage with m68k96.
5388         Replace ldbl-128ibm usage with ibm128.
5389         Replace ldbl-128 usage with binary128.
5391         * auto-libm-test-out: Regenerate.
5393 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5395         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5396         (parse_ulps): Dynamically generate type name matching
5397         string from all_floats.
5398         (get_ulps): Generate the ulps as an array instead.
5399         (output_ulps): Dynamically compose the type based
5400         on the number of supported formats, and print
5401         the indices as type specific helper macros.
5403         * math/libm-test.inc: Remove comment about CHOOSE.
5404         (ulp_data): Generate the type in libm-test-ulps.h.
5405         (ULP_IDX): New macro.
5406         (find_ulps): Update usage of max_ulp.
5408         * math/test-double-vlen2.h (CHOOSE): Remove.
5409         * math/test-double-vlen4.h (CHOOSE): Likewise.
5410         * math/test-double-vlen8.h (CHOOSE): Likewise.
5411         * math/test-float.c (CHOOSE): Likewise.
5412         * math/test-float-finite.c (CHOOSE): Likewise.
5413         * math/test-double.c (CHOOSE): Likewise.
5414         * math/test-double-finite.c (CHOOSE): Likewise.
5415         * math/test-idouble.c (CHOOSE): Likewise.
5416         * math/test-ifloat.c (CHOOSE): Likewise.
5417         * math/test-ildoubl.c (CHOOSE): Likewise.
5418         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5419         * math/test-ldouble.c (CHOOSE): Likewise.
5421         * math/test-float.h (TEST_FLOAT): Remove.
5422         * math/test-double.h (TEST_DOUBLE): Likewise.
5423         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5425 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5427         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5428         (parse_args): Strip C suffix from floating point literals
5429         typed with 'f' and wrap them with LIT().
5431         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5432         (test_ff_f_data_nexttoward): Rename to
5433         (test_fj_f_data): New struct.
5434         (nexttoward_test_data): Relabel tests as
5435         TEST_fj_f instead of TEST_ff_f.
5437 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5439         Emacs bug 23726.
5440         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5441         (__libc_realloc): Correct size computation for dumped fake mmapped
5442         chunks.
5444 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5446         [BZ #20219]
5447         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5448         to itself.
5449         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5451         [BZ #20218]
5452         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5453         to itself.
5454         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5456 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5458         [BZ #20195]
5459         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5460         check to ...
5461         (init_cpu_features): Here.
5463 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5465         [BZ #20214]
5466         * sysdeps/unix/sysv/linux/bits/in.h
5467         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5468          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5469         Define to 1.
5470         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5471          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5472         Define to 0.
5473         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5474         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5476 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5478         [BZ #20198]
5479         * stdlib/Makefile (tests): Add tst-quick_exit, and
5480         tst-thread-quick_exit.
5481         [ifeq ($(have-cxx-thread_local),yes)]
5482         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5483         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5484         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5485         (LDLIBS-tst-thread-quick_exit): Likewise.
5486         [ifneq ($(have-cxx-thread_local),yes)]
5487         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5488         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5489         If run_dtors is true call __call_tls_dtors.
5490         (exit): Call __run_exit_handlers with run_dtors set to true.
5491         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5492         definition.
5493         * stdlib/quick_exit.c (quick_exit): Remove function.
5494         (__new_quick_exit): New function.
5495         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5496         function.
5497         * stdlib/tst-quick_exit.cc: New file.
5498         * stdlib/tst-thread-quick_exit.cc: New file.
5499         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5500         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5501         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5502         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5503         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5504         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5505         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5506         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5507         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5508         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5509         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5510         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5511         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5512         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5513         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5514         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5519         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5520         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5521         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5522         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5523         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5526         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5527         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5528         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5530 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5532         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5533         a typo in comments.
5535 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5537         [BZ #20213]
5538         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5539         argument to itself.
5540         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5542 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5544         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5545         required flags.
5546         (CFLAGS-pwritev64.c): Likewise.
5547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5548         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5549         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5550         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5551         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5552         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5553         syscall from auto-generation.
5554         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5555         [WORDSIZE == 64] (pwritev64): Remove macro.
5556         [!PWRITEV] (PWRITEV): Likewise.
5557         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5558         [!PWRITEV] (PWRITE): Likewise.
5559         [!PWRITEV] (OFF_T): Likewise.
5560         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5561         (LO_HI_LONG): Remove macro.
5562         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5563         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5564         (PWRITEV): Remove macro.
5565         (PWRITEV_REPLACEMENTE): Likewise.
5566         (PWRITE): Likewise.
5567         (OFF_T): Likewise.
5568         (pwritev64): New function.
5569         * nptl/tst-cancel4.c (tf_writev): Add test.
5571         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5572         required flags.
5573         (CFLAGS-preadv64.c): Likewise.
5574         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5575         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5576         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5577         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5578         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5579         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5580         syscall from auto-generation.
5581         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5582         [WORDSIZE == 64] (preadv64): Remove macro.
5583         [!PREADV] (PREADV): Likewise.
5584         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5585         [!PREADV] (PREAD): Likewise.
5586         [!PREADV] (OFF_T): Likewise.
5587         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5588         (LO_HI_LONG): Remove macro.
5589         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5590         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5591         (PREADV): Remove macro.
5592         (PREADV_REPLACEMENTE): Likewise.
5593         (PREAD): Likewise.
5594         (OFF_T): Likewise.
5595         (preadv64): New function.
5596         * nptl/tst-cancel4.c (tf_preadv): Add test.
5598 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5600         [BZ #20212]
5601         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5602         argument to itself.
5603         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5605 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5607         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5608         New symbol defined as libc_hidden_def.
5609         (strcasestr): Became a weak alias to __strcasestr.
5610         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5611         according to multi-arch support.  Move __stpncpy hidden
5612         definition from here to...
5613         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5614         symbol stpncpy.
5615         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5616         libc_hidden_builtin_def.
5617         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5618         memset symbol to use when multi-arch support is available.
5620 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5622         * dlfcn/tst-rec-dlopen.c: Include string.h.
5624 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5626         * manual/install.texi: Remove mention of --without-tls
5627         * INSTALL: Regenerate.
5629 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5631         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5632         Remove.
5633         (call_function, interposed_malloc_called): New variables.
5634         (malloc): New function.
5635         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5636         and clear call_function as needed.
5638 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5640         * include/wchar.h (__wmemset): Use __typeof.
5642 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5644         * include/wchar.h (__wmemset): Declare function without typeof.
5646 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5648         [BZ #20205]
5649         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5650         exponent when incrementing negative subnormal with low mantissa
5651         word zero.
5652         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5653         Add another test.
5655 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5657         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5658         __wmemset instead of wmemset.
5660 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5662         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5663         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5664         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5665         __USE_KERNEL_IPV6_DEFS to 0.
5666         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5667         Update comment.
5669 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5671         [BZ #19861]
5672         Do not use IFUNC resolver with potentially unrelocated symbol.
5673         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5674         (DEFINE_FORK): Remove macro and inline definition.
5675         (fork_alias): Renamed from fork_ifunc.
5676         (__fork_alias): Renamed from __fork_ifunc.
5678 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5680         [BZ 19653]
5681         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5682         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5684 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5686         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5687         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5688         i386-linux-gnu).
5689         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5690         Set to no.
5691         * sysdeps/mach/hurd/configure: Refresh.
5693 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5695         [BZ #20178]
5696         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5697         on failure instead of exit.
5699 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5701         [BZ #3629]
5702         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5703         of POSIX.1-2008.
5705 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5707         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5708           Use PLT entry for calling _hurd_self_sigstate.
5710 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5712         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5713         available logical processors with SMT level type sharing L2
5714         cache for Intel processors.
5716 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5718         [BZ #20160]
5719         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5720         argument to itself before returning the result.
5721         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5722         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5723         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5724         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5725         Likewise.
5726         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5727         Likewise.
5728         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5729         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5730         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5731         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5732         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5733         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5735         [BZ #20160]
5736         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5737         argument to itself before returning the result.
5738         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5739         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5740         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5741         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5742         Likewise.
5743         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5744         Likewise.
5745         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5746         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5747         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5748         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5749         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5750         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5752 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5754         * libm-test.inc: Replace usage of M_El with
5755         (lit_e): New macro.
5757 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5759         * libm-test.inc: Replace usage of M_PI_4l with
5760         (lit_pi_4_d): New macro.
5762 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5764         * libm-test.inc: Replace usage of M_PIl with
5765         (lit_pi): New macro.
5767 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5769         * libm-test.inc: Replace usage of M_PI2l with
5770         (lit_pi_2_d): New macro.
5772         * math/test-double.h (LITM): New macro.
5773         * math/test-float.h (LITM): Likewise.
5774         * math/test-ldouble.h (LITM): Likewise.
5776 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5778         * libm-test.inc (M_PI_34l): Rename to
5779         (lit_pi_3_m_4_d): New Macro.
5780         (M_PI_34_LOG10El): Rename to
5781         (lit_pi_3_m_4_ln10_m_d): New Macro.
5782         (M_PI2_LOG10El): Rename to
5783         (lit_pi_2_ln10_m_d):  New Macro.
5784         (M_PI4_LOG10El): Rename to
5785         (lit_pi_4_ln10_m_d):  New Macro.
5786         (M_PI_LOG10El): Rename to
5787         (lit_pi_ln10_d):  New Macro.
5789 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5791         [BZ #20157]
5792         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5793         determine whether to negate low half if [_ARCH_PPCGR], and integer
5794         comparison otherwise.
5795         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5796         determine whether to negate low half.
5798         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5799         (NO_TEST_INLINE_DOUBLE): Likewise.
5800         (TEST_COND_x86_64): Likewise.
5801         (TEST_COND_x86): Likewise.
5802         (M_PI_6l): Likewise.
5804 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5806         * math/libm-test.inc:
5807         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5808         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5809         (TEST_LDOUBLE): Update usage to evaluate as true if
5810         the guarded tests match the property being tested.
5811         (LDBL_MAX_EXP): Change to MAX_EXP.
5812         (LDBL_MIN_EXP): Change to MIN_EXP.
5813         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5814         nexttoward tests.
5816 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5818         * math/libm-test.inc:
5819         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5820         (TYPE_MIN): Likewise.
5821         (TYPE_TRUE_MIN): Likewise.
5822         (TYPE_MAX): Likewise.
5823         (MIN_EXP): Likewise.
5824         (MAX_EXP): Likewise.
5825         (MANT_DIG): Likewise.
5827         (FSTR_MAX): New macro.
5828         (__CONCATX): Likewise.
5829         (QTYPE_STR): Likewise.
5830         (TEST_COND_binary32): Likewise.
5831         (TEST_COND_binary64): Likewise.
5832         (TEST_COND_binary128): Likewise.
5833         (TEST_COND_ibm128): Likewise.
5834         (TEST_COND_intel96): Likewise.
5835         (TEST_COND_m68k96): Likewise.
5837         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5838         (TEST_COND_dbl_64): Likewise.
5839         (TEST_COND_ldbl_96_intel): Likewise.
5840         (TEST_COND_ldbl_96_m68k): Likewise.
5841         (TEST_COND_ldbl_128): Likewise.
5842         (TEST_COND_ldbl_128ibm): Likewise.
5844         (plus_zero): Redefine using LIT macro.
5845         (minus_zero): Likewise.
5846         (plus_infty): Redefine as (INF).
5847         (minux_infty): Redefine as (-INF).
5848         (max_value): Redefine as TYPE_MAX.
5849         (min_value): Redefine as TYPE_MIN.
5850         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5852         (print_float): Refactor to use snprintf to convert FLOAT values
5853         to string. This brings it closer to dropin replacement of strtof
5854         for the TS 18661 defined types.
5855         (update_stats): Likewise.
5856         (print_complex_function_ulps): Likewise.
5857         (print_max_error): Likewise.
5858         (print_complex_max_error): Likewise.
5859         (check_float_internal): Likewise.
5861         * math/test-float.h (PREFIX): New macro.
5862         (LIT): Likewise.
5863         (TYPE_STR): Likewise.
5864         (FTOSTR): Likewise.
5866         * math/test-double.h (PREFIX): New macro.
5867         (LIT): Likewise.
5868         (TYPE_STR): Likewise.
5869         (FTOSTR): Likewise.
5871         * math/test-ldouble.h (PREFIX): New macro.
5872         (LIT): Likewise.
5873         (TYPE_STR): Likewise.
5874         (FTOSTR): Likewise.
5876 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5878         [BZ #20156]
5879         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5880         to itself when zero or not finite.
5881         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5882         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5883         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5884         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5886 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5888         [BZ #20153]
5889         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5890         x * x + x for infinities and NaNs.
5892         [BZ #20151]
5893         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5894         argument to itself before returning result.
5895         (__ieee754_y0l): Likewise.
5896         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5897         (__ieee754_y1l).
5899         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5900         (atan_test_data): Likewise.
5901         (ceil_test_data): Likewise.
5902         (cos_test_data): Likewise.
5903         (cosh_test_data): Likewise.
5904         (erf_test_data): Likewise.
5905         (exp2_test_data): Likewise.
5906         (fabs_test_data): Likewise.
5907         (floor_test_data): Likewise.
5908         (ilogb_test_data): Likewise.
5909         (j0_test_data): Likewise.
5910         (j1_test_data): Likewise.
5911         (jn_test_data): Likewise.
5912         (lgamma_test_data): Likewise.
5913         (lrint_test_data): Likewise.
5914         (llrint_test_data): Likewise.
5915         (logb_test_data): Likewise.
5916         (lround_test_data): Likewise.
5917         (llround_test_data): Likewise.
5918         (nearbyint_test_data): Likewise.
5919         (rint_test_data): Likewise.
5920         (round_test_data): Likewise.
5921         (sin_test_data): Likewise.
5922         (sincos_test_data): Likewise.
5923         (sinh_test_data): Likewise.
5924         (sqrt_test_data): Likewise.
5925         (tan_test_data): Likewise.
5926         (tanh_test_data): Likewise.
5927         (tgamma_test_data): Likewise.
5928         (trunc_test_data): Likewise.
5929         (y0_test_data): Likewise.
5930         (y1_test_data): Likewise.
5931         (yn_test_data): Likewise.
5933         * math/libm-test.inc: Update comment about NaN testing.
5934         (TEST_SNAN): New macro.
5935         (snan_value): Likewise.
5936         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5937         (fpclassify_test_data): Add sNaN tests.
5938         (isfinite_test_data): Likewise.
5939         (isinf_test_data): Likewise.
5940         (isnan_test_data): Likewise.
5941         (isnormal_test_data): Likewise.
5942         (issignaling_test_data): Likewise.
5943         (signbit_test_data): Likewise.
5944         * math/gen-libm-test.pl (%beautify): Add snan_value.
5945         (show_exceptions): Add argument $test_snan.
5946         (parse_args): Handle snan_value as non-finite.  Update call to
5947         show_exceptions.
5948         * math/Makefile (libm-test-no-inline-cflags): Add
5949         -fsignaling-nans.
5951 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5953         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5954         (CFLAGS-oldsendmsg.c): Add rule.
5955         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5956         Correct recvmsg symbol name.
5957         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5958         Likewise.
5960 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5962         * sysdeps/unix/sysv/linux/Makefile
5963         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5964         oldsendmmsg.
5965         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5966         sendmmsg.
5967         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5968         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5969         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5970         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5972         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5973         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5975         Likewise.
5976         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5977         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5978         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5979         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5980         iovlen and controllen fields to adjust to POSIX specification.
5981         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5983         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5984         and change to correct expected type.
5985         (msghdr.msg_controllen): Likewise.
5986         (cmsghdr.cmsg_len): Likewise.
5987         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5988         expected POSIX assumption about the size.
5989         (msghdr.msg_controllen): Likewise.
5990         (msghdr.__glibc_reserved1): Likewise.
5991         (msghdr.__glibc_reserved2): Likewise.
5992         (cmsghdr.cmsg_len): Likewise.
5993         (cmsghdr.__glibc_reserved1): Likewise.
5994         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5995         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5996         (CFLAGS-sendmsg.c): Remove rule.
5997         (CFLAGS-recvmsg.c): Likewise.
5998         (CFLAGS-oldsendmsg.c): Add rule.
5999         (CFLAGS-oldrecvmsg.c): Likewise.
6000         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
6001         recvmsg and sendmsg.
6002         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
6003         Likewise.
6004         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
6005         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
6006         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6007         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
6008         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6009         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6010         Likewise.
6011         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6012         Likewise.
6013         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
6014         Likewise.
6015         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
6016         Likewise.
6017         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6018         Likewise.
6019         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6020         Likewise.
6021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
6022         (GLIBC_2.24): Likewise.
6023         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6024         Likewise.
6025         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6026         Likewise.
6027         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6028         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6029         Likewise.
6030         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6031         Likewise.
6032         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
6035         (GLIBC_2.24): Likewise.
6036         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
6039         Likewise.
6040         * sysdeps/unix/sysv/linux/Makefile
6041         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
6042         (CFLAGS-sendmsg.c): Add rule.
6043         (CFLAGS-recvmsg.c): Likewise.
6044         (CFLAGS-oldsendmsg.c): Likewise.
6045         (CFLAGS-oldrecvmsg.c): Likewise.
6046         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
6047         initialization.
6048         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6049         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6050         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
6051         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6052         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
6053         iovlen and controllen fields to adjust to POSIX specification.
6054         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
6055         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
6056         added recvmsg and sendmsg.
6057         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6058         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6059         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6060         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6061         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6062         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6063         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6064         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6065         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6066         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6067         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6068         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6070         Likewise.
6071         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6073         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6074         Likewise.
6075         Likewise.
6076         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6077         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6078         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6079         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6080         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6081         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6083         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6085         Likewise.
6086         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6087         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6089         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
6090         from auto-generation.
6091         (sendmsg): Likewise.
6092         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
6093         (sendmsg): Likewise.
6094         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
6095         (sendmsg): Likewise.
6096         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
6097         (sendmsg): Likewise.
6098         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
6099         (sendmsg): Likewise.
6100         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
6101         (sendmsg): Likewise.
6102         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
6103         Likewise.
6104         (sendmsg): Likewise.
6105         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
6106         (sendmsg): Likewise.
6107         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6108         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6109         Remove.
6110         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6111         Likewise.
6112         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6113         Undefine.
6114         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6115         Likewise.
6116         * sysdeps/unix/sysv/linux/kernel-features.h
6117         (__ASSUME_SENDMSG_SYSCALL): Define.
6118         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6119         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6120         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6121         Remove.
6122         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6123         Likewise.
6124         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6125         Undefine.
6126         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6127         Likewise.
6128         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6129         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6130         Remove.
6131         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6132         Likewise.
6133         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6134         Undefine.
6135         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6136         Likewise.
6137         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6138         (__ASSUME_SENDMSG_SYSCALL): Undefine.
6139         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6140         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6141         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6142         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6143         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6144         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6145         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6147 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6149         * stdlib/gen-tst-strtod-round.c: Add backslash to
6150         compile command in comment.
6151         (printfp): Remove the literal suffix, and define an infinite
6152         value as INF to avoid expansion clash with INFINITY.
6153         (round_str): Remove the literal suffix.
6154         (round_for_all): Likewise, remove the now duplicate ldbl-64
6155         entry, and remove some magic constants.
6157         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6158         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
6159         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6160         (_CONCAT): New macro.
6161         (CONCAT): Likewise.
6162         (CHOOSE_ld): Likewise.
6163         (CHOOSE_f): Likewise.
6164         (CHOOSE_d): Likewise.
6165         (FTYPE_MEMBER): Likewise.
6166         (BOOL_MEMBER): Likewise.
6167         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6168         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6169         (_XNTRY): Likewise.
6170         (XNTRY): Likewise.
6171         (_ENTRY): Likewise.
6172         (ENTRY): Likewise.
6173         (test_exactness): Generate members via macro.
6174         (test_results): Likewise.
6175         (test): Update members.
6176         (TEST): Redefine using new macros.
6177         (INF): New macro.
6178         (fetestmodes): New structure.
6179         (do_test): Refactor to be type generic.
6180         (test_in_one_mode): Refactor duplicate code into
6181         (GEN_ONE_TEST): New macro.
6183         * stdlib/tst-strtod-round-data.h: Regenerate.
6185         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6186         Extend to pass additional arbitrary parameters to
6187         generators.
6189 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6191         [BZ #15479]
6192         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6193         floating-point state after first floating-point operation on
6194         input.  Restore full floating-point state instead of just rounding
6195         mode.
6196         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6197         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6198         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6199         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6200         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6202         [BZ #15479]
6203         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6204         floating-point state after first floating-point operation on
6205         input.  Restore full floating-point state instead of just rounding
6206         mode.
6207         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6208         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6209         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6210         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6211         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6213 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6215         [BZ #19727]
6216         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6217         valid high surrogate.
6218         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6219         of an utf16 surrogate.
6220         * iconv/gconv_simple.c (BODY): Likewise.
6221         * iconvdata/bug-iconv12.c: New file.
6222         * iconvdata/Makefile (tests): Add bug-iconv12.
6224 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6226         [BZ #19726]
6227         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6228         outptrp in case of an illegal input.
6229         * iconv/tst-iconv6.c: New file.
6230         * iconv/Makefile (tests): Add tst-iconv6.
6232 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6234         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6235         an error in case of a value in range of an utf16 low surrogate.
6237 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6239         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6240         an error in case of a value in range of an utf16 low surrogate.
6242 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6244         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6245         Move to ...
6246         * sysdeps/s390/Makefile: ... here.
6247         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6248         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6249         (BRANCH_ON_COUNT): New define.
6250         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6251         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6252         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6253         run on s390-32, too.
6254         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6255         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6256         run on s390-32, too.
6257         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6258         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6259         run on s390-32, too.
6261 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6263         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6264         etf3eh or new vector loop-variant.
6266 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6268         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6269         etf3eh or new vector loop-variant.
6271 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6273         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6274         or new vector loop-variant.
6276 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6278         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6279         Rename to TR_LOOP and usage of tr instead of troo instruction.
6281 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6283         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6284         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6286 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6288         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6289         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6290         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6291         New override define.
6292         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6294 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6296         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6297         * sysdeps/s390/configure.ac: Add test for S390 vector register
6298         support in gcc.
6299         * sysdeps/s390/configure: Regenerated.
6301 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6303         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6304         Install file from $(objpfx)gconv-modules.
6305         ($(objpfx)gconv-modules): Concatenate architecture specific file
6306         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6307         * sysdeps/s390/gconv-modules: New file.
6308         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6309         Deleted.
6310         ($(objpfx)gconv-modules-s390): Deleted.
6311         (sysdeps-gconv-modules): New variable.
6313 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6315         [BZ #15479]
6316         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6317         of immediate operand to rounding instruction.
6318         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6319         Likewise.
6320         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6321         Likewise.
6322         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6323         Likewise.
6325 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6327         * math/libm-test.inc (MIN_EXP): Directly define as
6328         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6330 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6332         * math/libm-test.inc (MANT_DIG): Directly define as
6333         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6335 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6337         * stdlib/gen-tst-strtod-round.c (main):
6338           Change usage to more closely match the generated
6339           output.  Add usage and compilation instructions.
6340           (string_to_fp): Add and use FILE* parameter as
6341           output target.
6342           (print_fp): Likewise.
6343           (round_str): Likewise.
6344           (round_for_all): Likewise.
6345         * stdlib/tst-strtod-round.c (tests): Move into
6346         * stdlib/tst-strtod-round-data.h: New file.
6348 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6350         [BZ #15479]
6351         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6352         (__round): Do not force "inexact" exception.
6353         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6354         variable.
6355         (__round): Do not force "inexact" exception.
6356         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6357         (__roundf): Do not force "inexact" exception.
6358         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6359         (__roundl): Do not force "inexact" exception.
6360         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6361         (__roundl): Do not force "inexact" exception.
6362         * math/libm-test.inc (round_test_data): Do not allow spurious
6363         "inexact" exceptions.
6365         [BZ #15479]
6366         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6367         exception in comment.
6368         (huge): Remove variable.
6369         (__floor): Do not force "inexact" exception.
6370         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6371         "inexact" exception in comment.
6372         (huge): Remove variable.
6373         (__floor): Do not force "inexact" exception.
6374         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6375         exception in comment.
6376         (huge): Remove variable.
6377         (__floorf): Do not force "inexact" exception.
6378         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6379         exception in comment.
6380         (huge): Remove variable.
6381         (__floorl): Do not force "inexact" exception.
6383         [BZ #15479]
6384         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6385         exception in comment.
6386         (huge): Remove variable.
6387         (__ceil): Do not force "inexact" exception.
6388         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6389         "inexact" exception in comment.
6390         (huge): Remove variable.
6391         (__ceil): Do not force "inexact" exception.
6392         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6393         (__ceilf): Do not force "inexact" exception.
6394         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6395         exception in comment.
6396         (huge): Remove variable.
6397         (__ceill): Do not force "inexact" exception.
6399 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6401         * config.h.in (BIND_NOW): New.
6402         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6403         * configure: Regenerated.
6404         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6405         indirect branch via the GOT slot.
6407 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6409         [BZ #19765]
6410         * sysdeps/s390/mempcpy.S: New File.
6411         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6412         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6413         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6414         Add mempcpy variants.
6415         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6416         (memcpy): Adjust to be usable from mempcpy entry point.
6417         (__memcpy_mvcle): Likewise.
6418         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6419         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6420         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6421         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6422         (__memcpy_z10): Likewise.
6423         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6425 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6427         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6428         Remove __GI_ symbol.
6429         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6430         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6431         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6432         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6433         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6434         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6436 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6438         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6439         Use cghi instead of chi to compare 64bit value.
6441 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6443         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6444         Jump to 1MB check before executing mvc-loop.
6446 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6448         [BZ #6527]
6449         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6450         unconditionally.
6451         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6453 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6455         * stdlib/tst-strtod6.c (do_test): Use new type generic
6456         invocation of the test function.
6457         (test): Refactor into ...
6458         (TEST_STRTOD): New macro base function.
6460 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6462         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6463         (TEST_STRTOD): New macro.
6464         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6466 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6468         * stdlib/tst-strtod6.c (do_test): Use new type generic
6469         invocation of the test function.
6470         (test): Refactor into ...
6471         (TEST_STRTOD): New macro base function.
6473 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6475         CVE-2016-4429
6476         [BZ #20112]
6477         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6478         payload.
6480 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6482         [BZ #20111]
6483         * bits/sockaddr.h (_SS_SIZE): Define.
6484         * bits/socket.h (_SS_SIZE): Remove.
6485         (_SS_PADSIZE): Adjust to account for all padding.
6486         (struct sockaddr_storage): Update comment.  Avoid implicit
6487         padding.
6488         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6489         (_SS_PADSIZE): Adjust to account for all padding.
6490         (struct sockaddr_storage): Update comment.  Avoid implicit
6491         padding.
6492         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6493         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6494         (_SS_PADSIZE): Adjust to account for all padding.
6495         (struct sockaddr_storage): Update comment.  Avoid implicit
6496         padding.
6497         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6498         __SS_SIZE is 126 in this version.
6499         * inet/tst-sockaddr.c: New file.
6500         * inet/Makefile (tests): Add tst-sockaddr.c
6501         (tst-sockaddr.c): Compile with non-strict aliasing.
6503 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6505         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6506         [XPG3 || XPG4].
6507         (NL_ARGMAX): Also expect for [XPG3].
6508         (NL_LANGMAX): Likewise.
6509         (NL_MSGMAX): Likewise.
6510         (NL_NMAX): Likewise.
6511         (NL_SETMAX): Likewise.
6512         (NL_TEXTMAX): Likewise.
6513         (NZERO): Likewise.
6514         (TMP_MAX): Likewise.
6515         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6516         variable.
6518         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6519         (PF_MAX): Update value.
6520         (AF_KCM): New macro.
6521         (SOL_NETBEUI): Likewise.
6522         (SOL_LLC): Likewise.
6523         (SOL_DCCP): Likewise.
6524         (SOL_NETLINK): Likewise.
6525         (SOL_TIPC): Likewise.
6526         (SOL_RXRPC): Likewise.
6527         (SOL_PPPOL2TP): Likewise.
6528         (SOL_BLUETOOTH): Likewise.
6529         (SOL_PNPIPE): Likewise.
6530         (SOL_RDS): Likewise.
6531         (SOL_IUCV): Likewise.
6532         (SOL_CAIF): Likewise.
6533         (SOL_ALG): Likewise.
6534         (SOL_NFC): Likewise.
6535         (SOL_KCM): Likewise.
6536         (MSG_BATCH): New enum value and macro.
6538 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6540         [BZ #18185]
6541         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6542         sharing L2 cache to 2 for Knights Landing.
6544 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6546         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6547         (FTW_DP): Do not expect for [XPG3 || XPG4].
6548         (FTW_SL): Do not expect for [XPG3].
6549         (FTW_SLN): Likewise.
6550         (FTW_PHYS): Likewise.
6551         (FTW_MOUNT): Likewise.
6552         (FTW_DEPTH): Likewise.
6553         (FTW_CHDIR): Likewise.
6554         (nftw): Likewise.
6555         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6556         variable.
6558 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6560         * manual/errno.texi: Fix various typos & grammar errors.
6562 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6564         * manual/intro.texi: Fix duplicated typo.
6566 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6568         [BZ #13304]
6569         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6570         <float.h>, <math_private.h> and <stdlib.h>.
6571         (add_split): New function.
6572         (mul_split): Likewise.
6573         (ext_val): New typedef.
6574         (store_ext_val): New function.
6575         (mul_ext_val): New function.
6576         (compare): New function.
6577         (add_split_ext): New function.
6578         (__fmal): After checking for Inf, NaN and zero, compute result as
6579         an exact sum of scaled double values in round-to-nearest before
6580         adding those up and adjusting for other rounding modes.
6581         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6582         tests of fma.
6583         * math/auto-libm-test-out: Regenerated.
6585 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6587         [BZ #20119]
6588         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6589         processor level type mask for CPUID with EAX == 11.
6591 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6593         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6594         logical threads if the HTT bit is 0.
6595         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6596         (index_cpu_HTT): Likewise.
6597         (reg_HTT): Likewise.
6599 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6601         [BZ #20115]
6602         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6603         Remove alignments on jump targets.
6605 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6607         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6608         (getpwent): Likewise.
6609         (setpwent): Likewise.
6610         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6611         variable.
6613         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6614         (remque): Likewise.
6615         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6616         variable.
6618 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6620         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6621         not being tested.
6623 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6625         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6626         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6627         call.
6628         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6629         (__condvar_cleanup1): Likewise.
6631 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6633         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6634         New
6635         (__pthread_unwind): Renamed to ...
6636         (PTHREAD_UNWIND): This.
6637         (__pthread_enable_asynccancel): Replace
6638         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6640 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6642         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6643         (CLONE_NEWCGROUP): New macro.
6645         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6646         (Q_GETNEXTQUOTA): New macro.
6648 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6650         [BZ #19907]
6651         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6652         buffer updated by the previous run.
6653         * string/test-memcpy.c (do_one_test): Likewise.
6654         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6655         * string/test-memmove.c (do_one_test): Likewise.
6657 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6659         [BZ #20094]
6660         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6661         not [__USE_XOPEN].
6662         (unlockpt): Likewise.
6663         (ptsname): Likewise.
6664         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6665         variable.
6667         [BZ #20076]
6668         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6669         instead of [__USE_UNIX98].
6670         (S_ISSOCK): Likewise.
6671         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6672         variable.
6674         [BZ #20074]
6675         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6676         [__USE_POSIX].
6677         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6678         variable.
6680         [BZ #20051]
6681         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6682         (ttyslot): Do not declare.
6683         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6684         (ttyslot): New prototype.
6685         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6686         variable.
6687         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6689 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6691         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6693 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6695         Fix race condition in tst-mallocfork2, use fewer resources.
6696         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6697         to current process group.
6698         (signal_sender): Yield in the non-sleeping case.
6700 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6702         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6703         (ecvt): Likewise.
6704         (fcvt): Likewise.
6705         (gcvt): Likewise.
6706         (getsubopt): Likewise.
6707         (grantpt): Likewise.
6708         (initstate): Likewise.
6709         (l64a): Likewise.
6710         (mktemp): Likewise.
6711         (mkstemp): Likewise.
6712         (ptsname): Likewise.
6713         (random): Likewise.
6714         (realpath): Likewise.
6715         (setstate): Likewise.
6716         (srandom): Likewise.
6717         (ttyslot): Likewise.
6718         (unlockpt): Likewise.
6719         (valloc): Likewise.
6721         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6722         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6723         variable.
6725 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6727         [BZ #20072]
6728         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6729         init_cpu_features only if SHARED is defined.
6730         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6732 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6734         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6735         non-inclusive caches on Intel processors.
6737 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6739         * malloc/malloc.c (dumped_main_arena_start)
6740         (dumped_main_arena_end): New variables.
6741         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6742         (do_check_chunk): Skip dumped fake mmapped chunks.
6743         (munmap_chunk): Likewise.
6744         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6745         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6746         mmapped chunks.
6747         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6748         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6749         and dumped_main_arena_end to cover the dumped heap.
6751 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6753         * conform/data/time.h-data (getdate_err): Do not expect for
6754         [XPG3].
6755         (getdate): Likewise.
6756         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6757         variable.
6759         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6760         (F_ULOCK): Likewise.
6761         (F_TEST): Likewise.
6762         (F_TLOCK): Likewise.
6763         (useconds_t): Likewise.
6764         (intptr_t): Do not expect for [XPG3] or [XPG4].
6765         (brk): Do not expect for [XPG3]
6766         (fchown): Likewise.
6767         (fchdir): Likewise.
6768         (ftruncate): Likewise.
6769         (getdtablesize): Likewise.
6770         (gethostid): Likewise.
6771         (getpagesize): Likewise.
6772         (getpgid): Likewise.
6773         (getsid): Likewise.
6774         (getwd): Likewise.
6775         (lchown): Likewise.
6776         (lockf): Likewise.
6777         (readlink): Likewise.
6778         (sbrk): Likewise.
6779         (setpgrp): Likewise.
6780         (setregid): Likewise.
6781         (setreuid): Likewise.
6782         (symlink): Likewise.
6783         (sync): Likewise.
6784         (truncate): Likewise.
6785         (ualarm): Likewise.
6786         (usleep): Likewise.
6787         (vfork): Likewise.
6788         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6789         variable.
6791         [BZ #20054]
6792         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6793         not [__USE_UNIX98].
6794         * conform/data/unistd.h-data (gethostname): Do not expect for
6795         [XPG3].
6797         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6798         [!POSIX] (S_IFBLK): Likewise.
6799         [!POSIX] (S_IFCHR): Likewise.
6800         [!POSIX] (S_IFIFO): Likewise.
6801         [!POSIX] (S_IFREG): Likewise.
6802         [!POSIX] (S_IFDIR): Likewise.
6803         [!POSIX] (S_IFLNK): Likewise.
6804         [!POSIX] (S_IFSOCK): Likewise.
6805         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6806         variable.
6807         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6809 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6811         * sysdeps/aarch64/memset.S (__memset):
6812         Rewrite of optimized memset.
6814 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6816         [BZ #19703]
6817         Partially async-signal-safe fork for single-threaded processes.
6818         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6819         variable.  Do not acquire and reset/release malloc and libio locks
6820         in single-threaded processes.
6821         * malloc/tst-mallocfork2.c: New file.
6822         * malloc/Makefile (tests): Add it.
6824 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6826         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6827         argument.  Use scratch buffer instead of extend_alloca.
6828         (gethosts): Use scratch buffer instead of extend_alloca.
6829         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6830         extend_alloca.
6831         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6833 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6835         [BZ #20055]
6836         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6837         instead of [__USE_UNIX98].
6838         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6839         [__USE_UNIX98].
6840         * conform/data/termios.h-data (tcgetsid): Do not expect for
6841         [XPG3].
6842         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6843         variable.
6844         (test-xfail-XPG4/termios.h/conform): Likewise.
6846 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6848         Do not use mcheck in localedef.
6849         * locale/programs/localedef.c (turn_on_mcheck)
6850         (__malloc_initialize_hook): Remove.
6852 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6854         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6855         * sysdeps/s390/s390-64/Makefile: Likewise.
6857 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6859         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6860         Remove ifunc-defines.sym.
6861         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6862         Likewise.
6863         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6864         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6865         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6866         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6867         rtld-global-offsets.sym.
6868         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6869         * sysdeps/x86/cpu-features-offsets.sym: This.
6870         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6871         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6873 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6875         [BZ #20073]
6876         * io/sys/stat.h (fchmod): Declare for
6877         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6878         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6879         variable.
6881         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6882         [XPG3] (S_IFSOCK): Likewise.
6883         [XPG3] (S_ISVTX): Likewise.
6884         [XPG3] (S_ISLNK): Likewise.
6885         [XPG3] (S_ISSOCK): Likewise.
6886         [XPG3] (fchmod): Likewise.
6887         [XPG3] (lstat): Likewise.
6888         [XPG3] (mknod): Likewise.
6890         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6891         [XPG3].  Expect type long and XFAIL for [XPG4].
6892         (st_blocks): Likewise.
6894         [BZ #20044]
6895         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6896         (pthread_atfork): New prototype.
6897         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6898         variable.
6900         [BZ #20043]
6901         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6902         prototype.
6904 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6906         [BZ #20017]
6907         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6908         gmtime.
6910 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6912         [BZ #19994]
6913         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6914         flag in _res.options.
6916 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6918         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6919         [XPG3 || XPG4].
6920         (blksize_t): Likewise.
6921         (clockid_t): Likewise.
6922         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6923         variable.
6924         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6926 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6928         * sysdeps/unix/sysv/linux/s390/init-first.c:
6929         Add VDSO_SYMBOL(getcpu).
6930         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6931         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6932         Add VDSO_SYMBOL(getcpu).
6933         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6934         New define HAVE_GETCPU_VSYSCALL.
6935         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6937 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6939         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6940         instead of <sysdeps/x86_64/cacheinfo.c>.
6941         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6942         * sysdeps/x86/cacheinfo.c: Here.
6944 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6946         * malloc/malloc-internal.h: Adjust header file guard.
6948 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6950         [BZ #19787]
6951         * inet/getnameinfo.c (check_sprintf_result): New function.
6952         (CHECKED_SNPRINTF): New macro.
6953         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6954         to the host buffer.
6955         (gni_host_local): Use checked_copy to copy the host name.
6956         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6957         (gni_serv_local): Use checked_copy to copy the service name.
6958         (getnameinfo): Remove unnecessary truncation of result buffers.
6960 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6962         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6963         in case of inet_ntop failure.
6965 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6967         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6968         avoid long lines.
6969         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6970         variables.
6971         (gni_host_inet, gni_host_local): Add comment.
6972         (gni_host): Add comment.  Use temporary to avoid long lines.
6974 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6976         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6977         registers specifiers where general purpose registers specifiers should
6978         have been used.
6980 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6982         [BZ #19779]
6983         CVE-2016-1234
6984         Avoid copying names of directory entries.
6985         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6986         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6987         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6988         (struct readdir_result): New type.
6989         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6990         (GL_READDIR): New macros.
6991         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6992         (convert_dirent, convert_dirent64): New functions.
6993         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6994         convert_dirent64.  Adjust references to the readdir result.
6995         * sysdeps/unix/sysv/linux/i386/glob64.c:
6996         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6997         * posix/bug-glob2.c (LONG_NAME): Define.
6998         (filesystem): Add LONG_NAME.
6999         (my_DIR): Increase the size of room_for_dirent.
7001 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
7003         [BZ #20041]
7004         * misc/sys/select.h (__need_timespec): Only define if
7005         [__USE_XOPEN2K].
7006         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
7007         variable.
7008         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7009         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7010         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7012 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7013             Segher Boessenkool  <segher@gcc.gnu.org>
7015         [BZ #20004]
7016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
7017         (__novec_swapcontext): Add missing load.
7019 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
7021         [BZ #20023]
7022         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
7023         <time.h>.
7024         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
7025         variable.
7026         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7028 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
7031         flags CLONE_VM compare.
7033 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7035         [BZ #20031]
7036         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
7037         completely empty.
7039 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7041         [BZ #19573]
7042         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
7043         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
7044         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
7045         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
7046         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
7047         (hesiod_free_list): Mark as hidden.
7048         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
7049         res_set, res_get.
7050         * hesiod/hesiod.c: Remove unnecessary forward declarations.
7051         (init, __hesiod_res_get, __hesiod_res_set): Remove.
7052         (hesiod_init): Remove obsolete res_ninit call.
7053         (hesiod_end): Do not free resolver state.  Do not invoke callback.
7054         (hesiod_bind): Do not call init.
7055         (get_txt_records): Use res_mkquery, res_send instead of
7056         res_nmkquery, res_nsend.
7057         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
7058         instead of _nss_hesiod_init.
7059         (_nss_hesiod_initgroups_dyn): Likewise.
7060         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
7061         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
7062         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
7064 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7066         * hesiod/hesiod_p.h (DEF_RHS): Remove.
7067         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
7069 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7071         * hesiod/hesiod.h: Remove RCS keyword.
7072         * hesiod/hesiod_p.h: Likewise.
7074         * hesiod/hesiod.c: Likewise.
7076 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
7078         [BZ #12450]
7079         * locale/iso-639.def: Add Samogitian/sgs.
7081 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7083         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
7085         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
7087 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
7088             Carlos O'Donell  <carlos@redhat.com>
7090         [BZ #19072]
7091         * grp/Makefile (headers): Add grp-merge.h
7092         (routines): Add grp-merge.
7093         * grp/getgrgid_r.c: Include grp-merge.h.
7094         (DEEPCOPY_FN): Define.
7095         (MERGE_FN): Define.
7096         * grp/getgrname_r.c: Include grp-merge.h.
7097         (DEEPCOPY_FN): Define.
7098         (MERGE_FN): Define.
7099         * grp/grp-merge.c: New file.
7100         * grp/grp-merge.h: New file.
7101         * include/grp-merge.h: New file.
7102         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
7103         __copy_grp@GLIBC_PRIVATE.
7104         * manual/nss.texi (Actions in the NSS configuration): Describe
7105         return, continue, and merge.
7106         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
7107         (DEEPCOPY_FN): Define.
7108         (MERGE_FN): Define.
7109         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
7110         (DEEPCOPY_FN): Define.
7111         (MERGE_FN): Define.
7112         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
7113         [!MERGE_FN]: Define __merge_einval.
7114         (CHECK_MERGE): Define.
7115         (REENTRANT_NAME): Process merge if do_merge is true.
7116         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
7117         (__nss_getent_r): Likewise.
7118         * nss/nsswitch.c (nss_parse_service_list): Likewise.
7119         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
7121 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7123         [BZ #20012]
7124         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7125         length to calculate the buffer to read.
7126         (fmemopen_write): Set the buffer position based on bytes written.
7127         (fmemopen_seek): Return EINVAL for invalid whence modes.
7129         [BZ #19957]
7130         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7131         tst-getpid2.
7132         (test): Add tst-clone2.
7133         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7134         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7135         pid/tid fields for CLONE_VM.
7136         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7137         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7138         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7139         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7140         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7141         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7142         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7143         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7145         Likewise.
7146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7147         Likewise.
7148         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7149         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7150         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7151         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7152         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7153         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7154         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7155         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7157 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7159         [BZ #19642]
7160         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7161         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7162         (gni_serv_local, gni_serv): New functions extracted from
7163         getnameinfo.
7164         (getnameinfo): Call gni_host and gni_serv to perform the
7165         processing.  Always free scratch buffer.
7167 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7169         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7170         remaining bytes in the dest string, with zeros.
7172 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7174         [BZ #20010]
7175         CVE-2016-3706
7176         * sysdeps/posix/getaddrinfo.c
7177         (convert_hostent_to_gaih_addrtuple): New function.
7178         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7179         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7180         AF_INET data.
7182 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7184         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7185         callback function gl_readdir.
7186         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7187         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7188         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7189         memcpy to copy the name.
7190         * manual/pattern.texi (Calling Glob): Document requirements for
7191         implementations of the gl_readdir callback function.
7192         * manual/examples/mkdirent.c: New example.
7193         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7194         per the manual guidance.
7195         * posix/tst-gnuglob.c (my_readdir): Likewise.
7197 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7199         [BZ #20014]
7200         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7201         not [__USE_POSIX].
7202         (getchar_unlocked): Likewise.
7203         (putc_unlocked): Likewise.
7204         (putchar_unlocked): Likewise.
7205         (flockfile): Likewise.
7206         (ftrylockfile): Likewise.
7207         (funlockfile): Likewise.
7208         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7209         variable.
7210         (test-xfail-XPG4/stdio.h/conform): Likewise.
7212         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7213         Expect constant.
7214         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7215         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7216         variable.
7217         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7218         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7220         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7221         [__USE_LARGEFILE64] (off64_t): Likewise.
7222         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7223         variable.
7225 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7227         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7229 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7231         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7232         * resolv/res_init.c: Likewise.
7233         * resolv/res_mkquery.c: Likewise.
7235 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7237         * resolv/res_init.c (isascii): Do not define.  Use definition in
7238         <ctype.h>.
7239         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7240         (LOG_AUTH): Remove.
7241         (SPRINTF): Remove, adjust caller.
7242         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7244 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7246         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7247         SUNSECURITY conditional.
7248         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7250 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7252         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7253         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7254         Remove BSD-related preprocessor conditionals.
7255         * conf/portability.h: Remove.
7257 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7259         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7260         * resolv/res_data.c: Likewise.
7262 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7264         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7265         * resolv/res_data.c: Remove code conditional on ultrix.
7267 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7269         * resolv/res_init.c (RFC1535): Do not define.  Remove
7270         RFC1535 preprocessor conditionals.
7271         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7272         because there configuration options which make the resolver
7273         behavior different.
7275 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7277         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7278         RESOLVSORT preprocessor conditionals.
7279         * resolv/nss_dns/dns-host.c: Likewise.
7280         * resolv/res_init.c: Likewise.
7282 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7284         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7285         is never defined.
7287 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7289         * inet/inet_lnaof.c: Remove SCSS keyword.
7290         * inet/inet_mkadr.c: Likewise.
7291         * inet/inet_net.c: Likewise.
7292         * inet/inet_netof.c: Likewise.
7293         * inet/rcmd.c: Likewise.
7294         * inet/rexec.c: Likewise.
7295         * inet/ruserpass.c: Likewise.
7297 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7299         * resolv/inet_addr.c: Remove _LIBC conditionals.
7300         * resolv/res_data.c: Likewise.
7301         * resolv/res_init.c: Likewise.
7302         * resolv/res_mkquery.c: Likewise.
7303         * resolv/res_libc.c: Update comment.
7304         * resolv/README: Update.
7306 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7308         * resolv/gethnamaddr.c: Remove SCSS keyword.
7309         * resolv/herror.c: Likewise.
7310         * resolv/inet_addr.c: Likewise.
7311         * resolv/inet_net_ntop.c: Likewise.
7312         * resolv/inet_net_pton.c: Likewise.
7313         * resolv/inet_neta.c: Likewise.
7314         * resolv/inet_ntop.c: Likewise.
7315         * resolv/inet_pton.c: Likewise.
7316         * resolv/ns_date.c: Remove RCS keyword.
7317         * resolv/ns_name.c: Likewise.
7318         * resolv/ns_netint.c: Likewise.
7319         * resolv/ns_parse.c: Likewise.
7320         * resolv/ns_print.c: Likewise.
7321         * resolv/ns_samedomain.c: Likewise.
7322         * resolv/ns_ttl.c: Likewise.
7323         * resolv/nsap_addr.c: Likewise.
7324         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7325         * resolv/res_data.c: Remove RCS keyword.
7326         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7327         * resolv/res_init.c: Likewise.
7328         * resolv/res_mkquery.c: Likewise.
7329         * resolv/res_query.c: Likewise.
7330         * resolv/res_send.c: Likewise.
7332 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7334         * conform/data/stdio.h-data (fdopen): Expect also for
7335         [XPG3 || XPG4].
7337         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7338         (fseeko): Likewise.
7339         (ftello): Likewise.
7340         (ftrylockfile): Likewise.
7341         (funlockfile): Likewise.
7342         (getc_unlocked): Likewise.
7343         (getchar_unlocked): Likewise.
7344         (putc_unlocked): Likewise.
7345         (putchar_unlocked): Likewise.
7347 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7349         [BZ #19868]
7350         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7351         DNS packet syntax checks (which were not needed before).  Skip
7352         over non-PTR records.
7354 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7356         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7357         definition.  Include <stddef.h> instead.
7359 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7361         [BZ #19831]
7362         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7363         function.
7364         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7365         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7367 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7369         [BZ #19862]
7370         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7371         (getanswer_r): Do not call syslog.
7372         (gaih_getanswer_slice): Likewise.
7373         * resolv/gethnamaddr.c (AskedForGot): Remove.
7374         (getanswer): Do not call syslog.
7375         (gethostbyaddr): Likewise.
7377 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7379         * conform/data/signal.h-data (union sigval): Expect also if
7380         [XOPEN2K].
7381         (struct sigevent): Likewise.
7382         (SIGEV_NONE): Likewise.
7383         (SIGEV_SIGNAL): Likewise.
7384         (SIGEV_THREAD): Likewise.
7385         (SIGRTMIN): Likewise.
7386         (SIGRTMAX): Likewise.
7387         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7388         variable.
7389         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7391 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7393         [BZ #19830]
7394         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7395         (gaih_getanswer_slice): Likewise.
7396         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7397         Also check for availability of RR metadata.
7399 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7401         [BZ #19825]
7402         * resolv/res_send.c (send_vc): Remove early *resplen2
7403         initialization.  Set *resplen2 on socket error.  Call
7404         close_and_return_error for other errors.
7406 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7408         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7409         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7410         (SCM_IUCV_TRGCLS): New define.
7412 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7414         [BZ #20005]
7415         * libio/fmemopen.c (fmemopen_write): Update internal position after
7416         write.
7417         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7418         * stdio-common/tst-fmemopen4.c: New file..
7420 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7422         [BZ #19996]
7423         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7424         not [__USE_XOPEN2K].
7425         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7426         variable.
7428         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7429         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7430         variable.
7432         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7433         [__USE_XOPEN2K8].
7434         [__USE_LARGEFILE64] (off64_t): Likewise.
7435         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7436         variable.
7438 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7440         [BZ #19989]
7441         * libio/stdio.h (cuserid): Do not declare if
7442         [__USE_XOPEN2K && !__USE_GNU].
7443         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7444         variable.
7446 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7448         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7449         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7451         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7452         ifunc'ed strcspn.
7453         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7454         [EALIGN]: Removed.
7455         [END]: Likewise
7456         [STRSPN]: Define instead of the above to control symbol name.
7457         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7458         New file.
7459         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7460         Likewise.
7461         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7462         Likewise.
7463         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7464         Likewise.
7465         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7466         [INITIAL_MASK]: New macro.
7467         [STRCSPN]: Likewise.
7468         [UPDATE_MASK]: Likewise.
7469         [USE_AS_STRCSPN]: Lisewise.
7471 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7473         [BZ #19931]
7474         * stdio-common/tst-vfprintf-width-prec.c: New file.
7475         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7476         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7477         (generated): Add mtrace-related files.
7478         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7479         (tst-%-mem.out): New pattern rule, replaces
7480         tst-printf-bz18872-mem.out.
7481         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7482         specifier, deallocate any previously allocated work buffer.
7484 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7486         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7487         Add nop before __startcontext, add explaining comments.
7489 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7491         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7492         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7493         completely different API.
7495         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7496         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7497         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7498         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7499         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7500         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7501         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7502         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7503         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7504         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7506 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7508         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7510 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7512         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7513         when it is the default of 0.
7515 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7517         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7518         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7519         (sysdep_routines): Add new strcasestr targets.
7520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7521         (__libc_ifunc_impl_list): Likewise.
7522         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7523         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7524         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7525         * sysdeps/powerpc/powerpc64/power8/Makefile:
7526         New file to add strcasestr-ppc64 to sysdep_routines.
7527         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7528         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7530 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7532         * benchtests/Makefile (wcsmbs-benchset): Include only for
7533         native builds and runs.
7534         (LOCALES): Likewise.
7535         (bench-build): Build timing-type here instead of the bench
7536         target.  Generate locale only for native builds.
7537         * benchtests/README: Add note for cross-building.
7539         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7541         * benchtests/README: Update README to include instructions on
7542         using bench-build.
7544         * Makefile.in (bench-build): New target.
7545         * Rules (PHONY): Add bench-build target.
7546         * benchtests/Makefile (bench): Depend on bench-build.
7547         (bench-build): New target.
7549 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7551         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7552         profil_reply_port.
7553         (profile_waiter): Do not initialize profil_reply_port.
7554         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7555         frequency instead of tick length in us.
7557 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7559         [BZ #18712]
7560         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7561         (__old_mempcpy_small): Likewise.
7562         (__old_strcpy_small): Likewise.
7563         (__old_stpcpy_small): Likewise.
7564         (__old_strpbrk_c2): Fix compat symbol name.
7565         (__old_strpbrk_c3): Likewise.
7566         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7567         (__mempcpy_small): Remove.
7568         (__strcpy_small): Remove.
7569         (__stpcpy_small): Remove.
7571 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7573         [BZ #19400]
7574         * locale/iso-639.def: Add the Talossan/tzl language.
7576 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7578         [BZ #16983]
7579         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7580         comment.  Add "ln" to strchr check on postal_fmt.
7582 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7584         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7585         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7586         tel_dom_fmt.
7588 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7590         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7591         (sysdep_routines): Added __strlen_power8.
7592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7593         __strlen_power8 entry.
7594         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7595         Implementation for POWER8.
7596         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7597         for __strlen_power8.
7598         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7599         Implementation for POWER8.
7601 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7603         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7605 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7607         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7608         Goldmont and Airmont processors.
7610 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7612         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7613         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7614         (__STRING2_SMALL_GET32): Remove.
7615         (memset): Remove.
7616         (__memset_1): Remove.
7617         (__memset_gc): Remove.
7618         (__mempcpy): Remove.
7619         (mempcpy): Remove.
7620         (__mempcpy_args): Remove.
7621         (strchr): Remove.
7622         (strcpy): Remove.
7623         (strcpy_args): Remove.
7624         (__stpcpy_args): Remove.
7625         (__strcmp_cc): Remove.
7626         (__strcmp_gc): Remove.
7627         (strstr): Remove.
7629 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7631         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7632         * nis/nis_call.c (nis_server_cache_add): Likewise.
7634 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7636         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7638 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7640         * malloc/arena.c (__malloc_fork_lock_parent)
7641         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7642         internal_function attribute.
7644 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7646         * stdio-common/printf_fp.c (__printf_fp_l):
7647         Rename ___printf_fp_l to __printf_fp_l and
7648         remove strong alias. Use libc_hidden_def instead
7649         of ldbl_hidden_def macro.
7651 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7653         Remove malloc hooks from fork handler.  They are no longer needed
7654         because malloc runs right before fork, and no malloc calls from
7655         other fork handlers are not possible anymore.
7656         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7657         declarations.
7658         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7659         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7660         (atfork_recursive_cntr): Remove.
7661         (__malloc_fork_lock_parent): Do not override malloc hooks and
7662         thread_arena.
7663         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7664         thread_arena.
7665         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7666         thread_arena instead of save_arena.
7668 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7670         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7671         (thread_atfork, thread_atfork_static): Remove.
7672         * sysdeps/mach/hurd/malloc-machine.h:
7673         (thread_atfork, thread_atfork_static): Remove.
7675 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7677         [BZ #19431]
7678         Run the malloc fork handler as late as possible to avoid deadlocks.
7679         * malloc/malloc-internal.h: New file.
7680         * malloc/malloc.c: Include it.
7681         * malloc/arena.c (ATFORK_MEM): Remove.
7682         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7683         Update comment.
7684         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7685         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7686         Remove outdated comment.
7687         (ptmalloc_init): Do not call thread_atfork.  Remove
7688         thread_atfork_static.
7689         * malloc/tst-malloc-fork-deadlock.c: New file.
7690         * Makefile (tests): Add tst-malloc-fork-deadlock.
7691         (tst-malloc-fork-deadlock): Link against libpthread.
7692         * manual/memory.texi (Aligned Memory Blocks): Update safety
7693         annotation comments.
7694         * sysdeps/nptl/fork.c (__libc_fork): Call
7695         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7696         __malloc_fork_unlock_child.
7697         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7699 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7701         [BZ #19613]
7702         Remove union wait.
7703         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7704         (w_stopsig, w_stopval): Remove.
7705         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7706         stat_loc argument.
7707         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7708         (__WAIT_STATUS_DEFN): Remove.
7709         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7710         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7711         (wait, wait3, wait4): Use int * for the stat_loc argument.
7712         * posix/wait.c (__wait): Likewise.
7713         * posix/wait3.c (__wait3): Likewise.
7714         * posix/wait4.c (__wait4): Likewise.
7715         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7716         (__WAIT_STATUS_DEFN): Remove.
7717         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7718         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7719         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7720         argument.
7721         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7722         * sysdeps/posix/wait3.c (__wait3): Likewise.
7723         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7724         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7725         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7726         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7727         stat_loc argument.
7728         * manual/process.texi (BSD Wait Functions): Remove union wait.
7730 2016-04-13  Andreas Schwab  <schwab@suse.de>
7732         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7733         (test-extras): Add tst-tlsalign-vars.
7734         * math/Makefile: Wrap long lines.
7735         (libm-vec-test-wrappers): Define.
7736         (test-extras): Add $(libm-vec-test-wrappers).
7737         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7738         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7739         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7740         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7741         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7742         (extra-test-objs): Add corresponding objects.
7744 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7746         [BZ #19928]
7747         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7748         New.
7749         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7750         times of shared cache size.
7751         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7752         (VMOVNT): New.
7753         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7754         (VMOVNT): Likewise.
7755         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7756         (VMOVNT): Likewise.
7757         (VMOVU): Changed to movups for smaller code sizes.
7758         (VMOVA): Changed to movaps for smaller code sizes.
7759         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7760         comments.
7761         (PREFETCH): New.
7762         (PREFETCH_SIZE): Likewise.
7763         (PREFETCHED_LOAD_SIZE): Likewise.
7764         (PREFETCH_ONE_SET): Likewise.
7765         Rewrite to use forward and backward loops, which move 4 vector
7766         registers at a time, to support overlapping addresses and use
7767         non temporal store if size is above the threshold and there is
7768         no overlap between destination and source.
7770 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7772         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7773         Include dl-vdso.
7774         * sysdeps/unix/sysv/linux/mips/Versions: Add
7775         __vdso_clock_gettime.
7776         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7777         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7778         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7779         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7780         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7781         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7782         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7783         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7784         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7786 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7788         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7789         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7790         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7791         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7792         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7793         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7796         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7797         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7798         syscalls generation.
7799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7800         [__NR_pwrite64] (__NR_write): Remove define.
7801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7802         [__NR_pwrite64] (__NR_write): Remove define.
7803         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7804         Remove define.
7805         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7806         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7807         Remove define.
7808         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7809         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7810         Linux implementation as base.
7811         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7813         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7814         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7815         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7816         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7819         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7821         syscall generation.
7822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7823         [__NR_pread64] (__NR_pread): Remove define.
7824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7825         [__NR_pread64] (__NR_pread): Likewise.
7826         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7827         define.
7828         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7829         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7830         Remove define.
7831         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7832         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7833         Linux implementation as base.
7834         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7835         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7836         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7838         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7839         definition.
7840         (__ALIGNMENT_COUNT): Likewise.
7841         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7842         (__ALIGNMENT_COUNT): Likewise.
7843         (SYSCALL_LL): New define.
7844         (SYSCALL_LL64): Likewise.
7845         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7846         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7847         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7848         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7850         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7851         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7852         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7853         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7854         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7855         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7857 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7859         [BZ #19865]
7860         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7861         original buffer before retry.
7863 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7865         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7866         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7867         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7868         GLRO(dl_auxv) list.
7869         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7870         including <ldsodefs.h>.
7871         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7873 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7875         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7876         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7877         $(CPPFLAGS).
7879 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7881         [BZ #17950]
7882         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7883         Add -mfpmath=387.
7885 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7887         * sysdeps/i386/configure.ac: Change == to = when calling test.
7888         * sysdeps/x86_64/configure.ac: Likewise.
7889         * sysdeps/i386/configure: Regenerated.
7890         * sysdeps/x86_64/configure: Likewise.
7892 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7894         [BZ #16137]
7895         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7896         * benchtests/bench-strcoll.c (input_files): Likewise.
7897         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7898         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7899         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7901 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7903         [BZ #19929]
7904         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7905         [__USE_XOPEN2K8 && !__USE_GNU].
7906         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7907         variable.
7909         [BZ #19925]
7910         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7911         define if [!__USE_MISC && __USE_XOPEN2K].
7912         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7913         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7914         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7915         Likewise.
7916         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7917         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7918         variable.
7919         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7921 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7923         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7924         (sysdep_routines): Add new strspn targets.
7925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7926         (__libc_ifunc_impl_list): Add strspn.
7927         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7928         New file.
7929         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7930         Likewise.
7931         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7932         Likewise.
7933         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7934         Likewise.
7936 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7938         * misc/hsearch_r.c: Include <limits.h>.
7940 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7942         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7944 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7946         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7947         (MEMCPY_SYMBOL): New.
7948         (MEMPCPY_SYMBOL): Likewise.
7949         (MEMMOVE_CHK_SYMBOL): Likewise.
7950         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7951         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7952         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7953         Provide alias for memcpy in libc.a and ld.so.
7955 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7957         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7958         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7959         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7960         Disabled fro now.
7961         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7962         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7964 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7966         * benchtests/Makefile (string-benchset): Add memcpy-large,
7967         memmove-large and memset-large.
7968         * benchtests/bench-memcpy-large.c: New file.
7969         * benchtests/bench-memmove-large.c: Likewise.
7970         * benchtests/bench-memmove-large.c: Likewise.
7971         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7973 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7975         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7976         32-bit displacement to avoid long nop between instructions.
7978 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7980         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7981         a comment on VMOVU and VMOVA.
7983 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7985         [BZ #19633]
7986         Use specified locale for number formatting in strfmon_l.
7987         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7988         (__nl_lookup_word): New inline functions.
7989         * include/printf.h (__print_fp_l): Declare.
7990         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7991         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7992         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7993         (___printf_fp): New function.
7994         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7995         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7996         * stdlib/tst-strfmon_l.c (do_test): New test.
7997         * stdlib/Makefile (tests): Add kt.
7998         (LOCALES): Build additional locales.
7999         (tst-strfmon_l.out): Require locales.
8001 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8003         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
8004         if not in libc.
8005         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8006         Likewise.
8007         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
8008         Likewise.
8009         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8010         Likewise.
8012 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8014         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8015         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
8016         with unaligned_erms.
8017         (__memmove_erms): Skip if source == destination.
8018         (__memmove_unaligned_erms): Don't check source == destination
8019         first.
8021 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8023         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8024         bit_arch_Fast_Copy_Backward for Intel Core proessors.
8026 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8028         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
8029         * string/strspn.c (strspn): Likewise.
8031 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8033         * benchtests/bench-memset.c (do_test): Support 64-byte
8034         alignment.
8035         (test_main): Test 64-byte alignment.
8037 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8039         * benchtests/bench-memmove.c (test_main): Test 64-byte
8040         alignment.
8042 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8044         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
8046 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8048         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
8049         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
8050         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
8052         * string/strpbrk.c (strpbrk): Rewrite function.
8053         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
8054         (__strpbrk_c2): Likewise.
8055         (__strpbrk_c3): Likewise.
8056         * string/string-inlines.c
8057         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
8058         Likewise.
8059         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
8060         Likewise.
8062         * string/strspn.c (strcspn): Rewrite function.
8063         * string/bits/string2.h (strspn): Use __builtin_strcspn.
8064         (__strspn_c1): Remove inline function.
8065         (__strspn_c2): Likewise.
8066         (__strspn_c3): Likewise.
8067         * string/string-inlines.c
8068         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
8069         compatibility symbol.
8070         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
8071         Likewise.
8072         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
8073         Likewise.
8074         * string/string-inlines.c: Include generic version.
8076 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
8077             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8079         * string/Version (libc): Add GLIBC_2.24.
8080         * string/strcspn.c (strcspn): Rewrite function.
8081         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
8082         (__strcspn_c1): Remove inline function.
8083         (__strcspn_c2): Likewise.
8084         (__strcspn_c3): Likewise.
8085         * string/string-inline.c
8086         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
8087         compatibility symbol.
8088         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
8089         Likewise.
8090         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
8091         Likewise.
8092         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
8094 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8096         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8097         Use ahi instead of aghi to adjust stack pointer.
8099 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8101         [BZ #19853]
8102         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
8103         TEST to take significant digits as second parameter.
8104         [TEST]: Redefine in terms of TEST_N taking 30
8105         significant digits.
8106         (do_test): Add test case to demonstrate precision
8107         failure in the ldbl-128ibm printf.
8108         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
8109         (__mpn_extract_long_double): Carry 7 extra intermediate
8110         bits of precision to aide computing difference when
8111         signs differ.
8113 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8115         [BZ #19881]
8116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8117         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
8118         memset-avx512-unaligned-erms.
8119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8120         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
8121         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8122         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8123         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8124         __memset_sse2_unaligned_erms, __memset_erms,
8125         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8126         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8127         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8128         file.
8129         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8130         Likewise.
8131         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8132         Likewise.
8133         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8134         Likewise.
8136 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8138         [BZ #19776]
8139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8140         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
8141         memmove-avx512-unaligned-erms.
8142         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8143         (__libc_ifunc_impl_list): Test
8144         __memmove_chk_avx512_unaligned_2,
8145         __memmove_chk_avx512_unaligned_erms,
8146         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8147         __memmove_chk_sse2_unaligned_2,
8148         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
8149         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
8150         __memmove_avx512_unaligned_erms, __memmove_erms,
8151         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
8152         __memcpy_chk_avx512_unaligned_2,
8153         __memcpy_chk_avx512_unaligned_erms,
8154         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8155         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8156         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8157         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8158         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8159         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8160         __mempcpy_chk_avx512_unaligned_erms,
8161         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8162         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8163         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8164         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8165         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8166         __mempcpy_erms.
8167         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8168         file.
8169         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8170         Likwise.
8171         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8172         Likwise.
8173         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8174         Likwise.
8176 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8178         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8179         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8180         (La_s390_64_regs): Likewise.
8181         (La_s390_32_retval): Append vector register lrv_v24.
8182         (La_s390_64_retval): Likeweise.
8183         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8184         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8185         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8186         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8188 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8190         [BZ #19916]
8191         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8192         to create a non-vector/vector version for _dl_runtime_resolve and
8193         _dl_runtime_profile. Move implementation to ...
8194         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8195         (_dl_runtime_resolve) Save and restore fpr/vrs.
8196         (_dl_runtime_profile) Save and restore vrs and fix some issues
8197         if _dl_call_pltexit is called.
8198         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8199         Choose the correct resolver function if running on a machine with vx.
8200         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8201         to create a non-vector/vector version for _dl_runtime_resolve and
8202         _dl_runtime_profile. Move implementation to ...
8203         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8204         (_dl_runtime_resolve) Save and restore fpr/vrs.
8205         (_dl_runtime_profile) Save and restore vrs and fix some issues
8206         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8207         Choose the correct resolver function if running on a machine with vx.
8209 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8211         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8213 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8215         [BZ #19509]
8216         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8217         skip_map != NULL.
8218         * elf/tst-dlsym-error.c: New file.
8219         * elf/Makefile (tests): Add tst-dlsym-error.
8220         (tst-dlsym-error): Link against libdl.
8222 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8224         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8225         (__ASSUME_FUTIMESAT): Remove macro.
8226         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8228 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8230         [BZ #19879]
8231         CVE-2016-3075
8232         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8233         copy name.
8235 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8237         [BZ #19837]
8238         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8239         error if parse_line fails.
8241 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8243         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8244         (index_cpu_ERMS): Likewise.
8245         (reg_ERMS): Likewise.
8247 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8249         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8250         PER_LINUX_FDPIC): Add.
8252 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8255         memcpy-avx512-no-vzeroupper.
8256         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8257         to ...
8258         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8259         (MEMCPY): Don't define.
8260         (MEMCPY_CHK): Likewise.
8261         (MEMPCPY): Likewise.
8262         (MEMPCPY_CHK): Likewise.
8263         (MEMPCPY_CHK): Renamed to ...
8264         (__mempcpy_chk_avx512_no_vzeroupper): This.
8265         (MEMPCPY_CHK): Renamed to ...
8266         (__mempcpy_chk_avx512_no_vzeroupper): This.
8267         (MEMCPY_CHK): Renamed to ...
8268         (__memmove_chk_avx512_no_vzeroupper): This.
8269         (MEMCPY): Renamed to ...
8270         (__memmove_avx512_no_vzeroupper): This.
8271         (__memcpy_avx512_no_vzeroupper): New alias.
8272         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8274 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8276         [BZ #18858]
8277         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8278         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8279         and mempcpy-avx512-no-vzeroupper.
8280         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8281         New.
8282         (MEMPCPY): Likewise.
8283         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8284         (MEMPCPY_CHK): New.
8285         (MEMPCPY): Likewise.
8286         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8287         (MEMPCPY): Likewise.
8288         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8289         (MEMPCPY): Likewise.
8290         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8291         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8292         Likewise.
8293         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8294         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8296 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8297              Amit Pawar  <Amit.Pawar@amd.com>
8299         [BZ #19583]
8300         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8301         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8302         processors.  Set Fast_Copy_Backward for AMD Excavator
8303         processors.
8304         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8305         New.
8306         (index_arch_Fast_Unaligned_Copy): Likewise.
8307         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8308         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8310 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8312         [BZ #19791]
8313         * resolv/res_send.c (close_and_return_error): New function.
8314         (send_dg): Initialize *resplen2 after reopen failure.  Call
8315         close_and_return_error for error returns.  On error paths without
8316         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8317         successful return.
8319 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8321         [BZ# 19860]
8322         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8323         zero if the compiler does not provide the AVX512F bit.
8325 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8327         [BZ #19848]
8328         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8329         from 8 to 4.
8330         (__ieee754_powl): Compare integer exponent against 4 not 8.
8331         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8332         from 8 to 4.
8333         (__ieee754_powl): Compare integer exponent against 4 not 8.
8334         * math/auto-libm-test-in: Add more tests of pow.
8335         * math/auto-libm-test-out: Regenerated.
8336         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8339 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8341         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8342         Make code unconditional.
8343         [!__NR_utimensat]: Remove conditional code.
8344         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8345         Make code unconditional.
8346         [!__NR_utimensat]: Remove conditional code.
8347         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8348         Make code unconditional.
8349         [!__NR_utimensat]: Remove conditional code.
8351 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8353         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8354         Make code unconditional.
8356 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8358         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8359         call-clobbered %eax on retry path.
8360         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8362 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8364         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8365         Don't set %rcx twice before "rep movsb".
8367 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8369         [BZ #19583]
8370         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8371         inline.  Check family before setting family, model and
8372         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8373         bits here.
8374         (init_cpu_features): Replace HAS_CPU_FEATURE and
8375         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8376         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8377         for Intel processors with usable AVX2.  Call get_common_indeces
8378         for other processors with family == NULL.
8379         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8380         (CPU_FEATURES_ARCH_P): Likewise.
8381         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8382         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8384 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8386         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8387         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8388         $(shared-thread-library) instead of hardcoding the path to libpthread.
8390 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8392         * sysdeps/unix/sysv/linux/kernel-features.h
8393         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8394         * sysdeps/unix/sysv/linux/getdents.c
8395         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8396         [!have_no_getdents64_defined]: Likewise.
8397         (__GETDENTS): Remove __have_no_getdents64 conditional.
8399 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8401         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8402         Remove macro.
8403         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8404         <kernel-features.h>.
8405         (signalfd) [__NR_signalfd4]: Make code unconditional.
8406         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8408 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8410         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8411         style.
8413 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8415         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8416         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8417         __pthread_unwind.
8418         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8419         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8420         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8421         (__condvar_cleanup1): Likewise.
8423 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8425         [BZ #19822]
8426         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8427         move it to the final $@ location.
8429 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8431         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8432         access where posix_spawn success and pid argument is null.
8433         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8434         success case.
8436 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8438         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8440         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8442         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8443         and __fcntl.
8444         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8445         __fcntl only.
8446         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8447         adding attribute_hidden to __open and __fcntl.
8449         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8450         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8451         depend on libc-modules.h,
8452         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8454 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8456         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8457         Remove macro.
8458         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8459         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8460         entry.
8462         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8463         Remove macro.
8464         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8465         include <kernel-features.h>.
8466         [!__ASSUME_FALLOCATE]: Remove conditional code.
8467         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8469 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8471         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8472         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8473         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8474         (_ZGVdN4v_cos_avx2): Likewise.
8475         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8476         (_ZGVdN4v_cos): Likewise.
8477         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8478         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8479         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8480         (_ZGVdN4v_exp_avx2): Likewise.
8481         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8482         (_ZGVdN4v_exp): Likewise.
8483         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8484         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8485         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8486         (_ZGVdN4v_log_avx2): Likewise.
8487         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8488         (_ZGVdN4v_log): Likewise.
8489         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8490         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8491         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8492         (_ZGVdN4vv_pow_avx2): Likewise.
8493         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8494         (_ZGVdN4vv_pow): Likewise.
8495         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8496         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8497         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8498         (_ZGVdN4v_sin_avx2): Likewise.
8499         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8500         (_ZGVdN4v_sin): Likewise.
8501         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8502         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8503         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8504         (_ZGVdN4vvv_sincos_avx2): Likewise.
8505         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8506         (_ZGVdN4vvv_sincos): Likewise.
8507         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8508         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8509         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8510         (_ZGVbN4v_cosf_sse4): Likewise.
8511         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8512         (_ZGVdN8v_cosf_avx2): Likewise.
8513         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8514         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8515         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8516         (_ZGVbN4v_expf_sse4): Likewise.
8517         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8518         (_ZGVdN8v_expf_avx2): Likewise.
8519         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8520         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8521         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8522         (_ZGVbN4v_logf_sse4): Likewise.
8523         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8524         (_ZGVdN8v_logf_avx2): Likewise.
8525         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8526         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8527         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8528         (_ZGVbN4vv_powf_sse4): Likewise.
8529         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8530         (_ZGVdN8vv_powf_avx2): Likewise.
8531         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8532         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8533         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8534         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8535         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8536         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8537         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8538         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8539         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8540         (_ZGVbN4v_sinf_sse4): Likewise.
8541         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8542         (_ZGVdN8v_sinf_avx2): Likewise.
8543         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8544         Use JUMPTARGET to call callee.
8545         (WRAPPER_IMPL_SSE2_ff): Likewise.
8546         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8547         (WRAPPER_IMPL_AVX): Likewise.
8548         (WRAPPER_IMPL_AVX_ff): Likewise.
8549         (WRAPPER_IMPL_AVX_fFF): Likewise.
8550         (WRAPPER_IMPL_AVX512): Likewise.
8551         (WRAPPER_IMPL_AVX512_ff): Likewise.
8552         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8553         Likewise.
8554         (WRAPPER_IMPL_SSE2_ff): Likewise.
8555         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8556         (WRAPPER_IMPL_AVX): Likewise.
8557         (WRAPPER_IMPL_AVX_ff): Likewise.
8558         (WRAPPER_IMPL_AVX_fFF): Likewise.
8559         (WRAPPER_IMPL_AVX512): Likewise.
8560         (WRAPPER_IMPL_AVX512_ff): Likewise.
8561         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8563 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8565         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8566         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8567         qualifier.
8568         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8569         internal_function qualifiers.
8571 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8573         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8574         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8575         * math/atest-exp.c (exp_mpn): Mark chk unused.
8576         * math/atest-exp2.c (exp_mpn): Likwise.
8577         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8578         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8580 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8583         Remove macro.
8584         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8585         <kernel-features.h>.
8586         [__NR_ppoll]: Make code unconditional.
8587         [!__ASSUME_PPOLL]: Remove conditional code.
8589         * sysdeps/unix/sysv/linux/kernel-features.h
8590         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8591         (__ASSUME_ACCEPT4): Likewise.
8592         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8593         Define.
8594         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8595         Likewise.
8596         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8597         Likewise.
8598         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8599         Likewise.
8600         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8601         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8602         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8603         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8604         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8605         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8606         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8607         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8608         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8609         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8610         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8611         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8612         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8613         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8614         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8615         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8616         Likewise.
8617         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8618         Likewise.
8619         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8620         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8621         0x040300].
8622         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8623         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8624         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8625         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8626         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8627         0x030300].
8628         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8629         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8630         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8631         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8632         0x040300].
8633         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8634         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8636         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8637         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8638         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8639         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8640         0x030300].
8641         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8642         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8643         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8644         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8645         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8646         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8647         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8648         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8649         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8650         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8651         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8652         0x040300].
8653         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8654         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8655         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8656         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8657         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8658         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8659         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8660         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8661         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8662         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8663         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8664         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8665         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8666         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8667         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8668         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8670         Likewise.
8671         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8672         Likewise.
8674 2016-03-15  Andreas Schwab  <schwab@suse.de>
8676         [BZ #19257]
8677         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8678         statp->_u._ext.nscount as loop count.
8680 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8682         * math/test-signgam-finite-c99.c: Also #undef
8683         __LIBC_INTERNAL_MATH_INLINES.
8684         * math/test-signgam-main.c: Likewise.
8686 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8688         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8689         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8690         (MADV_FREE): Likewise.
8691         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8692         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8693         EPOLLEXCLUSIVE.
8695 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8697         * timezone/README: Remove mention of checktab.awk. Mention wiki
8698         SharedSourceFiles.
8700 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8702         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8703         WUNTRACED.
8705 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8707         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8708         order to match the type of p when calling atomic_exchange_acq().
8710 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8712         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8713         cfi_offset calls.
8714         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8715         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8716         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8717         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8718         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8720 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8722         * timezone/checktab.awk: Removed.
8724 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8726         * manual/math.texi (Errors in Math Functions): Document relaxed
8727         accuracy goals for IBM long double.
8728         * math/libm-test.inc (test_exceptions): Always allow spurious
8729         "underflow" and "inexact" exceptions for IBM long double.
8731 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8733         [BZ #19762]
8734         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8735         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8736         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8737         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8738         (bit_arch_*): This for feature array.
8739         (bit_*): Renamed to ...
8740         (bit_cpu_*): This for cpu array.
8741         (index_*): Renamed to ...
8742         (index_arch_*): This for feature array.
8743         (index_*): Renamed to ...
8744         (index_cpu_*): This for cpu array.
8745         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8746         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8747         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8748         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8749         bit_##name with index_cpu_##name and bit_cpu_##name.
8750         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8751         bit_##name with index_arch_##name and bit_arch_##name.
8753 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8755         [BZ #19792]
8756         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8757         Terminate FDE before return label.
8759 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8761         [BZ #19790]
8762         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8763         (rintl): Define as macro.
8764         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8765         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8766         of fesetround.  Ensure results are evaluated before end of scope.
8767         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8768         USE_AS_NEARBYINTL and include s_rintl.c.
8769         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8770         Disable exception traps in new environment.
8771         (libc_feholdsetround_ppc_ctx): Likewise.
8773 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8775         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8776         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8777         (tst_audit10_aux) [__AVX512F__]: ... here.
8779 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8781         * include/sys/auxv.h: New file.
8783 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8785         [BZ #19759]
8786         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8788 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8790         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8791         operand modifier.
8792         (feclearexcept): Likewise.
8794 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8796         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8797         to reflect the entire 32-bit HWCAP.
8798         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8799         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8801 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8803         [BZ #19783]
8804         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8805         $(test-via-rtld-prefix).
8806         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8808 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8810         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8811         union wait.  Report any non-zero exit status as error.
8813 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8815         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8816         configured with --enable-hardcoded-path-in-tests.
8818 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8820         [BZ #19677]
8821         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8822         (__ieee754_remainderl): Put zero low parts in canonical form.
8823         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8824         file.  Based on
8825         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8826         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8827         with wrapper round test-fmodrem-ldbl-128ibm.c.
8828         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8829         file.
8830         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8831         Likewise.
8832         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8833         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8835 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8837         [BZ #19610]
8838         * elf/ldconfig.c (opt_link): Update comment.
8839         (options): Update help string for option -X.
8840         (search_dir): Unlink stale symbolic link only if updating symbolic
8841         links.
8842         * elf/tst-ldconfig-X.sh: New file.
8843         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8844         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8846 2016-03-07  Andreas Schwab  <schwab@suse.de>
8848         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8849         needed arguments.
8851 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8853         [BZ #15333]
8854         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8855         to lstat64.
8857 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8859         * libio/filedoalloc.c (isatty): Remove.
8860         (local_isatty): Add comment.  Call __isatty directly.
8861         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8862         * libio/wfiledoalloc.c (isatty): Remove.
8863         (_IO_wfile_doallocate): Update comment.
8865 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8867         [BZ #19269]
8868         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8869         tst-audit4-aux.o.
8870         (tst-audit10): Depend on tst-audit10-aux.o.
8871         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8872         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8873         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8874         instead of inline AVX code.
8875         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8876         instead of inline AVX512 code.
8877         * sysdeps/x86_64/tst-audit4-aux.c: New file
8878         * sysdeps/x86_64/tst-audit10-aux.c: New file
8880         [BZ #19648]
8881         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8883 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8885         [BZ #14750]
8886         [BZ #10354]
8887         [BZ #18433]
8888         * include/sched.h (__clone): Add hidden prototype.
8889         (__clone2): Likewise.
8890         * include/unistd.h (__dup): Likewise.
8891         * posix/Makefile (tests): Add tst-spawn2.
8892         * posix/tst-spawn2.c: New file.
8893         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8894         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8895         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8896         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8897         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8898         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8899         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8900         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8901         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8902         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8903         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8905         Likewise.
8906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8907         Likewise.
8908         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8909         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8910         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8911         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8912         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8913         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8914         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8915         * sysdeps/unix/sysv/linux/nptl-signals.h
8916         (____nptl_is_internal_signal): New function.
8917         * sysdeps/unix/sysv/linux/spawni.c: New file.
8919         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8920         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8921         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8922         * posix/tst-execvp2.c (do_test): Likewise.
8923         * posix/tst-execvp3.c (do_test): Likewise.
8924         * posix/tst-execvp4.c (do_test): Likewise.
8925         * posix/tst-execvpe1.c: New file.
8926         * posix/tst-execvpe2.c: Likewise.
8927         * posix/tst-execvpe3.c: Likewise.
8928         * posix/tst-execvpe4.c: Likewise.
8929         * posix/tst-execvpe5.c: Likewise.
8930         * posix/tst-execvpe6.c: Likewise.
8932         [BZ #19534]
8933         * posix/execl.c (execl): Remove dynamic memory allocation.
8934         * posix/execle.c (execle): Likewise.
8935         * posix/execlp.c (execlp): Likewise.
8937 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8939         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8940         Replace .text with .text.avx512.
8941         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8942         Likewise.
8944 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8946         * sysdeps/generic/libnsl.abilist: New file.
8947         * sysdeps/generic/libutil.abilist: New file.
8949 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8951         [BZ #19762]
8952         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8953         HAS_ARCH_FEATURE with Fast_Rep_String.
8954         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8955         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8956         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8957         Likewise.
8958         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8959         Likewise.
8960         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8961         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8962         Likewise.
8963         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8964         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8965         Likewise.
8967 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8969         [BZ #19745]
8970         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8971         with *%rax in call.
8973 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8975         [BZ #19745]
8976         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8977         with *__libc_start_main@GOTPCREL(%rip) in call.
8979 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8981         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8982         inside conditional for nonempty $(CXX).
8984         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8985         nonempty.
8987         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8988         to test for empty $(CXX) rather than $(CXX) of "no".
8990 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8992         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8994 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8995             H.J. Lu  <hongjiu.lu@intel.com>
8997         [BZ #18880]
8998         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8999         instead of Slow_BSF, and also check for Fast_Copy_Backward to
9000         enable __memcpy_ssse3_back.
9002 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9004         [BZ #19758]
9005         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9006         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
9008 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9010         [BZ #19490]
9011         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
9012         (__fentry__): Likewise.
9014 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9016         * gmon/Makefile (noprof): Add $(sysdep_noprof).
9017         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
9019 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9021         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
9022         __mcount_internal directly.
9023         (C_LABEL(__fentry__)): Likewise.
9024         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
9025         directly.
9027 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9029         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9030         (__start_context): Call __setcontext directly.
9032 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
9034         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9035         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9036         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
9037         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9038         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9039         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9040         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
9041         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9042         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9043         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
9044         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9045         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9046         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9047         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9048         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9049         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9050         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
9051         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9052         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9053         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9054         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
9055         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9056         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9057         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9058         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
9059         Remove conditional code.
9060         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9061         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
9062         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9063         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9064         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
9065         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9066         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9067         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9068         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9069         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9070         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9071         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9073 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
9075         * NEWS (2.23): Fix typo in bug 19048 text.
9077 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
9079         [BZ #14259]
9080         * Makeconfig: Rename msgcatdir to localedir.
9081         Rename inst_msgcatdir to inst_localedir.
9082         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
9083         * config.make.in: Add localedir.
9084         * elf/Makefile ($(objpfx)sotruss): Use localedir.
9085         (ldd-rewrite): Likewise.
9086         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
9087         (install-others): Use inst_localedir.
9088         (CPPFLAGS): Use localedir.
9089         * locale/Makefile (locale-CPPFLAGS): Likewise.
9090         * po/Makefile (mo-installed): Use inst_localedir.
9092         [BZ #19575]
9093         * localedata/charmaps/GB18030: Update comments regarding PAU to
9094         non-PUA mappings.
9096 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
9098         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
9099         test for header.
9100         * sysdeps/unix/sysv/linux/configure: Regenerated.
9101         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
9102         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
9103         Remove conditional code.
9104         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
9106         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9107         Define to 3.2.0.
9108         (arch_minimum_kernel): Likewise.
9109         * sysdeps/unix/sysv/linux/configure: Regenerated.
9110         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
9111         Define to 2.6.32.
9112         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
9113         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
9114         (arch_minimum_kernel): Define to 2.6.32.
9115         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
9116         * README: Document Linux 3.2 requirement.
9117         * manual/install.texi (Linux): Document Linux 3.2 headers
9118         requirement.
9119         * INSTALL: Regenerated.
9121 2016-02-24  Andreas Schwab  <schwab@suse.de>
9123         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9124         if !NO_LONG_DOUBLE.
9126 2016-02-22  Roland McGrath  <roland@hack.frob.com>
9128         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9129         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9131 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
9133         [BZ #19512]
9134         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9136 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9138         * posix/tst-dir.c: Include libc-internal.h.
9140 2016-02-20  Florian Weimer  <fweimer@redhat.com>
9142         [BZ #19056]
9143         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
9144         * manual/filesys.texi (Reading/Closing Directory): Mention
9145         deprecaion.
9146         * posix/tst-dir.c (main): Disable deprecation warning in test.
9148 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
9150         [BZ #19679]
9151         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
9152         Renamed to ...
9153         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
9154         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9155         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
9156         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9157         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9158         * sysdeps/x86_64/dl-trampoline.h
9159         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9160         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9162 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9164         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9166 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9168         * elf/elf.h (R_386_GOT32X): New.
9169         (R_386_NUM): Update.
9170         (R_X86_64_GOTPCRELX: New.
9171         (R_X86_64_REX_GOTPCRELX): New.
9172         (R_X86_64_NUM): Update.
9174 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9176         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9178 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9180         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9181         assign attr->stackaddr to it, and adjust it down when
9182         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9183         [_STACK_GROWS_UP]: Delete assert.
9184         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9185         Implement stack grows up logic.
9186         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9187         stack grows up logic.
9189 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9191         * NEWS: Update with 2.24 template.
9193 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9195         [BZ #19678]
9196         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9197         Ensure +0.0 is returned when taking the next value below the least
9198         positive value.
9200 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9202         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9203         available.  Do not define NO_THREADS.
9204         * malloc/malloc.c: Do not check NO_THREADS.
9205         * malloc/arena.c: Likewise.
9207 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9209         * malloc/malloc.c (__libc_mallinfo): Update comment.
9210         (struct malloc_par): Remove max_total_mem member, it was always 0.
9211         (int_mallinfo): Store 0 into usmblks (no functional change).
9212         * malloc/hooks.c (struct malloc_state): Document that
9213         max_total_mem is always 0.
9214         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9215         always 0.
9216         * manual/memory.texi (Statistics of Malloc): Likewise.
9218 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9220         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9221         * malloc/arena.c (arena_max): Remove.
9222         (heap_trim, _int_new_arena): Do not update arena_max.
9224 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9226         * resolv/res_init.c (res_ninit): Update comment.
9228 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9230         [BZ #19505]
9231         * posix/spawn_int.h: Add headers and include guard.
9232         (__spawn_valid_fd): New function.
9233         * posix/spawn_faction_addopen.c
9234         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9235         * posix/spawn_faction_addclose.c
9236         (posix_spawn_file_actions_addclose): Likewise.
9237         * posix/spawn_faction_adddup2.c
9238         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9239         second file descriptor.
9240         * posix/spawn_valid_fd.c: New file.
9241         * posix/tst-posix_spawn-fd.c: New file.
9242         * posix/Makefile (routines): Add spawn_valid_fd.
9243         (tests): Add tst-posix_spawn-fd.
9245 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9247         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9248         (do_test): Limit the number of arenas, so that we can use fewer
9249         outer threads.  Limit timeout to 3 seconds, in preparation for a
9250         larger TIMEOUT value.
9252 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9254         [BZ #19674]
9255         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9256         sign in overflowing and underflowing results when overflow or
9257         underflow is detected early.  Include sign in result before rather
9258         than after scaling.
9260         [BZ #19603]
9261         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9262         (__ieee754_remainderl): Adjust sign of integer version of low part
9263         when taking absolute value of high part.
9264         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9265         * math/libm-test.inc (remainder_test_data): Add another test.
9266         (remquo_test_data): Likewise.
9268 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9270         [BZ #19602]
9271         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9272         equal high parts and both low parts zero specially.
9273         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9274         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9275         Add test-fmodl-ldbl-128ibm.
9277         [BZ #19595]
9278         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9279         common logic for all cases of shifting subnormal results.  Do not
9280         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9281         exponent to ldbl_insert_mantissa in subnormal case.
9283         [BZ #19594]
9284         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9285         on high and low parts then adjust result and use
9286         ldbl_canonicalize_int if needed.
9288         [BZ #19593]
9289         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9290         on high part and __floor or __ceil on low part then use
9291         ldbl_canonicalize_int if needed.
9293         [BZ #19592]
9294         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9295         high and low parts then use ldbl_canonicalize_int if needed.
9297         [BZ #17899]
9298         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9299         New function.
9300         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9301         on high and low parts then use ldbl_canonicalize_int if needed.
9303 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9305         * configure: Regenerated.
9307         * po/libc.pot: Regenerated.
9309         * po/be.po: Updated translation.
9310         * po/bg.po: Likewise.
9311         * po/ca.po: Likewise.
9312         * po/cs.po: Likewise.
9313         * po/da.po: Likewise.
9314         * po/el.po: Likewise.
9315         * po/eo.po: Likewise.
9316         * po/es.po: Likewise.
9317         * po/fi.po: Likewise.
9318         * po/fr.po: Likewise.
9319         * po/gl.po: Likewise.
9320         * po/hr.po: Likewise.
9321         * po/hu.po: Likewise.
9322         * po/ia.po: Likewise.
9323         * po/id.po: Likewise.
9324         * po/it.po: Likewise.
9325         * po/ja.po: Likewise.
9326         * po/lt.po: Likewise.
9327         * po/nb.po: Likewise.
9328         * po/nl.po: Likewise.
9329         * po/pt_BR.po: Likewise.
9330         * po/rw.po: Likewise.
9331         * po/sk.po: Likewise.
9332         * po/sl.po: Likewise.
9333         * po/sv.po: Likewise.
9334         * po/tr.po: Likewise.
9335         * po/zh_CN.po: Likewise.
9336         * po/zh_TW.po: Likewise.
9338         * version.h (RELEAES): Set to "development".
9339         (VERSION): Set to 2.23.90.
9341         * version.h (RELEASE): Set to "stable".
9342         (VERSION): Set to 2.23.
9343         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9345         * NEWS: Updated fixed bugs.
9347 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9348             Wilco Dijkstra  <wdijkstr@arm.com>
9350         [BZ #19462]
9351         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9352         (_STRING_INLINE_unaligned): This.
9353         * include/string.h: Include <string_private.h>.
9354         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9355         _STRING_INLINE_unaligned.
9356         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9357         (_STRING_INLINE_unaligned): New.
9358         * sysdeps/aarch64/string_private.h: New file.
9359         * sysdeps/generic/string_private.h: Likewise.
9360         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9361         * sysdeps/s390/string_private.h: Likewise.
9362         * sysdeps/x86/string_private.h: Likewise.
9363         * sysdeps/m68k/m680x0/m68020/bits/string.h
9364         (_STRING_ARCH_unaligned): Renamed to ...
9365         (_STRING_INLINE_unaligned): This.
9366         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9367         to ...
9368         (_STRING_INLINE_unaligned): This.
9369         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9370         to ...
9371         (_STRING_INLINE_unaligned): This.
9372         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9373         to ...
9374         (_STRING_INLINE_unaligned): This.
9376 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9377             H.J. Lu  <hongjiu.lu@intel.com>
9379         [BZ #19590]
9380         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9381         relocation.
9383 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9385         [BZ #18665]
9386         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9387         *herrno_p.
9388         (gaih_getanswer): Document functional behviour. Return tryagain
9389         if any result is tryagain.
9390         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9391         when freed.
9392         * resolv/res_send.c: Add copyright text.
9393         (__libc_res_nsend): Document that MAXPACKET is expected.
9394         (send_vc): Document. Remove buffer reuse.
9395         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9396         size of the buffer. Add Dprint for truncated UDP buffer.
9398 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9400         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9401         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9402         * INSTALL: Regenerate.
9404 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9405             Jonathan Wakely  <jwakely@redhat.com>
9406             Carlos O'Donell  <carlos@redhat.com>
9408         [BZ 19439]
9409         * math/Makefile (tests): Add test-math-isinff.
9410         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9411         * math/bits/mathcalls.h [__USE_MISC]: Use
9412         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9413         functions not in C++11 and which don't conflict e.g. isinff,
9414         isinfl etc.
9415         * math/test-math-isinff.cc: New file.
9417 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9419         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9421 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9423         [BZ #19529]
9424         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9426 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9428         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9430 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9432         [BZ #19550]
9433         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9434         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9435         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9436         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9437         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9438         New syscall entry.
9439         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9440         New syscall entry.
9441         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9442         syscall entry.
9444 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9446         [BZ #18240]
9447         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9448         unsigned int wraparound.
9450 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9452         [BZ #18240]
9453         * misc/bug18240.c: New test.
9454         * misc/Makefile (tests): Add it.
9456 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9457             Joseph Myers  <joseph@codesourcery.com>
9459         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9460         load in branch delay slot when less than a word of input left.
9462 2016-01-27  Andreas Schwab  <schwab@suse.de>
9464         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9465         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9466         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9467         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9469 2016-01-26  David S. Miller  <davem@davemloft.net>
9471         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9473 2016-01-25  David S. Miller  <davem@davemloft.net>
9475         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9476         __sqrtl_finite.
9477         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9478         instead using versioned_symbol.
9479         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9480         of entries.
9482         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9483         __sqrtl_finite to GLIBC_2.23
9485 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9487         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9489 2016-01-25  Andreas Schwab  <schwab@suse.de>
9491         [BZ #17514]
9492         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9493         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9494         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9495         * nptl/tst-mutex-errorcheck.c: New file.
9497 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9499         [BZ #18560]
9500         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9501         (IPCOP_semop): Likewise.
9502         (IPCOP_semget): Likewise.
9503         (IPCOP_semctl): Likewise.
9504         (IPCOP_msgsnd): Likewise.
9505         (IPCOP_msgrcv): Likewise.
9506         (IPCOP_msgget): Likewise.
9507         (IPCOP_msgctl): Likewise.
9508         (IPCOP_shmat): Likewise.
9509         (IPCOP_shmdt): Likewise.
9510         (IPCOP_shmget): Likewise.
9511         (IPCOP_shmctl): Likewise.
9513 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9515         * string/tst-endian.c: Include <libc-internal.h>.
9516         (do_test): Ignore tautological-compare warnings around
9517         "htobeXX (beXXtoh (i)) != i" and
9518         "htoleXX (leXXtoh (i)) != i" if-statements.
9520 2016-01-24  David S. Miller  <davem@davemloft.net>
9522         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9523         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9524         alias.
9525         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9526         __sqrtl_finite.
9528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9530 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9532         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9533         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9534         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9536 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9538         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9539         (thread_func): Use new function to simplify barrier check.
9540         (do_test): Use new function to simplify checking barrier exit
9541         code, and actually join the child thread.
9543 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9545         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9546         semicolon.
9547         (__libc_tend): Likewise.
9548         (__libc_tabort): Likewise.
9550 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9552         * sysdeps/nios2/libm-test-ulps: Update.
9553         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9554         (__gtsf2): Likewise.
9555         (__unorddf2): Likewise.
9556         (__unordsf2): Likewise.
9557         (__ledf2): Likewise.
9559 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9561         * nis/nis_table.c (__follow_path): Disable diagnostic for
9562         uninitialized variable that is a false positive for gcc 4.7.
9563         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9565 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9567         * sysdeps/nacl/lowlevellock-futex.h
9568         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9569         Always evaluate PRIVATE argument.
9571 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9573         [BZ #19490]
9574         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9575         (pthread_cond_broadcast): Use ENTRY/END
9576         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9577         (pthread_cond_signal): Likewise.
9578         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9579         Likewise.
9580         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9581         Likewise.
9582         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9583         Likewise.
9585 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9587         * sysdeps/ieee754/dbl-64/s_finite.c
9588         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9589         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9590         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9591         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9592         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9595         (__gtsf2): Add as optional for libc.so.
9596         (__unordsf2): Likewise.
9597         (__signbit): Remove for libc.so.
9598         (__signbitl): Likewise.
9600 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9602         * iconvdata/bug-iconv11.c (test_ibm93x):
9603         Use %zu printf format specifier for size_t argument.
9605 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9607         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9608         already-recorded ulps.
9609         * sysdeps/arm/libm-test-ulps: Regenerated.
9610         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9611         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9612         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9614 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9615             Paul Pluzhnikov  <ppluzhnikov@google.com>
9617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9618         assembler not supporting AVX-512.
9620 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9622         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9624 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9626         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9627         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9629         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9631         * sysdeps/arm/libm-test-ulps: Regenerated.
9633 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9635         [BZ #19451]
9636         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9638 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9640         [BZ #19486]
9641         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9642         * sysdeps/generic/fix-fp-int-convert-overflow.h
9643         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9644         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9645         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9646         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9647         Likewise.
9648         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9649         Avoid conversions to long int where inexact exceptions
9650         could be raised.
9651         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9652         Likewise.
9653         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9654         Avoid conversions to long long int where inexact exceptions
9655         could be raised.
9656         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9657         Likewise.
9659 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9661         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9662         * configure: Regenerated.
9664 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9666         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9668 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9670         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9671         outside of comment.
9673 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9675         * nptl/tst-barrier1.c: Add description on first line.
9676         * nptl/tst-barrier2.c: Likewise.
9677         * nptl/tst-barrier3.c: Likewise.
9678         * nptl/tst-barrier4.c: Likewise.
9679         * nptl/tst-barrier5.c: Likewise.
9681 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9683         [BZ #18868]
9684         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9686 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9690         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9691         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9692         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9693         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9694         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9695         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9696         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9697         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9698         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9700 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9702         [BZ #13065]
9703         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9704         new implementation.
9705         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9706         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9707         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9708         (BARRIER_IN_THRESHOLD): New macro.
9709         * nptl/pthread_barrierattr_setpshared.c
9710         (pthread_barrierattr_setpshared): Clean up.
9711         * nptl/tst-barrier4.c: Correct comment.
9712         * nptl/tst-barrier5.c: New file.
9713         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9714         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9715         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9716         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9717         * nptl/lowlevelbarrier.sym: Remove.
9718         * nptl/DESIGN-barrier.txt: Remove.
9719         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9720         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9721         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9722         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9723         error.
9724         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9725         implementation.
9727 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9729         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9730         (do_child): Mask SIGRTMIN while thr is running.
9732 2016-01-15  Martin Sebor  <msebor@redhat.com>
9734         [BZ #19432]
9735         * iconvdata/Makefile: Add bug-iconv11.
9736         * iconvdata/bug-iconv11.c: New test.
9737         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9738         * iconvdata/ibm933.c: Same.
9739         * iconvdata/ibm935.c: Same.
9740         * iconvdata/ibm937.c: Same.
9741         * iconvdata/ibm939.c: Same.
9743 2016-01-15  Martin Sebor  <msebor@redhat.com>
9745         [BZ #19443]
9746         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9747         [DEBUG] (_ufc_set_bits): Declare used.
9748         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9749         [DEBUG] (print_all): Declare used.
9750         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9751         operands of the ternary ?: expression to target type.
9752         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9753         calling the undeclared abort.
9754         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9756 2016-01-15  Martin Sebor  <msebor@redhat.com>
9758         [BZ #18755]
9759         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9760         warnings.
9761         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9762         (__gai_create_helper_thread): Same.
9763         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9764         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9765         to suppress -Wmaybe-uninitialized warnings.
9767 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9769         [BZ #19465]
9770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9771         inside if.
9772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9773         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9774         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9776 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9778         [BZ #19466]
9779         * time/tst-mktime2.c (time_t_max): Removed.
9780         (time_t_min): Likewise.
9781         (TYPE_SIGNED): New.
9782         (TYPE_MINIMUM): Likewise.
9783         (TYPE_MAXIMUM): Likewise.
9784         (TIME_T_MIN): Likewise.
9785         (TIME_T_MAX): Likewise.
9786         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9787         and TIME_T_MIN.
9788         (do_test): Likewise.
9790 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9792         [BZ #19467]
9793         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9794         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9796 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9798         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9800 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9802         * benchtests/Makefile (PYTHON): Define.
9803         (bench-func): Use $(PYTHON) to run python scripts.
9804         ($(objpfx)bench-%.c): Likewise.
9806 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9808         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9809         leading slash when `file_name' is "/".
9811 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9813         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9814         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9815         Likewise.
9816         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9817         Likewise.
9818         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9819         Likewise.
9820         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9821         enum constant and macro.
9822         (PTRACE_SETSIGMASK): Likewise.
9823         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9824         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9825         (PTRACE_GETSIGMASK): Likewise.
9826         (PTRACE_SETSIGMASK): Likewise.
9827         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9828         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9829         Likewise.
9830         (PTRACE_SETSIGMASK): Likewise.
9831         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9832         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9833         (PTRACE_GETSIGMASK): Likewise.
9834         (PTRACE_SETSIGMASK): Likewise.
9835         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9836         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9837         Likewise.
9838         (PTRACE_SETSIGMASK): Likewise.
9839         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9840         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9841         Likewise.
9842         (PTRACE_SETSIGMASK): Likewise.
9843         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9844         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9845         Likewise.
9846         (PTRACE_SETSIGMASK): Likewise.
9847         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9849 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9850             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9852         [BZ #19439]
9853         * math/bits/mathcalls.h
9854         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9855         prototype.
9856         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9858 2016-01-11  Andreas Schwab  <schwab@suse.de>
9860         [BZ #19253]
9861         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9862         cache when TZDEFRULES was used.
9863         * time/tst-tzname.c: New file.
9864         * time/Makefile (test): Add tst-tzname.
9865         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9866         * timezone/Makefile (test-zones): Add $(posixrules-file).
9867         ($(testdata)/$(posixrules-file)): New rule.
9869 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9871         Fix doc quoting problems with Texinfo 5
9872         Without this change, in the info file output, Texinfo 5 quotes code
9873         in text with undirected single quotes 'like this' and generates
9874         code examples that with many PDF readers cannot be cut out of PDFs
9875         and pasted into code.
9876         * manual/libc.texinfo: Configure the libc manual like the GNU
9877         Emacs manual, by using @documentencoding and setting
9878         txicodequoteundirected and txicodequotebacktick.  This way,
9879         Texinfo 5 quotes code in text with directed single quotes ‘like
9880         this’ and produces examples that can be cut out of PDFs.  This
9881         change causes Texinfo 5 to generate info files that contain UTF-8
9882         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9883         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9885 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9887         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9888         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9889         barriers to their respective compiler built-ins.
9890         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9891         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9892         * sysdeps/powerpc/sysdep.h: Likewise.
9893         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9894         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9895         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9897 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9899         * scripts/config.guess: Revert previous shebang change.
9900         * scripts/config.sub: Likewise.
9901         * scripts/mkinstalldirs: Likewise.
9903 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9905         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9906         PPC_FEATURE2_HAS_IEEE128.
9907         * sysdeps/powerpc/dl-procinfo.c:
9908         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9910 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9912         [BZ #19415]
9913         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9914         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9915         (_dl_lookup_address): Rewrite using function resolver trampoline.
9916         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9917         two bits in address.
9919 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9921         * longlong.h: Change !__SHMEDIA__ to
9922         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9923         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9925 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9926             Joseph Myers  <joseph@codesourcery.com>
9927             Mark Shinwell  <shinwell@codesourcery.com>
9928             Andrew Stubbs  <ams@codesourcery.com>
9929             Rich Felker <dalias@libc.org>
9931         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9933 2016-01-07  Richard Henderson  <rth@redhat.com>
9935         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9937 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9939         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9940         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9941         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9942         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9943         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9945 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9946             Joseph Myers  <joseph@codesourcery.com>
9948         * timezone/private.h: Update from tzcode 2015g.
9949         * timezone/tzfile.h: Likewise.
9950         * timezone/tzselect.ksh: Likewise.
9951         * timezone/zdump.c: Likewise.
9952         * timezone/zic.c: Likewise.
9953         * timezone/ialloc.c: Remove file.
9954         * timezone/scheck.c: Likewise.
9955         * timezone/Makefile (extra-objs): Remove variable.
9956         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9957         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9958         -Wno-maybe-uninitialized.
9959         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9960         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9961         (CFLAGS-ialloc.c): Remove variable.
9962         (CFLAGS-scheck.c): Likewise.
9963         * timezone/README: Update list of files from tzcode.
9965 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9967         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9968         instead of __fxprintf when _LIBC is undefined.
9970 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9972         * catgets/test-gencat.sh: Remove space after shebang.
9973         * conform/GlibcConform.pm: Likewise.
9974         * conform/check-header-lists.sh: Likewise.
9975         * conform/conformtest.pl: Likewise.
9976         * conform/linknamespace.pl: Likewise.
9977         * conform/list-header-symbols.pl: Likewise.
9978         * debug/catchsegv.sh: Likewise.
9979         * elf/genrtldtbl.awk: Likewise.
9980         * elf/tst-pathopt.sh: Likewise.
9981         * elf/tst-rtld-load-self.sh: Likewise.
9982         * grp/tst_fgetgrent.sh: Likewise.
9983         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9984         * iconvdata/gen-8bit-gap.sh: Likewise.
9985         * iconvdata/gen-8bit.sh: Likewise.
9986         * iconvdata/run-iconv-test.sh: Likewise.
9987         * intl/tst-gettext.sh: Likewise.
9988         * intl/tst-gettext2.sh: Likewise.
9989         * intl/tst-gettext4.sh: Likewise.
9990         * intl/tst-gettext6.sh: Likewise.
9991         * intl/tst-translit.sh: Likewise.
9992         * io/ftwtest-sh: Likewise.
9993         * libio/test-freopen.sh: Likewise.
9994         * locale/gen-translit.pl: Likewise.
9995         * malloc/tst-mtrace.sh: Likewise.
9996         * manual/check-safety.sh: Likewise.
9997         * manual/libc-texinfo.sh: Likewise.
9998         * manual/tsort.awk: Likewise.
9999         * manual/xtract-typefun.awk: Likewise.
10000         * nptl/tst-cancel-wrappers.sh: Likewise.
10001         * nptl/tst-tls6.sh: Likewise.
10002         * posix/globtest.sh: Likewise.
10003         * posix/tst-getconf.sh: Likewise.
10004         * posix/wordexp-tst.sh: Likewise.
10005         * scripts/check-c++-types.sh: Likewise.
10006         * scripts/check-local-headers.sh: Likewise.
10007         * scripts/config.guess: Likewise.
10008         * scripts/config.sub: Likewise.
10009         * scripts/cpp: Likewise.
10010         * scripts/cross-test-ssh.sh: Likewise.
10011         * scripts/documented.sh: Likewise.
10012         * scripts/evaluate-test.sh: Likewise.
10013         * scripts/gen-libc-abis: Likewise.
10014         * scripts/gen-sorted.awk: Likewise.
10015         * scripts/list-fixed-bugs.py: Likewise.
10016         * scripts/merge-test-results.sh: Likewise.
10017         * scripts/mkinstalldirs: Likewise.
10018         * scripts/rellns-sh: Likewise.
10019         * scripts/test-installation.pl: Likewise.
10020         * scripts/update-copyrights: Likewise.
10021         * stdio-common/tst-printf.sh: Likewise.
10022         * stdio-common/tst-unbputc.sh: Likewise.
10023         * stdlib/tst-fmtmsg.sh: Likewise.
10024         * stdlib/tst-setcontext3.sh: Likewise.
10025         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
10026         * sysdeps/unix/make-syscalls.sh: Likewise.
10028 2016-01-06  John David Anglin  <dave.anglin@bell.net>
10030         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
10031         asm stw with atomic_exchange_rel.  Add explanatory comment.
10032         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10033         Likewise.
10035 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10037         [BZ #19122]
10038         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
10039         * sysdeps/generic/dl-unistd.h: New file.
10040         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
10042 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10044          [BZ #19122]
10045          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
10046          * sysdeps/generic/dl-mman.h: New file.
10047          * sysdeps/mach/hurd/dl-mman.h: Likewise.
10049 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
10051         * manual/texinfo.tex: Update to version 2016-01-04.21 with
10052         trailing whitespace removed.
10053         * scripts/config.guess: Update to version 2016-01-01.
10054         * scripts/config.sub: Update to version 2016-01-01.
10055         * scripts/move-if-change: Update from gnulib.
10057 2016-01-04  Anton Blanchard  <anton@samba.org>
10059         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
10060         for array indices.
10061         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
10063 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
10065         * NEWS: Update copyright dates.
10066         * catgets/gencat.c (print_version): Likewise.
10067         * csu/version.c (banner): Likewise.
10068         * debug/catchsegv.sh: Likewise.
10069         * debug/pcprofiledump.c (print_version): Likewise.
10070         * debug/xtrace.sh (do_version): Likewise.
10071         * elf/ldconfig.c (print_version): Likewise.
10072         * elf/ldd.bash.in: Likewise.
10073         * elf/pldd.c (print_version): Likewise.
10074         * elf/sotruss.sh: Likewise.
10075         * elf/sprof.c (print_version): Likewise.
10076         * iconv/iconv_prog.c (print_version): Likewise.
10077         * iconv/iconvconfig.c (print_version): Likewise.
10078         * locale/programs/locale.c (print_version): Likewise.
10079         * locale/programs/localedef.c (print_version): Likewise.
10080         * login/programs/pt_chown.c (print_version): Likewise.
10081         * malloc/memusage.sh (do_version): Likewise.
10082         * malloc/memusagestat.c (print_version): Likewise.
10083         * malloc/mtrace.pl: Likewise.
10084         * manual/libc.texinfo: Likewise.
10085         * nptl/version.c (banner): Likewise.
10086         * nscd/nscd.c (print_version): Likewise.
10087         * nss/getent.c (print_version): Likewise.
10088         * nss/makedb.c (print_version): Likewise.
10089         * posix/getconf.c (main): Likewise.
10090         * scripts/test-installation.pl: Likewise.
10091         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10093         * All files with FSF copyright notices: Update copyright dates
10094         using scripts/update-copyrights.
10095         * intl/plural.c: Regenerated.
10096         * locale/programs/charmap-kw.h: Likewise.
10097         * locale/programs/locfile-kw.h: Likewise.
10099 2016-01-02  Helge Deller  <deller@gmx.de>
10101         [BZ #19285]
10102         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
10103         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
10104         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
10105         (MADV_xxK_PAGES): Remove.
10107 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
10109         [BZ #15421]
10110         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
10111         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
10112         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
10113         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
10115 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
10117         [BZ #19408]
10118         * sysdeps/unix/sysv/linux/personality.c: New file.
10119         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
10120         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
10121         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10122         (sysdep_routines): Add personality.
10123         (tests): Add tst-personality.
10124         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10125         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10126         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10127         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10128         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10129         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10130         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10131         Likewise.
10132         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10133         Likewise.
10134         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10135         Likewise.
10136         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10137         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10138         Likewise.
10140 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
10142         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
10143         (PATH_ARM_SYSTYPE): Remove.
10144         (PATH_CPUINFO): Likewise.
10145         (IO_BASE_FOOTBRIDGE): Likewise.
10146         (IO_SHIFT_FOOTBRIDGE): Likewise.
10147         (struct platform): Likewise.
10148         (init_iosys): Remove compatibility code for 2.4 kernels.
10149         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
10151 2015-12-29  Florian Weimer  <fweimer@redhat.com>
10153         * malloc/tst-malloc-thread-fail.c: New file.
10154         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10155         (tst-malloc-thread-fail): Link against libpthread.
10157 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
10159         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
10160         (get_parser): New function.
10161         (main): New function.
10163 2015-12-29  Rob Wu  <rob@robwu.nl>
10165         [BZ #19369]
10166         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10168 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10170         [BZ #19270]
10171         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10173 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10175         [BZ #15421]
10176         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10178 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10180         [BZ #13690]
10181         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10182         after releasing it.
10183         (__lll_robust_unlock): Likewise.
10184         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10185         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10186         (lll_robust_unlock): Likewise.
10187         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10188         Prevent warnings in callers.
10190 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10192         * malloc/arena.c (list_lock): Update comment.
10194 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10196         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10197         __parse_hwcap_and_convert_at_platform to libc.a.
10199 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10201         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10202         platform and feature support for POWER9.
10203         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10204         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10205         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10206         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10207         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10208         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10209         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10210         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10212 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10214         Harmonize generic stdio-lock support with nptl
10216         This fixes build when _IO_funlockfile is a macro, fixes build where
10217         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10218         stack unwind.
10220         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10221         _IO_release_lock ): Use cleanup attribute on new
10222         _IO_acquire_lock_file variable instead of assuming that
10223         _IO_release_lock will be called.
10224         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10225         _IO_acquire_lock_needs_exceptions_enabled.
10226         (_IO_acquire_lock_clear_flags2): New macro.
10228 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10230         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10232 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10234         [BZ #19182]
10235         * malloc/arena.c (list_lock): Document lock ordering requirements.
10236         (free_list_lock): New lock.
10237         (ptmalloc_lock_all): Comment on free_list_lock.
10238         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10239         (detach_arena): Update comment.  free_list_lock is now needed.
10240         (_int_new_arena): Use free_list_lock around detach_arena call.
10241         Acquire arena lock after list_lock.  Add comment, including FIXME
10242         about incorrect synchronization.
10243         (get_free_list): Switch to free_list_lock.
10244         (reused_arena): Acquire free_list_lock around detach_arena call
10245         and attached threads counter update.  Add two FIXMEs about
10246         incorrect synchronization.
10247         (arena_thread_freeres): Switch to free_list_lock.
10248         * malloc/malloc.c (struct malloc_state): Update comments to
10249         mention free_list_lock.
10251 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10253         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10254         Remove functions.
10255         (sloww, sloww1): Accept argument to offset quadrant.
10256         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10257         quadrant.
10258         (__sin, __cos): Consolidate common code into new functions.
10259         (reduce_sincos_1, do_sincos_1): New functions.
10260         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10262         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10263         code to new functions.
10264         (reduce_sincos_2, do_sincos_2): New functions.
10265         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10267         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10268         common code for sincos.
10269         (__cos) [!IN_SINCOS]: Likewise.
10270         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10271         New function.
10272         (__sincos): Use it.
10274 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10276         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10277         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10278         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10280 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10282         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10284         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10285         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10286         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10287         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10288         index_Prefer_No_VZEROUPPER): New feature.
10289         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10290         Prefer_No_VZEROUPPER for Knights Landing.
10292 015-12-18  Torvald Riegel  <triegel@redhat.com>
10294         * math/atest-exp2.c (mp_exp_m1): Remove.
10296 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10298         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10299         syscalls.
10300         (__SYSCALL0): New macro.
10301         (__SYSCALL1): Likewise.
10302         (__SYSCALL2): Likewise.
10303         (__SYSCALL3): Likewise.
10304         (__SYSCALL4): Likewise.
10305         (__SYSCALL5): Likewise.
10306         (__SYSCALL6): Likewise.
10307         (__SYSCALL_CONCAT_X): Likewise.
10308         (__SYSCALL_CONCAT): Likewise.
10309         (__SYSCALL_DIST): Likewise.
10310         (__SYSCALL_CALL): Likewise.
10312 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10314         [BZ #19363]
10315         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10317 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10319         [BZ #19375]
10320         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10321         negative subnormals.
10323 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10326         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10327         (INTERNAL_SYSCALL_NCS): Use it.
10328         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10330 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10332         [BZ #19243]
10333         * malloc/arena.c (get_free_list): Remove assert and adjust
10334         reference count handling.  Add comment about reused_arena
10335         interaction.
10336         (reused_arena): Add comments abount get_free_list interaction.
10337         * malloc/tst-malloc-thread-exit.c: New file.
10338         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10339         (tst-malloc-thread-exit): Link against libpthread.
10341 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10343         [BZ #19367]
10344         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10345         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10346         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10347         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10348         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10350 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10352         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10353         Silvermont optimizations for Knights Landing.
10355 2015-12-15  Andreas Schwab  <schwab@suse.de>
10357         [BZ #17197]
10358         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10359         immediately after emitting SI.
10360         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10361         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10362         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10363         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10364         * iconvdata/bug-iconv10.c: New file.
10365         * iconvdata/Makefile (tests): Add bug-iconv10.
10366         ($(objpfx)bug-iconv10.out): New rule.
10368 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10370         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10371         aliasing violation.
10373 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10375         [BZ #18472]
10376         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10377         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10378         conditionals for them.
10379         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10380         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10382         sys/kdaemon.h.
10383         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10384         compat-only syscall, obsoleted in glibc 2.23.
10385         (create_module): Likewise.
10386         (get_kernel_syms): Likewise.
10387         (query_module): Likewise.
10388         (uselib): Likewise.
10389         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10391 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10393         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10394         <linux/version.h>.
10395         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10396         conditional code.
10397         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10398         and ioshift_name initialization.
10400 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10402         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10403         Fix indentation.
10405 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10407         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10409 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10411         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10413 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10414             Jakub Wilk  <jwilk@debian.org>
10416         [BZ #19347]
10417         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10418         to change the group of the device to the tty group.
10420 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10422         Split large string section; add truncation advice
10423         * manual/examples/strncat.c: Remove.
10424         This example was misleading, as the code would have undefined
10425         behavior if "hello" was longer than SIZE.  Anyway, the manual
10426         shouldn't encourage strncpy+strncat for this sort of thing.
10427         * manual/string.texi (Copying Strings and Arrays): Split into
10428         three sections Copying Strings and Arrays, Concatenating Strings,
10429         and Truncating Strings, as this section was way too long.  All
10430         cross-referenced changed.  Add advice about string-truncation
10431         functions.  Remove misleading strncat example.
10433 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10435         * manual/nss.texi (NSS Modules Interface): Document
10436         NSS_STATUS_NOTFOUND and SUCCESS.
10438 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10440         [BZ 18568]
10441         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10442         201505L, for Unicode 8.
10444 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10446         * locale/C-translit.h: Regenerate.
10448 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10450         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10451         and U+0153.
10453 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10455         [BZ #19351]
10456         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10457         expanding log(1+z), compare z rather than its square with epsilon
10458         to determine when to avoid evaluating the expansion.
10460         [BZ #19350]
10461         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10462         Increase overflow threshold.
10464         [BZ #19349]
10465         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10466         when small.
10468         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10469         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10470         New macro.
10471         [__LINUX_KERNEL_VERSION >= 0x040300]
10472         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10473         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10474         Likewise.
10475         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10476         Likewise.
10477         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10478         Likewise.
10479         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10480         Likewise.
10481         [__LINUX_KERNEL_VERSION >= 0x040300]
10482         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10483         [__LINUX_KERNEL_VERSION >= 0x040300]
10484         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10485         [__LINUX_KERNEL_VERSION >= 0x040300]
10486         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10487         [__LINUX_KERNEL_VERSION >= 0x040300]
10488         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10489         [__LINUX_KERNEL_VERSION >= 0x040300]
10490         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10491         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10492         Likewise.
10493         [__LINUX_KERNEL_VERSION >= 0x040300]
10494         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10495         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10496         Likewise.
10497         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10498         Likewise.
10499         [__LINUX_KERNEL_VERSION >= 0x040300]
10500         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10501         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10502         Likewise.
10503         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10504         Likewise.
10505         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10506         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10507         Likewise.
10508         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10509         Likewise.
10510         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10511         Likewise.
10512         [__LINUX_KERNEL_VERSION >= 0x040300]
10513         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10514         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10515         Likewise.
10516         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10517         Likewise.
10518         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10519         Likewise.
10520         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10521         Likewise.
10522         [__LINUX_KERNEL_VERSION >= 0x040300]
10523         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10524         [__LINUX_KERNEL_VERSION >= 0x040300]
10525         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10526         [__LINUX_KERNEL_VERSION >= 0x040300]
10527         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10528         [__LINUX_KERNEL_VERSION >= 0x040300]
10529         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10530         [__LINUX_KERNEL_VERSION >= 0x040300]
10531         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10532         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10533         Likewise.
10534         [__LINUX_KERNEL_VERSION >= 0x040300]
10535         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10536         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10537         Likewise.
10538         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10539         Likewise.
10540         [__LINUX_KERNEL_VERSION >= 0x040300]
10541         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10542         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10543         Likewise.
10544         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10545         Likewise.
10546         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10547         (__ASSUME_SOCKET_SYSCALL): Likewise.
10548         (__ASSUME_BIND_SYSCALL): Likewise.
10549         (__ASSUME_CONNECT_SYSCALL): Likewise.
10550         (__ASSUME_LISTEN_SYSCALL): Likewise.
10551         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10552         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10553         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10554         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10555         (__ASSUME_SEND_SYSCALL): Likewise.
10556         (__ASSUME_SENDTO_SYSCALL): Likewise.
10557         (__ASSUME_RECV_SYSCALL): Likewise.
10558         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10559         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10560         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10561         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10562         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10563         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10564         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10565         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10566         Likewise.
10567         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10568         Likewise.
10569         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10570         Likewise.
10571         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10572         Likewise.
10573         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10574         Likewise.
10575         [__LINUX_KERNEL_VERSION >= 0x020625]
10576         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10577         [__LINUX_KERNEL_VERSION >= 0x020625]
10578         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10579         [__LINUX_KERNEL_VERSION >= 0x020625]
10580         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10581         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10582         Likewise.
10583         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10584         Likewise.
10585         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10586         Likewise.
10587         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10588         Likewise.
10589         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10590         Likewise.
10591         [__LINUX_KERNEL_VERSION >= 0x020625]
10592         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10593         [__LINUX_KERNEL_VERSION >= 0x020625]
10594         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10595         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10596         Likewise.
10597         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10598         Likewise.
10600 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10602         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10603         record the current if the current ABI and CPU support the FP64
10604         extension.
10605         (has-modd-spreg): Define to record the current if the current ABI and
10606         CPU support 32-bit floating point values in odd FPU registers.
10607         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10608         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10609         $(has-modd-spreg) equals yes.
10610         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10611         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10612         $(has-modd-spreg) equal yes.
10614 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10616         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10617         basename.
10619 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10621         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10622         (bench-string): ... here.
10623         (bench): Add bench-string.
10624         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10625         to *-benchset to reflect what they are.
10626         (benchset): Adjust.
10628         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10629         cos-inputs.
10631 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10633         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10634         __attribute__ ((__simd__)) for vector math function declarations.
10636 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10638         Fix typo in strncat, wcsncat manual entries
10639         * manual/string.texi (Copying and Concatenation): Fix typos in
10640         sample implementations of strncat and wcsncat, by having them use
10641         the old value of the destination length, not the new one.
10643 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10645         [BZ #16961]
10646         [BZ #16962]
10647         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10648         string on the stack for strtod.
10649         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10650         a string on the stack for strtof.
10651         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10652         constructing a string on the stack for strtold.
10653         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10654         __strtold_nan to GLIBC_PRIVATE.
10655         * math/test-nan-overflow.c: New file.
10656         * math/test-nan-payload.c: Likewise.
10657         * math/Makefile (tests): Add test-nan-overflow and
10658         test-nan-payload.
10660 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10662         Consistency about byte vs character in string.texi
10663         * manual/string.texi (String and Array Utilities):
10664         Distinguish more carefully among bytes, multibyte characters,
10665         and wide characters.  Use "byte" when talking about C 'char',
10666         to distinguish it more clearly from multibyte characters.
10667         Say "wide character" or "multibyte character" instead of
10668         "character", when a wide or multibyte character is intended.
10669         Similarly for "multibyte string" versus "string".
10670         Define these terms more carefully.
10672 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10674         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10675         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10676         Likewise.
10677         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10678         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10679         * sysdeps/sh/math_private.h: New file.
10680         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10681         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10682         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10683         long double function name.
10684         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10685         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10686         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10687         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10688         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10690         Remove __finitel, __isinfl, and __isnanl.
10691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10692         Likewise.
10693         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10695         Remove __finitel.
10696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10697         Likewise.
10698         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10700 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10702         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10703         installed libmvec_nonshared.a.
10705 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10707         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10708         (sysdep_routines): Likewise.
10709         (sysdep-rtld-routines): Likewise.
10710         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10711         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10712         * sysdeps/powerpc/Versions: Added new
10713         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10714         * sysdeps/powerpc/hwcapinfo.c: New file.
10715         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10716         and parse hwcap, hwcap2 and platform number information.
10717         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10718         to store HWCAP+HWCAP2 and platform number.
10719         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10720         for HWCAP+HWCAP2 and platform number in the TCB.
10721         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10722         the HWCAP, HWCAP2 and platform number in the TCB.
10723         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10724         (TLS_INIT_TP): Included calls to add the hwcap and
10725         at_platform values in the TCB in TP initialization.
10726         (TLS_DEFINE_INIT_TP): Likewise.
10727         (THREAD_GET_HWCAP): New macro.
10728         (THREAD_SET_HWCAP): Likewise.
10729         (THREAD_GET_AT_PLATFORM): Likewise.
10730         (THREAD_SET_AT_PLATFORM): Likewise.
10731         * sysdeps/powerpc/powerpc32/dl-machine.h:
10732         (dl_platform_init): New function that calls
10733         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10734         powerpc32.
10735         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10736         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10737         this functionality, static linking case.
10738         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10739         linking case.
10740         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10741         __parse_hwcap_and_convert_at_platform for the static linking case.
10742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10743         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10744         ABI list for GLIBC 2.23.
10745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10746         Likewise.
10747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10748         Likewise.
10750 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10752         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10753         * configure: Regenerate.
10754         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10755         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10757 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10759         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10760         * iconvdata/ibm933.c: Likewise.
10761         * iconvdata/ibm935.c: Likewise.
10762         * iconvdata/ibm937.c: Likewise.
10763         * iconvdata/ibm939.c: Likewise.
10765 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10767         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10768         pthread_join.
10769         * nptl/tst-cancel21.c (tf): Likewise.
10771 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10773         [BZ #19313]
10774         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10775         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10776         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10777         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10778         Likewise.
10779         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10780         Likewise.
10781         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10782         Likewise.
10783         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10784         Likewise.
10785         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10786         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10787         unsigned long int with __CPU_MASK_TYPE.
10789 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10791         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10793 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10795         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10796         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10797         t512.x.
10798         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10800 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10802         [BZ #19214]
10803         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10804         argument to return extended model.  Update family and model
10805         with extended family and model when family == 0x0f.
10806         (init_cpu_features): Updated.
10808 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10810         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10811         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10813         * sysdeps/mach/hurd/mmap64.c: New file.
10815 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10817         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10818         rights for its main user thread in NEWTASK.
10820 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10822         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10823         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10825 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10827         [BZ #14259]
10828         * Makeconfig: Rename localedir to complocaledir.
10829         Rename inst_localedir to inst_complocaledir.
10830         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10831         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10832         * configure.ac: Use libc_cv_complocaledir.
10833         * configure: Regenerate.
10834         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10835         -DCOMPLOCALEDIR.
10836         * locale/findlocale.c: Use COMPLOCALEDIR.
10837         * locale/loadarchive.c: Likewise.
10838         * locale/programs/locale.c: Likewise.
10839         * locale/programs/localedef.c: Likewise.
10840         * locale/programs/locarchive.c: Likewise.
10841         * localedata/Makefile: Use inst_complocaledir.
10842         * sysdeps/gnu/configure: Regenerate.
10843         * sysdeps/hppa/configure: Regenerate.
10844         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10845         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10847         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10848         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10849         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10850         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10852 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10854         [BZ #19058]
10855         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10856         AS_NEEDED.
10857         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10858         workaround.
10859         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10860         libmvec-static-only-routines): Added new file.
10861         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10863 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10865         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10866         of interrupted RPC instead of restoring it.
10868         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10869         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10870         libc_hidden_def.
10871         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10872         into initialized data instead of common. Define rtld_hidden_data_def.
10873         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10874         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10875         libc_hidden_def.
10876         (if_freenameindex): Add libc_hidden_weak.
10877         (if_nameindex): Add libc_hidden_weak.
10878         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10879         __open64.
10880         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10881         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10882         * sysdeps/mach/nanosleep.c: Include <time.h>
10883         (__nanosleep): Rename to __libc_nanosleep.
10884         (__nanosleep): Add weak_alias.
10885         (nanosleep): Update alias.
10887 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10889         * stdlib/strtod_nan.c: New file.
10890         * stdlib/strtod_nan_double.h: Likewise.
10891         * stdlib/strtod_nan_float.h: Likewise.
10892         * stdlib/strtod_nan_main.c: Likewise.
10893         * stdlib/strtod_nan_narrow.h: Likewise.
10894         * stdlib/strtod_nan_wide.h: Likewise.
10895         * stdlib/strtof_nan.c: Likewise.
10896         * stdlib/strtold_nan.c: Likewise.
10897         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10898         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10899         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10900         * wcsmbs/wcstod_nan.c: Likewise.
10901         * wcsmbs/wcstof_nan.c: Likewise.
10902         * wcsmbs/wcstold_nan.c: Likewise.
10903         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10904         strtold_nan.
10905         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10906         wcstof_nan.
10907         * include/stdlib.h (__strtof_nan): Declare and use
10908         libc_hidden_proto.
10909         (__strtod_nan): Likewise.
10910         (__strtold_nan): Likewise.
10911         (__wcstof_nan): Likewise.
10912         (__wcstod_nan): Likewise.
10913         (__wcstold_nan): Likewise.
10914         * include/wchar.h (____wcstoull_l_internal): Declare.
10915         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10916         (____strtoull_l_internal): Remove declaration.
10917         (STRTOF_NAN): Define macro.
10918         (SET_MANTISSA): Remove macro.
10919         (STRTOULL): Likewise.
10920         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10921         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10922         (STRTOF_NAN): Define macro.
10923         (SET_MANTISSA): Remove macro.
10924         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10925         (SET_MANTISSA): Remove macro.
10926         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10927         macro.
10928         (SET_MANTISSA): Remove macro.
10929         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10930         macro.
10931         (SET_MANTISSA): Remove macro.
10932         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10933         (SET_MANTISSA): Remove macro.
10934         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10935         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10936         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10938         [BZ #19266]
10939         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10940         upper case and lower case letters inside NAN(), not using TOLOWER.
10941         * stdlib/tst-strtod-nan-locale-main.c: New file.
10942         * stdlib/tst-strtod-nan-locale.c: Likewise.
10943         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10944         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10945         Depend on $(gen-locales).
10946         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10947         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10948         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10949         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10950         Depend on $(gen-locales).
10951         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10953 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10955         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10957         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10959         __finitel, __isinfl, and __isnanl.
10960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10961         Likewise.
10962         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10964         __finitel.
10965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10966         Likewise.
10967         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10969 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10971         * malloc/memusage.c (me): Remove redundant getenv call.
10973 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10975         [BZ #19143]
10976         [BZ #19164]
10977         * nptl/check-cpuset.h: Remove.
10978         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10979         Remove CPU set size check.
10980         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10981         Likewise.
10982         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10983         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10984         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10985         (__pthread_setaffinity_new): Remove CPU set size check.
10986         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10987         (__kernel_cpumask_size): Remove.
10988         (__sched_setaffinity_new): Remove CPU set size check.
10989         * manual/threads.texi (Default Thread Attributes): Remove stale
10990         reference to check_cpuset_attr, determine_cpumask_size in comment.
10991         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10992         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10993         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10994         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10995         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10996         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10997         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10998         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10999         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
11000         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
11001         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
11002         skeleton test file.
11003         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
11004         tst-affinity-pid.
11006 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11008         * scripts/update-abilist.sh: New file.
11009         * Makefile (+subdir_targets): Add subdir_update-all-abi.
11010         * Makerules (update-all-abi-%, update-all-abi)
11011         (subdir_update-all-abi): New targets.
11012         * elf/Makefile (update-all-abi): New target.
11014 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11016         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
11017         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
11018         (__libc_lock_define_initialized): Use it.
11019         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
11020         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
11021         * malloc/malloc.c (main_arena): Likewise.
11022         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11023         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11025 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
11027         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11028         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
11029         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11030         (PTRACE_O_MASK): Update value.
11031         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
11032         New value in enum __ptrace_setoptions.
11033         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11034         (PTRACE_O_MASK): Update value.
11035         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11036         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11037         (PTRACE_O_MASK): Update value.
11038         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11039         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11040         (PTRACE_O_MASK): Update value.
11041         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11042         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11043         (PTRACE_O_MASK): Update value.
11044         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
11045         New value in enum __ptrace_setoptions.
11046         (PTRACE_O_MASK): Update value.
11047         * sysdeps/unix/sysv/linux/tile/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.
11052         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
11053         New macro.
11054         (PACKET_AUXDATA): Likewise.
11055         (PACKET_ORIGDEV): Likewise.
11056         (PACKET_VERSION): Likewise.
11057         (PACKET_HDRLEN): Likewise.
11058         (PACKET_RESERVE): Likewise.
11059         (PACKET_TX_RING): Likewise.
11060         (PACKET_LOSS): Likewise.
11061         (PACKET_VNET_HDR): Likewise.
11062         (PACKET_TX_TIMESTAMP): Likewise.
11063         (PACKET_TIMESTAMP): Likewise.
11064         (PACKET_FANOUT): Likewise.
11065         (PACKET_TX_HAS_OFF): Likewise.
11066         (PACKET_QDISC_BYPASS): Likewise.
11067         (PACKET_ROLLOVER_STATS): Likewise.
11068         (PACKET_FANOUT_DATA): Likewise.
11069         (PACKET_MR_UNICAST): Likewise.
11071         [BZ #19242]
11072         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
11073         (TOUPPER): Likewise.
11074         * stdlib/tst-strtol-locale-main.c: New file.
11075         * stdlib/tst-strtol-locale.c: Likewise.
11076         * stdlib/Makefile (tests): Add tst-strtol-locale.
11077         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
11078         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
11079         Depend on $(gen-locales).
11080         * wcsmbs/tst-wcstol-locale.c: New file.
11081         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
11082         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
11083         tr_TR.ISO-8859-9.
11084         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
11085         Depend on $(gen-locales).
11087 2015-11-20  Roland McGrath  <roland@hack.frob.com>
11089         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
11090         __glibc_likely instead of __builtin_expect.  After falling back to
11091         dyncode_create in a non-ET_DYN case, use the allocate_code_data
11092         system interface to register the code pages as occupied.
11094 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
11096         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11097         [!ARM_MATH_PRIVATE_H].
11098         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
11099         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11100         [!HPPA_MATH_PRIVATE_H].
11101         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
11102         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
11103         to [!I386_MATH_PRIVATE_H].
11104         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
11105         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
11106         Change guard to [!M68K_MATH_PRIVATE_H].
11107         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
11108         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
11109         guard to [!MICROBLAZE_MATH_PRIVATE_H].
11110         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
11111         macro.
11112         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11113         [!MIPS_MATH_PRIVATE_H].
11114         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
11115         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11116         [!NIO2_MATH_PRIVATE_H].
11117         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
11118         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11119         [!TILE_MATH_PRIVATE_H].
11120         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
11122         [BZ #15421]
11123         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11124         initialize with 0 and define as weak alias of __signgam.
11125         * include/math.h [!_ISOMAC] (__signgam): Declare.
11126         * math/Makefile (libm-calls): Add w_lgamma_compat.
11127         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11128         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11129         test-signgam-ullong-init.
11130         (tests-static): Add test-signgam-uchar-static,
11131         test-signgam-uchar-init-static, test-signgam-uint-static,
11132         test-signgam-uint-init-static, test-signgam-ullong-static and
11133         test-signgam-ullong-init-static.
11134         (CFLAGS-test-signgam-uchar.c): New variable.
11135         (CFLAGS-test-signgam-uchar-init.c): Likewise.
11136         (CFLAGS-test-signgam-uchar-static.c): Likewise.
11137         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11138         (CFLAGS-test-signgam-uint.c): Likewise.
11139         (CFLAGS-test-signgam-uint-init.c): Likewise.
11140         (CFLAGS-test-signgam-uint-static.c): Likewise.
11141         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11142         (CFLAGS-test-signgam-ullong.c): Likewise.
11143         (CFLAGS-test-signgam-ullong-init.c): Likewise.
11144         (CFLAGS-test-signgam-ullong-static.c): Likewise.
11145         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11146         * math/Versions (libm): Add GLIBC_2.23.
11147         * math/lgamma-compat.h: New file.
11148         * math/test-signgam-main.c: Likewise.
11149         * math/test-signgam-uchar-init-static.c: Likewise.
11150         * math/test-signgam-uchar-init.c: Likewise.
11151         * math/test-signgam-uchar-static.c: Likewise.
11152         * math/test-signgam-uchar.c: Likewise.
11153         * math/test-signgam-uint-init-static.c: Likewise.
11154         * math/test-signgam-uint-init.c: Likewise.
11155         * math/test-signgam-uint-static.c: Likewise.
11156         * math/test-signgam-uint.c: Likewise.
11157         * math/test-signgam-ullong-init-static.c: Likewise.
11158         * math/test-signgam-ullong-init.c: Likewise.
11159         * math/test-signgam-ullong-static.c: Likewise.
11160         * math/test-signgam-ullong.c: Likewise.
11161         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11162         wrapper of w_lgamma_main.c.
11163         * math/w_lgamma_compat.c: New file.
11164         * math/w_lgamma_compatf.c: Likewise.
11165         * math/w_lgamma_compatl.c: Likewise.
11166         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11167         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11168         defining compatibility symbols.
11169         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11170         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11171         wrapper of w_lgammaf_main.c.
11172         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11173         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11174         defining compatibility symbols.
11175         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11176         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11177         wrapper of w_lgammal_main.c.
11178         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11179         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11180         defining compatibility symbols.
11181         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11182         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11183         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11184         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11185         <lgamma-compat.h>.
11186         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11187         (__ieee754_gamma): Define as alias.
11188         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11189         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11190         <lgamma-compat.h>.
11191         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11192         (__ieee754_gammaf): Define as alias.
11193         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11194         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11195         <lgamma-compat.h>.
11196         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11197         (__ieee754_gammal): Define as alias.
11198         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11199         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11200         <math/w_lgamma_compat.c>.
11201         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11202         Define as alias of __lgamma_compat and use in defining lgammal.
11203         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11204         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11205         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11206         (USE_AS_COMPAT): New macro.
11207         (LGAMMA_OLD_VER): Undefine and redefine.
11208         (lgammal): Do not define here.
11209         (gammal): Only define here if [GAMMA_ALIAS].
11210         * conform/linknamespace.pl (@whitelist): Remove signgam.
11211         * sysdeps/nacl/libm.abilist: Update.
11212         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11213         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11214         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11215         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11216         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11217         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11218         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11219         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11220         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11221         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11222         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11223         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11225         Likewise.
11226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11227         Likewise.
11228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11229         Likewise.
11230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11231         Likewise.
11232         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11233         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11234         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11235         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11236         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11238         Likewise.
11239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11240         Likewise.
11241         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11242         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11243         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11245 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11247         [BZ #16364]
11248         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11249         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11251 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11253         * sysdeps/s390/fpu/bits/mathinline.h:
11254         Use __asm__ [__volatile__] instead of asm [volatile].
11255         * sysdeps/s390/abort-instr.h: Likewise.
11256         * sysdeps/s390/atomic-machine.h: Likewise.
11257         * sysdeps/s390/bits/string.h: Likewise.
11258         * sysdeps/s390/dl-tls.h: Likewise.
11259         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11260         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11261         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11262         * sysdeps/s390/fpu/fesetround.c: Likewise.
11263         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11264         * sysdeps/s390/fpu/s_fma.c: Likewise.
11265         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11266         * sysdeps/s390/memusage.h: Likewise.
11267         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11268         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11269         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11270         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11271         * sysdeps/s390/nptl/tls.h: Likewise.
11272         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11273         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11274         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11275         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11276         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11277         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11278         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11279         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11280         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11281         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11282         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11283         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11284         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11285         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11286         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11287         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11288         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11289         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11290         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11292         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11293         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11294         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11296 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11297             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11299         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11300         Add lwarx hint, and use macro for acquire instruction.
11301         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11302         Likewise.
11303         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11304         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11305         update to use new atomic macros.
11307 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11309         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11310         (__lll_trylock_elision): Fix setting of adapt_count.
11311         * sysdeps/unix/sysv/linux/powerpc/htm.h
11312         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11313         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11314         (_ABORT_SYSCALL): Renumber, and clarify definition.
11315         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11317 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11319         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11320         after system headers to prevent MIN/MAX redefinition.  Define
11321         HAVE_ALLOCA to preserve builtin alloca usage.
11323 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11325         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11326         static and don't set or restore rounding.
11327         (__cos)[IN_SINCOS]: Likewise.
11328         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11329         (__sincos): Set and restore rounding mode.  Remove check for infinite
11330         or NaN input.
11332         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11334         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11335         as used.
11337 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11339         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11341 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11343         * config.make.in (have-glob-dat-reloc): New.
11344         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11345         target supports GLOB_DAT relocaton. AC_SUBST.
11346         * configure: Regenerated.
11347         * elf/Makefile (tests): Add tst-prelink.
11348         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11349         (tst-prelink-ENV): New.
11350         ($(objpfx)tst-prelink-conflict.out): Likewise.
11351         ($(objpfx)tst-prelink-cmp.out): Likewise.
11352         * sysdeps/x86/tst-prelink.c: Moved to ...
11353         * elf/tst-prelink.c: Here.
11354         * sysdeps/x86/tst-prelink.exp: Moved to ...
11355         * elf/tst-prelink.exp: Here.
11356         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11357         (tst-prelink-ENV): Removed.
11358         ($(objpfx)tst-prelink-conflict.out): Likewise.
11359         ($(objpfx)tst-prelink-cmp.out): Likewise.
11360         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11362 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11364         [BZ #14551]
11365         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11366         (__mpn_construct_long_double): If high part overflows to infinity,
11367         set errno and recompute overflowed result of the correct sign.
11368         * sysdeps/ieee754/ldbl-128ibm/Makefile
11369         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11370         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11371         $(libm).
11372         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11374 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11376         [BZ #15479]
11377         [BZ #19238]
11378         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11379         floating-point state after first operation on input.  Restore full
11380         state rather than just rounding mode.
11381         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11382         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11383         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11385         [BZ #19235]
11386         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11387         add 0.5 to integer arguments.
11388         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11389         Likewise.
11390         (.LC2): New object.
11392 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11394         * scripts/pylintrc (reports): Set to no.
11396 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11398         * elf/dl-load.c (open_verify): Take new argument FD.
11399         Skip __open call if passed FD is not -1.
11400         (_dl_map_object, open_path): Update callers.
11401         * elf/dl-sysdep-open.h: New file.
11402         * elf/dl-load.c: Include it.
11403         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11404         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11405         * sysdeps/nacl/dl-sysdep-open.h: New file.
11406         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11407         from libc to rtld.
11409 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11411         [BZ #19228]
11412         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11413         and restore full floating-point state.
11414         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11415         Likewise.
11416         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11417         Likewise.
11418         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11419         Likewise.
11420         * math/test-nearbyint-except-2.c: New file.
11421         * math/Makefile (tests): Add test-nearbyint-except-2.
11423 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11425         [BZ #19178]
11426         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11427         (tst-prelink-ENV): New.
11428         ($(objpfx)tst-prelink-conflict.out): Likewise.
11429         ($(objpfx)tst-prelink-cmp.out): Likewise.
11430         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11431         * sysdeps/x86/tst-prelink.c: New file.
11432         * sysdeps/x86/tst-prelink.exp: Likewise.
11434 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11436         * math/auto-libm-test-in: Add another test of pow.
11437         * math/auto-libm-test-out: Regenerated.
11438         * math/libm-test.inc (pow_test_data): Add another test.
11440 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11442         [BZ #19219]
11443         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11444         weak_alias to nearbyintl.
11446 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11448         * sysdeps/aarch64/bits/string.h: New file.
11449         (_STRING_ARCH_unaligned): Define.
11451 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11453         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11454         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11455         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11456         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11459 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11461         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11462         for original name of the DSO.  Add it to the name list of the DSO
11463         if it is actually given.
11464         (_dl_map_object): Keep track of whether an audit module rewrote
11465         the file name.  If yes, pass the original name to
11466         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11467         debugging is enabled, log the change of the file name.
11468         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11469         _dl_map_object_from_fd.
11470         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11471         * elf/tst-audit11.c: New file
11472         * elf/tst-auditmod11.c: New file.
11473         * elf/tst-audit11mod1.c: New file.
11474         * elf/tst-audit11mod2.c: New file.
11475         * elf/tst-audit11mod2.map: New file.
11476         * elf/tst-audit12.c: New file
11477         * elf/tst-auditmod12.c: New file.
11478         * elf/tst-audit12mod1.c: New file.
11479         * elf/tst-audit12mod2.c: New file.
11480         * elf/tst-audit12mod2.map: New file.
11481         * elf/tst-audit12mod3.c: New file.
11483 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11485         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11486         Don't create weak aliases,
11487         because versioned symbols are created later.
11488         * sysdeps/s390/s390-32/setjmp.S
11489         (setjmp, _setjmp): Remove weak and rename to an unique name
11490         in SHARED case due to existing versioned symbols.
11491         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11492         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11493         (getcontext): Create weak alias only in non SHARED case.
11494         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11496 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11498         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11499         (__ASSUME_*_SYSCALL) Define new macros.
11500         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11501         Remove socketcall syscalls.
11502         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11503         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11504         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11505         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11506         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11507         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11509 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11511         [BZ #12926]
11512         Terminate process on invalid netlink response.
11513         * sysdeps/unix/sysv/linux/netlinkaccess.h
11514         (__netlink_assert_response): Declare.
11515         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11516         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11517         (sysdep_routines): Add netlink_assert_response.
11518         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11519         __netlink_assert_response.
11520         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11521         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11522         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11523         __netlink_assert_response.
11525 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11527         [BZ #19178]
11528         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11529         (RTYPE_CLASS_PLT): Likewise.
11530         (RTYPE_CLASS_COPY): Likewise.
11531         (RTYPE_CLASS_TLS): Likewise.
11532         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11533         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11534         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11535         DL_DEBUG_PRELINK.
11537 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11539         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11540         calls with argument -0.5.
11541         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11543         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11544         (libc_cv_z_nodlopen): Likewise.
11545         (libc_cv_z_initfirst): Likewise.
11546         * configure: Regenerated.
11548 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11550         Simplify abilist format to be line-based.
11551         * scripts/abilist.awk: Collect descriptors in the descs variable.
11552         (emit): Write descs variable and sort it
11553         externally, with sort.
11554         * sysdeps/**/*.abilist: Convert to new format.
11556 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11558         [BZ #11460]
11559         * io/Makefile (routines): Add fts64.
11560         (tests): Add tst-fts and tst-fts-lfs.
11561         (CFLAGS-fts64.c): New.
11562         * io/Versions (GLIBC_2.23): New.
11563         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11564         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11565         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11566         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11567         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11568         (FTSENT64): Likewise.
11569         (fts64_children): Likewise.
11570         (fts64_close): Likewise.
11571         (fts64_open): Likewise.
11572         (fts64_read): Likewise.
11573         (fts64_set): Likewise.
11574         * io/fts64.c: New file.
11575         * io/tst-fts.c: New test.
11576         * io/tst-fts-lfs.c: Likewise.
11577         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11578         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11579         fts64_set.
11580         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11581         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11582         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11583         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11584         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11585         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11586         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11587         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11588         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11589         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11590         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11591         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11592         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11594         Likewise.
11595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11596         Likewise.
11597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11599         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11600         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11601         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11602         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11603         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11606         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11607         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11608         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11609         * sysdeps/wordsize-64/fts.c: New file.
11610         * sysdeps/wordsize-64/fts64.c: Likewise.
11611         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11612         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11613         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11614         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11616 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11618         * math/libm-test.inc (NON_FINITE): New macro.
11619         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11620         * math/gen-libm-test.pl (show_exceptions): Add argument
11621         $non_finite.
11622         (parse_args): Update call to show_exceptions.
11623         * math/test-math-finite.h: New file.
11624         * math/test-math-no-finite.h: Likewise.
11625         * math/test-double-finite.c: Likewise.
11626         * math/test-float-finite.c: Likewise.
11627         * math/test-ldouble-finite.c: Likewise.
11628         * math/test-double.c: Include "test-math-no-finite.h".
11629         * math/test-float.c: Include "test-math-no-finite.h".
11630         * math/test-ldouble.c: Include "test-math-no-finite.h".
11631         * math/test-math-inline.h (TEST_FINITE): New macro.
11632         * math/test-math-vector.h (TEST_FINITE): Likewise.
11633         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11634         (libm-tests): Add test-float-finite and test-double-finite.
11635         ($(objpfx)test-float-finite.o): New dependency on
11636         $(objpfx)libm-test.stmp.
11637         ($(objpfx)test-double-finite.o): Likewise.
11638         ($(objpfx)test-ldouble-finite.o): Likewise.
11639         (libm-test-no-inline-cflags): New variable.
11640         (libm-test-finite-cflags): Likewise.
11641         (CFLAGS-test-float-finite.c): Likewise.
11642         (CFLAGS-test-double-finite.c): Likewise.
11643         (CFLAGS-test-ldouble-finite.c): Likewise.
11644         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11645         (CFLAGS-test-double.c): Likewise.
11646         (CFLAGS-test-ldouble.c): Likewise.
11648 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11650         * io/fcntl.c (__fcntl): Add ... to prototype.
11651         * misc/ioctl.c (__ioctl): Likewise.
11652         * misc/syscall.c (syscall): Likewise.
11654 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11656         * scripts/list-fixed-bugs.py: New file.
11658         [BZ #19213]
11659         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11660         returned for argument 1.
11661         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11662         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11663         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11664         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11665         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11666         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11668         [BZ #19211]
11669         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11670         __USE_XOPEN], not if [!__USE_ISOC99].
11671         (lgammaf): Likewise.
11672         (lgammal): Likewise.
11673         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11674         (gammaf): Likewise.
11675         (gammal): Likewise.
11676         * math/test-signgam-finite-c11.c: New file.
11677         * math/test-signgam-finite-c99.c: Likewise.
11678         * math/test-signgam-finite.c: Likewise.
11679         * math/Makefile (tests): Add test-signgam-finite,
11680         test-signgam-finite-c99 and test-signgam-finite-c11.
11681         (CFLAGS-test-signgam-finite.c): New variable.
11682         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11683         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11685         [BZ #19212]
11686         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11687         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11688         500].
11689         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11690         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11691         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11692         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11693         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11694         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11695         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11696         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11697         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11698         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11700         [BZ #19209]
11701         * math/bits/math-finite.h (ldexp): Remove declaration.
11702         (ldexpf): Likewise.
11703         (ldexpl): Likewise.
11705         [BZ #19205]
11706         * math/bits/math-finite.h (acosf): Condition declaration on
11707         [__USE_ISOC99].
11708         (acosl): Likewise.
11709         (acoshf): Likewise.
11710         (acoshl): Likewise.
11711         (asinf): Likewise.
11712         (asinl): Likewise.
11713         (atan2f): Likewise.
11714         (atan2l): Likewise.
11715         (atanhf): Likewise.
11716         (atanhl): Likewise.
11717         (coshf): Likewise.
11718         (coshl): Likewise.
11719         (expf): Likewise.
11720         (expl): Likewise.
11721         (fmodf): Likewise.
11722         (fmodl): Likewise.
11723         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11724         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11725         (j0l): Likewise.
11726         (y0f): Likewise.
11727         (y0l): Likewise.
11728         (j1f): Likewise.
11729         (j1l): Likewise.
11730         (y1f): Likewise.
11731         (y1l): Likewise.
11732         (jnf): Likewise.
11733         (jnl): Likewise.
11734         (ynf): Likewise.
11735         (ynl): Likewise.
11736         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11737         (lgammal_r): Likewise.
11738         (__lgamma_r_finite): New declaration.
11739         (__lgammaf_r_finite): Likewise.
11740         (__lgammal_r_finite): Likewise.
11741         (lgamma): Use __lgamma_r_finite.
11742         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11743         __lgammaf_r_finite.
11744         (lgammal): Condition definition on [__USE_ISOC99].  Use
11745         __lgammal_r_finite.
11746         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11747         __lgamma_r_finite.
11748         (gammaf): Condition definition on [__USE_ISOC99].  Use
11749         __lgammaf_r_finite.
11750         (gammal): Condition definition on [__USE_ISOC99].  Use
11751         __lgammal_r_finite.
11752         (logf): Condition declaration on [__USE_ISOC99].
11753         (logl): Likewise.
11754         (log10f): Likewise.
11755         (log10l): Likewise.
11756         (ldexpf): Likewise.
11757         (ldexpl): Likewise.
11758         (powf): Likewise.
11759         (powl): Likewise.
11760         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11761         __USE_ISOC99].
11762         (remainderf): Condition declaration on [__USE_ISOC99].
11763         (remainderl): Likewise.
11764         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11765         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11766         (scalbl): Likewise.
11767         (sinhf): Condition declaration on [__USE_ISOC99].
11768         (sinhl): Likewise.
11769         (sqrtf): Likewise.
11770         (sqrtl): Likewise.
11772 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11774         * sysdeps/arm/atomic-machine.h
11775         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11776         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11777         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11778         Remove conditional code.
11779         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11780         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11781         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11782         Change conditional to [__ASSEMBLER__].
11783         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11784         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11785         [!__ASSEMBLER__].
11786         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11787         code.
11788         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11789         conditional macro definitions.
11790         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11791         (__arch_compare_and_exchange_val_16_acq): Likewise.
11792         (__arch_compare_and_exchange_val_32_acq): Likewise.
11793         (atomic_exchange_and_add): Likewise.
11794         (atomic_add): Likewise.
11795         (atomic_add_negative): Likewise.
11796         (atomic_add_zero): Likewise.
11797         (atomic_bit_set): Likewise.
11798         (atomic_bit_test_set): Likewise.
11799         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11800         code unconditional.
11801         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11803         * math/test-math-errno.h: New file.
11804         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11805         empty.
11806         (TEST_ERRNO): New macro.
11807         (TEST_EXCEPTIONS): Likewise.
11808         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11809         (TEST_EXCEPTIONS): Likewise.
11810         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11811         * math/test-double.c: Include "test-math-errno.h".
11812         * math/test-float.c: Likewise.
11813         * math/test-ldouble.c: Likewise.
11814         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11815         code unconditional.
11816         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11817         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11818         unconditional.
11819         (test_errno): Only run code if TEST_ERRNO.
11820         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11822 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11824         * nptl/tst-once5.cc: Remove attribution.
11826 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11828         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11829         sqrt, tan, tanh, y0, y1 and yn.
11830         * math/auto-libm-test-out: Regenerated.
11831         * math/libm-test.inc (scalb_test_data): Add more tests.
11832         (scalbn_test_data): Likewise.
11833         (scalbln_test_data): Likewise.
11834         (signbit_test_data): Likewise.
11835         (sin_test_data): Likewise.
11836         (sincos_test_data): Likewise.
11837         (sinh_test_data): Likewise.
11838         (sqrt_test_data): Likewise.
11839         (tan_test_data): Likewise.
11840         (tanh_test_data): Likewise.
11841         (tgamma_test_data): Likewise.
11842         (y0_test_data): Likewise.
11843         (y1_test_data): Likewise.
11844         (yn_test_data): Likewise.
11845         (significand_test_data): Likewise.
11846         * sysdeps/i386/fpu/libm-test-ulps: Update.
11848 2015-11-03  David Kastrup  <dak@gnu.org>
11850         [BZ #18604]
11851         * assert/assert.h (assert): Don't macro-expand failed assertion
11852         expression in error message.
11853         * malloc/malloc.c (assert): Likewise.
11855 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11857         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11858         test.
11859         * configure: Regenerated.
11861 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11863         * math/libm-test.inc (modf_test_data): Add more tests.
11864         (nearbyint_test_data): Likewise.
11865         (nextafter_test_data): Likewise.
11866         (nexttoward_test_data): Likewise.
11867         (pow_test_data): Likewise.
11868         (remainder_test_data): Likewise.
11869         (remquo_test_data): Likewise.
11870         (rint_test_data): Likewise.
11872         [BZ #19201]
11873         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11874         Check for zero remainder in case of large exponents and ensure
11875         correct sign of result in that case.
11876         * math/libm-test.inc (remainder_test_data): Add more tests.
11878         [BZ #6799]
11879         * math/s_nextafter.c: Include <errno.h>.
11880         (__nextafter): Set errno on overflow and underflow.
11881         * math/s_nexttowardf.c: Include <errno.h>.
11882         (__nexttowardf): Set errno on overflow and underflow.
11883         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11884         (__nextafterl): Set errno on overflow and underflow.
11885         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11886         (__nexttoward): Set errno on overflow and underflow.
11887         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11888         (__nexttowardf): Set errno on overflow and underflow.
11889         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11890         (__nextafterf): Set errno on overflow and underflow.
11891         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11892         (__nextafterl): Set errno on overflow and underflow.
11893         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11894         (__nexttoward): Set errno on overflow and underflow.
11895         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11896         (__nexttowardf): Set errno on overflow and underflow.
11897         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11898         (__nextafterl): Set errno on overflow and underflow.
11899         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11900         (__nexttoward): Set errno on overflow and underflow.
11901         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11902         (__nexttowardf): Set errno on overflow and underflow.
11903         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11904         (__nexttoward): Set errno on overflow and underflow.
11905         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11906         (__nexttowardf): Set errno on overflow and underflow.
11907         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11908         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11909         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11910         (__nextafterl): Set errno on overflow and underflow.
11911         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11912         setting to be missing on overflow.  Add more tests.
11913         (nexttoward_test_data): Likewise.
11915         * configure.ac (libc_cv_initfini_array): Remove configure test.
11916         * configure: Regenerated.
11918 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11920         [BZ #19189]
11921         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11922         non-finite argument handle arguments with negative sign.
11924         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11925         result from infinite argument.
11926         (j1_test_data): Likewise.
11927         (jn_test_data): Likewise.
11928         (y0_test_data): Likewise.
11929         (y1_test_data): Likewise.
11930         (yn_test_data): Likewise.
11932         [BZ #16171]
11933         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11934         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11935         * math/w_remainderf.c (dremf): Define as weak alias of
11936         __remainderf.
11937         * math/w_remainderl.c (dreml): Define as weak alias of
11938         __remainderl.
11939         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11940         __remainder.
11941         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11942         __remainderf.
11943         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11944         __remainderl.
11945         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11946         weak alias of remainderl.
11947         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11948         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11949         alias of __remainder.
11950         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11951         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11952         strong alias of __remainderl.
11953         (dreml): Use long_double_symbol.
11954         * math/Makefile (libm-calls): Remove w_drem.
11955         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11956         (CFLAGS-nldbl-drem.c): Remove variable.
11957         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11958         * math/w_drem.c: Remove file.
11959         * math/w_dremf.c: Likewise.
11960         * math/w_dreml.c: Likewise.
11961         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11962         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11963         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11965         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11966         * sysdeps/i386/configure: Regenerated.
11967         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11968         * sysdeps/x86_64/configure: Regenerated.
11970         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11971         test.
11972         (libc_cv_visibility_attribute): Likewise.
11973         (libc_cv_protected_data): Test unconditionally.
11974         (libc_cv_broken_visibility_attribute): Remove configure test.
11975         (libc_cv_have_sdata_section): Test unconditionally.
11976         * configure: Regenerated.
11978         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11979         * include/scratch_buffer.h: Include <stddef.h> instead of
11980         <libc-internal.h>.
11981         (struct scratch_buffer): Use max_align_t instead of
11982         libc_max_align_t.
11984 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11986         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11987         instead of extend_alloca.  Change control flow to avoid a goto.
11988         Remove assert which is trivially always true.
11990 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11992         [BZ #16068]
11993         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11994         (FE_ALL_EXCEPT_X86): New macro.
11995         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11996         FE_ALL_EXCEPT.  Ensure precision control is included in
11997         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11998         handle "denormal operand exception" and clear FZ and DAZ bits.
11999         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
12000         (FE_ALL_EXCEPT_X86): New macro.
12001         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12002         FE_ALL_EXCEPT.  Ensure precision control is included in
12003         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12004         handle "denormal operand exception" and clear FZ and DAZ bits.
12005         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
12006         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
12007         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12008         test-fenv-x87 and test-fenv-sse-2.
12009         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
12011         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
12012         * math/test-double.h (BUILD_COMPLEX): New macro.
12013         * math/test-float.h (BUILD_COMPLEX): Likewise.
12014         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
12016         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
12017         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
12018         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
12019         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
12020         instead of DBL_DENORM_MIN in comment.
12021         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
12022         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
12024         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
12025         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
12026         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12028 2015-10-28  Florian Weimer  <fweimer@redhat.com>
12030         [BZ# 19048]
12031         * malloc/malloc.c (struct malloc_state): Update comment.  Add
12032         attached_threads member.
12033         (main_arena): Initialize attached_threads.
12034         * malloc/arena.c (list_lock): Update comment.
12035         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
12036         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
12037         (deattach_arena): New function.
12038         (_int_new_arena): Initialize arena reference count and deattach
12039         replaced arena.
12040         (get_free_list, reused_arena): Update reference count and deattach
12041         replaced arena.
12042         (arena_thread_freeres): Update arena reference count and only put
12043         unreferenced arenas on the free list.
12045 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12047         [BZ #19181]
12048         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
12049         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
12050         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
12051         * math/test-fenv-clear-main.c: New file.
12052         * math/test-fenv-clear.c: Likewise.
12053         * math/Makefile (tests): Add test-fenv-clear.
12054         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
12055         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12056         test-fenv-clear-sse.
12057         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
12059         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
12060         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
12061         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
12063 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12065         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
12066         static libc.
12068 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12070         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
12071         test.
12072         * sysdeps/i386/configure: Regenerated.
12073         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
12074         test.
12075         * sysdeps/x86_64/configure: Regenerated.
12076         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
12077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12078         memset-avx2 unconditionally instead of conditionally on
12079         [$(config-cflags-avx2) = yes].
12080         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12081         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
12082         unconditional.
12083         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
12084         * sysdeps/x86_64/multiarch/memset_chk.S
12085         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
12086         to [IS_IN (libc) && SHARED].
12088 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12090         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
12091         configure test.
12092         * sysdeps/arm/configure: Regenerated.
12093         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
12094         Define variable if not already defined.
12096         [BZ #17404]
12097         * sysdeps/mips/atomic-machine.h
12098         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
12099         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
12100         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12102         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
12103         unconditional.
12104         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
12105         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12106         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
12107         unconditional.
12108         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12109         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
12110         unconditional.
12111         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12112         * stdlib/setenv.c
12113         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
12114         code unconditional.
12115         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
12116         Remove conditional code.
12117         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12118         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
12119         unconditional.
12120         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12121         code.
12122         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12123         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12124         unconditional.
12125         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12126         code.
12127         * sysdeps/ieee754/ldbl-128/k_tanl.c
12128         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12129         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12130         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12131         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12132         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12133         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12134         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12135         unconditional.
12136         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12137         code.
12138         * sysdeps/ieee754/ldbl-96/k_tanl.c
12139         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12140         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12142         * nptl/tst-initializers1-c11.c: New file.
12143         * nptl/tst-initializers1-gnu11.c: Likewise.
12144         * nptl/Makefile (tests): Add these new tests.
12145         (CFLAGS-tst-initializers1-c11.c): New variable.
12146         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
12148         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
12149         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
12150         instead of -std=gnu99.
12151         * configure.ac (systemtap): Test with -std=gnu11 instead of
12152         -std=gnu99.
12153         * configure: Regenerated.
12154         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12155         in compilation command in comment.
12157         * sysdeps/nptl/configure.ac: Remove file.
12158         * sysdeps/nptl/configure: Remove generated file.
12159         * configure.ac (libc_cv_forced_unwind): Do not substitute.
12160         * configure: Regenerated.
12161         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12162         * config.make.in (have-forced-unwind): Remove variable.
12163         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12164         unconditional.
12165         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12166         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12167         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12168         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12169         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12170         unconditional.
12172 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12174         [BZ #19174]
12175         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12176         .skip_lock_out_of_tbegin_retries.
12177         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12178         (__lll_lock_elision): Likewise, and respect a value of
12179         try_tbegin <= 0.
12181 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12183         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12184         statement.
12186 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12188         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12189         variable.
12190         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12191         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12193         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12194         of -std=c1x -D_ISOC11_SOURCE.
12196         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12197         * configure: Regenerated.
12198         * manual/install.texi (Tools for Compilation): Document
12199         requirement for GCC 4.7 or later.
12200         * INSTALL: Regenerated.
12202 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12204         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12205         on CNT to a conditional jump to 'puntdata'.
12207 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12209         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12210         (libc_cv_gcc_tls_model_attr): Likewise.
12211         * configure: Regenerated.
12213         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12214         * configure: Regenerated.
12215         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12217 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12219         * configure.ac (old_glibc_headers): Remove configure test.
12220         * configure: Regenerated.
12221         * config.make.in (old-glibc-headers): Remove variable.
12222         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12223         (install): Remove dependency on remove-old-headers.
12224         (headers2_0): Remove variable.
12225         (remove-old-headers): Remove rule.
12227         * configure.ac (libc_cv_dot_text): Remove configure test.
12228         (libc_cv_asm_set_directive): Use .text instead of
12229         ${libc_cv_dot_text} in configure test.
12230         * configure: Regenerated.
12232 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12234         [BZ #19168]
12235         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12237 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12239         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12240         not support static linking.
12241         * configure: Regenerate.
12243 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12245         * math/libm-test.inc (check_float_internal): Do not special-case
12246         errors up to 0.5 ulp.
12248         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12249         log2.
12250         * math/auto-libm-test-out: Regenerated.
12251         * math/libm-test.inc (MAX_EXP): New macro.
12252         (ilogb_test_data): Add more tests.
12253         (isfinite_test_data): Likewise.
12254         (isgreater_test_data): Likewise.
12255         (isgreaterequal_test_data): Likewise.
12256         (isinf_test_data): Likewise.
12257         (isless_test_data): Likewise.
12258         (islessequal_test_data): Likewise.
12259         (islessgreater_test_data): Likewise.
12260         (isnan_test_data): Likewise.
12261         (isnormal_test_data): Likewise.
12262         (issignaling_test_data): Likewise.
12263         (isunordered_test_data): Likewise.
12264         (j0_test_data): Likewise.
12265         (j1_test_data): Likewise.
12266         (jn_test_data): Likewise.
12267         (lgamma_test_data): Likewise.
12268         (log_test_data): Likewise.
12269         (log10_test_data): Likewise.
12270         (log1p_test_data): Likewise.
12271         (log2_test_data): Likewise.
12272         (logb_test_data): Likewise.
12273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12275         [BZ #18611]
12276         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12277         avoid excess range and precision on underflow.
12278         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12279         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12280         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12281         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12282         underflow.
12283         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12284         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12285         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12286         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12287         * math/auto-libm-test-in: Do not allow missing errno setting for
12288         tests of j1 and jn.
12289         * math/auto-libm-test-out: Regenerated.
12291 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12293         [BZ #15491]
12294         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12295         floating-point environment instead of clearing all exceptions.
12296         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12297         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12298         merging in "invalid" exceptions from frndint.
12299         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12300         * math/test-nearbyint-except.c: New file.
12301         * math/Makefile (tests): Add test-nearbyint-except.
12303 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12305         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12307         * sysdeps/tile/libm-test-ulps: Regenerated.
12309 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12312         (__NR_sync_file_range2): Assume it is always defined.
12313         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12314         (__NR_sync_file_range): Assume it is always defined.
12316 2015-10-22  Andreas Schwab  <schwab@suse.de>
12318         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12319         INTERNAL_SYSCALL_ERRNO.
12320         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12321         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12322         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12323         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12324         Likewise.
12325         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12327 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12329         * io/tst-fcntl.c (fd): New static variable.
12330         (do_prepare): Open temporary file here....
12331         (do_test): ...not here.
12333         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12335 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12337         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12338         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12339         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12340         Moved before "#ifdef __ASSEMBLER__".
12342 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12344         [BZ #19156]
12345         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12346         arguments very close to 0.
12348 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12350         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12351         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12353 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12355         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12356         New.  Defined for GCC 5 and above when not compiling for
12357         profiling.
12358         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12360         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12361         Renamed to ...
12362         (CFLAGS-epoll_pwait.o): This.
12363         (CFLAGS-mmap.c): Renamed to ...
12364         (CFLAGS-mmap.o): This.
12365         (CFLAGS-mmap64.c): Renamed to ...
12366         (CFLAGS-mmap64.o): This.
12367         (CFLAGS-epoll_pwait.os): New.
12368         (CFLAGS-mmap.os): Likewise.
12369         (CFLAGS-mmap64.os): Likewise.
12370         (CFLAGS-semtimedop.os): Likewise.
12371         (CFLAGS-semtimedop.c): Renamed to ...
12372         (CFLAGS-semtimedop.o): This.
12374 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12376         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12377         warning message.
12379 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12381         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12382         * Makefile ($(objpfx)c++-types-check.out): Filter out
12383         $(+gccwarn-c) instead of -Wstrict-prototypes.
12385         * io/fts.c (fts_open): Convert to prototype-style function
12386         definition.
12387         * malloc/mcheck.c (mcheck): Likewise.
12388         (mcheck_pedantic): Likewise.
12389         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12390         internal_function.
12391         (re_search_internal): Likewise.
12392         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12393         prototype-style function definition.
12394         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12395         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12396         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12397         (xdr_utmpptr): Likewise.
12398         (xdr_utmparr): Likewise.
12399         (xdr_utmpidle): Likewise.
12400         (xdr_utmpidleptr): Likewise.
12401         (xdr_utmpidlearr): Likewise.
12403         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12404         log, log10 and log2.
12405         * math/auto-libm-test-out: Regenerated.
12406         * math/libm-test.inc (fmod_test_data): Add more tests.
12407         (fpclassify_test_data): Likewise.
12408         (frexp_test_data): Likewise.
12409         (hypot_test_data): Likewise.
12410         (ilogb_test_data): Likewise.
12412 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12414         * debug/fortify_fail.c (__fortify_fail): Convert to
12415         prototype-style function definition.  Use internal_function.
12416         * libio/genops.c (save_for_backup): Convert to prototype-style
12417         function definition.
12418         * libio/wgenops.c (save_for_wbackup): Likewise.
12419         * login/grantpt.c (grantpt): Likewise.
12420         * login/ptsname.c (ptsname): Likewise.
12421         (__ptsname_r): Likewise.
12422         * login/unlockpt.c (unlockpt): Likewise.
12423         * mach/msgserver.c (__mach_msg_server): Likewise.
12424         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12425         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12426         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12427         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12428         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12429         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12430         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12431         Likewise.
12432         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12433         internal_function.
12434         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12435         prototype-style function definition.
12436         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12437         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12438         (__pthread_create_2_0): Likewise.
12439         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12440         * nptl/register-atfork.c (__register_atfork): Likewise.
12441         * posix/glob.c (glob): Likewise.
12442         * posix/regcomp.c (re_comp): Likewise.
12443         * posix/regexec.c (re_exec): Likewise.
12444         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12445         [!__STDC__]: Remove conditional code.
12446         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12447         [!__STDC__]: Remove conditional code.
12448         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12449         [!__STDC__]: Remove conditional code.
12450         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12451         [!__STDC__]: Remove conditional code.
12452         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12453         [!__STDC__]: Remove conditional code.
12454         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12455         [!__STDC__]: Remove conditional code.
12456         * stdlib/mul.c [__STDC__]: Make code unconditional.
12457         [!__STDC__]: Remove conditional code.
12458         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12459         [!__STDC__]: Remove conditional code.
12460         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12461         [!__STDC__]: Remove conditional code.
12462         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12463         function definition.
12464         (STRTOF): Likewise.
12465         * stdlib/strtod_l.c (__STRTOF): Likewise.
12466         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12467         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12468         (__strtol_l): Likewise.
12469         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12470         [!__STDC__]: Remove conditional code.
12471         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12472         definition.
12473         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12474         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12475         type.
12476         (__strcasecmp): Convert to prototype-style function definition.
12477         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12478         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12479         type.
12480         (__strncasecmp): Convert to prototype-style function definition.
12481         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12482         * sunrpc/xdr.c (xdr_union): Likewise.
12483         * sunrpc/xdr_array.c (xdr_array): Likewise.
12484         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12485         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12486         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12487         Likewise.
12488         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12489         Likewise.
12490         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12491         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12492         Likewise.
12493         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12494         (LOCALE_PARAM_PROTO): Likewise.
12495         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12496         argument type.
12497         (ut_argument_spec): Remove macro.
12498         (ut_argument_spec_iso): Rename to ut_argument_spec.
12499         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12500         prototype-style function definition.
12501         (memcpy_uppcase): Likewise.
12502         (__strftime_internal): Likewise.
12503         (my_strftime): Likewise.
12504         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12505         (LOCALE_PARAM_DECL): Likewise.
12506         [_LIBC] (LOCALE_PARAM): Include argument type.
12507         (__strptime_internal): Convert to prototype-style function
12508         definition.
12509         (strptime): Likewise.
12510         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12511         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12512         type.
12513         (__wcscasecmp): Convert to prototype-style function definition.
12514         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12515         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12516         type.
12517         (__wcsncasecmp): Convert to prototype-style function definition.
12519         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12520         function definition.
12521         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12522         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12523         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12524         * elf/dl-minimal.c (_itoa): Likewise.
12525         * hurd/hurdmalloc.c (malloc): Likewise.
12526         (free): Likewise.
12527         (realloc): Likewise.
12528         * inet/inet6_option.c (inet6_option_space): Likewise.
12529         (inet6_option_init): Likewise.
12530         (inet6_option_append): Likewise.
12531         (inet6_option_alloc): Likewise.
12532         (inet6_option_next): Likewise.
12533         (inet6_option_find): Likewise.
12534         * io/ftw.c (FTW_NAME): Likewise.
12535         (NFTW_NAME): Likewise.
12536         (NFTW_NEW_NAME): Likewise.
12537         (NFTW_OLD_NAME): Likewise.
12538         * libio/iofwide.c (_IO_fwide): Likewise.
12539         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12540         (_IO_str_init_static): Likewise.
12541         (_IO_str_init_readonly): Likewise.
12542         (_IO_str_overflow): Likewise.
12543         (_IO_str_underflow): Likewise.
12544         (_IO_str_count): Likewise.
12545         (_IO_str_seekoff): Likewise.
12546         (_IO_str_pbackfail): Likewise.
12547         (_IO_str_finish): Likewise.
12548         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12549         (_IO_wstr_overflow): Likewise.
12550         (_IO_wstr_underflow): Likewise.
12551         (_IO_wstr_count): Likewise.
12552         (_IO_wstr_seekoff): Likewise.
12553         (_IO_wstr_pbackfail): Likewise.
12554         (_IO_wstr_finish): Likewise.
12555         * locale/programs/localedef.c (normalize_codeset): Likewise.
12556         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12557         (add_locales_to_archive): Likewise.
12558         (delete_locales_from_archive): Likewise.
12559         * malloc/malloc.c (__libc_mallinfo): Likewise.
12560         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12561         * misc/tsearch.c (__tfind): Likewise.
12562         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12563         * nptl/pthread_attr_getdetachstate.c
12564         (__pthread_attr_getdetachstate): Likewise.
12565         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12566         Likewise.
12567         * nptl/pthread_attr_getinheritsched.c
12568         (__pthread_attr_getinheritsched): Likewise.
12569         * nptl/pthread_attr_getschedparam.c
12570         (__pthread_attr_getschedparam): Likewise.
12571         * nptl/pthread_attr_getschedpolicy.c
12572         (__pthread_attr_getschedpolicy): Likewise.
12573         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12574         Likewise.
12575         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12576         Likewise.
12577         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12578         Likewise.
12579         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12580         Likewise.
12581         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12582         (__pthread_attr_init_2_0): Likewise.
12583         * nptl/pthread_attr_setdetachstate.c
12584         (__pthread_attr_setdetachstate): Likewise.
12585         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12586         Likewise.
12587         * nptl/pthread_attr_setinheritsched.c
12588         (__pthread_attr_setinheritsched): Likewise.
12589         * nptl/pthread_attr_setschedparam.c
12590         (__pthread_attr_setschedparam): Likewise.
12591         * nptl/pthread_attr_setschedpolicy.c
12592         (__pthread_attr_setschedpolicy): Likewise.
12593         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12594         Likewise.
12595         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12596         Likewise.
12597         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12598         Likewise.
12599         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12600         Likewise.
12601         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12602         Likewise.
12603         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12604         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12605         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12606         use internal_function.
12607         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12608         prototype-style function definition.
12609         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12610         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12611         internal_function.
12612         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12613         Convert to prototype-style function definition.
12614         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12615         Likewise.
12616         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12617         Likewise.
12618         (__pthread_mutex_unlock): Likewise.
12619         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12620         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12621         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12622         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12623         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12624         * nss/makedb.c (process_input): Likewise.
12625         * posix/fnmatch.c (__strchrnul): Likewise.
12626         (__wcschrnul): Likewise.
12627         (fnmatch): Likewise.
12628         * posix/fnmatch_loop.c (FCT): Likewise.
12629         * posix/glob.c (globfree): Likewise.
12630         (__glob_pattern_type): Likewise.
12631         (__glob_pattern_p): Likewise.
12632         * posix/regcomp.c (re_compile_pattern): Likewise.
12633         (re_set_syntax): Likewise.
12634         (re_compile_fastmap): Likewise.
12635         (regcomp): Likewise.
12636         (regerror): Likewise.
12637         (regfree): Likewise.
12638         * posix/regexec.c (regexec): Likewise.
12639         (re_match): Likewise.
12640         (re_search): Likewise.
12641         (re_match_2): Likewise.
12642         (re_search_2): Likewise.
12643         (re_search_stub): Likewise.  Use internal_function
12644         (re_copy_regs): Likewise.
12645         (re_set_registers): Convert to prototype-style function
12646         definition.
12647         (prune_impossible_nodes): Likewise.  Use internal_function.
12648         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12649         prototype-style function definition.
12650         (inet_net_pton_ipv4): Likewise.
12651         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12652         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12653         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12654         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12655         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12656         Make variadic.
12657         * time/strptime_l.c (localtime_r): Convert to prototype-style
12658         function definition.
12659         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12660         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12661         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12662         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12664         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12665         definition.
12666         (_ufc_doit_r): Likewise.
12667         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12668         (_ufc_output_conversion_r): Likewise.
12669         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12670         * inet/rcmd.c (rcmd_af): Likewise.
12671         (rcmd): Likewise.
12672         (ruserok_af): Likewise.
12673         (ruserok): Likewise.
12674         (ruserok2_sa): Likewise.
12675         (ruserok_sa): Likewise.
12676         (iruserok_af): Likewise.
12677         (iruserok): Likewise.
12678         (__ivaliduser): Likewise.
12679         (__validuser2_sa): Likewise.
12680         * inet/rexec.c (rexec_af): Likewise.
12681         (rexec): Likewise.
12682         * inet/ruserpass.c (ruserpass): Likewise.
12683         * locale/programs/xmalloc.c (xcalloc): Likewise.
12684         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12685         * math/w_drem.c (__drem): Likewise.
12686         * math/w_dremf.c (__dremf): Likewise.
12687         * math/w_dreml.c (__dreml): Likewise.
12688         * misc/daemon.c (daemon): Likewise.
12689         * resolv/res_debug.c (p_fqnname): Likewise.
12690         * stdlib/div.c (div): Likewise.
12691         * string/memcmp.c (memcmp_bytes): Likewise.
12692         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12693         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12695         * crypt/cert.c (main): Convert to prototype-style function
12696         definition.
12697         * io/pipe.c (__pipe): Likewise.
12698         * io/pipe2.c (__pipe2): Likewise.
12699         * misc/futimesat.c (futimesat): Likewise.
12700         * misc/utimes.c (__utimes): Likewise.
12701         * posix/execve.c (__execve): Likewise.
12702         * posix/execvp.c (execvp): Likewise.
12703         * posix/execvpe.c (__execvpe): Likewise.
12704         * posix/fexecve.c (fexecve): Likewise.
12705         * socket/socketpair.c (socketpair): Likewise.
12706         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12707         * stdlib/erand48.c (erand48): Likewise.
12708         * stdlib/erand48_r.c (__erand48_r): Likewise.
12709         * stdlib/jrand48.c (jrand48): Likewise.
12710         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12711         * stdlib/lcong48.c (lcong48): Likewise.
12712         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12713         * stdlib/nrand48.c (nrand48): Likewise.
12714         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12715         * stdlib/seed48.c (seed48): Likewise.
12716         * stdlib/seed48_r.c (__seed48_r): Likewise.
12717         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12718         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12719         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12721 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12723         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12724         * configure: Regenerated.
12725         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12726         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12727         unconditional.
12728         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12729         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12730         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12731         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12732         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12733         unconditional.
12734         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12736         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12737         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12739         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12740         function definition.
12741         * crypt/crypt_util.c (__encrypt_r): Likewise.
12742         * libio/genops.c (_IO_no_init): Likewise.
12743         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12744         (_IO_old_fopencookie): Likewise.
12745         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12746         * libio/iogetline.c (_IO_getline): Likewise.
12747         (_IO_getline_info): Likewise.
12748         * libio/iogetwline.c (_IO_getwline): Likewise.
12749         (_IO_getwline_info): Likewise.
12750         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12751         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12752         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12753         (find_entry): Likewise.
12754         (iterate_table): Likewise.
12755         (lookup): Likewise.
12756         * login/forkpty.c (forkpty): Likewise.
12757         * misc/hsearch_r.c (__hsearch_r): Likewise.
12758         * misc/select.c (__select): Likewise.
12759         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12760         Likewise.
12761         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12762         Likewise.
12763         * nptl/old_pthread_cond_timedwait.c
12764         (__pthread_cond_timedwait_2_0): Likewise.
12765         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12766         * nptl/pthread_barrierattr_getpshared.c
12767         (pthread_barrierattr_getpshared): Likewise.
12768         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12769         Likewise.
12770         * nptl/pthread_mutex_setprioceiling.c
12771         (pthread_mutex_setprioceiling): Likewise.
12772         * nptl/pthread_mutexattr_getprioceiling.c
12773         (pthread_mutexattr_getprioceiling): Likewise.
12774         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12775         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12776         Likewise.
12777         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12778         Likewise.
12779         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12780         Likewise.
12781         * socket/recvfrom.c (__recvfrom): Likewise.
12782         * socket/sendto.c (__sendto): Likewise.
12783         * socket/setsockopt.c (__setsockopt): Likewise.
12784         * stdio-common/_itoa.c (_itoa): Likewise.
12785         * stdio-common/_itowa.c (_itowa): Likewise.
12786         * stdio-common/reg-printf.c (__register_printf_specifier):
12787         Likewise.
12788         (__register_printf_function): Likewise.
12789         * stdio-common/tempname.c (__path_search): Likewise.
12790         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12791         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12792         * stdlib/random_r.c (__initstate_r): Likewise.
12793         * stdlib/setenv.c (__add_to_environ): Likewise.
12794         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12795         * streams/getpmsg.c (getpmsg): Likewise.
12796         * streams/putmsg.c (putmsg): Likewise.
12797         * streams/putpmsg.c (putpmsg): Likewise.
12798         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12799         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12800         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12801         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12802         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12803         * sunrpc/svc_udp.c (cache_get): Likewise.
12804         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12805         * sysdeps/mach/hurd/getcwd.c
12806         (__canonicalize_directory_name_internal): Likewise.
12807         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12808         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12809         * sysdeps/mach/hurd/select.c (__select): Likewise.
12810         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12811         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12812         * sysdeps/sparc/nptl/pthread_barrier_init.c
12813         (__pthread_barrier_init): Likewise.
12814         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12815         (__pthread_cond_timedwait): Likewise.
12816         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12817         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12818         Likewise.
12819         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12820         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12821         Likewise.
12822         * sysvipc/semtimedop.c (semtimedop): Likewise.
12823         * time/setitimer.c (__setitimer): Likewise.
12824         * time/strftime_l.c (emacs_strftime): Likewise.
12826 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12828         * config.make.in (have-ssp): Delete.
12829         (stack-protector): New variable.
12830         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12831         cache test for -fstack-protector-strong.  Export stack_protector to
12832         the best ssp flag.
12833         * configure: Regenerated.
12834         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12835         * nscd/Makefile (CFLAGS-nscd): Likewise.
12836         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12838 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12840         [BZ #19122]
12841         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12842         attribute_hidden.
12844 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12846         [BZ #18743]
12847         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12848         code to...
12849         (ELIDE_LOCK): ...here.
12850         (__get_new_count): New function with part of the code from
12851         __elide_lock that updates the value of adapt_count after a
12852         transaction abort.
12853         (__elided_trylock): Moved this code to...
12854         (ELIDE_TRYLOCK): ...here.
12856 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12858         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12859         * configure: Regenerate.
12860         * INSTALL: Regenerate.
12861         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12862         and tweak grammar.
12864 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12866         * login/programs/pt_chown.c: Include signal.h
12867         (main): Clear any signal mask from the parent process.
12869 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12871         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12872         * configure: Regenerated.
12873         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12874         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12875         $(gnu89-inline-CFLAGS).
12877         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12878         test.
12879         (libc_cv_asm_weakext_directive): Likewise.
12880         * configure: Regenerated.
12881         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12882         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12883         * include/libc-symbols.h
12884         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12885         #error.
12886         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12887         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12889         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12890         prototype-style function definition.
12891         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12892         * sysdeps/i386/ffs.c (__ffs): Likewise.
12893         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12894         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12895         Likewise.
12896         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12897         Likewise.
12898         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12899         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12900         Likewise.
12901         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12902         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12903         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12904         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12905         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12906         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12907         * sysdeps/mach/hurd/access.c (__access): Likewise.
12908         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12909         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12910         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12911         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12912         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12913         (cthread_getspecific): Likewise.
12914         (cthread_setspecific): Likewise.
12915         (__libc_getspecific): Likewise.
12916         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12917         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12918         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12919         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12920         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12921         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12922         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12923         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12924         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12925         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12926         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12927         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12928         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12929         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12930         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12931         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12932         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12933         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12934         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12935         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12936         * sysdeps/mach/hurd/link.c (__link): Likewise.
12937         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12938         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12939         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12940         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12941         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12942         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12943         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12944         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12945         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12946         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12947         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12948         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12949         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12950         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12951         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12952         * sysdeps/mach/hurd/send.c (__send): Likewise.
12953         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12954         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12955         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12956         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12957         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12958         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12959         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12960         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12961         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12962         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12963         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12964         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12965         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12966         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12967         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12968         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12969         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12970         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12971         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12972         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12973         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12974         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12975         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12976         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12977         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12978         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12979         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12980         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12981         * sysdeps/posix/alarm.c (alarm): Likewise.
12982         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12983         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12984         * sysdeps/posix/dup.c (__dup): Likewise.
12985         * sysdeps/posix/dup2.c (__dup2): Likewise.
12986         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12987         (main): Likewise.
12988         * sysdeps/posix/flock.c (__flock): Likewise.
12989         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12990         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12991         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12992         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12993         * sysdeps/posix/isatty.c (__isatty): Likewise.
12994         * sysdeps/posix/killpg.c (killpg): Likewise.
12995         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12996         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12997         * sysdeps/posix/raise.c (raise): Likewise.
12998         * sysdeps/posix/remove.c (remove): Likewise.
12999         * sysdeps/posix/rename.c (rename): Likewise.
13000         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
13001         * sysdeps/posix/seekdir.c (seekdir): Likewise.
13002         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13003         * sysdeps/posix/sigignore.c (sigignore): Likewise.
13004         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
13005         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13006         * sysdeps/posix/sigset.c (sigset): Likewise.
13007         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
13008         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
13009         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
13010         * sysdeps/posix/time.c (time): Likewise.
13011         * sysdeps/posix/ttyname.c (getttyname): Likewise.
13012         (ttyname): Likewise.
13013         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
13014         * sysdeps/posix/utime.c (utime): Likewise.
13015         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
13016         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13017         Likewise.
13018         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
13019         (pthread_spin_trylock): Likewise.
13020         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
13021         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
13022         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
13023         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
13024         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
13025         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
13026         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
13027         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
13028         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
13029         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
13030         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
13031         * sysdeps/s390/ffs.c (__ffs): Likewise.
13032         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
13033         Likewise.
13034         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13035         Likewise.
13036         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
13037         Likewise.
13038         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
13039         (pthread_barrier_destroy): Likewise.
13040         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13041         (__pthread_barrier_wait): Likewise.
13042         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
13043         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13044         (__pthread_barrier_wait): Likewise.
13045         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
13046         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
13047         (memcmp_not_common_alignment): Likewise.
13048         (MEMCMP): Likewise.
13049         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
13050         (_wordcopy_fwd_dest_aligned): Likewise.
13051         (_wordcopy_bwd_aligned): Likewise.
13052         (_wordcopy_bwd_dest_aligned): Likewise.
13053         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
13054         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
13055         * sysdeps/unix/bsd/stty.c (stty): Likewise.
13056         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
13057         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
13058         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
13059         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
13060         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
13061         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
13062         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
13063         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
13064         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13065         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
13066         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
13067         * sysdeps/unix/stime.c (stime): Likewise.
13068         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
13069         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
13070         Likewise.  Use internal_function.
13071         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
13072         Convert to prototype-style function definition.
13073         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13074         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13075         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
13076         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13077         Likewise.  Use internal_function.
13078         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
13079         prototype-style function definition
13080         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13081         Likewise.
13082         (__getlogin_r): Likewise.
13083         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
13084         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
13085         (__pthread_cond_broadcast): Likewise.
13086         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
13087         (__pthread_cond_destroy): Likewise.
13088         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
13089         (__pthread_cond_init): Likewise.
13090         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
13091         (__pthread_cond_signal): Likewise.
13092         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
13093         (__pthread_cond_wait): Likewise.
13094         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
13095         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13096         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
13097         Likewise.
13098         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
13099         Likewise.
13100         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13101         Likewise.
13102         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
13103         Likewise.
13104         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
13105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
13106         (__ftruncate64): Likewise.
13107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
13108         (truncate64): Likewise.
13109         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
13110         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
13111         (pthread_getcpuclockid): Likewise.
13112         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13113         Likewise.
13114         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13115         Likewise.
13116         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
13117         Likewise.
13118         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13119         Likewise.
13120         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
13121         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13122         (__libc_sigaction): Likewise.
13123         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13124         Likewise.
13125         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13126         (__sigprocmask): Likewise.
13127         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13128         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13129         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13130         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13131         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13132         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13133         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13134         Likewise.
13135         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13136         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13137         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13138         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13139         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13140         Likewise.
13141         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13142         (__sigprocmask): Likewise.
13143         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
13144         (cfgetispeed): Likewise.
13145         (cfsetospeed): Likewise.
13146         (cfsetispeed): Likewise.
13147         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
13148         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
13149         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13150         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13151         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
13152         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
13153         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
13154         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13155         Likewise.
13156         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13157         Likewise.
13158         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13159         Likewise.
13160         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13161         Likewise.
13162         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13164 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13166         sunrpc: Rewrite with explicit TLS access using __thread.
13167         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13168         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13169         directly.
13170         (__rpc_thread_variables): Access thread_rpc_vars directly.
13171         Eliminate redundant assignment of the tvp variable.
13173 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13175         malloc: Rewrite with explicit TLS access using __thread.
13176         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13177         (tsd_setspecific, tsd_getspecific): Remove.
13178         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13179         (tsd_setspecific, tsd_getspecific): Likewise.
13180         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13181         (tsd_setspecific, tsd_getspecific): Likewise.
13182         * malloc/arena.c (thread_arena): New TLS variable.
13183         (arena_key): Remove variable.
13184         (arena_get): Use thread_arena.
13185         (arena_lookup): Remove macro.
13186         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13187         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13188         (_int_new_arena, get_free_list, reused_arena)
13189         (arena_thread_freeres): Use thread_arena.
13190         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13191         tsd_getspecific, tsd_setspecific from safety annotations.
13192         (Allocating Cleared Space): Remove arena_lookup from safety
13193         annotations.
13195 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13197         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13198         struct scratch_buffer instead of extend_alloca.
13200 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13202         * sysdeps/unix/sysv/linux/kernel-features.h
13203         (__ASSUME_SOCK_CLOEXEC): Remove.
13204         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13205         (__have_paccept): Remove unused macro.
13206         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13207         * misc/syslog.c (openlog_internal): Remove fallback code for
13208         !__ASSUME_SOCK_CLOEXEC.
13209         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13210         missing SOCK_CLOEXEC.
13211         * nscd/connections.c (have_sock_cloexec): Remove definition.
13212         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13213         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13214         !__ASSUME_SOCK_CLOEXEC.
13215         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13216         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13217         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13218         definition.
13219         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13220         code for !__ASSUME_SOCK_CLOEXEC.
13222 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13224         [BZ #18982]
13225         * manual/stdio.texi (Variable Arguments Output): Add portability
13226         note, explaining that vfprintf clobbers the va_list pointer.
13228 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13230         * math/libm-test.inc (fabs_test_data): Add more tests.
13231         (fdim_test_data): Likewise.
13232         (fma_test_data): Likewise.
13233         (fmax_test_data): Likewise.
13234         (fmin_test_data): Likewise.
13235         (fmod_test_data): Likewise.
13237 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13239         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13240         data.
13242 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13244         * math/libm-test.inc (ceil_test_data): Add more tests and more
13245         expectations for "inexact".
13246         (floor_test_data): Add more tests.
13247         (round_test_data): Likewise.
13248         (trunc_test_data): Likewise.
13250         * crypt/cert.c (good_bye): Convert to prototype-style function
13251         definition.
13252         (get8): Likewise.
13253         (put8): Likewise.
13254         * crypt/crypt-entry.c (crypt): Likewise.
13255         (__fcrypt): Likewise.
13256         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13257         (_ufc_set_bits): Likewise.
13258         (_ufc_clearmem): Likewise.
13259         (__init_des_r): Likewise.
13260         (shuffle_sb): Likewise.
13261         (shuffle_sb): Likewise.
13262         (_ufc_setup_salt_r): Likewise.
13263         (_ufc_mk_keytab_r): Likewise.
13264         (_ufc_dofinalperm_r): Likewise.
13265         (encrypt): Likewise.
13266         (__setkey_r): Likewise.
13267         (setkey): Likewise.
13268         * crypt/md5.c (md5_init_ctx): Likewise.
13269         (md5_read_ctx): Likewise.
13270         (md5_finish_ctx): Likewise.
13271         (md5_stream): Likewise.
13272         (md5_buffer): Likewise.
13273         (md5_process_bytes): Likewise.
13274         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13275         (__sha256_finish_ctx): Likewise.
13276         (__sha256_process_bytes): Likewise.
13277         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13278         (__sha512_finish_ctx): Likewise.
13279         (__sha512_process_bytes): Likewise.
13280         * ctype/isctype.c (__isctype): Likewise.
13281         * debug/backtrace.c (__backtrace): Likewise.
13282         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13283         * debug/fgets_chk.c (__fgets_chk): Likewise.
13284         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13285         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13286         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13287         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13288         * debug/memset_chk.c (__memset_chk): Likewise.
13289         * debug/strcat_chk.c (__strcat_chk): Likewise.
13290         * debug/strncat_chk.c (__strncat_chk): Likewise.
13291         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13292         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13293         * dirent/dirfd.c (dirfd): Likewise.
13294         * dirent/getdents.c (__getdirentries): Likewise.
13295         * dirent/getdents64.c (getdirentries64): Likewise.
13296         * dirent/rewinddir.c (__rewinddir): Likewise.
13297         * dirent/seekdir.c (seekdir): Likewise.
13298         * dirent/telldir.c (telldir): Likewise.
13299         * elf/sln.c (makesymlinks): Likewise.
13300         (makesymlink): Likewise.
13301         * gmon/gmon.c (__moncontrol): Likewise.
13302         (__monstartup): Likewise.
13303         (write_hist): Likewise.
13304         (write_call_graph): Likewise.
13305         (write_bb_counts): Likewise.
13306         * grp/setgroups.c (setgroups): Likewise.
13307         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13308         * inet/inet_net.c (inet_network): Likewise.
13309         * inet/inet_netof.c (inet_netof): Likewise.
13310         * inet/rcmd.c (rresvport_af): Likewise.
13311         (rresvport): Likewise.
13312         * io/access.c (__access): Likewise.
13313         * io/chdir.c (__chdir): Likewise.
13314         * io/chmod.c (__chmod): Likewise.
13315         * io/chown.c (__chown): Likewise.
13316         * io/close.c (__close): Likewise.
13317         * io/creat.c (creat): Likewise.
13318         * io/creat64.c (creat64): Likewise.
13319         * io/dup.c (__dup): Likewise.
13320         * io/dup2.c (__dup2): Likewise.
13321         * io/dup3.c (__dup3): Likewise.
13322         * io/euidaccess.c (__euidaccess): Likewise.
13323         * io/faccessat.c (faccessat): Likewise.
13324         * io/fchmod.c (__fchmod): Likewise.
13325         * io/fchmodat.c (fchmodat): Likewise.
13326         * io/fchown.c (__fchown): Likewise.
13327         * io/fchownat.c (fchownat): Likewise.
13328         * io/fcntl.c (__fcntl): Likewise.
13329         * io/flock.c (__flock): Likewise.
13330         * io/fts.c (fts_load): Likewise.
13331         (fts_close): Likewise.
13332         (fts_read): Likewise.
13333         (fts_set): Likewise.
13334         (fts_children): Likewise.
13335         (fts_build): Likewise.
13336         (fts_stat): Likewise.
13337         (fts_sort): Likewise.
13338         (fts_alloc): Likewise.
13339         (fts_lfree): Likewise.
13340         (fts_palloc): Likewise.
13341         (fts_padjust): Likewise.
13342         (fts_maxarglen): Likewise.
13343         (fts_safe_changedir): Likewise.
13344         * io/getwd.c (getwd): Likewise.
13345         * io/isatty.c (__isatty): Likewise.
13346         * io/lchown.c (__lchown): Likewise.
13347         * io/link.c (__link): Likewise.
13348         * io/linkat.c (linkat): Likewise.
13349         * io/lseek.c (__libc_lseek): Likewise.
13350         * io/mkdir.c (__mkdir): Likewise.
13351         * io/mkdirat.c (mkdirat): Likewise.
13352         * io/mkfifo.c (mkfifo): Likewise.
13353         * io/mkfifoat.c (mkfifoat): Likewise.
13354         * io/open.c (__libc_open): Likewise.
13355         * io/open64.c (__libc_open64): Likewise.
13356         * io/readlink.c (__readlink): Likewise.
13357         * io/readlinkat.c (readlinkat): Likewise.
13358         * io/rmdir.c (__rmdir): Likewise.
13359         * io/symlink.c (__symlink): Likewise.
13360         * io/symlinkat.c (symlinkat): Likewise.
13361         * io/ttyname.c (ttyname): Likewise.
13362         * io/ttyname_r.c (__ttyname_r): Likewise.
13363         * io/umask.c (__umask): Likewise.
13364         * io/unlink.c (__unlink): Likewise.
13365         * io/unlinkat.c (unlinkat): Likewise.
13366         * io/utime.c (utime): Likewise.
13367         * libio/clearerr.c (clearerr): Likewise.
13368         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13369         * libio/feof.c (_IO_feof): Likewise.
13370         * libio/feof_u.c (feof_unlocked): Likewise.
13371         * libio/ferror.c (_IO_ferror): Likewise.
13372         * libio/ferror_u.c (ferror_unlocked): Likewise.
13373         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13374         * libio/fileno.c (__fileno): Likewise.
13375         * libio/fputc.c (fputc): Likewise.
13376         * libio/fputc_u.c (fputc_unlocked): Likewise.
13377         * libio/fputwc.c (fputwc): Likewise.
13378         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13379         * libio/freopen.c (freopen): Likewise.
13380         * libio/freopen64.c (freopen64): Likewise.
13381         * libio/fseek.c (fseek): Likewise.
13382         * libio/fseeko.c (fseeko): Likewise.
13383         * libio/fseeko64.c (fseeko64): Likewise.
13384         * libio/ftello.c (__ftello): Likewise.
13385         * libio/ftello64.c (ftello64): Likewise.
13386         * libio/fwide.c (fwide): Likewise.
13387         * libio/genops.c (_IO_un_link): Likewise.
13388         (_IO_link_in): Likewise.
13389         (_IO_least_marker): Likewise.
13390         (_IO_switch_to_main_get_area): Likewise.
13391         (_IO_switch_to_backup_area): Likewise.
13392         (_IO_switch_to_get_mode): Likewise.
13393         (_IO_free_backup_area): Likewise.
13394         (_IO_switch_to_put_mode): Likewise.
13395         (__overflow): Likewise.
13396         (__underflow): Likewise.
13397         (__uflow): Likewise.
13398         (_IO_setb): Likewise.
13399         (_IO_doallocbuf): Likewise.
13400         (_IO_default_underflow): Likewise.
13401         (_IO_default_uflow): Likewise.
13402         (_IO_default_xsputn): Likewise.
13403         (_IO_sgetn): Likewise.
13404         (_IO_default_xsgetn): Likewise.
13405         (_IO_sync): Likewise.
13406         (_IO_default_setbuf): Likewise.
13407         (_IO_default_seekpos): Likewise.
13408         (_IO_default_doallocate): Likewise.
13409         (_IO_init): Likewise.
13410         (_IO_old_init): Likewise.
13411         (_IO_default_sync): Likewise.
13412         (_IO_default_finish): Likewise.
13413         (_IO_default_seekoff): Likewise.
13414         (_IO_sputbackc): Likewise.
13415         (_IO_sungetc): Likewise.
13416         (_IO_set_column): Likewise.
13417         (_IO_set_column): Likewise.
13418         (_IO_adjust_column): Likewise.
13419         (_IO_get_column): Likewise.
13420         (_IO_init_marker): Likewise.
13421         (_IO_remove_marker): Likewise.
13422         (_IO_marker_difference): Likewise.
13423         (_IO_marker_delta): Likewise.
13424         (_IO_seekmark): Likewise.
13425         (_IO_unsave_markers): Likewise.
13426         (_IO_nobackup_pbackfail): Likewise.
13427         (_IO_default_pbackfail): Likewise.
13428         (_IO_default_seek): Likewise.
13429         (_IO_default_stat): Likewise.
13430         (_IO_default_read): Likewise.
13431         (_IO_default_write): Likewise.
13432         (_IO_default_showmanyc): Likewise.
13433         (_IO_default_imbue): Likewise.
13434         (_IO_iter_next): Likewise.
13435         (_IO_iter_file): Likewise.
13436         * libio/getc.c (_IO_getc): Likewise.
13437         * libio/getwc.c (_IO_getwc): Likewise.
13438         * libio/iofclose.c (_IO_new_fclose): Likewise.
13439         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13440         * libio/iofflush.c (_IO_fflush): Likewise.
13441         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13442         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13443         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13444         * libio/iofgets.c (_IO_fgets): Likewise.
13445         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13446         * libio/iofgetws.c (fgetws): Likewise.
13447         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13448         * libio/iofopen64.c (_IO_fopen64): Likewise.
13449         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13450         (_IO_cookie_write): Likewise.
13451         (_IO_cookie_seek): Likewise.
13452         (_IO_cookie_close): Likewise.
13453         (_IO_cookie_seekoff): Likewise.
13454         (_IO_old_cookie_seek): Likewise.
13455         * libio/iofputs.c (_IO_fputs): Likewise.
13456         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13457         * libio/iofputws.c (fputws): Likewise.
13458         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13459         * libio/iofread.c (_IO_fread): Likewise.
13460         * libio/iofread_u.c (__fread_unlocked): Likewise.
13461         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13462         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13463         * libio/ioftell.c (_IO_ftell): Likewise.
13464         * libio/iofwrite.c (_IO_fwrite): Likewise.
13465         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13466         * libio/iogets.c (_IO_gets): Likewise.
13467         * libio/iopadn.c (_IO_padn): Likewise.
13468         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13469         (_IO_new_popen): Likewise.
13470         (_IO_new_proc_close): Likewise.
13471         * libio/ioputs.c (_IO_puts): Likewise.
13472         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13473         (_IO_seekoff): Likewise.
13474         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13475         (_IO_seekpos): Likewise.
13476         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13477         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13478         * libio/ioungetc.c (_IO_ungetc): Likewise.
13479         * libio/ioungetwc.c (ungetwc): Likewise.
13480         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13481         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13482         * libio/iowpadn.c (_IO_wpadn): Likewise.
13483         * libio/libc_fatal.c (__libc_fatal): Likewise.
13484         * libio/memstream.c (__open_memstream): Likewise.
13485         (_IO_mem_sync): Likewise.
13486         (_IO_mem_finish): Likewise.
13487         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13488         (_IO_old_file_close_it): Likewise.
13489         (_IO_old_file_finish): Likewise.
13490         (_IO_old_file_fopen): Likewise.
13491         (_IO_old_file_attach): Likewise.
13492         (_IO_old_file_setbuf): Likewise.
13493         (_IO_old_do_write): Likewise.
13494         (old_do_write): Likewise.
13495         (_IO_old_file_underflow): Likewise.
13496         (_IO_old_file_overflow): Likewise.
13497         (_IO_old_file_sync): Likewise.
13498         (_IO_old_file_seekoff): Likewise.
13499         (_IO_old_file_write): Likewise.
13500         (_IO_old_file_xsputn): Likewise.
13501         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13502         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13503         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13504         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13505         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13506         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13507         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13508         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13509         (_IO_old_popen): Likewise.
13510         (_IO_old_proc_close): Likewise.
13511         * libio/oldpclose.c (__old_pclose): Likewise.
13512         * libio/pclose.c (__new_pclose): Likewise.
13513         * libio/peekc.c (_IO_peekc_locked): Likewise.
13514         * libio/putc.c (_IO_putc): Likewise.
13515         * libio/putc_u.c (putc_unlocked): Likewise.
13516         * libio/putchar.c (putchar): Likewise.
13517         * libio/putchar_u.c (putchar_unlocked): Likewise.
13518         * libio/putwc.c (putwc): Likewise.
13519         * libio/putwc_u.c (putwc_unlocked): Likewise.
13520         * libio/putwchar.c (putwchar): Likewise.
13521         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13522         * libio/rewind.c (rewind): Likewise.
13523         * libio/setbuf.c (setbuf): Likewise.
13524         * libio/setlinebuf.c (setlinebuf): Likewise.
13525         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13526         * libio/vscanf.c (_IO_vscanf): Likewise.
13527         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13528         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13529         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13530         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13531         (_IO_switch_to_main_wget_area): Likewise.
13532         (_IO_switch_to_wbackup_area): Likewise.
13533         (_IO_wsetb): Likewise.
13534         (_IO_wdefault_pbackfail): Likewise.
13535         (_IO_wdefault_finish): Likewise.
13536         (_IO_wdefault_uflow): Likewise.
13537         (__woverflow): Likewise.
13538         (__wuflow): Likewise.
13539         (__wunderflow): Likewise.
13540         (_IO_wdefault_xsputn): Likewise.
13541         (_IO_wdefault_xsgetn): Likewise.
13542         (_IO_wdoallocbuf): Likewise.
13543         (_IO_wdefault_doallocate): Likewise.
13544         (_IO_switch_to_wget_mode): Likewise.
13545         (_IO_free_wbackup_area): Likewise.
13546         (_IO_switch_to_wput_mode): Likewise.
13547         (_IO_sputbackwc): Likewise.
13548         (_IO_sungetwc): Likewise.
13549         (_IO_adjust_wcolumn): Likewise.
13550         (_IO_init_wmarker): Likewise.
13551         (_IO_wmarker_delta): Likewise.
13552         (_IO_seekwmark): Likewise.
13553         (_IO_unsave_wmarkers): Likewise.
13554         * libio/wmemstream.c (open_wmemstream): Likewise.
13555         (_IO_wmem_sync): Likewise.
13556         (_IO_wmem_finish): Likewise.
13557         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13558         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13559         * locale/programs/simple-hash.c (init_hash): Likewise.
13560         (delete_hash): Likewise.
13561         (insert_entry): Likewise.
13562         (set_entry): Likewise.
13563         (next_prime): Likewise.
13564         (is_prime): Likewise.
13565         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13566         (xmalloc): Likewise.
13567         (xrealloc): Likewise.
13568         * locale/programs/xstrdup.c (xstrdup): Likewise.
13569         * localedata/collate-test.c (xstrcoll): Likewise.
13570         * localedata/xfrm-test.c (xstrcmp): Likewise.
13571         * login/getlogin_r.c (__getlogin_r): Likewise.
13572         * login/getpt.c (__posix_openpt): Likewise.
13573         * login/login_tty.c (login_tty): Likewise.
13574         * login/setlogin.c (setlogin): Likewise.
13575         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13576         (mach_msg_destroy_port): Likewise.
13577         (mach_msg_destroy_memory): Likewise.
13578         * malloc/mcheck.c (flood): Likewise.
13579         * misc/acct.c (acct): Likewise.
13580         * misc/brk.c (__brk): Likewise.
13581         * misc/chflags.c (chflags): Likewise.
13582         * misc/chroot.c (chroot): Likewise.
13583         * misc/fchflags.c (fchflags): Likewise.
13584         * misc/fstab.c (getfsspec): Likewise.
13585         (getfsfile): Likewise.
13586         * misc/fsync.c (fsync): Likewise.
13587         * misc/ftruncate.c (__ftruncate): Likewise.
13588         * misc/ftruncate64.c (__ftruncate64): Likewise.
13589         * misc/getdomain.c (getdomainname): Likewise.
13590         (getdomainname): Likewise.
13591         * misc/gethostname.c (__gethostname): Likewise.
13592         * misc/getpass.c (getpass): Likewise.
13593         * misc/getttyent.c (skip): Likewise.
13594         (value): Likewise.
13595         * misc/gtty.c (gtty): Likewise.
13596         * misc/hsearch.c (hsearch): Likewise.
13597         (hcreate): Likewise.
13598         * misc/hsearch_r.c (__hcreate_r): Likewise.
13599         (__hdestroy_r): Likewise.
13600         * misc/ioctl.c (__ioctl): Likewise.
13601         * misc/mkdtemp.c (mkdtemp): Likewise.
13602         * misc/mkostemp.c (mkostemp): Likewise.
13603         * misc/mkostemp64.c (mkostemp64): Likewise.
13604         * misc/mkostemps.c (mkostemps): Likewise.
13605         * misc/mkostemps64.c (mkostemps64): Likewise.
13606         * misc/mkstemp.c (mkstemp): Likewise.
13607         * misc/mkstemp64.c (mkstemp64): Likewise.
13608         * misc/mkstemps.c (mkstemps): Likewise.
13609         * misc/mkstemps64.c (mkstemps64): Likewise.
13610         * misc/mktemp.c (__mktemp): Likewise.
13611         * misc/preadv.c (preadv): Likewise.
13612         * misc/preadv64.c (preadv64): Likewise.
13613         * misc/pwritev.c (pwritev): Likewise.
13614         * misc/pwritev64.c (pwritev64): Likewise.
13615         * misc/readv.c (__readv): Likewise.
13616         * misc/revoke.c (revoke): Likewise.
13617         * misc/setdomain.c (setdomainname): Likewise.
13618         * misc/setegid.c (setegid): Likewise.
13619         * misc/seteuid.c (seteuid): Likewise.
13620         * misc/sethostid.c (sethostid): Likewise.
13621         * misc/sethostname.c (sethostname): Likewise.
13622         * misc/setregid.c (__setregid): Likewise.
13623         * misc/setreuid.c (__setreuid): Likewise.
13624         * misc/sstk.c (sstk): Likewise.
13625         * misc/stty.c (stty): Likewise.
13626         * misc/syscall.c (syscall): Likewise.
13627         * misc/syslog.c (setlogmask): Likewise.
13628         * misc/truncate.c (__truncate): Likewise.
13629         * misc/truncate64.c (truncate64): Likewise.
13630         * misc/ualarm.c (ualarm): Likewise.
13631         * misc/usleep.c (usleep): Likewise.
13632         * misc/ustat.c (ustat): Likewise.
13633         * misc/writev.c (__writev): Likewise.
13634         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13635         * nptl/old_pthread_cond_broadcast.c
13636         (__pthread_cond_broadcast_2_0): Likewise.
13637         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13638         Likewise.
13639         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13640         Likewise.
13641         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13642         Likewise.
13643         * nptl/pt-raise.c (raise): Likewise.
13644         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13645         Likewise.
13646         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13647         * nptl/pthread_barrierattr_destroy.c
13648         (pthread_barrierattr_destroy): Likewise.
13649         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13650         Likewise.
13651         * nptl/pthread_barrierattr_setpshared.c
13652         (pthread_barrierattr_setpshared): Likewise.
13653         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13654         Likewise.
13655         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13656         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13657         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13658         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13659         Likewise.
13660         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13661         Likewise.
13662         * nptl/pthread_condattr_getpshared.c
13663         (pthread_condattr_getpshared): Likewise.
13664         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13665         Likewise.
13666         * nptl/pthread_condattr_setpshared.c
13667         (pthread_condattr_setpshared): Likewise.
13668         * nptl/pthread_detach.c (pthread_detach): Likewise.
13669         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13670         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13671         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13672         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13673         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13674         Likewise.
13675         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13676         Likewise.
13677         * nptl/pthread_mutex_getprioceiling.c
13678         (pthread_mutex_getprioceiling): Likewise.
13679         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13680         Likewise.
13681         * nptl/pthread_mutexattr_getprotocol.c
13682         (pthread_mutexattr_getprotocol): Likewise.
13683         * nptl/pthread_mutexattr_getpshared.c
13684         (pthread_mutexattr_getpshared): Likewise.
13685         * nptl/pthread_mutexattr_getrobust.c
13686         (pthread_mutexattr_getrobust): Likewise.
13687         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13688         Likewise.
13689         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13690         Likewise.
13691         * nptl/pthread_mutexattr_setprioceiling.c
13692         (pthread_mutexattr_setprioceiling): Likewise.
13693         * nptl/pthread_mutexattr_setprotocol.c
13694         (pthread_mutexattr_setprotocol): Likewise.
13695         * nptl/pthread_mutexattr_setpshared.c
13696         (pthread_mutexattr_setpshared): Likewise.
13697         * nptl/pthread_mutexattr_setrobust.c
13698         (pthread_mutexattr_setrobust): Likewise.
13699         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13700         Likewise.
13701         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13702         Likewise.
13703         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13704         Likewise.
13705         * nptl/pthread_rwlockattr_getkind_np.c
13706         (pthread_rwlockattr_getkind_np): Likewise.
13707         * nptl/pthread_rwlockattr_getpshared.c
13708         (pthread_rwlockattr_getpshared): Likewise.
13709         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13710         Likewise.
13711         * nptl/pthread_rwlockattr_setkind_np.c
13712         (pthread_rwlockattr_setkind_np): Likewise.
13713         * nptl/pthread_rwlockattr_setpshared.c
13714         (pthread_rwlockattr_setpshared): Likewise.
13715         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13716         Likewise.
13717         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13718         Likewise.
13719         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13720         Likewise.
13721         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13722         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13723         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13724         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13725         * nptl/sem_close.c (sem_close): Likewise.
13726         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13727         * nptl/sem_init.c (__old_sem_init): Likewise.
13728         * nptl/sigaction.c (__sigaction): Likewise.
13729         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13730         * posix/_exit.c (_exit): Likewise.
13731         * posix/alarm.c (alarm): Likewise.
13732         * posix/confstr.c (confstr): Likewise.
13733         * posix/fpathconf.c (__fpathconf): Likewise.
13734         * posix/getgroups.c (__getgroups): Likewise.
13735         * posix/getpgid.c (__getpgid): Likewise.
13736         * posix/group_member.c (__group_member): Likewise.
13737         * posix/pathconf.c (__pathconf): Likewise.
13738         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13739         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13740         * posix/setgid.c (__setgid): Likewise.
13741         * posix/setpgid.c (__setpgid): Likewise.
13742         * posix/setuid.c (__setuid): Likewise.
13743         * posix/sleep.c (__sleep): Likewise.
13744         * posix/sysconf.c (__sysconf): Likewise.
13745         * posix/times.c (__times): Likewise.
13746         * posix/uname.c (__uname): Likewise.
13747         * posix/waitid.c (__waitid): Likewise.
13748         * pwd/getpw.c (__getpw): Likewise.
13749         * resolv/base64.c (b64_pton): Likewise.
13750         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13751         * resolv/gethnamaddr.c (Dprintf): Likewise.
13752         (gethostbyname): Likewise.
13753         (gethostbyname2): Likewise.
13754         (gethostbyaddr): Likewise.
13755         (_sethtent): Likewise.
13756         (_gethtbyname): Likewise.
13757         (_gethtbyname2): Likewise.
13758         (_gethtbyaddr): Likewise.
13759         (map_v4v6_address): Likewise.
13760         (map_v4v6_hostent): Likewise.
13761         (addrsort): Likewise.
13762         (ht_sethostent): Likewise.
13763         (ht_gethostbyname): Likewise.
13764         (ht_gethostbyaddr): Likewise.
13765         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13766         (inet_net_ntop_ipv4): Likewise.
13767         * resolv/inet_neta.c (inet_neta): Likewise.
13768         * resolv/inet_ntop.c (inet_ntop): Likewise.
13769         (inet_ntop4): Likewise.
13770         (inet_ntop6): Likewise.
13771         * resolv/inet_pton.c (__inet_pton): Likewise.
13772         (inet_pton4): Likewise.
13773         (inet_pton6): Likewise.
13774         * resolv/res_debug.c (loc_aton): Likewise.
13775         (loc_ntoa): Likewise.
13776         * resource/getpriority.c (__getpriority): Likewise.
13777         * resource/getrusage.c (__getrusage): Likewise.
13778         * resource/nice.c (nice): Likewise.
13779         * resource/setpriority.c (__setpriority): Likewise.
13780         * resource/setrlimit64.c (setrlimit64): Likewise.
13781         * resource/vlimit.c (vlimit): Likewise.
13782         * resource/vtimes.c (vtimes): Likewise.
13783         * rt/aio_error.c (aio_error): Likewise.
13784         * rt/aio_return.c (aio_return): Likewise.
13785         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13786         * signal/kill.c (__kill): Likewise.
13787         * signal/killpg.c (killpg): Likewise.
13788         * signal/raise.c (raise): Likewise.
13789         * signal/sigaction.c (__sigaction): Likewise.
13790         * signal/sigaddset.c (sigaddset): Likewise.
13791         * signal/sigaltstack.c (sigaltstack): Likewise.
13792         * signal/sigandset.c (sigandset): Likewise.
13793         * signal/sigblock.c (__sigblock): Likewise.
13794         * signal/sigdelset.c (sigdelset): Likewise.
13795         * signal/sigempty.c (sigemptyset): Likewise.
13796         * signal/sigfillset.c (sigfillset): Likewise.
13797         * signal/sighold.c (sighold): Likewise.
13798         * signal/sigignore.c (sigignore): Likewise.
13799         * signal/sigintr.c (siginterrupt): Likewise.
13800         * signal/sigisempty.c (sigisemptyset): Likewise.
13801         * signal/sigismem.c (sigismember): Likewise.
13802         * signal/signal.c (signal): Likewise.
13803         * signal/sigorset.c (sigorset): Likewise.
13804         * signal/sigpause.c (__sigpause): Likewise.
13805         * signal/sigpending.c (sigpending): Likewise.
13806         * signal/sigprocmask.c (__sigprocmask): Likewise.
13807         * signal/sigrelse.c (sigrelse): Likewise.
13808         * signal/sigreturn.c (__sigreturn): Likewise.
13809         * signal/sigset.c (sigset): Likewise.
13810         * signal/sigsetmask.c (__sigsetmask): Likewise.
13811         * signal/sigstack.c (sigstack): Likewise.
13812         * signal/sigsuspend.c (__sigsuspend): Likewise.
13813         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13814         * signal/sysv_signal.c (__sysv_signal): Likewise.
13815         * socket/accept.c (accept): Likewise.
13816         * socket/accept4.c (__libc_accept4): Likewise.
13817         * socket/bind.c (__bind): Likewise.
13818         * socket/connect.c (__connect): Likewise.
13819         * socket/getpeername.c (getpeername): Likewise.
13820         * socket/getsockname.c (__getsockname): Likewise.
13821         * socket/getsockopt.c (getsockopt): Likewise.
13822         * socket/listen.c (__listen): Likewise.
13823         * socket/recv.c (__recv): Likewise.
13824         * socket/recvmsg.c (__recvmsg): Likewise.
13825         * socket/send.c (__send): Likewise.
13826         * socket/sendmsg.c (__sendmsg): Likewise.
13827         * socket/shutdown.c (shutdown): Likewise.
13828         * socket/sockatmark.c (sockatmark): Likewise.
13829         * socket/socket.c (__socket): Likewise.
13830         * stdio-common/ctermid.c (ctermid): Likewise.
13831         * stdio-common/cuserid.c (cuserid): Likewise.
13832         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13833         * stdio-common/remove.c (remove): Likewise.
13834         * stdio-common/rename.c (rename): Likewise.
13835         * stdio-common/renameat.c (renameat): Likewise.
13836         * stdio-common/tempname.c (__gen_tempname): Likewise.
13837         * stdio-common/xbug.c (InitBuffer): Likewise.
13838         (AppendToBuffer): Likewise.
13839         (ReadFile): Likewise.
13840         * stdlib/a64l.c (a64l): Likewise.
13841         * stdlib/drand48_r.c (drand48_r): Likewise.
13842         * stdlib/getcontext.c (getcontext): Likewise.
13843         * stdlib/getenv.c (getenv): Likewise.
13844         * stdlib/l64a.c (l64a): Likewise.
13845         * stdlib/llabs.c (llabs): Likewise.
13846         * stdlib/lldiv.c (lldiv): Likewise.
13847         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13848         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13849         * stdlib/putenv.c (putenv): Likewise.
13850         * stdlib/random.c (__srandom): Likewise.
13851         (__initstate): Likewise.
13852         (__setstate): Likewise.
13853         * stdlib/random_r.c (__srandom_r): Likewise.
13854         (__setstate_r): Likewise.
13855         (__random_r): Likewise.
13856         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13857         * stdlib/setcontext.c (setcontext): Likewise.
13858         * stdlib/setenv.c (setenv): Likewise.
13859         (unsetenv): Likewise.
13860         * stdlib/srand48.c (srand48): Likewise.
13861         * stdlib/srand48_r.c (__srand48_r): Likewise.
13862         * stdlib/swapcontext.c (swapcontext): Likewise.
13863         * stdlib/system.c (__libc_system): Likewise.
13864         * stdlib/tst-strtod.c (expand): Likewise.
13865         * stdlib/tst-strtol.c (expand): Likewise.
13866         * stdlib/tst-strtoll.c (expand): Likewise.
13867         * streams/fattach.c (fattach): Likewise.
13868         * streams/fdetach.c (fdetach): Likewise.
13869         * streams/getmsg.c (getmsg): Likewise.
13870         * streams/isastream.c (isastream): Likewise.
13871         * string/ffs.c (__ffs): Likewise.
13872         * string/ffsll.c (ffsll): Likewise.
13873         * string/memcmp.c (memcmp_common_alignment): Likewise.
13874         (memcmp_not_common_alignment): Likewise.
13875         (MEMCMP): Likewise.
13876         * string/memcpy.c (memcpy): Likewise.
13877         * string/memmove.c (MEMMOVE): Likewise.
13878         * string/memset.c (memset): Likewise.
13879         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13880         * string/strchrnul.c (STRCHRNUL): Likewise.
13881         * string/strerror.c (strerror): Likewise.
13882         * string/strndup.c (__strndup): Likewise.
13883         * string/strverscmp.c (__strverscmp): Likewise.
13884         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13885         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13886         (clnttcp_freeres): Likewise.
13887         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13888         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13889         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13890         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13891         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13892         (xdr_callhdr): Likewise.
13893         * sunrpc/rpcinfo.c (udpping): Likewise.
13894         (tcpping): Likewise.
13895         (pstatus): Likewise.
13896         (pmapdump): Likewise.
13897         (brdcst): Likewise.
13898         (deletereg): Likewise.
13899         (getprognum): Likewise.
13900         (getvers): Likewise.
13901         (get_inet_address): Likewise.
13902         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13903         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13904         (svcudp_stat): Likewise.
13905         (svcudp_recv): Likewise.
13906         (svcudp_reply): Likewise.
13907         (svcudp_getargs): Likewise.
13908         (svcudp_freeargs): Likewise.
13909         (svcudp_destroy): Likewise.
13910         * sunrpc/xdr.c (xdr_bytes): Likewise.
13911         (xdr_netobj): Likewise.
13912         (xdr_string): Likewise.
13913         (xdr_wrapstring): Likewise.
13914         * sunrpc/xdr_float.c (xdr_float): Likewise.
13915         (xdr_double): Likewise.
13916         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13917         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13918         * sysvipc/ftok.c (ftok): Likewise.
13919         * sysvipc/msgctl.c (msgctl): Likewise.
13920         * sysvipc/msgget.c (msgget): Likewise.
13921         * sysvipc/msgrcv.c (msgrcv): Likewise.
13922         * sysvipc/msgsnd.c (msgsnd): Likewise.
13923         * sysvipc/semget.c (semget): Likewise.
13924         * sysvipc/semop.c (semop): Likewise.
13925         * sysvipc/shmat.c (shmat): Likewise.
13926         * sysvipc/shmctl.c (shmctl): Likewise.
13927         * sysvipc/shmdt.c (shmdt): Likewise.
13928         * sysvipc/shmget.c (shmget): Likewise.
13929         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13930         * termios/speed.c (cfgetospeed): Likewise.
13931         (cfgetispeed): Likewise.
13932         (cfsetospeed): Likewise.
13933         (cfsetispeed): Likewise.
13934         * termios/tcflow.c (tcflow): Likewise.
13935         * termios/tcflush.c (tcflush): Likewise.
13936         * termios/tcgetattr.c (__tcgetattr): Likewise.
13937         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13938         * termios/tcgetsid.c (tcgetsid): Likewise.
13939         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13940         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13941         * time/adjtime.c (__adjtime): Likewise.
13942         * time/dysize.c (dysize): Likewise.
13943         * time/ftime.c (ftime): Likewise.
13944         * time/getitimer.c (__getitimer): Likewise.
13945         * time/gettimeofday.c (__gettimeofday): Likewise.
13946         * time/gmtime.c (__gmtime_r): Likewise.
13947         (gmtime): Likewise.
13948         * time/localtime.c (__localtime_r): Likewise.
13949         (localtime): Likewise.
13950         * time/offtime.c (__offtime): Likewise.
13951         * time/settimeofday.c (__settimeofday): Likewise.
13952         * time/stime.c (stime): Likewise.
13953         * time/strftime_l.c (tm_diff): Likewise.
13954         (iso_week_days): Likewise.
13955         * time/strptime.c (strptime): Likewise.
13956         * time/time.c (time): Likewise.
13957         * time/timespec_get.c (timespec_get): Likewise.
13958         * time/tzset.c (tzset_internal): Likewise.
13959         (compute_change): Likewise.
13960         (__tz_compute): Likewise.
13961         * wcsmbs/btowc.c (__btowc): Likewise.
13962         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13963         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13964         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13965         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13966         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13967         * wcsmbs/wcscat.c (__wcscat): Likewise.
13968         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13969         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13970         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13971         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13972         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13973         * wcsmbs/wcslen.c (__wcslen): Likewise.
13974         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13975         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13976         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13977         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13978         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13979         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13980         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13981         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13982         * wcsmbs/wcstok.c (wcstok): Likewise.
13983         * wcsmbs/wctob.c (wctob): Likewise.
13984         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13985         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13986         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13987         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13988         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13989         * wcsmbs/wmemset.c (__wmemset): Likewise.
13990         * wctype/wcfuncs.c (__towlower): Likewise.
13991         (__towupper): Likewise.
13993         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13994         (lll_unlock_elision): Add adapt_count parameter.
13996 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13998         * sysdeps/nptl/configure.ac: Do not give errors based on the
13999         results of top-level configure tests.
14000         * sysdeps/nptl/configure: Regenerated.
14002         * configure.ac (libc_cv_Bgroup): Remove configure test.
14003         * configure: Regenerated.
14004         * config.make.in (have-Bgroup): Remove variable.
14006         * configure.ac (sizeof_long_double): Remove configure test.
14007         * configure: Regenerated.
14008         * config.make.in (sizeof-long-double): Remove variable.
14010         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
14011         * configure: Regenerated.
14012         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
14013         variable.
14014         (exceptions): Likewise.
14015         * sysdeps/arm/configure: Regenerated.
14016         * config.make.in (exceptions): Remove variable.
14017         * Makeconfig (uses-callbacks): Use -fexceptions instead of
14018         $(exceptions).
14019         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
14020         (CFLAGS-vdprintf_chk.c): Likewise.
14021         (CFLAGS-printf_chk.c): Likewise.
14022         (CFLAGS-fprintf_chk.c): Likewise.
14023         (CFLAGS-vprintf_chk.c): Likewise.
14024         (CFLAGS-vfprintf_chk.c): Likewise.
14025         (CFLAGS-gets_chk.c): Likewise.
14026         (CFLAGS-fgets_chk.c): Likewise.
14027         (CFLAGS-fgets_u_chk.c): Likewise.
14028         (CFLAGS-fread_chk.c): Likewise.
14029         (CFLAGS-fread_u_chk.c): Likewise.
14030         (CFLAGS-wprintf_chk.c): Likewise.
14031         (CFLAGS-fwprintf_chk.c): Likewise.
14032         (CFLAGS-vwprintf_chk.c): Likewise.
14033         (CFLAGS-vfwprintf_chk.c): Likewise.
14034         (CFLAGS-fgetws_chk.c): Likewise.
14035         (CFLAGS-fgetws_u_chk.c): Likewise.
14036         * libio/Makefile (CFLAGS-fileops.c): Likewise.
14037         (CFLAGS-fputc.c): Likewise.
14038         (CFLAGS-fputwc.c): Likewise.
14039         (CFLAGS-freopen64.c): Likewise.
14040         (CFLAGS-freopen.c): Likewise.
14041         (CFLAGS-fseek.c): Likewise.
14042         (CFLAGS-fseeko64.c): Likewise.
14043         (CFLAGS-fseeko.c): Likewise.
14044         (CFLAGS-ftello64.c): Likewise.
14045         (CFLAGS-ftello.c): Likewise.
14046         (CFLAGS-fwide.c): Likewise.
14047         (CFLAGS-genops.c): Likewise.
14048         (CFLAGS-getc.c): Likewise.
14049         (CFLAGS-getchar.c): Likewise.
14050         (CFLAGS-getwc.c): Likewise.
14051         (CFLAGS-getwchar.c): Likewise.
14052         (CFLAGS-iofclose.c): Likewise.
14053         (CFLAGS-iofflush.c): Likewise.
14054         (CFLAGS-iofgetpos64.c): Likewise.
14055         (CFLAGS-iofgetpos.c): Likewise.
14056         (CFLAGS-iofgets.c): Likewise.
14057         (CFLAGS-iofgetws.c): Likewise.
14058         (CFLAGS-iofputs.c): Likewise.
14059         (CFLAGS-iofputws.c): Likewise.
14060         (CFLAGS-iofread.c): Likewise.
14061         (CFLAGS-iofsetpos64.c): Likewise.
14062         (CFLAGS-iofsetpos.c): Likewise.
14063         (CFLAGS-ioftell.c): Likewise.
14064         (CFLAGS-iofwrite.c): Likewise.
14065         (CFLAGS-iogetdelim.c): Likewise.
14066         (CFLAGS-iogetline.c): Likewise.
14067         (CFLAGS-iogets.c): Likewise.
14068         (CFLAGS-iogetwline.c): Likewise.
14069         (CFLAGS-ioputs.c): Likewise.
14070         (CFLAGS-ioseekoff.c): Likewise.
14071         (CFLAGS-ioseekpos.c): Likewise.
14072         (CFLAGS-iosetbuffer.c): Likewise.
14073         (CFLAGS-iosetvbuf.c): Likewise.
14074         (CFLAGS-ioungetc.c): Likewise.
14075         (CFLAGS-ioungetwc.c): Likewise.
14076         (CFLAGS-oldfileops.c): Likewise.
14077         (CFLAGS-oldiofclose.c): Likewise.
14078         (CFLAGS-oldiofgetpos64.c): Likewise.
14079         (CFLAGS-oldiofgetpos.c): Likewise.
14080         (CFLAGS-oldiofsetpos64.c): Likewise.
14081         (CFLAGS-oldiofsetpos.c): Likewise.
14082         (CFLAGS-peekc.c): Likewise.
14083         (CFLAGS-putc.c): Likewise.
14084         (CFLAGS-putchar.c): Likewise.
14085         (CFLAGS-putwc.c): Likewise.
14086         (CFLAGS-putwchar.c): Likewise.
14087         (CFLAGS-rewind.c): Likewise.
14088         (CFLAGS-wfileops.c): Likewise.
14089         (CFLAGS-wgenops.c): Likewise.
14090         (CFLAGS-oldiofopen.c): Likewise.
14091         (CFLAGS-iofopen.c): Likewise.
14092         (CFLAGS-iofopen64.c): Likewise.
14093         (CFLAGS-oldtmpfile.c): Likewise.
14094         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
14095         (CFLAGS-fprintf.c): Likewise.
14096         (CFLAGS-printf.c): Likewise.
14097         (CFLAGS-vfwprintf.c): Likewise.
14098         (CFLAGS-vfscanf.c): Likewise.
14099         (CFLAGS-vfwscanf.c): Likewise.
14100         (CFLAGS-fscanf.c): Likewise.
14101         (CFLAGS-scanf.c): Likewise.
14102         (CFLAGS-isoc99_vfscanf.c): Likewise.
14103         (CFLAGS-isoc99_vscanf.c): Likewise.
14104         (CFLAGS-isoc99_fscanf.c): Likewise.
14105         (CFLAGS-isoc99_scanf.c): Likewise.
14106         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
14107         (CFLAGS-isoc99_fwscanf.c): Likewise.
14108         (CFLAGS-isoc99_vwscanf.c): Likewise.
14109         (CFLAGS-isoc99_vfwscanf.c): Likewise.
14111         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
14112         after mkstemp64.
14113         * login/tst-utmp.c (do_prepare): Likewise.
14114         * rt/tst-aio.c (do_prepare): Likewise.
14115         * rt/tst-aio64.c (do_prepare): Likewise.
14117 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14119         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14120         (__lll_lock_elision): Remove adapt_count decrement...
14121         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14122         (__lll_trylock_elision): Likewise.
14123         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14124         (__lll_unlock_elision): ... to here. And utilize
14125         new adapt_count parameter.
14126         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14127         (__lll_unlock_elision): Update to include adapt_count
14128         parameter.
14129         (lll_unlock_elision): Pass pointer to adapt_count
14130         variable.
14132 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14134         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14135         Add elision adapt_count parameter to list of arguments.
14136         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14137         (lll_unlock_elision): Update with new parameter list
14138         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14139         (lll_unlock_elision): Likewise.
14140         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
14141         (lll_unlock_elision): Likewise.
14143 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14145         [BZ #19122]
14146         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14147         attribute_hidden.
14149         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
14150         attribute_hidden.
14151         [IS_IN (rtld)] (__strdup): Likewise.
14152         [IS_IN (rtld)] (__strerror_r): Likewise.
14153         [IS_IN (rtld)] (__strsep_g): Likewise.
14154         [IS_IN (rtld)] (memchr): Likewise.
14155         [IS_IN (rtld)] (memcmp): Likewise.
14156         [IS_IN (rtld)] (memcpy): Likewise.
14157         [IS_IN (rtld)] (memmove): Likewise.
14158         [IS_IN (rtld)] (memset): Likewise.
14159         [IS_IN (rtld)] (rawmemchr): Likewise.
14160         [IS_IN (rtld)] (stpcpy): Likewise.
14161         [IS_IN (rtld)] (strchr): Likewise.
14162         [IS_IN (rtld)] (strcmp): Likewise.
14163         [IS_IN (rtld)] (strlen): Likewise.
14164         [IS_IN (rtld)] (strnlen): Likewise.
14165         [IS_IN (rtld)] (strsep): Likewise.
14167         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14168         attribute_hidden.
14169         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14171         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14172         attribute_hidden.
14173         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14175         * include/setjmp.h (__longjmp): Add attribute_hidden.
14176         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14178         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14179         Add attribute_hidden.
14181         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14182         [IS_IN (rtld)] (__open): Likewise.
14183         [IS_IN (rtld)] (__fcntl): Likewise.
14185         * include/dirent.h (__opendirat): Add attribute_hidden.
14186         (__getdents): Likewise.
14187         (__getdents64): Likewise.
14188         (__alloc_dir): Likewise.
14189         [IS_IN (rtld)] (__closedir): Likewise.
14190         [IS_IN (rtld)] (__fdopendir): Likewise.
14191         [IS_IN (rtld)] (__readdir): Likewise.
14192         [IS_IN (rtld)] (__readdir64): Likewise.
14193         [IS_IN (rtld)] (__rewinddir): Likewise.
14195         * include/dlfcn.h (_dl_catch_error): Moved to ...
14196         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14197         attribute_hidden.
14199         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14200         (_itoa_word): Likewise.
14202         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14203         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14204         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14205         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14206         (_dl_higher_prime_number): Likewise.
14207         (_dl_debug_printf_c): Likewise.
14208         (_dl_signal_cerror): Likewise.
14209         (_dl_receive_error): Likewise.
14210         (_dl_reloc_bad_type): Likewise.
14211         (_dl_resolve_conflicts): Likewise.
14212         (_dl_check_all_versions): Likewise.
14213         (_dl_check_map_versions): Likewise.
14214         (_dl_sort_fini): Likewise.
14215         (_dl_debug_initialize): Likewise.
14216         (_dl_init_paths): Likewise.
14217         (_dl_show_auxv): Likewise.
14218         (_dl_next_ld_env_entry): Likewise.
14219         (_dl_important_hwcaps): Likewise.
14220         (_dl_load_cache_lookup): Likewise.
14221         (_dl_update_slotinfo): Likewise.
14222         (_dl_show_scope): Likewise.
14224         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14225         attribute_hidden.
14226         (_wordcopy_fwd_dest_aligned): Likewise.
14227         (_wordcopy_bwd_aligned): Likewise.
14228         (_wordcopy_bwd_dest_aligned): Likewise.
14230         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14231         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14232         Likewise.
14233         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14234         Likewise.
14235         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14237 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14239         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14240         GCC 5 requirement.
14242 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14244         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14245         test.
14246         * sysdeps/i386/configure: Regenerated.
14247         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14248         code unconditional.
14250         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14251         test.
14252         (libc_cv_asm_popsection_directive): Likewise.
14253         * configure: Regenerated.
14254         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14255         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14256         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14257         (__make_section_unallocated): Make definition unconditional.
14258         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14259         Remove conditional definition.
14260         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14261         (__make_section_unallocated): Likewise.
14263         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14264         * configure: Regenerated.
14265         * config.make.in (static-libgcc): Remove variable.
14266         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14267         $(static-libgcc).
14268         (build-module-helper): Likewise.
14270         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14271         * configure: Regenerated.
14273 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14275         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14276         (struct char_buffer): New type.
14277         (char_buffer_start, char_buffer_size, char_buffer_error)
14278         (char_buffer_rewind, char_buffer_add): New functions.
14279         (ADDW): Remove macro, replaced by the char_buffer_add function.
14280         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14281         of extend_alloca.  Make control flow more explicit.
14283 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14285         [BZ #19137]
14286         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14287         Add -fomit-frame-pointer.
14288         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14290 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14292         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14293         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14294         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14295         only if !__GNUC_PREREQ (5,0).
14296         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14297         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14298         (INTERNAL_SYSCALL_NCS): Likewise.
14299         (LOADREGS_0): New macro for GCC 5.
14300         (ASMARGS_0): Likewise.
14301         (LOADREGS_1): Likewise.
14302         (ASMARGS_1): Likewise.
14303         (LOADREGS_2): Likewise.
14304         (ASMARGS_2): Likewise.
14305         (LOADREGS_3): Likewise.
14306         (ASMARGS_3): Likewise.
14307         (LOADREGS_4): Likewise.
14308         (ASMARGS_4): Likewise.
14309         (LOADREGS_5): Likewise.
14310         (ASMARGS_5): Likewise.
14311         (LOADREGS_6): Likewise.
14312         (ASMARGS_6): Likewise.
14314 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14316         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14317         -fomit-frame-pointer.
14318         (CFLAGS-mmap64.c): Likewise.
14319         (CFLAGS-semtimedop.c): Likewise.
14320         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14321         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14322         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14323         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14325 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14327         [BZ #18928]
14328         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14329         _dl_pointer_guard member.
14330         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14331         initializer.
14332         (security_init): Always set up pointer guard.
14333         (process_envvars): Do not process LD_POINTER_GUARD.
14335 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14337         [BZ #19134]
14338         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14339         (.LC2): Likewise.
14340         (.LC3): Likewise.
14341         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14343 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14345         [BZ #19129]
14346         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14347         r0 and r1.
14349 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14351         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14353 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14355         * include/stap-probe.h: Fix macro definition formatting.
14357 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14359         [BZ #19074]
14360         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14361         load and store num_ifs.
14363 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14365         [BZ #18822]
14366         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14367         (__sched_getaffinity_new): Add libc_hidden_proto and
14368         libc_hidden_def.
14370 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14372         [BZ #19007]
14373         * scripts/localplt.awk: Also allow GOT references.
14374         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14375         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14376         with "+ REL R_386_GLOB_DAT".
14377         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14378         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14380 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14382         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14383         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14384         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14385         Likewise.
14386         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14387         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14388         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14389         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14390         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14391         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14392         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14393         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14394         Likewise.
14395         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14397 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14399         [BZ #19125]
14400         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14401         <math_private.h> and <stdint.h>.
14402         (__llround): Avoid conversions to and from long long int, and
14403         subtractions, where those might raise spurious exceptions.
14404         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14405         <math_private.h> and <stdint.h>.
14406         (__llroundf): Avoid conversions to and from long long int, and
14407         subtractions, where those might raise spurious exceptions.
14409 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14411         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14412         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14413         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14414         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14415         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14416         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14417         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14418         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14419         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14420         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14421         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14422         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14423         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14424         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14425         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14426         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14427         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14428         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14429         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14430         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14431         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14432         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14433         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14434         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14435         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14436         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14437         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14438         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14439         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14440         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14441         (__xstat64_conv): Likewise.
14442         (__xstat32_conv): Likewise.
14444 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14446         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14447         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14448         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14449         <sysdeps/unix/sysv/linux/sysdep.h>.
14450         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14451         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14452         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14453         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14454         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14455         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14456         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14457         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14458         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14461         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14463         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14464         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14466         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14467         (sysdep-dl-routines): Add sysdep.
14468         [$(subdir) == nptl] (libpthread-routines): Likewise.
14469         [$(subdir) == rt] (librt-routines): Likewise.
14470         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14471         PIC when branching to SYSCALL_ERROR_LABEL.
14472         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14473         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14474         <sysdeps/unix/sysv/linux/sysdep.h>.
14475         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14476         (SYSCALL_ERROR_ERRNO): Removed.
14477         (SYSCALL_ERROR_HANDLER): Changed to empty.
14478         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14479         (__syscall_error): New prototype.
14480         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14481         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14483 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14485         [BZ #19124]
14486         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14487         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14488         _dl_runtime_resolve_avx.
14489         (_dl_runtime_profile_avx512): Make it a hidden alias of
14490         _dl_runtime_profile_avx.
14492 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14494         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14495         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14496         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14497         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14499         [BZ #16422]
14500         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14501         New configure test.
14502         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14503         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14504         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14505         <math_private.h> and <stdint.h>.
14506         (__llrint): Avoid conversions to long long int where those might
14507         raise spurious exceptions.
14508         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14509         <math_private.h> and <stdint.h>.
14510         (__llrintf): Avoid conversions to long long int where those might
14511         raise spurious exceptions.
14513 2015-10-12  Andreas Schwab  <schwab@suse.de>
14515         [BZ #18969]
14516         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14517         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14518         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14519         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14520         $(gen-locales).
14521         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14522         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14523         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14524         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14525         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14526         $(gen-locales).
14527         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14528         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14529         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14530         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14531         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14532         ($(objpfx)tst-ftell-active-handler.out)
14533         ($(objpfx)tst-ftell-append.out)
14534         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14535         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14536         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14537         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14538         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14539         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14540         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14541         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14542         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14543         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14544         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14545         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14546         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14547         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14548         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14549         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14550         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14551         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14552         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14553         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14554         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14555         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14556         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14557         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14558         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14559         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14560         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14561         $(gen-locales).
14562         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14563         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14564         $(gen-locales).
14565         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14566         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14567         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14568         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14569         $(gen-locales).
14570         * libio/tst_wprintf2.c (main): Use explicit locale.
14571         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14573 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14575         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14576         __msg_sig_post.
14577         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14579 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14581         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14582         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14584         * sysdeps/arm/libm-test-ulps: Regenerated.
14586         [BZ #15470]
14587         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14589         [BZ #16399]
14590         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14591         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14592         and <fix-fp-int-convert-overflow.h>.
14593         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14594         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14595         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14596         and <fix-fp-int-convert-overflow.h>.
14597         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14598         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14599         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14600         <fix-fp-int-convert-overflow.h>.
14601         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14602         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14603         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14604         <fix-fp-int-convert-overflow.h>.
14605         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14606         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14607         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14608         and <fix-fp-int-convert-overflow.h>.
14609         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14610         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14611         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14612         <limits.h> and <fix-fp-int-convert-overflow.h>.
14613         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14614         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14615         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14616         and <fix-fp-int-convert-overflow.h>.
14617         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14618         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14619         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14620         and <fix-fp-int-convert-overflow.h>.
14621         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14622         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14623         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14625 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14627         [BZ #18589]
14628         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14629         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14630         $(gen-locales).
14632 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14633             Phil Blundell <pb@pbcl.net>
14635         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14636         * nptl/tst-cancel26.c: New file.
14637         * nptl/tst-cancel27.c: Likewise.
14639 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14641         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14642         __ILP32__ isn't defined.
14643         (lrint): Likewise.
14644         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14645         (lrintf): Likewise.
14646         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14647         (lrintl): Likewise.
14648         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14649         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14650         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14652 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14654         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14655         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14657         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14658         file.
14659         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14660         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14662 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14664         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14665         configure test.
14666         * sysdeps/i386/configure: Regenerated.
14667         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14668         configure test.
14669         * sysdeps/x86_64/configure: Regenerated.
14670         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14671         Make code unconditional.
14673         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14674         test.
14675         * sysdeps/i386/configure: Regenerated.
14676         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14677         test.
14678         * sysdeps/x86_64/configure: Regenerated.
14679         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14680         Make code unconditional.
14681         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14682         Likewise.
14683         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14684         Likewise.
14685         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14686         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14687         code unconditional.
14688         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14689         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14690         code unconditional.
14691         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14692         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14693         code unconditional.
14694         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14695         code unconditional.
14696         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14697         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14698         code unconditional.
14699         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14700         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14701         code unconditional.
14702         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14703         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14704         code unconditional.
14705         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14706         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14707         code unconditional.
14708         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14709         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14711         [BZ #19095]
14712         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14713         mantissa to long int before shifting left.
14715 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14717         [BZ #19094]
14718         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14719         <limits.h>.
14720         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14721         when result overflows but exception would not result from cast.
14722         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14723         <limits.h>.
14724         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14725         when result overflows but exception would not result from cast.
14726         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14727         <limits.h>.
14728         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14729         when result overflows but exception would not result from cast.
14730         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14731         <limits.h>.
14732         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14733         when result overflows but exception would not result from cast.
14734         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14735         <limits.h>.
14736         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14737         when result overflows but exception would not result from cast.
14738         * math/libm-test.inc (lrint_test_data): Add more tests.
14739         (llrint_test_data): Likewise.
14741 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14743         [BZ #18872]
14744         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14745         Move out from under [$(run-built-tests) = yes] conditional.
14746         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14747         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14749 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14751         [BZ #18589]
14752         * string/Makefile (tests): Add bug-strcoll2.
14753         (LOCALES): Add cs_CZ.UTF-8.
14754         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14756         [BZ #18589]
14757         * string/bug-strcoll2.c: New file.
14758         * locale/categories.def: Revert commit
14759         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14760         * locale/langinfo.h: Likewise.
14761         * locale/localeinfo.h: Likewise.
14762         * locale/C-collate.c: Likewise.
14763         * locale/programs/ld-collate.c (collate_output): Likewise.
14764         * string/strcoll_l.c (STRDIFF): Likewise.
14765         (STRCOLL): Likewise.
14766         * wcsmbs/wcscoll_l.c: Likewise.
14768 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14770         * math/libm-test.inc (lround_test_data): Do not expect the absence
14771         of "inexact" for some tests with non-integer arguments.
14772         (llround_test_data): Likewise.
14774         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14775         test.
14776         (libc_cv_cc_sse2avx): Likewise.
14777         * sysdeps/i386/configure: Regenerated.
14778         * sysdeps/i386/i686/multiarch/Makefile
14779         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14780         [$(subdir) = math].
14781         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14782         code unconditional.
14783         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14784         Likewise.
14785         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14786         Likewise.
14787         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14788         Likewise.
14789         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14790         test.
14791         (libc_cv_cc_sse2avx): Likewise.
14792         * sysdeps/x86_64/configure: Regenerated.
14793         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14794         unconditional.
14795         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14796         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14797         unconditional.
14798         (_dl_runtime_profile)
14799         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14800         conditional code.
14801         * sysdeps/x86_64/fpu/multiarch/Makefile
14802         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14803         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14804         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14805         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14806         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14807         * sysdeps/x86_64/fpu/multiarch/e_log.c
14808         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14809         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14810         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14811         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14812         Likewise.
14813         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14814         Likewise.
14815         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14816         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14817         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14818         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14819         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14820         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14821         (HAVE_SSE2AVX_SUPPORT): Likewise.
14823 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14825         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14826         instead of #pragma optimize.
14828 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14830         [BZ #17195]
14831         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14832         as is similarly done in systrim and _int_free already.
14834 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14836         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14838 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14840         [BZ #19088]
14841         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14842         <limits.h>.
14843         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14844         overflows but exception would not result from cast.
14845         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14846         and <limits.h>.
14847         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14848         overflows but exception would not result from cast.
14849         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14850         <limits.h>.
14851         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14852         overflows but exception would not result from cast.
14853         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14854         <limits.h>.
14855         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14856         overflows but exception would not result from cast.
14857         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14858         <limits.h>.
14859         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14860         overflows but exception would not result from cast.
14861         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14862         <limits.h>.
14863         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14864         overflows but exception would not result from cast.
14865         * math/libm-test.inc (lround_test_data): Add more tests.
14866         (llround_test_data): Likewise.
14868 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14870         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14871         (CFLAGS-ialloc.c): Ditto.
14872         (CFLAGS-scheck.c): Ditto.
14874 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14876         [BZ #19086]
14877         * manual/filesys.texi (Storage Allocation): Fix argument order for
14878         posix_fallocate64.
14880 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14882         [BZ #19085]
14883         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14884         exponent below 48 inside case for non-overflowing exponent.
14885         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14887 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14889         * iconvdata/cp737.h (from_idx): Add const.
14890         * iconvdata/cp775.h (from_idx): Likewise.
14892 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14894         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14895         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14896         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14898         [BZ #19079]
14899         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14900         file, conditioned on [!_LP64].
14901         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14902         [!_LP64] (__lround): Do not define as function or alias.
14903         [!_LP64] (lround): Likewise.
14904         [!_LP64] (__lroundl): Likewise.
14905         [!_LP64] (lroundl): Likewise.
14906         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14907         macro.
14908         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14909         Likewise.
14911 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14913         * math/libm-test.inc (lrint_test_data): Add more tests.
14914         (llrint_test_data): Likewise.
14915         (lround_test_data): Likewise.
14916         (llround_test_data): Likewise.
14918         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14919         (llrint_test_data): Add tests used for lrint.
14921         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14922         test.
14923         * sysdeps/i386/configure: Regenerated.
14924         * sysdeps/i386/i686/multiarch/Makefile
14925         [$(config-cflags-sse4) = yes]: Make code unconditional.
14926         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14927         Likewise.
14928         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14929         Likewise.
14930         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14931         test.
14932         * sysdeps/x86_64/configure: Regenerated.
14933         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14934         Make code unconditional.
14935         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14936         Likewise.
14937         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14938         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14940         * scripts/rpm2dynsym.sh: Remove file.
14942 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14944         * configure.ac (libc_cv_cxx_thread_local): Define.
14945         * configure: Regenerate.
14946         * config.make.in (have-cxx-thread_local): Define.
14947         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14948         (LDLIBS-tst-thread_local1): Define.
14949         (tests): Add tst-thread_local1.
14950         [have-cxx-thread_local != yes] (tests-unsupported): Add
14951         tst-thread_local1.
14952         * nptl/tst-thread_local1.cc: New file.
14954 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14956         [BZ #19078]
14957         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14958         (u_thres): Likewise.
14959         (__expl): Determine whether to call __kernel_standard_l based on
14960         value of result, not argument.
14962         * math/libm-test.inc (scalb_test_data): Add more expectations for
14963         the "inexact" exception.
14965         [BZ #19077]
14966         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14967         0.0L for argument 1.0L.
14969         [BZ #19076]
14970         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14971         constant 0.0L when computing infinite result.
14973 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14975         [BZ #10432]
14976         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14977         malloc_usable_size.
14979 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14981         [BZ #19018]
14982         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14983         Mangle function pointer before storing it.
14984         (__call_tls_dtors): Demangle function pointer before calling it.
14986 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14988         [BZ #19012]
14989         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14990         Clean up on failure.
14992 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14994         [BZ #19071]
14995         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14996         long int variable to store possibly incremented high part of
14997         mantissa.
14998         * math/libm-test.inc (lround_test_data): Add tests used for
14999         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
15000         for tests requiring 64-bit long.  Do not condition tests on
15001         [TEST_FLOAT] unnecessarily.
15002         (llround_test_data): Add tests used for lround.  Add another
15003         expectation for the "inexact" exception.  Do not condition tests
15004         on [TEST_FLOAT] unnecessarily.
15006         [BZ #887]
15007         [BZ #19049]
15008         [BZ #19050]
15009         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
15010         * sysdeps/ieee754/dbl-64/e_log10.c: Include
15011         <fix-int-fp-convert-zero.h>.
15012         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15013         * sysdeps/ieee754/dbl-64/e_log2.c: Include
15014         <fix-int-fp-convert-zero.h>.
15015         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15016         * sysdeps/ieee754/dbl-64/s_erf.c: Include
15017         <fix-int-fp-convert-zero.h>.
15018         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15019         * sysdeps/ieee754/dbl-64/s_logb.c: Include
15020         <fix-int-fp-convert-zero.h>.
15021         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15022         * sysdeps/ieee754/flt-32/e_log10f.c: Include
15023         <fix-int-fp-convert-zero.h>.
15024         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15025         * sysdeps/ieee754/flt-32/e_log2f.c: Include
15026         <fix-int-fp-convert-zero.h>.
15027         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15028         * sysdeps/ieee754/flt-32/s_erff.c: Include
15029         <fix-int-fp-convert-zero.h>.
15030         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15031         * sysdeps/ieee754/flt-32/s_logbf.c: Include
15032         <fix-int-fp-convert-zero.h>.
15033         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15034         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
15035         <fix-int-fp-convert-zero.h>.
15036         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15037         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
15038         <fix-int-fp-convert-zero.h>.
15039         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15040         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
15041         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
15042         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
15043         file.
15044         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
15046 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15048         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15050 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
15052         [BZ #19059]
15053         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
15054         overflowing computation.
15055         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15056         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15057         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15058         Likewise.
15059         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15060         Likewise.
15061         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15062         Likewise.
15063         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15064         Likewise.
15065         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15066         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15067         Likewise.
15068         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15069         Likewise.
15070         * math/libm-test.inc (nexttoward_test_data): Add more tests.
15072         * nss/rewrite_field.c (__nss_rewrite_field): Use
15073         internal_function.
15074         * nss/valid_field.c (__nss_valid_field): Likewise.
15075         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15077 2015-10-02  Florian Weimer  <fweimer@redhat.com>
15079         [BZ #18724]
15080         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
15081         (__nss_invalid_field_characters, __nss_valid_field)
15082         (__nss_valid_list_field, __nss_rewrite_field): Declare.
15083         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
15084         tst-field.c: New file.
15085         * nss/Makefile (routines): Add valid_field, rewrite_field.
15086         (tests-static): Define unconditionally.
15087         (tests): Include tests-static.
15088         [build-static-nss] (tests-static): Use append.
15089         [build-static-nss] (tests): Remove modification.
15090         * nss/getent.c (print_group): Call putgrent.  Report error.
15091         (print_gshadow): Call putsgent.  Report error.
15092         (print_passwd): Call putpwent.  Report error.
15093         (print_shadow): Call putspent.  Report error.
15094         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
15095         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
15096         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
15097         name, password, directory, shell fields for valid syntax.  Rewrite
15098         GECOS field to match syntax.
15099         * pwd/Makefile (tests): Add tst-putpwent.
15100         * pwd/tst-putpwent.c: New file.
15101         * grp/putgrent.c (putgrent): Convert to ISO function definition.
15102         Check grName, grpasswd, gr_mem fields for valid syntax.
15103         Change loop variable i to size_t.
15104         * grp/Makefile (tests): Add tst-putgrent.
15105         * grp/tst-putgrent.c: New file.
15106         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
15107         valid syntax.
15108         * shadow/Makefile (tests): Add tst-putspent.
15109         * shadow/tst-putspent.c: New file.
15110         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
15111         sg_mem fields for valid syntax.
15112         * gshadow/Makefile (tests): Add tst-putsgent.
15113         * gshadow/tst-putsgent.c: New file.
15115 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15117         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
15118         assembly instructions.
15120 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15122         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15123         prefix from operands.
15125 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
15127         [BZ #16347]
15128         [BZ #19046]
15129         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15130         <libc-internal.h>.
15131         (MAXLGM): Do not use diagnostic control macros.
15132         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15133         threshold for ldbl-128ibm.
15134         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15135         instead of multiplying by log then subtracting.
15136         * math/auto-libm-test-in: Add more tests of lgamma.
15137         * math/auto-libm-test-out: Regenerated.
15139         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15140         (TYPE_HEX_DIG): Likewise.
15141         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
15142         precisions when printing floating-point numbers.
15143         (check_float_internal): Likewise.
15145 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15147         [BZ #16620]
15148         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
15149         of log (10) rounded downward to 48 bits.
15150         (log10_low): Use corresponding low part of log (10).
15152         [BZ #19032]
15153         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
15154         compute result as (x - x) / (x - x) not as 0 / 0.
15155         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15156         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15158         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15159         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15160         and expm1.
15161         * math/auto-libm-test-out: Regenerated.
15162         * math/libm-test.inc (acos_test_data): Add more tests.
15163         (asin_test_data): Likewise.
15164         (asinh_test_data): Likewise.
15165         (atan_test_data): Likewise.
15166         (atanh_test_data): Likewise.
15167         (atan2_test_data): Likewise.
15168         (cbrt_test_data): Likewise.
15169         (ceil_test_data): Likewise.
15170         (copysign_test_data): Likewise.
15171         (cos_test_data): Likewise.
15172         (cosh_test_data): Likewise.
15173         (erf_test_data): Likewise.
15174         (erfc_test_data): Likewise.
15175         (exp_test_data): Likewise.
15176         (exp10_test_data): Likewise.
15177         (exp2_test_data): Likewise.
15178         (expm1_test_data): Likewise.
15179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15181 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15183         [BZ #19006]
15184         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15185         to ...
15186         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15187         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15188         to ...
15189         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15190         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15191         to ...
15192         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15193         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15194         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15195         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15196         to ...
15197         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15198         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15199         Moved to ...
15200         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15201         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15202         Moved to ...
15203         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15204         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15205         to ...
15206         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15207         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15208         Moved to ...
15209         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15210         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15211         to ...
15212         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15213         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15214         Removed.
15215         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15216         Likewise.
15217         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15218         Likewise.
15219         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15220         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15221         Likewise.
15222         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15223         Likewise.
15224         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15225         Likewise.
15226         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15227         Likewise.
15228         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15229         Likewise.
15230         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15231         Likewise.
15232         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15233         Likewise.
15234         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15235         Likewise.
15236         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15237         Likewise.
15238         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15239         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15240         Likewise.
15241         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15242         Likewise.
15243         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15244         Likewise.
15245         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15246         Likewise.
15247         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15248         Likewise.
15249         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15250         Replace ../i486/pthread_cond_timedwait.S with
15251         ../pthread_cond_timedwait.S.
15253 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15255         * math/libm-test.inc (acos_test_data): Refine expectations for
15256         errno and "inexact" exceptions.
15257         (acosh_test_data): Likewise.
15258         (asin_test_data): Likewise.
15259         (asinh_test_data): Likewise.
15260         (atan_test_data): Likewise.
15261         (atanh_test_data): Likewise.
15262         (atan2_test_data): Likewise.
15263         (cbrt_test_data): Likewise.
15264         (ceil_test_data): Likewise.
15265         (copysign_test_data): Likewise.
15266         (cosh_test_data): Likewise.
15267         (erf_test_data): Likewise.
15268         (erfc_test_data): Likewise.
15269         (exp_test_data): Likewise.
15270         (exp10_test_data): Likewise.
15271         (exp2_test_data): Likewise.
15272         (expm1_test_data): Likewise.
15273         (fabs_test_data): Likewise.
15274         (floor_test_data): Likewise.
15275         (fma_test_data): Likewise.
15276         (fmax_test_data): Likewise.
15277         (fmin_test_data): Likewise.
15278         (fmod_test_data): Likewise.
15279         (fpclassify_test_data): Likewise.
15280         (frexp_test_data): Likewise.
15281         (hypot_test_data): Likewise.
15282         (ilogb_test_data): Likewise.
15283         (isgreater_test_data): Likewise.
15284         (isgreaterequal_test_data): Likewise.
15285         (isinf_test_data): Likewise.
15286         (isless_test_data): Likewise.
15287         (islessequal_test_data): Likewise.
15288         (islessgreater_test_data): Likewise.
15289         (isnan_test_data): Likewise.
15290         (isnormal_test_data): Likewise.
15291         (issignaling_test_data): Likewise.
15292         (isunordered_test_data): Likewise.
15293         (j0_test_data): Likewise.
15294         (j1_test_data): Likewise.
15295         (jn_test_data): Likewise.
15296         (lgamma_test_data): Likewise.
15297         (lrint_test_data): Likewise.
15298         (llrint_test_data): Likewise.
15299         (log_test_data): Likewise.
15300         (log10_test_data): Likewise.
15301         (log1p_test_data): Likewise.
15302         (log2_test_data): Likewise.
15303         (logb_test_data): Likewise.
15304         (lround_test_data): Likewise.
15305         (llround_test_data): Likewise.
15306         (modf_test_data): Likewise.
15307         (nearbyint_test_data): Likewise.
15308         (nextafter_test_data): Likewise.
15309         (nexttoward_test_data): Likewise.
15310         (pow_test_data): Likewise.
15311         (remainder_test_data): Likewise.
15312         (remquo_test_data): Likewise.
15313         (rint_test_data): Likewise.
15314         (round_test_data): Likewise.
15315         (signbit_test_data): Likewise.
15316         (sinh_test_data): Likewise.
15317         (sqrt_test_data): Likewise.
15318         (tanh_test_data): Likewise.
15319         (tgamma_test_data): Likewise.
15320         (trunc_test_data): Likewise.
15321         (y0_test_data): Likewise.
15322         (y1_test_data): Likewise.
15323         (yn_test_data): Likewise.
15324         (significand_test_data): Likewise.
15326 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15328         * manual/filesys.texi (Storage Allocation): Document that
15329         posix_fallocate emulation fails when fd is open with O_WRONLY.
15331 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15333         [BZ #19016]
15334         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15335         allow more cases with X^2 + Y^2 >= 0.5.
15336         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15337         normal element in sum instead of special-casing based on values of
15338         arguments.
15339         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15340         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15341         -1 as normal element in sum instead of special-casing based on
15342         values of arguments.
15343         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15344         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15345         (__x2y2m1): Update comment.
15346         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15347         as normal element in sum instead of special-casing based on values
15348         of arguments.
15349         * math/s_clog.c (__clog): Handle more cases using log1p without
15350         hypot.
15351         * math/s_clog10.c (__clog10): Likewise.
15352         * math/s_clog10f.c (__clog10f): Likewise.
15353         * math/s_clog10l.c (__clog10l): Likewise.
15354         * math/s_clogf.c (__clogf): Likewise.
15355         * math/s_clogl.c (__clogl): Likewise.
15356         * math/auto-libm-test-in: Add more tests of clog and clog10.
15357         * math/auto-libm-test-out: Regenerated.
15358         * sysdeps/i386/fpu/libm-test-ulps: Update.
15359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15361 2015-09-28  Martin Sebor  <msebor@redhat.com>
15363         [BZ #18969]
15364         * string/Makefile (LOCALES): Define.
15365         (gen-locales.mk): Include.
15366         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15367         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15368         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15369         on setlocale failure.
15371 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15373         [BZ #18985]
15374         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15375         (__strftime_internal): Likewise.
15376         * time/tst-strftime.c (do_bz18985): New test.
15377         (do_test): Call it.
15379 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15381         [BZ #18956]
15382         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15383         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15384         extracting high part.
15385         * math/auto-libm-test-in: Add another test of pow.
15386         * math/auto-libm-test-out: Regenerated.
15387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15389 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15391         [BZ #18825]
15392         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15393         New macro.
15394         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15395         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15396         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15397         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15398         DBL_NARROW_EVAL, reloading the PIC register as needed.
15399         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15400         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15401         FLT_NARROW_EVAL.  Use separate return path for case when first
15402         argument is NaN.
15403         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15404         DEFINE_LDBL_MIN.
15405         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15406         PIC register.
15407         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15408         math_check_force_underflow_nonneg.
15409         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15410         underflow for subnormal result.
15411         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15412         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15413         math_check_force_underflow_nonneg.
15414         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15415         math_check_force_underflow.
15416         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15417         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15418         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15419         DEFINE_LDBL_MIN.
15420         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15421         * math/auto-libm-test-in: Add more tests of pow.
15422         * math/auto-libm-test-out: Regenerated.
15424 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15426         * nss/bug17079.c (init_test_items): Add diagnostic for
15427         inconsistent entries.
15428         (test_buffer_size): Skip inconsistent entries.
15430 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15432         [BZ #13304]
15433         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15434         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15435         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15437         [BZ #13304]
15438         * sysdeps/microblaze/s_fma.c: New file.
15439         * sysdeps/microblaze/s_fmaf.c: Likewise.
15440         * sysdeps/microblaze/sfp-machine.h: Likewise.
15442 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15444         [BZ #17250]
15445         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15446         member.
15448 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15450         [BZ #18803]
15451         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15452         (MO): New macro.
15453         (__ieee754_hypot) [PIC]: Load PIC register.
15454         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15455         DBL_NARROW_EVAL.
15456         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15457         math_check_force_underflow_nonneg in case where result might be
15458         tiny.
15459         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15460         Likewise.
15461         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15462         Likewise.
15463         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15464         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15465         * math/auto-libm-test-in: Add more tests of hypot.
15466         * math/auto-libm-test-out: Regenerated.
15468 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15470         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15472 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15474         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15475         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15476         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15477         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15478         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15479         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15480         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15482         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15483         LOAD_PIC_REG.
15485         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15486         (FLT_CHECK_FORCE_UFLOW): Likewise.
15487         (DBL_CHECK_FORCE_UFLOW): Likewise.
15488         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15489         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15490         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15491         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15492         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15493         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15494         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15495         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15496         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15497         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15498         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15499         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15500         (flt_min): Replace with use of DEFINE_FLT_MIN.
15501         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15502         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15503         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15504         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15505         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15506         (flt_min): Replace with use of DEFINE_FLT_MIN.
15507         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15508         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15509         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15510         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15511         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15512         (flt_min): Replace with use of DEFINE_FLT_MIN.
15513         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15514         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15515         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15516         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15517         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15518         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15519         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15520         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15521         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15522         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15523         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15524         (flt_min): Replace with use of DEFINE_FLT_MIN.
15525         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15526         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15527         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15528         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15529         main computation.
15530         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15531         (flt_min): Replace with use of DEFINE_FLT_MIN.
15532         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15533         main computation.
15534         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15535         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15536         (MO): New macro.
15537         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15538         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15539         (flt_min): Replace with use of DEFINE_FLT_MIN.
15540         (MO): New macro.
15541         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15542         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15543         (__log1pl): Use MO.
15545         [BZ #19003]
15546         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15547         $(config-cflags-nofma).
15549 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15551         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15553 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15555         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15556         (TWO127): Likewise.
15558         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15559         (min_of_type): Likewise.
15560         (math_check_force_underflow): Likewise.
15561         (math_check_force_underflow_nonneg): Likewise.
15562         (math_check_force_underflow_complex): Likewise.
15563         * math/e_exp2l.c (__ieee754_exp2l): Use
15564         math_check_force_underflow_nonneg.
15565         * math/k_casinh.c (__kernel_casinh): Likewise.
15566         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15567         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15568         * math/s_catan.c (__catan): Use
15569         math_check_force_underflow_complex.
15570         * math/s_catanf.c (__catanf): Likewise.
15571         * math/s_catanh.c (__catanh): Likewise.
15572         * math/s_catanhf.c (__catanhf): Likewise.
15573         * math/s_catanhl.c (__catanhl): Likewise.
15574         * math/s_catanl.c (__catanl): Likewise.
15575         * math/s_ccosh.c (__ccosh): Likewise.
15576         * math/s_ccoshf.c (__ccoshf): Likewise.
15577         * math/s_ccoshl.c (__ccoshl): Likewise.
15578         * math/s_cexp.c (__cexp): Likewise.
15579         * math/s_cexpf.c (__cexpf): Likewise.
15580         * math/s_cexpl.c (__cexpl): Likewise.
15581         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15582         * math/s_clog10.c (__clog10): Likewise.
15583         * math/s_clog10f.c (__clog10f): Likewise.
15584         * math/s_clog10l.c (__clog10l): Likewise.
15585         * math/s_clogf.c (__clogf): Likewise.
15586         * math/s_clogl.c (__clogl): Likewise.
15587         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15588         * math/s_csinf.c (__csinf): Likewise.
15589         * math/s_csinh.c (__csinh): Likewise.
15590         * math/s_csinhf.c (__csinhf): Likewise.
15591         * math/s_csinhl.c (__csinhl): Likewise.
15592         * math/s_csinl.c (__csinl): Likewise.
15593         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15594         * math/s_csqrtf.c (__csqrtf): Likewise.
15595         * math/s_csqrtl.c (__csqrtl): Likewise.
15596         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15597         * math/s_ctanf.c (__ctanf): Likewise.
15598         * math/s_ctanh.c (__ctanh): Likewise.
15599         * math/s_ctanhf.c (__ctanhf): Likewise.
15600         * math/s_ctanhl.c (__ctanhl): Likewise.
15601         * math/s_ctanl.c (__ctanl): Likewise.
15602         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15603         instead of volatile.
15604         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15605         math_check_force_underflow.
15606         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15607         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15608         volatile when forcing underflow.
15609         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15610         math_check_force_underflow_nonneg.
15611         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15612         Likewise.
15613         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15614         math_check_force_underflow.
15615         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15616         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15617         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15618         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15619         math_check_force_underflow_nonneg.
15620         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15621         math_check_force_underflow.
15622         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15624         instead of volatile.
15625         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15626         math_check_force_underflow.
15627         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15628         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15629         math_check_force_underflow_nonneg.
15630         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15631         math_check_force_underflow.
15632         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15633         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15634         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15635         math_check_force_underflow_nonneg.
15636         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15637         Likewise.
15638         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15639         math_check_force_underflow.
15640         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15641         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15642         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15643         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15644         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15645         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15646         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15647         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15648         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15649         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15650         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15651         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15652         Likewise.
15653         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15654         math_check_force_underflow_nonneg.
15655         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15656         Likewise.
15657         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15658         math_check_force_underflow.
15659         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15660         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15661         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15662         Likewise.
15663         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15664         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15665         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15666         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15667         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15668         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15669         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15670         instead of volatile.
15671         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15672         math_check_force_underflow.
15673         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15674         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15675         math_check_force_underflow.
15676         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15677         Likewise.
15678         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15679         Use math_check_force_underflow_nonneg.
15680         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15681         math_check_force_underflow.
15682         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15683         Likewise.
15684         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15685         Likewise.
15686         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15687         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15688         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15689         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15690         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15691         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15692         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15693         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15694         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15695         math_check_force_underflow_nonneg.
15696         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15697         math_check_force_underflow.
15698         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15699         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15700         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15701         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15702         math_check_force_underflow_nonneg.
15703         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15704         math_check_force_underflow.
15705         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15706         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15707         instead of volatile.
15708         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15709         math_check_force_underflow.
15711         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15712         * stdlib/strtod_l.c: Include <math_private.h>.
15713         (overflow_value): Use math_narrow_eval.
15714         (underflow_value): Likewise.
15715         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15716         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15717         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15718         (__ieee754_gamma_r): Likewise.
15719         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15720         Likewise.
15721         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15722         Likewise.
15723         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15724         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15725         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15726         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15727         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15728         (__ieee754_gammaf_r): Likewise.
15729         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15730         Likewise.
15731         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15732         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15733         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15734         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15735         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15736         volatile.
15737         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15738         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15739         math_narrow_eval.
15740         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15741         Likewise.
15742         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15743         Likewise.
15744         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15745         Likewise.
15746         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15747         volatile.
15748         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15749         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15750         math_narrow_eval.
15751         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15752         Likewise.
15753         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15754         Likewise.
15756 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15758         * nptl/Versions: Remove ignored symbols.
15760 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15762         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15763         * nss/Makefile (tests): Update.
15765 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15767         * nss/bug18287.c: New file.
15768         * nss/Makefile (tests): Add bug18287.
15770 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15772         * mach/Versions (__mach_host_self_): Add symbol.
15774 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15776         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15777         vm_page_size.
15779 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15781         Really fix sysdeps/i386/fpu/s_scalbn.S build
15783         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15784         (libc: GLIBC_2_22): Remove unused version set.
15786 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15788         * config.make.in (enable-timezone-tools): New variable.
15789         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15790         (enable_timezone_tools): Export to generated files.
15791         * configure: Regenerate.
15792         * INSTALL: Regenerate.
15793         * manual/install.texi (--disable-timezone-tools): Document new flag.
15794         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15795         ifeq ($(enable-timezone-tools),yes) check.
15797 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15799         * timezone/Makefile: Revert previous change.
15801         [BZ #18980]
15802         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15803         (DEFINE_DBL_MIN): Likewise.
15804         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15805         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15806         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15807         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15808         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15809         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15810         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15811         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15812         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15813         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15814         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15815         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15816         (flt_min): Replace with use of DEFINE_FLT_MIN.
15817         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15818         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15819         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15820         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15821         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15822         (flt_min): Replace with use of DEFINE_FLT_MIN.
15823         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15824         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15825         (flt_min): Replace with use of DEFINE_FLT_MIN.
15826         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15827         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15828         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15829         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15830         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15831         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15832         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15833         (__ieee754_pow): Use DBL_NARROW_EVAL.
15834         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15835         (__ieee754_powf): Use FLT_NARROW_EVAL.
15836         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15837         (__ieee754_expf_sse2): Convert double-precision result to single
15838         precision.
15839         * sysdeps/i386/fpu/libm-test-ulps: Update.
15841 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15843         * timezone/Makefile: Ignore unused variable errors due to private.h
15844         (time_t_min) and (time_t_max).
15845         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15846         Likewise.
15848 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15850         [BZ #18981]
15851         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15852         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15853         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15854         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15855         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15856         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15857         (__scalbn): Use DBL_NARROW_EVAL.
15858         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15859         (__scalbnf): Use FLT_NARROW_EVAL.
15861 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15863         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15864         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15865         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15866         * stdio-common/printf_fp.c (___printf_fp):
15867         Use signbit to get the sign. Use isinf macro to allow inlining.
15868         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15869         * stdio-common/printf_size.c (__printf_size): Likewise.
15871 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15873         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15875 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15877         [BZ #18980]
15878         * sysdeps/generic/math_private.h: Include <float.h>.
15879         (math_narrow_eval): New macro.
15880         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15881         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15882         math_narrow_eval on overflowing return value.
15883         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15884         Likewise.
15885         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15886         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15887         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15888         Likewise.
15889         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15891 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15893         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15894         * math/Makefile: Remove isinf_ns.c.
15895         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15896         * math/multc3.c (__multc3): Likewise.
15897         * math/s_casin.c (__casin): Likewise.
15898         * math/s_casinf.c (__casinf): Likewise.
15899         * math/s_casinl.c (__casinl): Likewise.
15900         * math/s_cproj.c (__cproj): Likewise.
15901         * math/s_cprojf.c (__cprojf): Likewise.
15902         * math/s_cprojl.c (__cprofl): Likewise.
15903         * math/s_ctan.c (__ctan): Likewise.
15904         * math/s_ctanf.c (__ctanf): Likewise.
15905         * math/s_ctanh.c (__ctanh): Likewise.
15906         * math/s_ctanhf.c (__ctanhf): Likewise.
15907         * math/s_ctanhl.c (__ctanhl): Likewise.
15908         * math/s_ctanl.c (__ctanl): Likewise.
15909         * math/w_fmod.c (__fmod): Likewise.
15910         * math/w_fmodf.c (__fmodf): Likewise.
15911         * math/w_fmodl.c (_fmodl): Likewise.
15912         * math/w_remainder.c (__remainder): Likewise.
15913         * math/w_remainderf.c (__remainderf): Likewise.
15914         * math/w_remainderl.c (__remainderl): Likewise.
15915         * math/w_scalb.c (__scalb): Likewise.
15916         * math/w_scalbf.c (__scalbf): Likewise.
15917         * math/w_scalbl.c (__scalbl): Likewise.
15918         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15919         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15920         with isinf.
15921         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15922         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15923         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15924         __isinf_nsf with isinf.
15925         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15926         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15927         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15928         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15929         with isinf.
15930         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15931         __isinf_nsl with isinf.
15932         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15933         with isinf.
15934         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15935         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15936         __isinf_nsl with isinf.
15937         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15938         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15939         with isinf.
15941 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15943         * resolv/base64.c (rcsid): Remove unused static.
15944         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15945         static.  (tqpi1): Likewise.
15946         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15947         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15948         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15949         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15950         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15951         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15952         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15953         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15954         Likewise.
15956 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15958         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15959         <nptl/pthreadP.h>.
15960         (_longjmp_unwind): Use __libc_ptf_call.
15961         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15963 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15965         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15966         * sysdeps/arm/__longjmp.S: Likewise.
15968 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15970         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15971         Use __builtin_signbit.
15972         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15973         Use __builtin_signbitf.
15974         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15975         Use __builtin_signbitl.
15976         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15977         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15979 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15981         [BZ #15367]
15982         [BZ #17441]
15984         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15985         * math/math.h (fpclassify): Use __builtin_fpclassify when
15986         available.  (signbit): Use __builtin_signbit(f/l).
15987         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15988         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15989         (isinf): Use __builtin_isinf_sign.
15991 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15993         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15994         * benchtests/bench-math-inlines.c: New benchmark.
15995         * benchtests/bench-util.h: New file.
15996         * benchtests/bench-util.c: New file.
15997         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15999 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
16001         * elf/tst-dlmopen1.c: Define TEST_SO.
16002         (do_test): Use TEST_SO.
16004         * elf/dl-load.c: Include libc-internal.h.
16005         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16007 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16009         [BZ #17887]
16010         * time/strptime_l.c (__strptime_internal): Make %z accept
16011         [+-]HH:MM time zones.
16013 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16015         [BZ #17886]
16016         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16017         valid time zone.
16019 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
16021         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
16022         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
16023         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16024         (__ASSUME_FDATASYNC): Delete.
16026 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16028         * conform/linknamespace.pl: Require weak undefined symbols to be
16029         in the standard namespace.
16030         (%strong_syms): Rename to %seen_syms.
16031         (%strong_seen): Rename to %seen_where.
16033 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
16035         [BZ #18970]
16036         * misc/error.c (error): Replace pthread_setcancelstate with
16037         __pthread_setcancelstate.
16038         (error_at_line): Likewise.
16039         * posix/wordexp.c (parse_comm): Likewise.
16040         * stdlib/fmtmsg.c (fmtmsg): Likewise.
16041         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
16042         (__pthread_setcancelstate): This.
16043         (pthread_setcancelstate): Add an alias.
16044         * nptl/nptl-init.c (pthread_functions): Replace
16045         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
16046         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
16047         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
16048         hidden_proto.
16049         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
16050         it with hidden_def.
16051         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
16052         (pthread_setcancelstate): Renamed to ...
16053         (__pthread_setcancelstate): This.
16054         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
16055         __libc_ptf_call with __pthread_setcancelstate.
16057 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16058             Andreas Schwab  <schwab@suse.de>
16060         [BZ #17118]
16061         * math/s_ctan.c (__ctan): Determine sign of zero real part of
16062         result when imaginary part of argument is infinite using sine and
16063         cosine.
16064         * math/s_ctanf.c (__ctanf): Likewise.
16065         * math/s_ctanl.c (__ctanl): Likewise.
16066         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
16067         of result when real part of argument is infinite using sine and
16068         cosine.
16069         * math/s_ctanhf.c (__ctanhf): Likewise.
16070         * math/s_ctanhl.c (__ctanhl): Likewise.
16071         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
16072         (ctanh_test_data): Add more tests of ctanh.
16074 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16076         [BZ #15384]
16077         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
16078         bit-mask as in subtraction.
16079         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
16080         Likewise.
16081         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16082         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16083         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
16085         [BZ #18951]
16086         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
16087         underflow exception for small results.
16088         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16089         Likewise.
16090         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16091         Likewise.
16092         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16093         Likewise.
16094         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16095         Likewise.
16096         * math/auto-libm-test-in: Add more tests of tgamma.
16097         * math/auto-libm-test-out: Regenerated.
16099 2015-09-17  Andreas Schwab  <schwab@suse.de>
16101         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
16103 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16105         [BZ #18977]
16106         * math/bits/mathcalls.h
16107         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
16108         not declare.
16109         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
16110         Likewise.
16111         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
16112         Likewise.
16113         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16114         Likewise.
16115         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
16116         Likewise.
16117         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16118         Likewise.
16119         * conform/data/math.h-data
16120         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
16121         function.
16122         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16123         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16124         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16125         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16126         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16127         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16128         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16129         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16130         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16131         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16132         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16134         [BZ #6803]
16135         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16136         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16137         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16138         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16139         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16140         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
16141         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
16142         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
16143         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16144         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
16145         Likewise.
16146         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16147         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
16148         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
16149         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
16150         long_double_symbol calls.
16151         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
16152         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
16153         strong alias of __ldexpl.
16154         (scalbnl): Define using long_double_symbol.
16155         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16156         Remove alias.
16157         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16158         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16159         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16160         (scalbln_test_data): Add more errno expectations.
16162 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16164         Cache the host port like we cache the task port.  This way we do not
16165         need to call the kernel just to get the port.  Furthermore, we no
16166         longer increase the reference count on every invocation of
16167         `mach_host_self'.
16169         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16170         Protect declarations against the macro expansion.
16171         * mach/mach_init.c (__mach_host_self_): New variable.
16172         (mach_init): Initialize `__mach_host_self_'.
16173         * mach/mach_init.h (__mach_host_self_): New declaration.
16174         (__mach_host_self, mach_host_self): New macros.
16175         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16176         Release reference.
16178 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16180         [BZ #4404]
16181         * po/de.po: Update from Translation Project.
16183         [BZ #16415]
16184         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16185         (__expm1l): Remove code to handle positive infinity and overflow.
16186         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16187         variable.
16188         (__expm1l): Remove code to handle positive infinity and overflow.
16190 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16191             Paul Pluzhnikov  <ppluzhnikov@google.com>
16193         [BZ #18872]
16194         * stdio-common/Makefile (tst-printf-bz18872): New test.
16195         (tst-printf-bz18872-mem.out): Likewise.
16196         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16197         * stdio-common/vfprintf.c: Fix memory leaks.
16199 2015-09-16  Andreas Schwab  <schwab@suse.de>
16201         [BZ #17244]
16202         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16203         Remove extra va_start/va_end calls.
16205         [BZ #17243]
16206         * posix/execl.c (execl): Add missing va_end.
16207         * posix/execle.c (execle): Likewise.
16208         * posix/execlp.c (execlp): Likewise.
16210 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16212         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16213         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16215 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16217         [BZ #18967]
16218         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16219         undefine around includes of <bits/mathcalls.h>.
16220         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16221         not declare function.
16222         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16223         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16224         (scalb): Likewise.
16225         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16226         not define macro.
16227         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16228         variable.
16229         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16230         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16231         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16233         [BZ #18857]
16234         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16235         return non-finite argument without doing ordered comparisons on
16236         it.
16238         [BZ #16296]
16239         * math/fenv.h (fegetround): Use __attribute_pure__.
16240         * include/fenv.h (__fegetround): Likewise.
16242         [BZ #18595]
16243         * math/s_ctan.c (__ctan): Force underflow exception for results
16244         whose real or imaginary part has small absolute value.
16245         * math/s_ctanf.c (__ctanf): Likewise.
16246         * math/s_ctanh.c (__ctanh): Likewise.
16247         * math/s_ctanhf.c (__ctanhf): Likewise.
16248         * math/s_ctanhl.c (__ctanhl): Likewise.
16249         * math/s_ctanl.c (__ctanl): Likewise.
16250         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16251         and ctanh.  Add more tests of ctan and ctanh.
16253         [BZ #15918]
16254         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16255         handling of cases where one argument is an infinity.
16257         [BZ #18875]
16258         [BZ #18966]
16259         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16260         (MO): New macro.
16261         (__ieee754_exp10): For small results, force underflow exception
16262         and remove excess range and precision from return value.
16263         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16264         (MO): New macro.
16265         (__ieee754_exp10f): For small results, force underflow exception
16266         and remove excess range and precision from return value.
16267         * math/auto-libm-test-in: Add more tests of exp10.
16268         * math/auto-libm-test-out: Regenerated.
16270 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16272         [BZ #18875]
16273         [BZ #18961]
16274         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16275         (MO): New macro.
16276         (__ieee754_exp): For small results, force underflow exception and
16277         remove excess range and precision from return value.
16278         (__exp_finite): Likewise.
16279         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16280         (MO): New macro.
16281         (__ieee754_expf): For small results, force underflow exception and
16282         remove excess range and precision from return value.
16283         (__expf_finite): Likewise.
16284         * math/auto-libm-test-in: Add more tests of exp.
16285         * math/auto-libm-test-out: Regenerated.
16287         [BZ #16521]
16288         [BZ #18875]
16289         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16290         small results.
16291         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16292         (MO): New macro.
16293         (__ieee754_exp2): For small results, force underflow exception and
16294         remove excess range and precision from return value.
16295         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16296         (MO): New macro.
16297         (__ieee754_exp2f): For small results, force underflow exception
16298         and remove excess range and precision from return value.
16299         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16300         (MO): New macro.
16301         (__ieee754_exp2l): Force underflow exception for small results.
16302         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16303         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16304         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16305         (MO): New macro.
16306         (__ieee754_exp2l): Force underflow exception for small results.
16307         * math/auto-libm-test-in: Add more tests or exp2.
16308         * math/auto-libm-test-out: Regenerated.
16310 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16312         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16314         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16315         /dev/null.
16317 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16319         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16320         io fs process)): Drop spurious backslash.
16322 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16324         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16325         Use sysinfo system call instead of parsing /proc/meminfo.
16326         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16327         Likewise.
16329 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16331         [BZ #16985]
16332         * programs/localedef.c (main): Display argv[remaining] when
16333         output_path is NULL.
16335 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16337         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16338         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16339         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16340         tanh.
16341         * math/auto-libm-test-out: Regenerated.
16342         * sysdeps/i386/fpu/libm-test-ulps: Update.
16343         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16344         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16347 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16349         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16350         Use 'override' keyword to freeze the value here, preventing
16351         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16353 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16355         [BZ #14912]
16356         * sysdeps/aarch64/bits/atomic.h: Move to ...
16357         * sysdeps/aarch64/atomic-machine.h: ...here.
16358         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16359         _AARCH64_ATOMIC_MACHINE_H.
16360         * sysdeps/alpha/bits/atomic.h: Move to ...
16361         * sysdeps/alpha/atomic-machine.h: ...here.
16362         * sysdeps/arm/bits/atomic.h: Move to ...
16363         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16364         * bits/atomic.h: Move to ...
16365         * sysdeps/generic/atomic-machine.h: ...here.
16366         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16367         * sysdeps/i386/bits/atomic.h: Move to ...
16368         * sysdeps/i386/atomic-machine.h: ...here.
16369         * sysdeps/ia64/bits/atomic.h: Move to ...
16370         * sysdeps/ia64/atomic-machine.h: ...here.
16371         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16372         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16373         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16374         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16375         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16376         * sysdeps/microblaze/bits/atomic.h: Move to ...
16377         * sysdeps/microblaze/atomic-machine.h: ...here.
16378         * sysdeps/mips/bits/atomic.h: Move to ...
16379         * sysdeps/mips/atomic-machine.h: ...here.
16380         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16381         * sysdeps/powerpc/bits/atomic.h: Move to ...
16382         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16383         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16384         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16385         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16386         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16387         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16388         <atomic-machine.h> instead of <bits/atomic.h>.
16389         * sysdeps/s390/bits/atomic.h: Move to ...
16390         * sysdeps/s390/atomic-machine.h: ...here.
16391         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16392         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16393         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16394         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16395         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16396         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16397         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16398         * sysdeps/tile/bits/atomic.h: Move to ...
16399         * sysdeps/tile/atomic-machine.h: ...here.
16400         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16401         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16402         <sysdeps/tile/atomic-machine.h> instead of
16403         <sysdeps/tile/bits/atomic.h>.
16404         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16405         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16406         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16407         <sysdeps/tile/atomic-machine.h> instead of
16408         <sysdeps/tile/bits/atomic.h>.
16409         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16410         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16411         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16412         <sysdeps/arm/atomic-machine.h> instead of
16413         <sysdeps/arm/bits/atomic.h>.
16414         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16415         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16416         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16417         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16418         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16419         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16420         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16421         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16422         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16423         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16424         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16425         * sysdeps/x86_64/bits/atomic.h: Move to ...
16426         * sysdeps/x86_64/atomic-machine.h: ...here.
16427         * include/atomic.h: Include <atomic-machine.h> instead of
16428         <bits/atomic.h>.
16430         * sysdeps/mips/mips32/libm-test-ulps: Update.
16431         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16433         [BZ #18952]
16434         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16435         not convert non-integer negative arguments to int to determine the
16436         value of signgam.
16437         * math/auto-libm-test-in: Add more tests of lgamma.
16438         * math/auto-libm-test-out: Regenerated.
16440         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16441         cosh, csqrt, erfc, expm1 and lgamma.
16442         * math/auto-libm-test-out: Regenerated.
16443         * sysdeps/i386/fpu/libm-test-ulps: Update.
16444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16446 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16448         [BZ #2542]
16449         [BZ #2543]
16450         [BZ #2558]
16451         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16452         __lgamma_neg for arguments from -28.0 to -2.0.
16453         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16454         __lgamma_negf for arguments from -15.0 to -2.0.
16455         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16456         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16457         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16458         Call __lgamma_negl for arguments from -33.0 to -2.0.
16459         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16460         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16461         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16462         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16463         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16464         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16465         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16466         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16467         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16468         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16469         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16470         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16471         (__lgamma_neg): Likewise.
16472         (__lgamma_negl): Likewise.
16473         (__lgamma_product): Likewise.
16474         (__lgamma_productl): Likewise.
16475         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16476         * math/auto-libm-test-in: Add more tests of lgamma.
16477         * math/auto-libm-test-out: Regenerated.
16478         * sysdeps/i386/fpu/libm-test-ulps: Update.
16479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16481 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16483         [BZ #18675]
16484         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16486 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16488         [BZ #14912]
16489         * bits/libc-lock.h: Move to ...
16490         * sysdeps/generic/libc-lock.h: ...here.
16491         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16492         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16493         * sysdeps/mach/hurd/libc-lock.h: ...here.
16494         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16495         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16496         * sysdeps/mach/bits/libc-lock.h: Move to ...
16497         * sysdeps/mach/libc-lock.h: ...here.
16498         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16499         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16500         * sysdeps/nptl/libc-lock.h: ...here.
16501         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16502         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16503         * sysdeps/nptl/libc-lockP.h: ...here.
16504         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16505         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16506         <bits/libc-lock.h>.
16507         * dirent/scandir-tail.c: Likewise.
16508         * dlfcn/dlerror.c: Likewise.
16509         * elf/dl-close.c: Likewise.
16510         * elf/dl-iteratephdr.c: Likewise.
16511         * elf/dl-lookup.c: Likewise.
16512         * elf/dl-open.c: Likewise.
16513         * elf/dl-support.c: Likewise.
16514         * elf/dl-writev.h: Likewise.
16515         * elf/rtld.c: Likewise.
16516         * grp/fgetgrent.c: Likewise.
16517         * gshadow/fgetsgent.c: Likewise.
16518         * gshadow/sgetsgent.c: Likewise.
16519         * iconv/gconv_conf.c: Likewise.
16520         * iconv/gconv_db.c: Likewise.
16521         * iconv/gconv_dl.c: Likewise.
16522         * iconv/gconv_int.h: Likewise.
16523         * iconv/gconv_trans.c: Likewise.
16524         * include/link.h: Likewise.
16525         * inet/getnameinfo.c: Likewise.
16526         * inet/getnetgrent.c: Likewise.
16527         * inet/getnetgrent_r.c: Likewise.
16528         * intl/bindtextdom.c: Likewise.
16529         * intl/dcigettext.c: Likewise.
16530         * intl/finddomain.c: Likewise.
16531         * intl/gettextP.h: Likewise.
16532         * intl/loadmsgcat.c: Likewise.
16533         * intl/localealias.c: Likewise.
16534         * intl/textdomain.c: Likewise.
16535         * libidn/idn-stub.c: Likewise.
16536         * libio/libioP.h: Likewise.
16537         * locale/duplocale.c: Likewise.
16538         * locale/freelocale.c: Likewise.
16539         * locale/newlocale.c: Likewise.
16540         * locale/setlocale.c: Likewise.
16541         * login/getutent_r.c: Likewise.
16542         * login/getutid_r.c: Likewise.
16543         * login/getutline_r.c: Likewise.
16544         * login/utmp-private.h: Likewise.
16545         * login/utmpname.c: Likewise.
16546         * malloc/mtrace.c: Likewise.
16547         * misc/efgcvt.c: Likewise.
16548         * misc/error.c: Likewise.
16549         * misc/fstab.c: Likewise.
16550         * misc/getpass.c: Likewise.
16551         * misc/mntent.c: Likewise.
16552         * misc/syslog.c: Likewise.
16553         * nis/nis_call.c: Likewise.
16554         * nis/nis_callback.c: Likewise.
16555         * nis/nss-default.c: Likewise.
16556         * nis/nss_compat/compat-grp.c: Likewise.
16557         * nis/nss_compat/compat-initgroups.c: Likewise.
16558         * nis/nss_compat/compat-pwd.c: Likewise.
16559         * nis/nss_compat/compat-spwd.c: Likewise.
16560         * nis/nss_nis/nis-alias.c: Likewise.
16561         * nis/nss_nis/nis-ethers.c: Likewise.
16562         * nis/nss_nis/nis-grp.c: Likewise.
16563         * nis/nss_nis/nis-hosts.c: Likewise.
16564         * nis/nss_nis/nis-network.c: Likewise.
16565         * nis/nss_nis/nis-proto.c: Likewise.
16566         * nis/nss_nis/nis-pwd.c: Likewise.
16567         * nis/nss_nis/nis-rpc.c: Likewise.
16568         * nis/nss_nis/nis-service.c: Likewise.
16569         * nis/nss_nis/nis-spwd.c: Likewise.
16570         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16571         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16572         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16573         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16574         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16575         * nis/nss_nisplus/nisplus-network.c: Likewise.
16576         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16577         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16578         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16579         * nis/nss_nisplus/nisplus-service.c: Likewise.
16580         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16581         * nis/ypclnt.c: Likewise.
16582         * nptl/libc_pthread_init.c: Likewise.
16583         * nss/getXXbyYY.c: Likewise.
16584         * nss/getXXent.c: Likewise.
16585         * nss/getXXent_r.c: Likewise.
16586         * nss/nss_db/db-XXX.c: Likewise.
16587         * nss/nss_db/db-netgrp.c: Likewise.
16588         * nss/nss_db/nss_db.h: Likewise.
16589         * nss/nss_files/files-XXX.c: Likewise.
16590         * nss/nss_files/files-alias.c: Likewise.
16591         * nss/nsswitch.c: Likewise.
16592         * posix/regex_internal.h: Likewise.
16593         * posix/wordexp.c: Likewise.
16594         * pwd/fgetpwent.c: Likewise.
16595         * resolv/res_hconf.c: Likewise.
16596         * resolv/res_libc.c: Likewise.
16597         * shadow/fgetspent.c: Likewise.
16598         * shadow/lckpwdf.c: Likewise.
16599         * shadow/sgetspent.c: Likewise.
16600         * socket/opensock.c: Likewise.
16601         * stdio-common/reg-modifier.c: Likewise.
16602         * stdio-common/reg-printf.c: Likewise.
16603         * stdio-common/reg-type.c: Likewise.
16604         * stdio-common/vfprintf.c: Likewise.
16605         * stdio-common/vfscanf.c: Likewise.
16606         * stdlib/abort.c: Likewise.
16607         * stdlib/cxa_atexit.c: Likewise.
16608         * stdlib/fmtmsg.c: Likewise.
16609         * stdlib/random.c: Likewise.
16610         * stdlib/setenv.c: Likewise.
16611         * string/strsignal.c: Likewise.
16612         * sunrpc/auth_none.c: Likewise.
16613         * sunrpc/bindrsvprt.c: Likewise.
16614         * sunrpc/create_xid.c: Likewise.
16615         * sunrpc/key_call.c: Likewise.
16616         * sunrpc/rpc_thread.c: Likewise.
16617         * sysdeps/arm/backtrace.c: Likewise.
16618         * sysdeps/generic/ldsodefs.h: Likewise.
16619         * sysdeps/generic/stdio-lock.h: Likewise.
16620         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16621         * sysdeps/i386/backtrace.c: Likewise.
16622         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16623         * sysdeps/m68k/backtrace.c: Likewise.
16624         * sysdeps/mach/hurd/cthreads.c: Likewise.
16625         * sysdeps/mach/hurd/dirstream.h: Likewise.
16626         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16627         * sysdeps/nptl/malloc-machine.h: Likewise.
16628         * sysdeps/nptl/stdio-lock.h: Likewise.
16629         * sysdeps/posix/dirstream.h: Likewise.
16630         * sysdeps/posix/getaddrinfo.c: Likewise.
16631         * sysdeps/posix/system.c: Likewise.
16632         * sysdeps/pthread/aio_suspend.c: Likewise.
16633         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16634         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16635         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16636         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16637         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16638         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16639         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16640         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16641         * sysdeps/unix/sysv/linux/system.c: Likewise.
16642         * sysdeps/x86_64/backtrace.c: Likewise.
16643         * time/alt_digit.c: Likewise.
16644         * time/era.c: Likewise.
16645         * time/tzset.c: Likewise.
16646         * wcsmbs/wcsmbsload.c: Likewise.
16647         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16648         instead of <bits/libc-lock.h> in comment.
16650 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16652         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16653         Only use .set mips2 if the current ISA is below mips2.
16654         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16655         Likewise.
16656         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16657         mips32r2 if the current ISA is below mips32r2.
16658         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16659         (TLS_IE): Updated to use the TLD_RDHWR macro.
16660         (TLS_LE): Likewise.
16661         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16662         __ASSEMBLER__ condition.
16664 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16666         Fix parallel build of before-compile targets.
16668         * sysdeps/mach/Makefile ($(patsubst
16669         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16670         mach-before-compile target.
16671         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16672         io fs process)): Move rule to dedicated hurd-before-compile target.
16674 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16676         Fix rules generating headers in hurd/ and mach/ when initial make call
16677         has subdir= explicitly set.
16679         * sysdeps/mach/Makefile ($(patsubst
16680         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16681         calling $(MAKE).
16682         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16683         io fs process)): Force subdir to hurd when calling $(MAKE).
16684         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16685         subdir to mach when calling $(MAKE).
16687 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16689         Check sysheaders when looking for Mach and Hurd headers
16691         * sysdeps/mach/configure.ac: Add sysheaders check.
16692         * sysdeps/mach/configure: Regenerate.
16693         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16694         * sysdeps/mach/hurd/configure: Regenerate.
16696 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16698         [BZ #18921]
16699         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16700         Fix inverted sense of test of 'o_directory_works' value.
16701         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16702         Bernhard Voelker <mail@bernhard-voelker.de>.
16704 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16706         [BZ #14912]
16707         * bits/linkmap.h: Move to ...
16708         * sysdeps/generic/linkmap.h: ...here.
16709         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16710         * sysdeps/aarch64/linkmap.h: ...here.
16711         * sysdeps/arm/bits/linkmap.h: Move to ...
16712         * sysdeps/arm/linkmap.h: ...here.
16713         * sysdeps/hppa/bits/linkmap.h: Move to ...
16714         * sysdeps/hppa/linkmap.h: ...here.
16715         * sysdeps/ia64/bits/linkmap.h: Move to ...
16716         * sysdeps/ia64/linkmap.h: ...here.
16717         * sysdeps/mips/bits/linkmap.h: Move to ...
16718         * sysdeps/mips/linkmap.h: ...here.
16719         * sysdeps/s390/bits/linkmap.h: Move to ...
16720         * sysdeps/s390/linkmap.h: ...here.
16721         * sysdeps/sh/bits/linkmap.h: Move to ...
16722         * sysdeps/sh/linkmap.h: ...here.
16723         * sysdeps/x86/bits/linkmap.h: Move to ...
16724         * sysdeps/x86/linkmap.h: ...here.
16725         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16727 2015-09-04  Andreas Schwab  <schwab@suse.de>
16729         [BZ #18635]
16730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16731         (__makecontext): Terminate FDE before return label.
16732         (__novec_makecontext): Likewise.
16734 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16736         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16737         first member of struct sv in syscall macro.
16739 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16741         [BZ #14912]
16742         * bits/stdio-lock.h: Move to ...
16743         * sysdeps/generic/stdio-lock.h: ...here.
16744         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16745         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16746         * sysdeps/nptl/stdio-lock.h: ...here.
16747         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16748         * include/libio.h: Include <stdio-lock.h> instead of
16749         <bits/stdio-lock.h>.
16750         * sysdeps/nptl/fork.c: Likewise.
16751         * sysdeps/pthread/flockfile.c: Likewise.
16752         * sysdeps/pthread/ftrylockfile.c: Likewise.
16753         * sysdeps/pthread/funlockfile.c: Likewise.
16755         [BZ #14912]
16756         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16757         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16758         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16759         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16760         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16761         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16762         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16764 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16766         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16767         (test-xfail-tst-protected1b): New variable.
16769 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16771         [BZ #14912]
16772         * bits/libc-tsd.h: Move to ...
16773         * sysdeps/generic/libc-tsd.h: ...here.
16774         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16775         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16776         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16777         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16778         * include/ctype.h: Include <libc-tsd.h> instead of
16779         <bits/libc-tsd.h>.
16780         * include/rpc/rpc.h: Likewise.
16781         * locale/localeinfo.h: Likewise.
16782         * sunrpc/rpc_thread.c: Likewise.
16783         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16784         * sysdeps/nptl/malloc-machine.h: Likewise.
16786         * Makefile (headers): Remove bits/libc-lock.h.
16787         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16789         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16790         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16791         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16792         <bits/stdio-lock.h>.
16793         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16794         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16796 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16798         [BZ #18757]
16799         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16800         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16801         BZ #18757.
16803 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16805         * malloc/mtrace.pl: Filter out NULL entries.
16807 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16809         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16810         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16811         macro.
16813         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16814         (TCP_CC_INFO): Likewise.
16815         (TCP_SAVE_SYN): Likewise.
16816         (TCP_SAVED_SYN): Likewise.
16818 2015-08-31  Brett Neumeier <brett@neumeier.us>
16820         [BZ #18870]
16821         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16823 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16825         [BZ #18873]
16826         Fix broken overflow check in posix_fallocate
16827         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16828         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16829         Fix parenthesization typo.
16831 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16833         [BZ #18887]
16834         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16835         tst-mntent-blank-passno.
16836         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16837         * misc/tst-mntent-blank-corrupt.c: New test.
16838         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16839         * misc/tst-mntent.c (do_test): ... here.
16841 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16843         [BZ #4404]
16844         * po/de.po: Fix SIGALRM typo.
16846 2015-08-28  James Perkins  <james@loowit.net>
16848         * time/tst-strptime2.c (tests): Replace short list of test
16849         strings for strptime %z specifier with code which exhaustively
16850         tests every combination of sign and 0 to 5 digits. Tests for
16851         rejection of invalid strings.
16853 2015-08-28  James Perkins  <james@loowit.net>
16855         [BZ #16141]
16856         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16857         calculation, removing incorrect decimal time rounding, so that
16858         all minute values result in a valid seconds value.
16859         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16860         offset range limits to UTC-99:59 through UTC+99:59 to parse
16861         current and historical use cases.
16862         * time/tst-strptime2.c (tests): Modify and add tests for the
16863         strptime %z input field descriptor, specifically conversion of
16864         minutes to seconds and validating an offset range of -9959 to
16865         +9959.
16867 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16868             Dmitry V. Levin  <ldv@altlinux.org>
16870         [BZ #18877]
16871         * posix/Makefile (tests): Add tst-mmap-offset.
16872         * posix/tst-mmap.c: New file.
16873         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16874         offset calculation for negative values.
16876 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16878         * sysdeps/i386/init-arch.h: New file.
16879         * sysdeps/i386/i586/init-arch.h: Likewise.
16880         * sysdeps/i386/i686/init-arch.h: Likewise.
16881         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16882         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16883         * sysdeps/x86/cpu-features.h (bit_I586): New.
16884         (bit_I686): Likewise.
16885         (bit_CX8): Likewise.
16886         (bit_CMOV): Likewise.
16887         (index_CX8): Likewise.
16888         (index_CMOV): Likewise.
16889         (index_I586): Likewise.
16890         (index_I686): Likewise.
16891         (reg_CX8): Likewise.
16892         (reg_CMOV): Likewise.
16893         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16894         available at compile-time.
16895         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16896         available at compile-time.
16897         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16898         (USE_I686): Likewise.
16900 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16902         * sysdeps/i386/bcopy.S: New file.
16903         * sysdeps/i386/bzero.S: Likewise.
16904         * sysdeps/i386/memcpy.S: Likewise.
16905         * sysdeps/i386/memmove.S: Likewise.
16906         * sysdeps/i386/mempcpy.S: Likewise.
16907         * sysdeps/i386/memset.S: Likewise.
16908         * sysdeps/i386/bzero.c: Removed.
16909         * sysdeps/i386/memset.c: Likewise.
16910         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16911         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16912         * sysdeps/i386/i586/memset_chk.S: Likewise.
16913         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16914         * sysdeps/i386/memcpy_chk.S: Here.
16915         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16916         * sysdeps/i386/memmove_chk.S: Here.
16917         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16918         * sysdeps/i386/mempcpy_chk.S: Likewise.
16919         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16920         * sysdeps/i386/memset_chk.S: Likewise.
16922 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16924         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16925         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16926         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16927         * soft-fp/fmadf4.c: Ditto.
16928         * soft-fp/fmatf4.c: Ditto.
16930 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16932         * sysdeps/i386/i586/Implies: Removed.
16933         * sysdeps/i386/i686/Implies: Likewise.
16935 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16937         * sysdeps/i386/i486/strlen.S: Moved to ...
16938         * sysdeps/i386/strlen.S: Here.
16940 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16942         * sysdeps/i386/i486/strcat.S: Moved to ...
16943         * sysdeps/i386/strcat.S: Here.
16945 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16947         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16948         * sysdeps/i386/pthread_spin_trylock.S: Here.
16949         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16950         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16952 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16954         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16955         * sysdeps/i386/string-inlines.c: Here.
16957 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16959         * sysdeps/i386/i486/htonl.S: Moved ...
16960         * sysdeps/i386/htonl.S: here.
16962 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16964         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16965         * sysdeps/i386/bits/atomic.h: Here.
16967 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16969         * sysdeps/i386/i486/Versions: Removed.
16971 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16973         [BZ #2898]
16974         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16975         Based on patch by Aurelien Jarno.
16977 2015-08-26  Stan Shebs  <stanshebs@google.com>
16979         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16980         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16982 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16984         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16985         * sysdeps/powerpc/dl-procinfo.c:
16986         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16987         feature so it shows when LD_SHOW_AUXV=1.
16989 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16991         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16992         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16993         definition.  ISA 2.07B no longer requires full sync.
16995 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16997         [BZ #18863]
16998         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16999         (si_call_addr): Define.
17000         (si_syscall): Define.
17001         (si_arch): Define.
17003 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17005         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
17006         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
17007         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
17008         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17009         (__memset_zero_constant_len_parameter): New.
17010         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17011         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17012         (__memset_zero_constant_len_parameter): Don't define if
17013         __memset_chk or USE_AS_BZERO are defined.
17015         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
17016         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
17017         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
17019         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
17020         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
17021         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
17022         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
17023         comments.
17024         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
17025         -mno-mmx for $(all-rtld-routines).
17026         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
17027         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
17028         i386.
17030 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17032         * sysdeps/generic/unwind.h
17033         (_Unwind_Word): Use __mode__(__unwind_word__)
17034         instead of __mode__(__word__).
17035         (_Unwind_Sword): Likewise.
17037         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17038         (MAX_NEEDED_INPUT): New define.
17039         (MAX_NEEDED_OUTPUT): New define.
17041         * NEWS: New item for IBM z13 string optimizations.
17043         * sysdeps/s390/multiarch/memrchr-c.c: New File.
17044         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
17045         * sysdeps/s390/multiarch/memrchr.c: Likewise.
17046         * sysdeps/s390/multiarch/Makefile
17047         (sysdep_routines): Add memrchr functions.
17048         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17049         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
17051         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
17052         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
17053         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
17054         * sysdeps/s390/multiarch/Makefile
17055         (sysdep_routines): Add wmemcmp functions.
17056         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17057         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
17058         * benchtests/bench-wmemcmp.c: New File.
17059         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
17061         * sysdeps/s390/multiarch/wmemset-c.c: New File.
17062         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17063         * sysdeps/s390/multiarch/wmemset.c: Likewise.
17064         * sysdeps/s390/multiarch/Makefile
17065         (sysdep_routines): Add wmemset functions.
17066         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17067         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
17068         * wcsmbs/wmemset.c: Use WMEMSET if defined.
17069         * string/test-memset.c: Add wmemset support.
17070         * wcsmbs/test-wmemset.c: New File.
17071         * wcsmbs/Makefile (strop-tests): Add wmemset.
17072         * benchtests/bench-memset.c: Add wmemset support.
17073         * benchtests/bench-wmemset.c: New File.
17074         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
17076         * sysdeps/s390/multiarch/memccpy-c.c: New File.
17077         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
17078         * sysdeps/s390/multiarch/memccpy.c: Likewise.
17079         * sysdeps/s390/multiarch/Makefile
17080         (sysdep_routines): Add memccpy functions.
17081         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17082         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
17083         * string/memccpy.c: Use MEMCCPY if defined.
17085         * sysdeps/s390/multiarch/memchr-vx.S: New File.
17086         * sysdeps/s390/multiarch/memchr.c: Likewise.
17087         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
17088         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
17089         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
17090         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
17091         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
17092         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
17093         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
17094         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
17095         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
17096         and rawmemchr functions.
17097         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17098         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
17099         and wmemchr.
17100         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
17101         * string/test-memchr.c: Add wmemchr support.
17102         * wcsmbs/test-wmemchr.c: New File.
17103         * wcsmbs/Makefile (strop-tests): Add wmemchr.
17104         * benchtests/bench-memchr.c: Add wmemchr support.
17105         * benchtests/bench-wmemchr.c: New File.
17106         * benchtests/Makefile (wcsmbs-bench): wmemchr.
17108         * sysdeps/s390/multiarch/strcspn-c.c: New File.
17109         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
17110         * sysdeps/s390/multiarch/strcspn.c: Likewise.
17111         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
17112         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
17113         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
17114         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
17115         wcscspn functions.
17116         * sysdeps/s390/multiarch/ifunc-impl-list.c
17117         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
17118         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
17119         * string/test-strcspn.c: Add wcscspn support.
17120         * wcsmbs/test-wcscspn.c: New File.
17121         * wcsmbs/Makefile (strop-tests): Add wcscspn.
17122         * benchtests/bench-strcspn.c: Add wcscspn support.
17123         * benchtests/bench-wcscspn.c: New File.
17124         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17126         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17127         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17128         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17129         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17130         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17131         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17132         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17133         wcspbrk functions.
17134         * sysdeps/s390/multiarch/ifunc-impl-list.c
17135         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17136         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17137         * string/test-strpbrk.c: Add wcspbrk support.
17138         * wcsmbs/test-wcspbrk.c: New File.
17139         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17140         * benchtests/bench-strpbrk.c: Add wcspbrk support.
17141         * benchtests/bench-wcspbrk.c: New File.
17142         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
17144         * sysdeps/s390/multiarch/strspn-c.c: New File.
17145         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17146         * sysdeps/s390/multiarch/strspn.c: Likewise.
17147         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
17148         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
17149         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
17150         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
17151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
17152         wcsspn functions.
17153         * sysdeps/s390/multiarch/ifunc-impl-list.c
17154         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17155         * string/test-strspn.c: Add wcsspn support.
17156         * wcsmbs/test-wcsspn.c: New File.
17157         * wcsmbs/Makefile (strop-tests): Add wcsspn.
17158         * benchtests/bench-strspn.c: Add wcsspn support.
17159         * benchtests/bench-wcsspn.c: New File.
17160         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17162         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17163         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17164         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17165         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17166         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17167         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17168         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17169         wcsrchr functions.
17170         * sysdeps/s390/multiarch/ifunc-impl-list.c
17171         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17172         * benchtests/bench-wcsrchr.c: New File.
17173         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17175         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17176         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17177         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17178         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17179         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17180         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17182         wcschrnul functions.
17183         * sysdeps/s390/multiarch/ifunc-impl-list.c
17184         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17185         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17186         * string/test-strchr.c: Add wcschrnul support.
17187         * wcsmbs/test-wcschrnul.c: New File.
17188         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17189         * benchtests/bench-strchr.c: Add wcschrnul support.
17190         * benchtests/bench-wcschrnul.c: New File.
17191         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17193         * sysdeps/s390/multiarch/strchr-c.c: New File.
17194         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17195         * sysdeps/s390/multiarch/strchr.c: Likewise.
17196         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17197         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17198         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17200         wcschr functions.
17201         * sysdeps/s390/multiarch/ifunc-impl-list.c
17202         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17203         * string/strchr.c (STRCHR): Define and use macro.
17204         * benchtests/bench-wcschr.c: New File.
17205         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17207         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17208         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17209         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17210         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17211         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17212         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17213         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17214         wcsncmp functions.
17215         * sysdeps/s390/multiarch/ifunc-impl-list.c
17216         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17217         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17218         * benchtests/bench-strncmp.c: Add wcsncmp support.
17219         * benchtests/bench-wcsncmp.c: New File.
17220         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17222         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17223         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17224         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17225         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17226         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17227         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17228         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17229         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17230         wcscmp functions.
17231         * sysdeps/s390/multiarch/ifunc-impl-list.c
17232         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17233         * string/strcmp.c (STRCMP): Define and use macro.
17234         * benchtests/bench-wcscmp.c: New File.
17235         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17236         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17237         instead of _HAVE_STRING_ARCH_memchr.
17239         * sysdeps/s390/multiarch/strncat-c.c: New File.
17240         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17241         * sysdeps/s390/multiarch/strncat.c: Likewise.
17242         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17243         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17244         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17245         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17246         wcsncat functions.
17247         * sysdeps/s390/multiarch/ifunc-impl-list.c
17248         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17249         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17250         * string/test-strncat.c: Add wcsncat support.
17251         * wcsmbs/test-wcsncat.c: New File.
17252         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17253         * benchtests/bench-strncat.c: Add wcsncat support.
17254         * benchtests/bench-wcsncat.c: New File.
17255         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17257         * sysdeps/s390/multiarch/strcat-c.c: New File.
17258         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17259         * sysdeps/s390/multiarch/strcat.c: Likewise.
17260         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17261         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17262         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17263         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17264         wcscat functions.
17265         * sysdeps/s390/multiarch/ifunc-impl-list.c
17266         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17267         * string/strcat.c (STRCAT): Define and use macro.
17268         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17269         * string/test-strcat.c: Add wcscat support.
17270         * wcsmbs/test-wcscat.c: New File.
17271         * wcsmbs/Makefile (strop-tests): Add wcscat.
17272         * benchtests/bench-strcat.c: Add wcscat support.
17273         * benchtests/bench-wcscat.c: New File.
17274         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17276         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17277         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17278         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17279         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17280         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17281         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17283         wcpncpy functions.
17284         * sysdeps/s390/multiarch/ifunc-impl-list.c
17285         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17286         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17287         * string/test-stpncpy.c: Add wcpncpy support.
17288         * wcsmbs/test-wcpncpy.c: New File.
17289         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17290         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17291         * benchtests/bench-wcpncpy.c: New File.
17292         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17294         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17295         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17296         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17297         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17298         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17299         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17300         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17302         wcsncpy functions.
17303         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17304         * sysdeps/s390/multiarch/ifunc-impl-list.c
17305         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17306         * string/test-strncpy.c: Add wcsncpy support.
17307         * wcsmbs/test-wcsncpy.c: New File.
17308         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17309         * benchtests/bench-strncpy.c: Add wcsncpy support.
17310         * benchtests/bench-wcsncpy.c: New File.
17311         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17313         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17314         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17315         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17316         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17317         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17318         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17319         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17320         wcpcpy functions.
17321         * string/stpcpy.c: Use STPCPY if defined.
17322         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17323         * sysdeps/s390/multiarch/ifunc-impl-list.c
17324         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17325         * string/test-stpcpy.c: Add wcpcpy support.
17326         * wcsmbs/test-wcpcpy.c: New File.
17327         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17328         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17329         * benchtests/bench-wcpcpy.c: New File.
17330         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17332         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17333         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17334         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17335         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17336         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17337         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17338         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17339         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17340         wcscpy functions.
17341         * sysdeps/s390/multiarch/ifunc-impl-list.c
17342         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17343         * benchtests/bench-wcscpy.c: New File.
17344         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17346         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17347         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17348         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17349         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17350         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17351         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17352         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17353         wcsnlen functions.
17354         * sysdeps/s390/multiarch/ifunc-impl-list.c
17355         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17356         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17357         * string/test-strnlen.c: Add wcsnlen support.
17358         * wcsmbs/test-wcsnlen.c: New File.
17359         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17360         * benchtests/bench-strnlen.c: Add wcsnlen support.
17361         * benchtests/bench-wcsnlen.c: New File.
17362         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17364         * sysdeps/s390/multiarch/Makefile: New File.
17365         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17366         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17367         * sysdeps/s390/multiarch/strlen.c: Likewise.
17368         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17369         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17370         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17371         * string/strlen.c (STRLEN): Define and use macro.
17372         * sysdeps/s390/multiarch/ifunc-impl-list.c
17373         (IFUNC_VX_IMPL): New macro function.
17374         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17375         * benchtests/Makefile (wcsmbs-bench): New variable.
17376         (string-bench-all): Added wcsmbs-bench.
17377         * benchtests/bench-wcslen.c: New File.
17379         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17380         s390_vx_libc_ifunc2): New macro function.
17382         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17383         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17384         assembler support.
17385         * sysdeps/s390/configure: Regenerated.
17387         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17388         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17390         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17391         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17392         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17394         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17395         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17396         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17397         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17398         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17399         (memcmp, bcmp): Use __memcmp_default as alias source.
17400         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17401         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17402         Rename to __memcmp_default.
17403         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17404         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17405         (memcpy): Use __memcpy_default as alias source.
17406         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17407         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17408         Rename to __memcpy_default.
17409         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17410         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17411         (memset): Use __memset_default as alias source.
17412         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17413         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17414         Rename to __memset_default.
17415         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17416         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17417         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17418         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17419         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17420         (memcmp, bcmp): Use __memcmp_default as alias source.
17421         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17422         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17423         Rename to __memcmp_default.
17424         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17425         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17426         (memcpy): Use __memcpy_default as alias source.
17427         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17428         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17429         Rename to __memcpy_default.
17430         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17431         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17432         (memset): Use __memset_default as alias source.
17433         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17434         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17435         Rename to __memset_default.
17436         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17437         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17439         [BZ #18610]
17440         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17441         __ieee_instruction_pointer to __unused.
17442         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17443         __ieee_instruction_pointer.
17444         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17445         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17446         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17447         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17448         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17449         Mark dxc-field as reserved.
17451 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17453         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17454         if the weak reference is not null.
17456 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17458         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17460         [BZ #11214]
17461         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17463 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17465         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17466         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17467         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17468         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17469         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17470         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17471         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17472         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17473         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17474         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17475         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17476         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17477         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17478         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17479         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17480         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17481         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17482         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17484 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17486         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17487         register other than r0 for tabort, it has special meaning.
17488         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17489         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17490         transaction before starting syscall.
17492 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17494         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17496 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17498         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17500         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17501         * sysdeps/x86_64/rtld-memset.S: Likewise.
17502         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17503         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17504         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17505         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17507         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17509 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17511         * debug/strcpy_chk.c: Improve performance.
17512         * debug/stpcpy_chk.c: Likewise.
17513         * sysdeps/x86_64/strcpy_chk.S: Remove.
17514         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17516         [BZ #18240]
17517         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17519 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17521         [BZ #15128]
17522         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17523         ifuncmain8.
17524         (modules-names): Add ifuncmod8.
17525         ($(objpfx)ifuncmain8): New rule.
17526         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17527         <cpuid.h>.
17528         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17529         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17530         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17531         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17532         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17533         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17534         * sysdeps/x86_64/ifuncmain8.c: New file.
17535         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17536         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17537         Removed.
17538         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17539         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17540         Change rtld_savespace_sse to __glibc_unused2.
17541         (RTLD_CHECK_FOREIGN_CALL): Removed.
17542         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17543         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17544         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17546 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17548         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17550 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17552         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17553         Unconditionally set __fpcr to avoid uninialized warning.
17554         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17556 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17558         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17559         is corrupt.
17561         * malloc/arena.c (arena_get2): Drop unused argument.
17562         (arena_lock): Adjust.
17563         (arena_get_retry): Likewise.
17565 2015-08-24  Andreas Schwab  <schwab@suse.de>
17567         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17568         Don't define.
17569         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17570         (__ASSUME_IPC64): Don't undef.
17571         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17572         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17573         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17574         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17575         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17576         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17577         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17578         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17579         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17580         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17581         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17582         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17583         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17584         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17585         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17586         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17587         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17588         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17589         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17590         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17591         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17593 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17595         * manual/Makefile (install): Only build manual when perl is available.
17597 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17599         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17600         '#undef memcpy' by '#undef memchr'.
17602 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17604         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17605         memchr not point to the internal __GI_memchr implementation.
17607 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17609         * timezone/Makefile (CFLAGS-zdump.c): Remove
17610         -Wno-strict-prototypes.
17611         (CFLAGS-zic.c): Likewise.
17612         (CFLAGS-ialloc.c): Likewise.
17613         (CFLAGS-scheck.c): Likewise.
17615         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17616         -Wno-error=undef.
17618 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17620         * i386/i686/multiarch/strcasestr-c.c: Removed.
17621         * x86_64/multiarch/strcasestr.c: Likewise.
17622         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17623         Remove strcasestr.
17625 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17627         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17629         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17630         variables for high and low parts before possibly modifying them.
17632 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17634         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17635         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17636         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17637         of "multiarch/init-arch.h".
17638         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17639         * sysdeps/x86/init-arch.h: This.
17641 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17643         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17644         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17646 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17648         [BZ #17787]
17649         * manual/macros.texi: Add twoexp macro.
17650         * manual/filesys.texi: Fix exponents.
17651         * manual/llio.texi: Likewise.
17652         * manual/stdio.texi: Likewise.
17654 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17656         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17657         incorrect use.
17659 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17661         [BZ #18370]
17662         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17663         whose real or imaginary part has small absolute value.
17664         * math/s_csqrtf.c (__csqrtf): Likewise.
17665         * math/s_csqrtl.c (__csqrtl): Likewise.
17666         * math/auto-libm-test-in: Add more tests of csqrt.
17667         * math/auto-libm-test-out: Regenerated.
17668         * sysdeps/i386/fpu/libm-test-ulps: Update.
17670 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17672         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17673         __ppc_set_ppr_very_low): New functions.
17674         * manual/platform.texi: Add documentation about
17675         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17677 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17679         * string/stpncpy.c (stpncpy): Improve performance using
17680         __strnlen/memcpy/memset.
17682 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17684         [BZ #18796]
17685         * scripts/test-installation.pl: Don't add -lmvec to build options if
17686         libmvec wasn't built.
17688 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17690         [BZ #14341]
17691         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17692         case when there is a gap between DT_REL and DT_JMPREL sections.
17693         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17694         (LDFLAGS-tst-split-dynreloc): New.
17695         (tst-split-dynreloc-ENV): Likewise.
17696         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17697         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17699 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17701         [BZ #18822]
17702         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17703         attribute_hidden.
17704         (__xstat64_conv): Likewise.
17705         (__xstat32_conv): Likewise.
17707 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17709         [BZ #18822]
17710         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17711         Don't load %ebx when calling __setcontext.  Call __setcontext
17712         with HIDDEN_JUMPTARGET.
17713         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17714         libc_hidden_def.
17716 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17718         * sysdeps/i386/i686/Makefile
17719         [$(subdir) == string] (sysdep_routines): Moved to ...
17720         * sysdeps/i386/Makefile: Here.
17721         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17722         * sysdeps/i386/cacheinfo.c: Here.
17723         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17724         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17725         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17726         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17728 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17730         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17731         __i586__ is defined.
17732         (HAS_I686): Defined to 1 if __i686__ is defined.
17734 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17736         * elf/Makefile [$(have-z-execstack) = yes]
17737         (CPPFLAGS-tst-execstack.c): New variable.
17739         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17740         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17741         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17742         UTMPX || _HAVE_UT_TV].
17743         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17744         UTMPX || _HAVE_UT_TV - 0].
17746 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17748         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17749         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17750         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17752 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17754         * sysdeps/powerpc/dl-procinfo.c:
17755         (_dl_powerpc_cap_flags): Added missing strings for some
17756         hwcap features.
17757         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17759 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17761         Port the 0x7efe...feff pattern to GCC 6.
17762         See Steve Ellcey's bug report in:
17763         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17764         * string/memrchr.c (MEMRCHR):
17765         * string/rawmemchr.c (RAWMEMCHR):
17766         * string/strchr.c (strchr):
17767         * string/strchrnul.c (STRCHRNUL):
17768         Rewrite code to avoid issues with signed shift overflow.
17770 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17772         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17773         whether cpuid is available only if HAS_CPUID is 0.
17774         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17775         (HAS_I586): Likewise.
17776         (HAS_I686): Likewise.
17778 2015-08-18  Zack Weinberg  <zackw@panix.com>
17780         * misc/Versions (libc): Add GLIBC_2.23.
17782 2015-08-18  Alan Modra  <amodra@gmail.com>
17784         [BZ #18421]
17785         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17786         .Lp__global.
17787         (_start): Load %dp via .Lp__global.
17788         [!SHARED]: Use .section .rodata.
17790 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17792         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17793         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17795 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17797         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17798         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17800 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17802         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17803         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17805 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17807         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17808         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17810 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17812         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17813         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17815 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17817         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17818         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17820 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17822         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17824 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17826         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17827         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17828         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17829         (__ASSUME_LWS_CAS): Delete.
17831 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17833         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17834         * sysdeps/hppa/configure: Regenerated.
17835         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17836         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17837         * sysdeps/hppa/nptl/tls.h: Likewise.
17839 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17841         [BZ #18823]
17842         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17843         for scaling up small arguments.
17844         * math/s_csqrtf.c (__csqrtf): Likewise.
17845         * math/s_csqrtl.c (__csqrtl): Likewise.
17846         * math/auto-libm-test-in: Add more tests of csqrt.
17847         * math/auto-libm-test-out: Regenerated.
17849 2015-08-17  Andreas Schwab  <schwab@suse.de>
17851         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17852         version set GLIBC_2.19.
17854 2015-08-16  Zack Weinberg  <zackw@panix.com>
17856         [BZ #18681]
17857         * misc/regexp.h: This interface is no longer supported.
17858         Remove all contents, leaving only an #error directive.
17859         * misc/regexp.c (loc1, loc2, locs, step, advance):
17860         Demote to compatibility symbols.
17862 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17864         [BZ #18084]
17865         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17866         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17867         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17868         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17869         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17870         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17871         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17872         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17873         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17875 2015-08-15  Zack Weinberg  <zackw@panix.com>
17877         [BZ #18795]
17878         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17879         buffer length is known to be too large, not if it's known to be
17880         small enough.
17881         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17882         overflow at runtime, involving a length parameter, twice: once
17883         with a compile-time constant length parameter, once without.
17885 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17887         [BZ #18824]
17888         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17889         scaling x * y up instead of down.
17890         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17891         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17892         * math/auto-libm-test-in: Add more tests of fma.
17893         * math/auto-libm-test-out: Regenerated.
17895 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17897         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17899 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17901         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17902         unnecessary movq.
17903         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17904         Likewise.
17906 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17908         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17909         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17910         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17911         and tgamma.
17912         * math/auto-libm-test-out: Regenerated.
17913         * sysdeps/i386/fpu/libm-test-ulps: Update.
17914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17916         [BZ #16520]
17917         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17918         (__tanh): Force underflow exception for arguments with small
17919         absolute value.
17920         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17921         (__tanhf): Force underflow exception for arguments with small
17922         absolute value.
17923         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17924         (__tanhl): Force underflow exception for arguments with small
17925         absolute value.
17926         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17927         (__tanhl): Force underflow exception for arguments with small
17928         absolute value.
17929         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17930         (__tanhl): Force underflow exception for arguments with small
17931         absolute value.
17932         * math/auto-libm-test-in: Add more tests of tanh.
17933         * math/auto-libm-test-out: Regenerated.
17934         * sysdeps/i386/fpu/libm-test-ulps: Update.
17936 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17938         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17939         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17941 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17943         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17944         <cpuid.h>.
17946 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17948         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17949         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17951 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17953         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17954         Remove $(objpfx)init-arch.o.
17955         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17956         init-arch.
17957         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17958         (INIT_ARCH_EXT): Defined as empty.
17959         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17960         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17961         __init_cpu_features call.  Replace HAS_XXX with
17962         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17963         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17964         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17965         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17966         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17967         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17968         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17969         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17970         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17971         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17972         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17973         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17974         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17975         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17976         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17977         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17978         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17979         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17980         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17981         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17982         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17983         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17984         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17985         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17986         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17987         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17988         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17989         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17990         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17991         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17992         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17993         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17994         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17995         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17996         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17997         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17999 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18001         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
18002         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18003         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18004         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18005         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
18006         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
18007         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
18008         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
18009         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
18010         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
18011         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
18012         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
18013         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18014         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18015         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18016         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18017         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18018         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18019         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18020         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18021         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18022         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18023         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18024         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18025         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18026         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18027         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18028         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18029         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18030         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18031         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18032         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18033         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18034         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18035         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18036         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18037         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18038         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18039         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18040         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18041         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18042         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18043         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18045 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18047         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
18048         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18049         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18050         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18051         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18052         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18053         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18054         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
18055         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18056         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18057         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18058         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
18059         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
18060         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
18061         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18062         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
18063         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
18064         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
18065         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
18066         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
18067         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18068         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
18069         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
18070         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18071         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18072         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
18073         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
18074         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
18075         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18076         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18077         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18078         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18079         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18080         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18081         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18082         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18083         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18084         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18085         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18086         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18087         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18088         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18089         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18091 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18093         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
18094         (dl_platform_init): Call init_cpu_features.
18095         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
18096         * sysdeps/i386/i686/cacheinfo.c
18097         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
18098         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
18099         * sysdeps/i386/i686/multiarch/Versions: Removed.
18100         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
18101         Removed.
18102         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
18103         * sysdeps/unix/sysv/linux/x86/Makefile
18104         (libpthread-sysdep_routines): Remove init-arch.
18105         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
18106         <sysdeps/x86_64/dl-procinfo.c> instead of
18107         sysdeps/generic/dl-procinfo.c>.
18108         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
18109         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
18110         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
18111         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
18112         [$(subdir) == elf] (tests-static): Add
18113         tst-get-cpu-features-static.
18114         * sysdeps/x86/Versions: New file.
18115         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
18116         * sysdeps/x86/cpu-features.c: Likewise.
18117         * sysdeps/x86/cpu-features.h: Likewise.
18118         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
18119         * sysdeps/x86/libc-start.c: Likewise.
18120         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18121         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18122         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18123         * sysdeps/x86_64/dl-procinfo.c: Likewise.
18124         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18125         Assume USE_MULTIARCH is defined and don't check it.
18126         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18127         (is_amd): Likewise.
18128         (max_cpuid): Likewise.
18129         (intel_check_word): Likewise.
18130         (__cache_sysconf): Don't call __init_cpu_features.
18131         (__x86_preferred_memory_instruction): Removed.
18132         (init_cacheinfo): Don't call __init_cpu_features. Replace
18133         __cpu_features with GLRO(dl_x86_cpu_features).
18134         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18135         (dl_platform_init): Call init_cpu_features.
18136         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18137         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18138         * sysdeps/x86_64/multiarch/Versions: Removed.
18139         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18140         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
18141         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
18142         Removed.
18143         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
18145 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18147         [BZ #18820]
18148         * libio/Makefile (test-fmemopen-mem): New test.
18149         * libio/test-fmemopen.c (do_bz18820): New test.
18150         * libio/fmemopen.c (__fmemopen): Fix memory leak.
18151         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
18153 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18155         [BZ #16734]
18156         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18157         (FREE_BUF): Delete.
18158         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18159         * libio/genops.c (_IO_setb): Use malloc and free directly.
18160         (_IO_default_doallocate, _IO_default_finish): Likewise.
18161         ( _IO_unbuffer_all): Likewise.
18162         ( libc_freeres_fn): Likewise.
18163         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18164         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18165         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18166         (_IO_wdefault_doallocate): Likewise.
18168 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18170         [BZ #18086]
18171         * sysdeps/posix/nice.c (nice): Restore old errno.
18172         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18174 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18176         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18178 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18180         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18181         __bcopy and add a weak_alias to bcopy.
18182         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18183         for static build.
18185         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18186         cleanup macro usage.
18187         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18188         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18189         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18190         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18191         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18192         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18193         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18194         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18195         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18196         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18197         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18198         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18199         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18200         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18201         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18202         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18203         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18204         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18205         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18207         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18208         libc_hidden_def.
18209         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18211         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18212         (sysdep_routines): Add strstr-ppc64.
18213         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18215 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18217         [BZ #18778]
18218         * elf/Makefile (tests): Add Add tst-nodelete2.
18219         (modules-names): Add tst-nodelete2mod.
18220         (tst-nodelete2mod.so-no-z-defs): New.
18221         ($(objpfx)tst-nodelete2): Likewise.
18222         ($(objpfx)tst-nodelete2.out): Likewise.
18223         (LDFLAGS-tst-nodelete2): Likewise.
18224         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18225         out of loop through all loaded libraries.
18226         * elf/tst-nodelete2.c: New file.
18227         * elf/tst-nodelete2mod.c: Likewise.
18228         * elf/tst-znodelete-zlib.cc: Delete.
18230 2015-08-11  Andreas Schwab  <schwab@suse.de>
18232         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18233         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18234         (__openat64_nocancel): Likewise.
18236 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18238         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18239         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18240         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18241         * math/auto-libm-test-out: Regenerated.
18242         * sysdeps/i386/fpu/libm-test-ulps: Update.
18243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18245 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18247         [BZ #18790]
18248         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18249         threshold for returning +/- 1.
18250         * math/auto-libm-test-in: Add more tests of tanh.
18251         * math/auto-libm-test-out: Regenerated.
18252         * sysdeps/i386/fpu/libm-test-ulps: Update.
18254 2015-08-10  Andreas Schwab  <schwab@suse.de>
18256         [BZ #18781]
18257         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18258         MORE_OFLAGS to oflag.
18259         * io/test-lfs.c (do_test): Test openat64.
18261 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18263         [BZ #18789]
18264         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18265         smaller threshold for returning the argument.
18266         * math/auto-libm-test-in: Add more tests of sinh.
18267         * math/auto-libm-test-out: Regenerated.
18268         * sysdeps/i386/fpu/libm-test-ulps: Update.
18270 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18272         [BZ #18674]
18273         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18274         break.
18276 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18278         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18279         (generated): Don't add $(addprefix z.,$(tzfiles)).
18281 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18283         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18284         * scripts/sysd-rules.awk: Likewise.
18286 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18288         * iconvdata/tst-tables.sh: Change echo -n to printf.
18289         * nss/db-Makefile: Likewise.
18290         * posix/tst-getconf.sh: Likewise.
18291         * stdio-common/tst-unbputc.sh: Likewise.
18293 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18295         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18296         MADV_*_PAGES defines behind this feature check.
18298 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18300         [BZ #18480]
18301         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18302         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18303         Define.
18304         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18305         LOAD_REGS_5, LOAD_REGS_6): Update.
18306         (INTERNAL_SYSCALL): Update using new LOAD defines.
18307         (INTERNAL_SYSCALL_NCS): Likewise.
18308         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18310 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18312         [BZ #16734]
18313         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18315 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18317         [BZ #17905]
18318         * catgets/Makefile (tst-catgets-mem): New test.
18319         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18320         * catgets/open_catalog.c (__open_catalog): Likewise.
18321         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18323 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18325         [BZ #18787]
18326         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18327         clobber registers.
18328         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18329         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18330         Cast return to __typeof (oldval).
18332 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18334         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18335         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18336         and delete sys/syscall.h include.
18338 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18340         [BZ #16517]
18341         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18342         (tan): Force underflow exception for arguments with small absolute
18343         value.
18344         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18345         (__kernel_tanf): Force underflow exception for arguments with
18346         small absolute value.
18347         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18348         (__kernel_tanl): Force underflow exception for arguments with
18349         small absolute value.
18350         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18351         (__kernel_tanl): Force underflow exception for arguments with
18352         small absolute value.
18353         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18354         (__kernel_tanl): Force underflow exception for arguments with
18355         small absolute value.
18356         * math/auto-libm-test-in: Add more tests of tan.
18357         * math/auto-libm-test-out: Regenerated.
18359 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18361         Fix sysdeps/i386/fpu/s_scalbn.S build
18363         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18365 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18367         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18369 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18371         Fix gcrt0.o compilation
18373         When static-start-installed-name is different from
18374         start-installed-name, we must not use the shared objects.
18376         * csu/Makefile
18377         (extra-objs): Add gmon-start.o when building shared library and
18378         $(static-start-installed-name) is different from
18379         $(start-installed-name).
18380         $(objpfx)g$(static-start-installed-name): When building shared
18381         library and $(static-start-installed-name) is different from
18382         $(static-start-installed-name), revert to non-shared rule,
18383         i.e. using $(objpfx)% and gmon-start.o.
18385 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18387         [BZ #16519]
18388         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18389         (__ieee754_sinh): Force underflow exception for arguments with
18390         small absolute value.
18391         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18392         (__ieee754_sinhf): Force underflow exception for arguments with
18393         small absolute value.
18394         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18395         (__ieee754_sinhl): Force underflow exception for arguments with
18396         small absolute value.
18397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18398         (__ieee754_sinhl): Force underflow exception for arguments with
18399         small absolute value.
18400         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18401         (__ieee754_sinhl): Force underflow exception for arguments with
18402         small absolute value.
18403         * math/auto-libm-test-in: Add more tests of sinh.
18404         * math/auto-libm-test-out: Regenerated.
18405         * sysdeps/i386/fpu/libm-test-ulps: Update.
18407 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18409         * libio/oldfileops.c: Include unistd.h.
18411 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18413         * stdlib/isomac.c: Include ctype.h.
18415 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18417         * dirent/tst-seekdir.c (main): Converted to ...
18418         (do_test): ... this.
18419         (TEST_FUNCTION): New macro.
18420         Include test-skeleton.c.
18421         * elf/tst-dlmodcount.c (main): Converted to ...
18422         (do_test): ... this.
18423         (TEST_FUNCTION): New macro.
18424         Include test-skeleton.c.
18425         * elf/tst-order-main.c (main): Converted to ...
18426         (do_test): ... this.
18427         (TEST_FUNCTION): New macro.
18428         Include test-skeleton.c.
18429         * elf/tst-pie2.c (main): Converted to ...
18430         (do_test): ... this.
18431         (TEST_FUNCTION): New macro.
18432         Include test-skeleton.c.
18433         * inet/tst-ether_aton.c (main): Converted to ...
18434         (do_test): ... this.
18435         (TEST_FUNCTION): New macro.
18436         Include test-skeleton.c.
18437         * misc/tst-mntent.c (main): Converted to ...
18438         (do_test): ... this.
18439         (TEST_FUNCTION): New macro.
18440         Include test-skeleton.c.
18441         * misc/tst-tsearch.c (main): Converted to ...
18442         (do_test): ... this.
18443         (TEST_FUNCTION): New macro.
18444         Include test-skeleton.c.
18445         * posix/tst-regexloc.c (main): Converted to ...
18446         (do_test): ... this.
18447         (TEST_FUNCTION): New macro.
18448         Include test-skeleton.c.
18449         * resolv/tst-aton.c (main): Converted to ...
18450         (do_test): ... this.
18451         (TEST_FUNCTION): New macro.
18452         Include test-skeleton.c.
18453         * stdio-common/test-fwrite.c (main): Converted to ...
18454         (do_test): ... this.
18455         (TEST_FUNCTION): New macro.
18456         Include test-skeleton.c.
18457         * stdio-common/tst-ferror.c (main): Converted to ...
18458         (do_test): ... this.
18459         (TEST_FUNCTION): New macro.
18460         Include test-skeleton.c.
18461         * stdio-common/tst-printf.c (main): Converted to ...
18462         (do_test): ... this.
18463         (TEST_FUNCTION): New macro.
18464         Include test-skeleton.c.
18465         * stdio-common/tst-printfsz.c (main): Converted to ...
18466         (do_test): ... this.
18467         (TEST_FUNCTION): New macro.
18468         Include test-skeleton.c.
18469         * stdlib/tst-strtod.c (main): Converted to ...
18470         (do_test): ... this.
18471         (TEST_FUNCTION): New macro.
18472         Include test-skeleton.c.
18473         * string/tst-strlen.c (main): Converted to ...
18474         (do_test): ... this.
18475         (TEST_FUNCTION): New macro.
18476         Include test-skeleton.c.
18477         * string/tst-svc.c (main): Converted to ...
18478         (do_test): ... this.
18479         (TEST_FUNCTION): New macro.
18480         Include test-skeleton.c.
18481         * time/tst-strptime.c (main): Converted to ...
18482         (do_test): ... this.
18483         (TEST_FUNCTION): New macro.
18484         Include test-skeleton.c.
18485         * timezone/tst-timezone.c (main): Converted to ...
18486         (do_test): ... this.
18487         (TEST_FUNCTION): New macro.
18488         Include test-skeleton.c.
18490 2015-08-05  Zack Weinberg  <zackw@panix.com>
18492         * misc/regexp.h: Update comments.
18494 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18496         [BZ #18635]
18497         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18498         before return label.
18500 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18502         [BZ #18661]
18503         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18504         when calling __errno_location.
18505         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18506         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18508 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18510         [BZ #18661]
18511         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18512         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18513         __gettimeofday.
18515 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18517         [BZ #18661]
18518         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18519         (__start_context): Don't use pop to restore %rdi so that stack
18520         is aligned to 16 bytes when calling __setcontext.
18522 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18524         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18525         only for libc.
18526         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18528 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18530         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18531         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18532         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18534 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18536         * string/memccpy.c (memccpy):
18537         Improve performance by using memchr/memcpy/__mempcpy.
18539 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18541         * string/strncpy.c (strncpy):
18542         Improve performance by using __strnlen/memcpy.
18544 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18546         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18547         Optimize to avoid an unnecessary FPCR read.
18549 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18551         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18552         Optimize to reduce FPCR/FPSR accesses.
18554 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18556         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18557         dead->data[category] != NULL.
18559 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18561         [BZ #18647]
18562         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18563         and |x| close to 1, use absolute value of x when computing log.
18564         * math/auto-libm-test-in: Add more tests of pow.
18565         * math/auto-libm-test-out: Regenerated.
18567 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18569         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18570         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18571         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18573 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18575         [BZ #18525]
18576         * locales/km_KH: Remove timezone definition.
18577         * locales/lo_LA: Likewise.
18578         * locales/my_MM: Likewise.
18579         * locales/nan_TW@latin: Likewise.
18580         * locales/th_TH: Likewise.
18581         * locales/uk_UA: Likewise.
18583 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18585         [BZ #18265]
18586         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18587         (wcsncat): Likewise.
18588         (wcscmp): Likewise.
18589         (wcsncmp): Likewise.
18591 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18593         * test-skeleton.c (usage): New function.
18594         (main): Call usage when opt is '?'.
18596 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18598         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18599         before first use.
18601 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18603         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18604         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18605         in there too.
18607 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18609         * version.h (RELEASE): Set to "development".
18610         (VERSION): Set to "2.22.90"
18612         * version.h (RELEASE): Set to "stable".
18613         (VERSION): Set to "2.22"
18614         * include/features.h (__GLIBC_MINOR__): Set to 22.
18616 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18618         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18619         Restructure macro to avoid "value computed is not used" warning.
18620         (atomic_compare_and_exchange_val_acq): Likewise.
18622 2015-08-04  Andreas Schwab  <schwab@suse.de>
18624         [BZ #18635]
18625         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18626         ret.
18627         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18629 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18631         * po/pl.po: Updated translation.
18632         * po/uk.po: Likewise.
18633         * po/fi.po: Likewise.
18634         * po/ko.po: Likewise.
18635         * po/ru.po: Likewise.
18636         * po/vi.po: Likewise.
18638 2015-07-31  Zack Weinberg  <zackw@panix.com>
18640         [BZ #18681]
18641         * regexp.h: Add unconditional #warning stating that this header
18642         will be removed soon.  Revise banner comment to match.
18643         (compile): Consistently use ERROR instead of RETURN to report
18644         errors (partial fix for bz#18681).
18645         * regexp.c: Don't include regexp.h. Remove some unnecessary
18646         declarations.
18648 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18650         * po/libc.pot: Regenerated.
18652 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18654         [BZ #18740]
18655         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18656         float-vlen4-arch-ext-cflags): Removed.
18657         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18658         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18660 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18662         [BZ #14113]
18663         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18664         aligned to __aligned__.
18665         (pthread_cond_t, pthread_rwlock_t): Likewise.
18667 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18669         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18671 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18673         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18674         (struct sigaction): Change sa_flags from a long to an int, and add
18675         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18677 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18679         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18680         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18681         sysdeps/generic/sysdep.h include.
18682         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18683         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18684         sysdeps/hppa/sysdep.h.
18685         (ENTRY, PSEUDO): Undefine before defining.
18687 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18689         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18690         from scratch to use INTERNAL_SYSCALL.
18692 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18694         [BZ #18078]
18695         * scripts/check-localplt.awk: Support alternate relocations.
18696         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18697         sections.
18698         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18699         malloc entries with + REL R_386_GLOB_DAT.
18700         * sysdeps/x86_64/localplt.data: New file.
18702 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18704         [BZ #18731]
18705         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18706         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18707         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18709 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18711         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18713 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18715         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18716         directly in terms of __sync_fetch_and_add and delete (int) cast.
18718 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18720         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18721         the -D_ASM_IA64_CURRENT_H flag.
18723 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18725         [BZ #18641]
18726         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18728 2015-07-27  Andreas Schwab  <schwab@suse.de>
18730         * conform/conformtest.pl (checknamespace): Filter out string
18731         literals while tokenizing.
18733 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18735         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18736         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18737         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18739 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18741         * nptl/tst-join7mod.c: Add #include <string.h>.
18743 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18745         * sysdeps/nios2/libm-test-ulps: Update.
18747 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18749         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18750         Fix order of arguments to the rt_sigprocmask syscall.
18751         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18752         Likewise.
18754 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18756         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18758 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18760         [BZ #18457]
18761         * nptl/Makefile (tests): New test case tst-join7.
18762         (modules-names): New test case module tst-join7mod.
18763         * nptl/tst-join7.c: New file.
18764         * nptl/tst-join7mod.c: New file.
18765         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18766         all translation units in libc.so, libpthread.so and rtld.
18768 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18772 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18774         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18775         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18776         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18777         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18778         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18779         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18780         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18781         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18782         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18783         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18784         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18785         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18786         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18787         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18788         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18789         implementation.
18791 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18793         [BZ #17711]
18794         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18795         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18796         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18797         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18798         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18799         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18801 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18803         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18804         instead of just saying load lock in the comments.
18806 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18808         * sysdeps/unix/Subdirs: Moved ...
18809         * sysdeps/posix/Subdirs: ... here.
18810         * login/pty.h (struct termios, struct winsize): Add forward decls.
18811         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18812         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18813         * sysdeps/arm/nacl/libc.abilist: Updated.
18814         * sysdeps/nacl/libutil.abilist: New file.
18816         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18817         (SIGWINCH): New macro.
18819         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18820         * sysdeps/arm/nacl/libc.abilist: Add it.
18822 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18824         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18826 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18828         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18829         Swap __glibc_reserved0 and sa_flags order.
18831 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18833         [BZ #18657]
18834         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18835         are pending TLS destructor calls.
18836         * include/link.h (struct link_map): Add concurrency note for
18837         L_TLS_DTOR_COUNT.
18838         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18839         Don't touch the link map flag.  Atomically increment
18840         l_tls_dtor_count.
18841         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18842         Avoid taking the load lock and don't touch the link map flag.
18843         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18844         * stdlib/Makefile (tests): Use it.
18845         * stdlib/tst-tls-atexit.c (do_test): dlopen
18846         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18847         to allow tst-tls-atexit-nodelete test case to use it.
18849 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18851         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18852         to bits/types.h.
18853         (msgqnum_t): New typedef.
18854         (msglen_t): Likewise.
18855         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18856         and msg_qbytes type to msglen_t.
18858 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18860         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18861         pad0 to __glibc_reserved0.
18862         (struct stat64): Likewise.
18864 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18866         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18867         Change sa_flags from a long to an int and add __glibc_reserved0 before
18868         it for padding.
18870 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18872         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18873         anonymous by deleting "siginfo" name.
18875 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18877         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18878         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18879         rather than __nacl_irt_filename.
18880         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18882         * NEWS: New item for arm-nacl port.
18883         * sysdeps/arm/nacl/libc.abilist: New file.
18884         * sysdeps/nacl/ld.abilist: New file.
18885         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18886         * sysdeps/nacl/libanl.abilist: New file.
18887         * sysdeps/nacl/libcrypt.abilist: New file.
18888         * sysdeps/nacl/libdl.abilist: New file.
18889         * sysdeps/nacl/libm.abilist: New file.
18890         * sysdeps/nacl/libpthread.abilist: New file.
18891         * sysdeps/nacl/libresolv.abilist: New file.
18892         * sysdeps/nacl/librt.abilist: New file.
18894 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18896         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18897         __startcontext to initialize the new context.
18898         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18899         up CFI directive to forbid further backtracing.
18901 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18903         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18904         reference.
18905         * charmaps/ANSI_X3.4-1968: Likewise.
18906         * charmaps/BS_4730: Likewise.
18907         * charmaps/BS_VIEWDATA: Likewise.
18908         * charmaps/CP1250: Likewise.
18909         * charmaps/CP1251: Likewise.
18910         * charmaps/CP1252: Likewise.
18911         * charmaps/CP1253: Likewise.
18912         * charmaps/CP1254: Likewise.
18913         * charmaps/CP1255: Likewise.
18914         * charmaps/CP1256: Likewise.
18915         * charmaps/CSN_369103: Likewise.
18916         * charmaps/EBCDIC-DK-NO: Likewise.
18917         * charmaps/GB_1988-80: Likewise.
18918         * charmaps/GREEK-CCITT: Likewise.
18919         * charmaps/GREEK7: Likewise.
18920         * charmaps/INIS-8: Likewise.
18921         * charmaps/ISIRI-3342: Likewise.
18922         * charmaps/ISO_2033-1983: Likewise.
18923         * charmaps/ISO_5427-EXT: Likewise.
18924         * locales/POSIX: Likewise.
18925         * locales/ar_SA: Likewise.
18926         * locales/be_BY: Likewise.
18927         * locales/be_BY@latin: Likewise.
18928         * locales/ca_ES: Likewise.
18929         * locales/cs_CZ: Likewise.
18930         * locales/da_DK: Likewise.
18931         * locales/de_BE: Likewise.
18932         * locales/de_CH: Likewise.
18933         * locales/de_LU: Likewise.
18934         * locales/en_AU: Likewise.
18935         * locales/en_BW: Likewise.
18936         * locales/en_CA: Likewise.
18937         * locales/en_DK: Likewise.
18938         * locales/en_GB: Likewise.
18939         * locales/en_IE: Likewise.
18940         * locales/en_NZ: Likewise.
18941         * locales/en_ZA: Likewise.
18942         * locales/en_ZW: Likewise.
18943         * locales/es_AR: Likewise.
18944         * locales/es_BO: Likewise.
18945         * locales/es_CL: Likewise.
18946         * locales/es_CO: Likewise.
18947         * locales/es_DO: Likewise.
18948         * locales/es_EC: Likewise.
18949         * locales/es_ES: Likewise.
18950         * locales/es_HN: Likewise.
18951         * locales/es_MX: Likewise.
18952         * locales/es_PA: Likewise.
18953         * locales/es_PE: Likewise.
18954         * locales/es_PY: Likewise.
18955         * locales/es_SV: Likewise.
18956         * locales/es_US: Likewise.
18957         * locales/es_UY: Likewise.
18958         * locales/es_VE: Likewise.
18959         * locales/et_EE: Likewise.
18960         * locales/fa_IR: Likewise.
18961         * locales/fo_FO: Likewise.
18962         * locales/fr_CA: Likewise.
18963         * locales/fr_CH: Likewise.
18964         * locales/gv_GB: Likewise.
18965         * locales/he_IL: Likewise.
18966         * locales/hr_HR: Likewise.
18967         * locales/id_ID: Likewise.
18968         * locales/is_IS: Likewise.
18969         * locales/it_CH: Likewise.
18970         * locales/iw_IL: Likewise.
18971         * locales/kl_GL: Likewise.
18972         * locales/ko_KR: Likewise.
18973         * locales/kw_GB: Likewise.
18974         * locales/lg_UG: Likewise.
18975         * locales/lt_LT: Likewise.
18976         * locales/lv_LV: Likewise.
18977         * locales/mi_NZ: Likewise.
18978         * locales/nhn_MX: Likewise.
18979         * locales/nl_BE: Likewise.
18980         * locales/pl_PL: Likewise.
18981         * locales/sk_SK: Likewise.
18982         * locales/sl_SI: Likewise.
18983         * locales/sv_FI: Likewise.
18984         * locales/tl_PH: Likewise.
18985         * locales/tr_TR: Likewise.
18986         * locales/vi_VN: Likewise.
18988 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18990         [BZ #17475]
18991         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18992         of tu_IN and bh_IN.
18994 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18996         [BZ #18694]
18997         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18998         bits/wordsize.h.
18999         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
19001 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19003         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
19004         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
19005         (spawn_thread): New function.
19006         (load): Rename to reg_dtor_and_close.  Move dlopen to...
19007         (do_test): ... here.  Use IS_LOADED to test for its
19008         availability.
19010 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
19012         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19014 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
19016         [BZ #18696]
19017         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
19018         si_addr_bnd.
19019         (si_lower): New.
19020         (si_upper): Likewise.
19022 2015-07-16  David S. Miller  <davem@davemloft.net>
19024         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
19026 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19028         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
19029         buffer.
19030         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
19031         fail output information.
19033 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
19036         and strstr-ppc64..
19037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19038         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
19039         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
19040         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
19041         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
19043 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19045         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19046         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19047         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19048         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19050 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19052         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19053         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
19054         rtld_hidden_proto.
19055         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
19057 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19059         * tst-nodelete-opened.c (do_test): Add comment to clarify how
19060         the test can fail.
19062         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
19064         [BZ #18676]
19065         * elf/tst-nodelete-opened.c: New test case.
19066         * elf/tst-nodelete-opened-lib.c: New test case module.
19067         * elf/Makefile (tests, modules-names): Use them.
19068         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
19069         early.
19071 2015-07-15  David S. Miller  <davem@davemloft.net>
19073         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
19074         futex-intenal.h
19075         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
19076         * sysdeps/sparc/sparc64/Makefile: Likewise.
19077         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19078         Remove space from macro define.
19079         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
19081 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
19083         [BZ #17475]
19084         * locale/iso-639.def: Update Bhili and Tulu language codes as
19085         per iso639-3.
19087 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
19089         * elf/tst-leaks1.c (main): Converted to ...
19090         (do_test): ... this.
19091         (TEST_FUNCTION): New macro.
19092         Include test-skeleton.c.
19093         * localedata/tst-langinfo.c (main): Converted to ...
19094         (do_test): ... this.
19095         (TEST_FUNCTION): New macro.
19096         Include test-skeleton.c.
19097         * math/test-fpucw.c (main): Converted to ...
19098         (do_test): ... this.
19099         (TEST_FUNCTION): New macro.
19100         Include test-skeleton.c.
19101         * math/test-tgmath.c (main): Converted to ...
19102         (do_test): ... this.
19103         (TEST_FUNCTION): New macro.
19104         Include test-skeleton.c.
19105         * math/test-tgmath2.c (main): Converted to ...
19106         (do_test): ... this.
19107         (TEST_FUNCTION): New macro.
19108         Include test-skeleton.c.
19109         * setjmp/tst-setjmp.c (main): Converted to ...
19110         (do_test): ... this.
19111         (TEST_FUNCTION): New macro.
19112         Include test-skeleton.c.
19113         * stdio-common/tst-sscanf.c (main): Converted to ...
19114         (do_test): ... this.
19115         (TEST_FUNCTION): New macro.
19116         Include test-skeleton.c.
19117         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
19118         (do_test): ... this.
19119         (TEST_FUNCTION): New macro.
19120         Include test-skeleton.c.
19122         * elf/tst-audit9.c (main): Converted to ...
19123         (do_test): ... this.
19124         (TEST_FUNCTION): New macro.
19125         Include test-skeleton.c.
19127 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
19129         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19131 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19133         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19134         New variable.
19136 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19138         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19140 2015-07-14  Roland McGrath  <roland@hack.frob.com>
19142         * sysdeps/generic/dl-fileid.h: New file.
19143         * sysdeps/posix/dl-fileid.h: New file.
19144         * sysdeps/nacl/dl-fileid.h: New file.
19145         * include/link.h: Include <dl-fileid.h>.
19146         (struct link_map): Replace l_dev and l_ino with l_file_id.
19147         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
19148         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
19149         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
19151 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19153         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19155 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19157         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19158         Add iff $CXX is set.
19159         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19160         Likewise.
19161         (tst-nodelete-zmodiff): Likewise.
19162         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19164 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19166         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19168 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19170         * sysdeps/aarch64/fpu/math_private.h
19171         (define math_opt_barrier): Add AArch64 version.
19172         (math_force_eval): Likewise.
19174 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19176         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19178 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19180         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19181         %ld with %jd and cast to intmax_t.
19182         (do_test_length_zero): Likewise.
19184 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19186         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19188 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19190         * sysdeps/tile/libm-test-ulps: Regenerated.
19192         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19193         Comment out the whole function, not just its body.
19195 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19197         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19198         locks.
19200         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19202 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19204         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19205         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19207 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19209         * sysdeps/nptl/futex-internal.h: New file.
19210         * sysdeps/nacl/futex-internal.h: New file.
19211         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19212         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19213         error checking.
19214         (setxid_unmark_thread): Likewise.
19215         (__nptl_setxid): Likewise.
19216         (__wait_lookup_done): Likewise.
19217         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19218         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19219         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19220         * nptl/pthread_once.c (clear_once_control): Likewise.
19221         (__pthread_once_slow): Likewise.
19222         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19223         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19224         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19225         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19226         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19227         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19228         Likewise.
19229         (__pthread_rwlock_rdlock): Likewise.
19230         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19231         Likewise.
19232         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19233         Likewise.
19234         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19235         Likewise.
19236         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19237         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19238         Likewise.
19239         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19240         __ASSUME_PRIVATE_FUTEX check.
19241         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19242         Check that shared futexes are supported.
19243         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19244         wrappers with error checking.
19245         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19246         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19247         * nptl/pthread_barrierattr_setpshared.c
19248         (pthread_barrierattr_setpshared): Check that shared futexes are
19249         supported.
19250         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19251         Likewise.
19252         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19253         Likewise.
19254         * nptl/sem_init.c (futex_private_if_supported): Remove.
19255         (__new_sem_init): Adapt and check that shared futexes are supported.
19256         * nptl/sem_open.c (sem_open): Likewise.
19257         * nptl/sem_post.c (futex_wake): Remove.
19258         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19259         (do_futex_wait): Use futex wrappers with error checking.
19260         * nptl/sem_wait.c: Include lowlevellock.h.
19261         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19262         Use futex_supports_pshared.
19263         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19264         Use futex wrappers with error checking.
19265         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19266         Likewise.
19267         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19268         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19269         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19270         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19271         (futex_wake): Likewise.
19272         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19273         (do_futex_wait): Use futex wrappers with error checking.
19274         (__new_sem_wait_slow): Update EINTR handling.
19275         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19277 2015-07-09  Martin Sebor  <msebor@redhat.com>
19279         [BZ #18435]
19280         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19281         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19282         * nptl/Makefile (test-xfail-tst-once5): Define.
19284 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19286         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19287         * elf/dl-minimal.c: For readability, reorder some definitions and
19288         introduce more page breaks.  Include <stdio.h>.
19289         (__libc_fatal): New function.
19291         * include/unistd.h: Add rtld_hidden_proto for _exit.
19292         * posix/_exit.c: Add rtld_hidden_def.
19293         * sysdeps/mach/hurd/_exit.c: Likewise.
19294         * sysdeps/nacl/_exit.c: Likewise.
19295         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19296         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19298 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19300         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19301         bndmov encoding with zero displacement.
19303 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19304             H.J. Lu  <hongjiu.lu@intel.com>
19306         [BZ #18134]
19307         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19308         * sysdeps/i386/configure: Regenerated.
19309         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19310         (_dl_runtime_profile): Save and restore Intel MPX return bound
19311         registers when calling _dl_call_pltexit.  Add
19312         PRESERVE_BND_REGS_PREFIX before return.
19313         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19314         (LRV_BND1_OFFSET): Likewise.
19315         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19316         lrv_bnd1.
19317         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19318         typo in bndmov encoding.
19319         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19320         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19321         branch instructions to preserve bounds.
19323 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19326         [GLIBC_2.22]: Add fmemopen.
19328 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19330         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19331         returns an error, also try to use host port from __mach_host_self for
19332         the __vm_wire call.
19333         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19335 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19337         [BZ #18400]
19338         [BZ #18648]
19339         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19340         Fix pr_uid and pr_gid members.
19341         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19342         definition to elf_greg_t.
19344 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19346         [BZ #18383]
19347         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19348         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19349         * sysdeps/arm/configure: Regenerated.
19350         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19351         (test-xfail-tst-tlsalign-static): Variable removed.
19353         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19354         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19355         rather than explicit 'ln -s'.
19357         * resolv/rpc/netdb.h: New file.
19358         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19360 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19362         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19363         length buffers.
19364         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19365         test-skeleton.c.
19367         [BZ #6544]
19368         [BZ #11216]
19369         [BZ #12836]
19370         [BZ #13151]
19371         [BZ #13152]
19372         [BZ #14292]
19373         * include/stdio.h (fmemopen): Remove hidden prototype.
19374         (__fmemopen): Add new hidden prototype.
19375         * libio/Makefile: Add oldfmemopen object.
19376         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19377         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19378         compliance.
19379         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19380         symbol compatibility.
19381         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19382         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19383         fmemopen.
19384         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19385         on append and read mode.
19386         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19387         fmemopen.
19388         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19389         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19390         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19391         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19392         Likewise.
19393         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19394         [GLIBC_2.22]: Likewise.
19395         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19396         Likewise.
19397         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19398         Likewise.
19399         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19400         [GLIBC_2.22]: Likewise.
19401         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19402         [GLIBC_2.22]: Likewise.
19403         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19404         [GLIBC_2.22]: Likewise.
19405         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19406         [GLIBC_2.22]: Likewise.
19407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19408         [GLIBC_2.22]: Likewise.
19409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19410         [GLIBC_2.22]: Likewise.
19411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19412         [GLIBC_2.22]: Likewise.
19413         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19414         Likewise.
19415         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19416         Likewise.
19417         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19418         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19419         [GLIBC_2.22]: Likewise.
19420         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19421         [GLIBC_2.22]: Likewise.
19422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19423         [GLIBC_2.22]: Likewise.
19424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19425         [GLIBC_2.22]: Likewise.
19426         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19427         Likewise.
19428         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19429         Likewise.
19430         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19431         Likewise.
19432         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19433         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19435 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19437         [BZ #18643]
19438         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19439         IPV6_PATHMTU, and IPV6_DONTFRAG.
19441 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19443         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19444         and _IO_UNBUFFERED.
19445         * libio/oldfileops.c: Likewise.
19446         * libio/wfileops.c: Likewise.
19448 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19450         * nscd/selinux.c: Delete selinux/flask.h include.
19452 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19454         [BZ #18641]
19455         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19456         (putpwent): Likewise.
19457         (getpwnam): Likewise.
19458         (getpwent_r): Likewise.
19459         (getpwuid_r): Likewise.
19460         (getpwnam_r): Likewise.
19461         (fgetpwent_r): Likewise.
19463 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19465         [BZ #18557]
19466         * inet/rcmd.c (__validuser2_sa): Check user first to
19467         short-circuit host check.
19469 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19470             Mikhail Ilin  <m.ilin@samsung.com>
19472         [BZ #17833]
19473         * elf/Makefile (tests): Add tst-nodelete.
19474         (modules-names): Add tst-nodelete-uniquemod.
19475         (tst-nodelete-uniquemod.so-no-z-defs): New.
19476         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19477         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19478         ($(objpfx)tst-nodelete): Likewise.
19479         ($(objpfx)tst-nodelete.out): Likewise.
19480         (LDFLAGS-tst-nodelete): Likewise.
19481         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19482         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19483         implement forced object deletion.
19484         (_dl_close): Pass false to _dl_close_worker.
19485         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19486         * elf/tst-nodelete.cc: New file.
19487         * elf/tst-nodeletelib.cc: Likewise.
19488         * elf/tst-znodeletelib.cc: Likewise.
19489         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19491 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19493         [BZ #18508]
19494         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19495         Depend on $(libdl).
19496         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19497         is not called infinitely times.
19498         (backtrace_helper): New function.
19499         (trace_arg): New struct.
19500         (st1): Enlarge stack size.
19501         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19502         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19503         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19504         Likewise.
19506 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19508         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19510 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19512         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19513         Include sys/types.h instead of bits/types.h.
19514         Remove inclusion of bits/wordsize.h.
19516 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19518         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19519         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19520         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19521         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19522         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19523         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19525 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19527         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19528         link-defines.sym.
19529         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19530         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19531         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19532         and LR_SIZE.
19533         * sysdeps/i386/link-defines.sym: New file.
19535 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19537         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19538         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19539         ($(objpfx)tst-audit3): New rule.
19540         ($(objpfx)tst-audit3.out): Likewise.
19541         * sysdeps/i386/tst-audit3.c: New file.
19542         * sysdeps/i386/tst-audit3.h: Likewise.
19543         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19544         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19546 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19548         [BZ #18633]
19549         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19550         pointer in C code.
19551         (__strcat_c): Likewise.
19552         (__strcat_g): Likewise.
19554 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19556         [BZ #18592]
19557         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19559 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19561         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19562         New function.  (__ieee754_sqrtf): New function.
19563         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19564         New function.
19565         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19566         New function.
19568 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19570         * sysdeps/ieee754/support.c: Remove unused file.
19572 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19574         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19575         registers instead of d ones so the layout is kernel abi compatible.
19576         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19577         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19578         Likewise.
19580 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19582         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19584 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19586         [BZ #18619]
19587         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19588         and return argument in case of subnormal argument.
19590 2015-07-01  Martin Sebor  <msebor@redhat.com>
19592         [BZ #18435]
19593         * nptl/Makefile: Add tst-once5.cc.
19594         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19595         Remove macro redefinitions.
19596         * nptl/tst-once5.cc: New test.
19598 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19600         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19602         * sysdeps/arm/libm-test-ulps: Regenerated.
19604         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19605         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19607 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19609         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19610         lll_lock_wait_private and lll_futex_wake probes.
19612         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19613         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19614         Likewise.
19615         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19616         atomic_spin_nop.
19617         * sysdeps/x86_64/bits/atomic.h: Likewise.
19618         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19619         to atomic_spin_nop and move ...
19620         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19621         ... here and ...
19622         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19623         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19624         atomic_spin_nop instead of BUSY_WAIT_NOP.
19625         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19626         Likewise.
19627         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19628         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19629         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19630         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19631         instead of atomic_delay.
19633 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19635         [BZ #18613]
19636         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19637         X_ADJ not X when adjusting exponent.
19638         (__ieee754_gamma_r): Do intermediate computations in
19639         round-to-nearest then adjust overflowing and underflowing results
19640         as needed.
19641         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19642         of X_ADJ not X when adjusting exponent.
19643         (__ieee754_gammaf_r): Do intermediate computations in
19644         round-to-nearest then adjust overflowing and underflowing results
19645         as needed.
19646         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19647         log of X_ADJ not X when adjusting exponent.
19648         (__ieee754_gammal_r): Do intermediate computations in
19649         round-to-nearest then adjust overflowing and underflowing results
19650         as needed.  Use 1.0L not 1.0f as numerator of division.
19651         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19652         log of X_ADJ not X when adjusting exponent.
19653         (__ieee754_gammal_r): Do intermediate computations in
19654         round-to-nearest then adjust overflowing and underflowing results
19655         as needed.  Use 1.0L not 1.0f as numerator of division.
19656         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19657         of X_ADJ not X when adjusting exponent.
19658         (__ieee754_gammal_r): Do intermediate computations in
19659         round-to-nearest then adjust overflowing and underflowing results
19660         as needed.  Use 1.0L not 1.0f as numerator of division.
19661         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19662         to auto-libm-test-in.
19663         (tgamma_test): Use ALL_RM_TEST.
19664         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19665         tests of tgamma with spurious-overflow.
19666         * math/auto-libm-test-out: Regenerated.
19667         * math/gen-libm-have-vector-test.sh: Do not check for START.
19668         * sysdeps/i386/fpu/libm-test-ulps: Update.
19669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19671         [BZ #18612]
19672         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19673         arguments, just return 0.5 times the argument, with underflow
19674         forced as needed.
19675         * math/auto-libm-test-in: Add more tests of j1.
19676         * math/auto-libm-test-out: Regenerated.
19678         [BZ #16559]
19679         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19680         (__ieee754_j1): Force underflow exception for small results.
19681         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19682         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19683         (__ieee754_j1f): Force underflow exception for small results.
19684         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19685         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19686         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19687         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19688         (__ieee754_j1l): Force underflow exception for small results.
19689         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19690         * math/auto-libm-test-in: Add more tests of j1 and jn.
19691         * math/auto-libm-test-out: Regenerated.
19693         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19694         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19695         (PF_MPLS): Likewise.
19696         (AF_IB): Likewise.
19697         (AF_MPLS): Likewise.
19698         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19699         value and macro.
19700         (MS_RMT_MASK): Include MS_LAZYTIME.
19702 2015-06-26  Mel Gorman  <mgorman@suse.de>
19704         [BZ #18502]
19705         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19706         already minimal.
19708 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19710         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19711         (DT_MIPS_NUM): Update.
19712         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19713         DT_MIPS_RLD_MAP_REL.
19715 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19717         [BZ #16559]
19718         [BZ #18602]
19719         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19720         round-to-nearest internally then recompute results that
19721         underflowed to zero in the original rounding mode.
19722         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19723         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19724         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19725         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19726         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19727         * sysdeps/i386/fpu/libm-test-ulps: Update.
19728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19730 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19732         * NEWS: Fixed description of link with vector math library.
19734 2015-06-25  Andreas Schwab  <schwab@suse.de>
19736         [BZ #18549]
19737         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19738         * libio/test-fmemopen.c (do_test): Add test for it.
19740 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19742         [BZ #17841]
19743         * Makeconfig (no-pie-ldflag): New.
19744         (+link): Set to $(+link-pie) if default to PIE.
19745         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19746         * config.make.in (build-pie-default): New.
19747         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19748         is default.  AC_SUBST.
19749         * configure: Regenerated.
19750         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19752 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19754         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19755         to 'unsigned int'.
19757         * resolv/gai_misc.h (struct waitlist): Change type of field
19758         counterp to 'volatile unsigned int *'.
19759         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19760         FUTEXADDR and OLDVAL.
19761         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19762         Give local variable TOTAL type 'volatile unsigned int'.
19763         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19764         * resolv/gai_suspend.c (gai_suspend):
19765         Give local variable CNTR type 'unsigned int'.
19767         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19768         counterp to 'volatile unsigned int *'.
19769         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19770         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19771         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19772         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19773         Give local variable TOTAL type 'volatile unsigned int'.
19774         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19776 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19778         [BZ #18383]
19779         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19780         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19781         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19782         comment for i386/x86-64.
19783         (test-xfail-tst-tlsalign-extern-static): Removed.
19785 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19787         * math/test-double.h: New file.
19788         * math/test-float.h: Likewise.
19789         * math/test-ldouble.h: Likewise.
19790         * math/test-math-inline.h: Likewise.
19791         * math/test-math-no-inline.h: Likewise.
19792         * math/test-math-scalar.h: Likewise.
19793         * math/test-math-vector.h: Likewise.
19794         * math/test-vec-loop.h: Remove file.  Contents moved into
19795         test-math-vector.h.
19796         * math/libm-test.inc (MATHCONST): Do not document macro.
19797         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19798         and test-math-scalar.h.
19799         (FUNC): Remove macro.
19800         (FUNC_TEST): Likewise.
19801         (FLOAT): Likewise.
19802         (MATHCONST): Likewise.
19803         (PRINTF_EXPR): Likewise.
19804         (PRINTF_XEXPR): Likewise.
19805         (PRINTF_NEXPR): Likewise.
19806         (TEST_DOUBLE): Likewise.
19807         (TEST_MATHVEC): Likewise.
19808         (__NO_MATH_INLINES): Likewise.
19809         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19810         and test-math-scalar.h.
19811         (FUNC): Remove macro.
19812         (FUNC_TEST): Likewise.
19813         (FLOAT): Likewise.
19814         (MATHCONST): Likewise.
19815         (PRINTF_EXPR): Likewise.
19816         (PRINTF_XEXPR): Likewise.
19817         (PRINTF_NEXPR): Likewise.
19818         (TEST_FLOAT): Likewise.
19819         (TEST_MATHVEC): Likewise.
19820         (__NO_MATH_INLINES): Likewise.
19821         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19822         and test-math-scalar.h.
19823         (FUNC): Remove macro.
19824         (FUNC_TEST): Likewise.
19825         (FLOAT): Likewise.
19826         (MATHCONST): Likewise.
19827         (PRINTF_EXPR): Likewise.
19828         (PRINTF_XEXPR): Likewise.
19829         (PRINTF_NEXPR): Likewise.
19830         (TEST_DOUBLE): Likewise.
19831         (TEST_MATHVEC): Likewise.
19832         (TEST_INLINE): Likewise.
19833         (__NO_MATH_INLINES): Likewise.
19834         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19835         test-math-scalar.h.
19836         (FUNC): Remove macro.
19837         (FUNC_TEST): Likewise.
19838         (FLOAT): Likewise.
19839         (MATHCONST): Likewise.
19840         (PRINTF_EXPR): Likewise.
19841         (PRINTF_XEXPR): Likewise.
19842         (PRINTF_NEXPR): Likewise.
19843         (TEST_FLOAT): Likewise.
19844         (TEST_MATHVEC): Likewise.
19845         (TEST_INLINE): Likewise.
19846         (__NO_MATH_INLINES): Likewise.
19847         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19848         and test-math-scalar.h.
19849         (FUNC): Remove macro.
19850         (FUNC_TEST): Likewise.
19851         (FLOAT): Likewise.
19852         (MATHCONST): Likewise.
19853         (PRINTF_EXPR): Likewise.
19854         (PRINTF_XEXPR): Likewise.
19855         (PRINTF_NEXPR): Likewise.
19856         (TEST_LDOUBLE): Likewise.
19857         (TEST_MATHVEC): Likewise.
19858         (TEST_INLINE): Likewise.
19859         (__NO_MATH_INLINES): Likewise.
19860         * math/test-ldouble.c: Include test-ldouble.h,
19861         test-math-no-inline.h and test-math-scalar.h.
19862         (FUNC): Remove macro.
19863         (FUNC_TEST): Likewise.
19864         (FLOAT): Likewise.
19865         (MATHCONST): Likewise.
19866         (PRINTF_EXPR): Likewise.
19867         (PRINTF_XEXPR): Likewise.
19868         (PRINTF_NEXPR): Likewise.
19869         (TEST_LDOUBLE): Likewise.
19870         (TEST_MATHVEC): Likewise.
19871         (__NO_MATH_INLINES): Likewise.
19872         * math/test-double-vlen2.h: Include test-double.h,
19873         test-math-no-inline.h and test-math-vector.h.
19874         (FLOAT): Remove macro.
19875         (FUNC): Likewise.
19876         (MATHCONST): Likewise.
19877         (PRINTF_EXPR): Likewise.
19878         (PRINTF_XEXPR): Likewise.
19879         (PRINTF_NEXPR): Likewise.
19880         (TEST_DOUBLE): Likewise.
19881         (TEST_MATHVEC): Likewise.
19882         (__NO_MATH_INLINES): Likewise.
19883         (CNCT): Likewise.
19884         (CONCAT): Likewise.
19885         (WRAPPER_NAME): Likewise.
19886         (WRAPPER_DECL): Likewise.
19887         (WRAPPER_DECL_ff): Likewise.
19888         (WRAPPER_DECL_fFF): Likewise.
19889         (VECTOR_WRAPPER): Likewise.
19890         (VECTOR_WRAPPER_ff): Likewise.
19891         (VECTOR_WRAPPER_fFF): Likewise.
19892         (VEC_LEN): New macro.
19893         * math/test-double-vlen4.h: Include test-double.h,
19894         test-math-no-inline.h and test-math-vector.h.
19895         (FLOAT): Remove macro.
19896         (FUNC): Likewise.
19897         (MATHCONST): Likewise.
19898         (PRINTF_EXPR): Likewise.
19899         (PRINTF_XEXPR): Likewise.
19900         (PRINTF_NEXPR): Likewise.
19901         (TEST_DOUBLE): Likewise.
19902         (TEST_MATHVEC): Likewise.
19903         (__NO_MATH_INLINES): Likewise.
19904         (CNCT): Likewise.
19905         (CONCAT): Likewise.
19906         (WRAPPER_NAME): Likewise.
19907         (WRAPPER_DECL): Likewise.
19908         (WRAPPER_DECL_ff): Likewise.
19909         (WRAPPER_DECL_fFF): Likewise.
19910         (VECTOR_WRAPPER): Likewise.
19911         (VECTOR_WRAPPER_ff): Likewise.
19912         (VECTOR_WRAPPER_fFF): Likewise.
19913         (VEC_LEN): New macro.
19914         * math/test-double-vlen8.h: Include test-double.h,
19915         test-math-no-inline.h and test-math-vector.h.
19916         (FLOAT): Remove macro.
19917         (FUNC): Likewise.
19918         (MATHCONST): Likewise.
19919         (PRINTF_EXPR): Likewise.
19920         (PRINTF_XEXPR): Likewise.
19921         (PRINTF_NEXPR): Likewise.
19922         (TEST_DOUBLE): Likewise.
19923         (TEST_MATHVEC): Likewise.
19924         (__NO_MATH_INLINES): Likewise.
19925         (CNCT): Likewise.
19926         (CONCAT): Likewise.
19927         (WRAPPER_NAME): Likewise.
19928         (WRAPPER_DECL): Likewise.
19929         (WRAPPER_DECL_ff): Likewise.
19930         (WRAPPER_DECL_fFF): Likewise.
19931         (VECTOR_WRAPPER): Likewise.
19932         (VECTOR_WRAPPER_ff): Likewise.
19933         (VECTOR_WRAPPER_fFF): Likewise.
19934         (VEC_LEN): New macro.
19935         * math/test-float-vlen4.h: Include test-float.h,
19936         test-math-no-inline.h and test-math-vector.h.
19937         (FLOAT): Remove macro.
19938         (FUNC): Likewise.
19939         (MATHCONST): Likewise.
19940         (PRINTF_EXPR): Likewise.
19941         (PRINTF_XEXPR): Likewise.
19942         (PRINTF_NEXPR): Likewise.
19943         (TEST_FLOAT): Likewise.
19944         (TEST_MATHVEC): Likewise.
19945         (__NO_MATH_INLINES): Likewise.
19946         (CNCT): Likewise.
19947         (CONCAT): Likewise.
19948         (WRAPPER_NAME): Likewise.
19949         (WRAPPER_DECL): Likewise.
19950         (WRAPPER_DECL_ff): Likewise.
19951         (WRAPPER_DECL_fFF): Likewise.
19952         (VECTOR_WRAPPER): Likewise.
19953         (VECTOR_WRAPPER_ff): Likewise.
19954         (VECTOR_WRAPPER_fFF): Likewise.
19955         (VEC_LEN): New macro.
19956         * math/test-float-vlen8.h: Include test-float.h,
19957         test-math-no-inline.h and test-math-vector.h.
19958         (FLOAT): Remove macro.
19959         (FUNC): Likewise.
19960         (MATHCONST): Likewise.
19961         (PRINTF_EXPR): Likewise.
19962         (PRINTF_XEXPR): Likewise.
19963         (PRINTF_NEXPR): Likewise.
19964         (TEST_FLOAT): Likewise.
19965         (TEST_MATHVEC): Likewise.
19966         (__NO_MATH_INLINES): Likewise.
19967         (CNCT): Likewise.
19968         (CONCAT): Likewise.
19969         (WRAPPER_NAME): Likewise.
19970         (WRAPPER_DECL): Likewise.
19971         (WRAPPER_DECL_ff): Likewise.
19972         (WRAPPER_DECL_fFF): Likewise.
19973         (VECTOR_WRAPPER): Likewise.
19974         (VECTOR_WRAPPER_ff): Likewise.
19975         (VECTOR_WRAPPER_fFF): Likewise.
19976         (VEC_LEN): New macro.
19977         * math/test-float-vlen16.h: Include test-float.h,
19978         test-math-no-inline.h and test-math-vector.h.
19979         (FLOAT): Remove macro.
19980         (FUNC): Likewise.
19981         (MATHCONST): Likewise.
19982         (PRINTF_EXPR): Likewise.
19983         (PRINTF_XEXPR): Likewise.
19984         (PRINTF_NEXPR): Likewise.
19985         (TEST_FLOAT): Likewise.
19986         (TEST_MATHVEC): Likewise.
19987         (__NO_MATH_INLINES): Likewise.
19988         (CNCT): Likewise.
19989         (CONCAT): Likewise.
19990         (WRAPPER_NAME): Likewise.
19991         (WRAPPER_DECL): Likewise.
19992         (WRAPPER_DECL_ff): Likewise.
19993         (WRAPPER_DECL_fFF): Likewise.
19994         (VECTOR_WRAPPER): Likewise.
19995         (VECTOR_WRAPPER_ff): Likewise.
19996         (VECTOR_WRAPPER_fFF): Likewise.
19997         (VEC_LEN): New macro.
19998         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19999         test-vec-loop.h.
20000         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20001         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20002         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20003         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20004         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20005         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20006         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20008 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20010         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
20011         (__getlogin_r): ... this.
20013 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20015         [BZ #18594]
20016         * math/s_ccosh.c (__ccosh): Compare with least normal value
20017         instead of comparing class with FP_SUBNORMAL.
20018         * math/s_ccoshf.c (__ccoshf): Likewise.
20019         * math/s_ccoshl.c (__ccoshl): Likewise.
20020         * math/s_cexp.c (__cexp): Likewise.
20021         * math/s_cexpf.c (__cexpf): Likewise.
20022         * math/s_cexpl.c (__cexpl): Likewise.
20023         * math/s_csin.c (__csin): Likewise.
20024         * math/s_csinf.c (__csinf): Likewise.
20025         * math/s_csinh.c (__csinh): Likewise.
20026         * math/s_csinhf.c (__csinhf): Likewise.
20027         * math/s_csinhl.c (__csinhl): Likewise.
20028         * math/s_csinl.c (__csinl): Likewise.
20029         * math/s_ctan.c (__ctan): Likewise.
20030         * math/s_ctanf.c (__ctanf): Likewise.
20031         * math/s_ctanh.c (__ctanh): Likewise.
20032         * math/s_ctanhf.c (__ctanhf): Likewise.
20033         * math/s_ctanhl.c (__ctanhl): Likewise.
20034         * math/s_ctanl.c (__ctanl): Likewise.
20035         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
20036         csin, csinh, ctan and ctanh.
20037         * math/auto-libm-test-out: Regenerated.
20038         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
20039         * sysdeps/i386/fpu/libm-test-ulps: Update.
20040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20042 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20044         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
20045         return value is wrong, print the expected value too.
20047 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20049         [BZ #18585]
20050         * elf/readlib.c (is_gdb_python_file): New.
20051         (process_file): Don't issue errors on filenames with -gdb.py
20052         suffix.
20054 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20056         * math/auto-libm-test-in: Add more tests of csin and csinh.
20057         * math/auto-libm-test-out: Regenerated.
20058         * math/libm-test.inc (csin_test_data): Remove tests moved to
20059         auto-libm-test-in.
20060         (csinh_test_data): Likewise.
20062         [BZ #18593]
20063         * math/s_csin.c (__csin): Negate before rather than after possibly
20064         overflowing multiplication.
20065         * math/s_csinf.c (__csinf): Likewise.
20066         * math/s_csinh.c (__csinh): Likewise.
20067         * math/s_csinhf.c (__csinhf): Likewise.
20068         * math/s_csinhl.c (__csinhl): Likewise.
20069         * math/s_csinl.c (__csinl): Likewise.
20070         * math/auto-libm-test-in: Add some tests of csin and csinh.
20071         * math/auto-libm-test-out: Regenerated.
20072         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
20073         (csinh_test_data): Likewise.
20074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20076         [BZ #18586]
20077         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
20078         underflow exception for small results.
20080 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20082         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20083         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
20084         variable and included header.
20085         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
20086         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
20087         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
20088         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
20089         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
20090         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
20091         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
20092         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
20093         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
20094         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
20095         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
20096         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
20097         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
20098         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
20099         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
20100         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
20102 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20104         [BZ #16526]
20105         [BZ #16538]
20106         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
20107         (__sin): Force underflow exception for arguments with small
20108         absolute value.
20109         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
20110         (__kernel_sinf): Force underflow exception for arguments with
20111         small absolute value.
20112         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
20113         (__kernel_sincosl): Force underflow exception for arguments with
20114         small absolute value.
20115         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
20116         (__kernel_sinl): Force underflow exception for arguments with
20117         small absolute value.
20118         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
20119         (__kernel_sincosl): Force underflow exception for arguments with
20120         small absolute value.
20121         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20122         (__kernel_sinl): Force underflow exception for arguments with
20123         small absolute value.
20124         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20125         (__kernel_sinl): Force underflow exception for arguments with
20126         small absolute value.
20127         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20128         (__kernel_sinf): Force underflow exception for arguments with
20129         small absolute value.
20130         * math/auto-libm-test-in: Add more tests of sin and sincos.
20131         * math/auto-libm-test-out: Regenerated.
20133         [BZ #18245]
20134         [BZ #18583]
20135         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20136         (__kernel_standard_l): Use feholdexcept and fesetenv around
20137         conversion to double instead of special-casing overflow and
20138         underflow.
20139         * math/libm-test.inc (fmod_test_data): Add more tests.
20140         (remainder_test_data): Likewise.
20141         (sqrt_test_data): Likewise.
20143 2015-06-23  Torvald Riegel  <triegel@redhat.com>
20145         [BZ #17403]
20146         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20147         atomic_read_barrier, atomic_write_barrier): Define.
20148         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
20149         atomic_read_barrier, atomic_write_barrier): Define.
20151 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20153         * math/Makefile [$(PERL) != no]
20154         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20155         dependency on libm-test.stmp below the inclusion of Rules.
20157 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
20159         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20160         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20161         and included header.
20162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20163         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20164         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20165         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20166         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20167         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20168         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20169         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20170         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20171         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20172         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20173         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20174         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20175         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20176         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20177         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20178         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20179         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20180         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20182 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20184         [BZ #18371]
20185         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20186         intermediate but not final result might underflow.
20187         * math/s_csqrtf.c (__csqrtf): Likewise.
20188         * math/s_csqrtl.c (__csqrtl): Likewise.
20189         * math/auto-libm-test-in: Add more tests of csqrt.
20190         * math/auto-libm-test-out: Regenerated.
20191         * sysdeps/i386/fpu/libm-test-ulps: Update.
20193         [BZ #18219]
20194         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20195         threshold on absolute value of exponent for which scaling is used.
20196         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20197         * math/auto-libm-test-in: Add more tests of exp2.
20198         * math/auto-libm-test-out: Regenerated.
20200 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20202         [BZ #17977]
20203         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20204         when initializing interface list, based on the bug analysis
20205         and the patch proposed by Eric Newton.
20206         * resolv/tst-res_hconf_reorder.c: New test.
20207         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20208         tst-res_hconf_reorder.
20209         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20210         and $(shared-thread-library).
20211         (tst-res_hconf_reorder-ENV): New variable.
20213         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20214         in comment.
20216 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20218         [BZ #16353]
20219         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20220         (__expm1): Force underflow exception for arguments with small
20221         absolute value.
20222         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20223         (__expm1f): Force underflow exception for arguments with small
20224         absolute value.
20225         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20226         (__expm1): Force underflow exception for arguments with small
20227         absolute value.
20228         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20229         (__expm1f): Force underflow exception for arguments with small
20230         absolute value.
20231         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20232         Check for small arguments before calling __expm1.
20233         * math/auto-libm-test-in: Do not mark underflow exceptions as
20234         possibly missing for bug 16353.
20235         * math/auto-libm-test-out: Regenerated.
20237 2015-06-22  Andreas Schwab  <schwab@suse.de>
20239         [BZ #18513]
20240         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20241         PTR queries.
20243 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20245         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20247         * string/strcoll_l.c: Remove unused struct element idxnow.
20249 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20251         [BZ #18569]
20252         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20253         underflow and return argument in case of subnormal argument.
20254         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20255         Likewise.
20256         * math/auto-libm-test-in: Add more tests of expm1.
20257         * math/auto-libm-test-out: Regenerated.
20259         [BZ #16361]
20260         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20261         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20262         tiny results.
20263         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20264         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20265         tiny results.
20266         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20267         mark underflow exceptions as possibly missing for bug 16361.
20268         * math/auto-libm-test-out: Regenerated.
20270 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20272         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20273         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20274         Remove variable.
20275         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20276         (test-xfail-XOPEN2K8/utmpx.h/conform).
20278         * conform/conformtest.pl ($xerrors): New variable.
20279         (note_error): New function.
20280         (compiletest): New argument $xfail.  Use not_error.
20281         (runtest): Likewise.
20282         (top level): Handle xfail- lines.  Update calls to compiletest and
20283         runtest.  Handle xfail- and optional- in headers listed with
20284         allow-header.
20285         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20286         (O_EXEC): Likewise.
20287         (O_SEARCH): Likewise.
20288         * conform/data/stropts.h-data (ioctl): Likewise.
20289         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20290         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20291         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20292         (msghdr.msg_controllen): Likewise.
20293         (cmsghdr.cmsg_len): Likewise.
20294         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20295         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20296         variable.
20297         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20298         (test-xfail-XPG4/stropts.h/conform): Likewise.
20299         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20300         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20301         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20302         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20303         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20304         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20305         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20306         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20307         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20308         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20309         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20310         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20311         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20312         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20313         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20314         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20315         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20316         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20317         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20319 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20321         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20322         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20323         definitions for proper unfolding of __MATHDECL_VEC.
20325 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20327         * benchtests/bench-strcoll.c:
20328         Include string.h.
20329         (main): Remove unused variable res.
20331 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20333         * timezone/Makefile (%/UTC %/Universal):
20334         Generate test-result files for UTC and Universal.
20336 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20338         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20340 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20342         [BZ #16350]
20343         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20344         for arguments with small absolute value.
20345         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20346         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20347         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20348         (__asinh): Force underflow exception for arguments with small
20349         absolute value.
20350         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20351         (__asinhf): Force underflow exception for arguments with small
20352         absolute value.
20353         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20354         (__asinhl): Force underflow exception for arguments with small
20355         absolute value.
20356         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20357         (__asinhl): Force underflow exception for arguments with small
20358         absolute value.
20359         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20360         (__asinhl): Force underflow exception for arguments with small
20361         absolute value.
20362         * math/auto-libm-test-in: Do not mark underflow exceptions as
20363         possibly missing for bug 16350.
20364         * math/auto-libm-test-out: Regenerated.
20366         * include/bits/ipc.h: Remove file.
20367         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20368         variable.
20369         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20370         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20371         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20372         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20373         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20374         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20375         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20376         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20377         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20379         * math/auto-libm-test-in: Remove spurious underflow allowance for
20380         tests of cexp.
20381         * math/auto-libm-test-out: Regenerated.
20383         [BZ #18558]
20384         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20385         unconditional definition.
20386         (MCAST_BLOCK_SOURCE): Likewise.
20387         (MCAST_UNBLOCK_SOURCE): Likewise.
20388         (MCAST_LEAVE_GROUP): Likewise.
20389         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20390         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20391         (MCAST_MSFILTER): Likewise.
20392         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20393         Remove variable.
20394         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20395         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20396         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20397         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20398         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20400 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20402         * NEWS: Mention addition of x86_64 vector sincosf.
20403         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20404         * math/test-float-vlen4.h: Likewise.
20405         * math/test-float-vlen8.h: Likewise.
20406         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20407         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20408         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20409         * sysdeps/x86_64/fpu/Versions: New versions added.
20410         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20411         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20412         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20413         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20414         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20416         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20417         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20418         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20419         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20420         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20421         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20422         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20423         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20424         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20425         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20426         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20427         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20428         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20429         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20430         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20431         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20432         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20433         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20435         * NEWS: Mention addition of x86_64 vector sincos.
20436         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20437         * math/math.h (__MATHDECL_VEC): New macro.
20438         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20439         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20440         declaration under condition.
20441         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20442         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20443         TEST_VEC_LOOP change.
20444         * math/test-double-vlen4.h: Likewise.
20445         * math/test-double-vlen8.h: Likewise.
20446         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20447         * math/test-float-vlen4.h: Likewise.
20448         * math/test-float-vlen8.h: Likewise.
20449         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20450         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20451         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20452         * sysdeps/x86_64/fpu/Versions: New versions added.
20453         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20454         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20455         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20456         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20457         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20458         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20459         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20460         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20461         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20462         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20463         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20464         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20465         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20466         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20467         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20468         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20469         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20470         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20471         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20472         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20473         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20474         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20475         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20476         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20478         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20479         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20480         redirections for powf.
20481         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20482         * sysdeps/x86_64/fpu/Versions: New versions added.
20483         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20484         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20485         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20486         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20487         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20488         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20489         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20490         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20491         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20492         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20493         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20494         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20495         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20496         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20497         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20498         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20499         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20500         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20501         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20502         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20503         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20504         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20505         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20506         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20507         * math/test-float-vlen16.h: Fixed 2 argument macro.
20508         * math/test-float-vlen4.h: Likewise.
20509         * math/test-float-vlen8.h: Likewise.
20510         * NEWS: Mention addition of x86_64 vector powf.
20512 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20514         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20515         and redefine.
20516         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20517         and redefine.
20518         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20519         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20520         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20522         [BZ #18553]
20523         * resource/getpriority.c (getpriority): Rename to __getpriority
20524         and define as weak alias of __getpriority.
20525         * resource/setpriority.c (setpriority): Rename to __setpriority
20526         and define as weak alias of __setpriority.
20527         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20528         __getpriority and define as weak alias of __getpriority.
20529         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20530         __setpriority and define as weak alias of __setpriority.
20531         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20532         strong name.
20533         (setpriority): Use __setpriority as strong name.
20534         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20535         __getpriority and define as weak alias of __getpriority.
20536         * include/sys/resource.h (__getpriority): Declare.  Use
20537         libc_hidden_proto.
20538         (__setpriority): Likewise.
20539         (getpriority): Don't use libc_hidden_proto.
20540         (setpriority): Likewise.
20541         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20542         getpriority.  Call __setpriority instead of setpriority.
20543         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20544         Remove variable.
20546         [BZ #18547]
20547         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20548         as weak alias of __getttynam.  Use prototype function definition.
20549         Call __setttyent, __getttyent and __endttyent instead of
20550         setttyent, getttyent and endttyent.
20551         (getttyent): Rename to __getttyent and define as weak alias of
20552         __getttyent.  Call __setttyent instead of setttyent.  Call
20553         __fgets_unlocked instead of fgets_unlocked.
20554         (setttyent): Rename to __setttyent and define as weak alias of
20555         __setttyent.
20556         (endttyent): Rename to __endttyent and define as weak alias of
20557         __endttyent.
20558         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20559         (__setttyent): Likewise.
20560         (__endttyent): Likewise.
20561         (getttyent): Don't use libc_hidden_proto.
20562         (setttyent): Likewise.
20563         (endttyent): Likewise.
20564         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20565         __endttyent instead of setttyent, getttyent and endttyent.
20566         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20567         Remove variable.
20569         [BZ #18546]
20570         * socket/recv.c (__recv): Use libc_hidden_def.
20571         * socket/socket.c (__socket): Likewise.
20572         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20573         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20574         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20575         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20576         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20577         libc_hidden_def.
20578         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20579         libc_hidden_weak.
20580         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20581         Use libc_hidden_proto.
20582         (__recv): Likewise.
20583         * socket/Versions (libc): Export __recv and __socket at version
20584         GLIBC_PRIVATE.
20585         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20586         instead of recv.
20587         (init_mq_netlink): Call __socket instead of socket.
20588         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20589         Remove variable.
20591         [BZ #18545]
20592         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20593         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20594         hidden_weak.
20595         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20596         define as alias of __mq_timedsend.  Use hidden_weak.
20597         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20598         __mq_timedsend as strong name.
20599         (mq_timedreceive): Use __mq_timedreceive as strong name.
20600         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20601         (__mq_timedreceive): Likewise.
20602         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20603         __mq_timedreceive instead of mq_timedreceive.
20604         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20605         instead of mq_timedsend.
20606         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20607         Remove variable.
20609         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20610         hidden_def and hidden_weak instead of libc_hidden_def and
20611         libc_hidden_weak.
20612         (top level): Refer to hidden_def in comment.
20613         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20614         macro.  Use it instead of libc_hidden_def.
20615         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20616         specify __GI_* name explicitly.
20617         (mq_timedreceive): Likewise.
20618         (mq_setattr): Likewise.
20620         [BZ #18544]
20621         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20622         __pthread_barrier_init and define as weak alias of
20623         __pthread_barrier_init.
20624         * sysdeps/sparc/nptl/pthread_barrier_init.c
20625         (pthread_barrier_init): Likewise.
20626         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20627         __pthread_barrier_wait and define as weak alias of
20628         __pthread_barrier_wait.
20629         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20630         (pthread_barrier_wait): Likewise.
20631         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20632         (pthread_barrier_wait): Likewise.
20633         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20634         (pthread_barrier_wait): Likewise.
20635         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20636         (pthread_barrier_wait): Likewise.
20637         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20638         __pthread_barrier_wait at version GLIBC_PRIVATE.
20639         * include/pthread.h (__pthread_barrier_init): Declare.
20640         (__pthread_barrier_wait): Likewise.
20641         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20642         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20643         (helper_thread): Likewise.
20644         (init_mq_netlink): Call __pthread_barrier_init instead of
20645         pthread_barrier_init.
20647         [BZ #18542]
20648         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20649         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20650         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20651         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20652         vswscanf.
20653         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20654         Remove variable.
20656         [BZ #18540]
20657         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20658         strong alias of _IO_fflush.  Use libc_hidden_def.
20659         * libio/iofflush_u.c (fflush_unlocked): Rename to
20660         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20661         Use libc_hidden_weak.
20662         * include/stdio.h (__fflush_unlocked): Declare.  Use
20663         libc_hidden_proto.
20664         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20665         fflush_unlocked.
20666         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20667         Remove variable.
20669         [BZ #18539]
20670         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20671         define as weak alias of __addseverity.
20672         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20673         Remove variable.
20674         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20675         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20676         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20678         [BZ #18536]
20679         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20680         (__tfind): Likewise.
20681         (__tdelete): Likewise.
20682         (__twalk): Likewise.
20683         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20684         __twalk to GLIBC_PRIVATE.
20685         * include/search.h (__tsearch): Use libc_hidden_proto.
20686         (__tfind): Likewise.
20687         (__tdelete): Likewise.
20688         (__twalk): Likewise.
20689         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20690         Call __tdelete instead of tdelete.
20691         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20692         tfind.  Call __tsearch instead of tsearch.
20693         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20694         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20695         Remove variable.
20696         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20698         [BZ #18534]
20699         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20700         (dprintf): Define as a weak alias of __dprintf, not a strong
20701         alias.
20702         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20703         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20704         dprintf.
20705         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20706         Remove variable.
20707         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20708         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20710         [BZ #18533]
20711         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20712         not a strong alias.
20713         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20714         Remove variable.
20716         [BZ #18532]
20717         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20718         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20719         (in6addr_loopback): Rename to __in6addr_loopback and define as
20720         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20721         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20722         libc_hidden_proto.
20723         (__in6addr_any): Likewise.
20724         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20725         in6addr_any.
20726         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20727         variable.
20728         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20730 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20732         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20733         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20734         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20735         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20736         redirections for pow.
20737         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20738         * sysdeps/x86_64/fpu/Versions: New versions added.
20739         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20740         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20741         build of SSE, AVX2 and AVX512 IFUNC versions.
20742         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20743         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20744         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20745         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20746         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20747         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20748         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20749         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20750         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20751         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20752         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20753         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20754         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20755         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20756         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20757         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20758         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20759         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20760         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20761         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20762         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20763         * NEWS: Mention addition of x86_64 vector pow.
20765         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20766         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20767         redirections for expf.
20768         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20769         * sysdeps/x86_64/fpu/Versions: New versions added.
20770         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20771         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20772         build of SSE, AVX2 and AVX512 IFUNC versions.
20773         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20774         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20775         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20776         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20777         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20778         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20779         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20780         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20781         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20782         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20783         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20784         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20785         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20786         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20787         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20788         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20789         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20790         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20791         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20792         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20793         * NEWS: Mention addition of x86_64 vector expf.
20795         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20796         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20797         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20798         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20799         redirections for exp.
20800         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20801         * sysdeps/x86_64/fpu/Versions: New versions added.
20802         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20803         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20804         build of SSE, AVX2 and AVX512 IFUNC versions.
20805         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20806         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20807         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20808         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20809         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20810         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20811         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20812         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20813         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20814         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20815         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20816         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20817         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20818         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20819         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20820         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20821         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20822         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20823         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20824         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20825         * NEWS: Mention addition of x86_64 vector exp.
20827         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20828         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20829         redirections for logf.
20830         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20831         * sysdeps/x86_64/fpu/Versions: New versions added.
20832         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20833         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20834         build of SSE, AVX2 and AVX512 IFUNC versions.
20835         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20836         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20837         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20838         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20839         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20840         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20841         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20842         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20843         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20844         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20845         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20846         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20847         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20848         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20849         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20850         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20851         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20852         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20853         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20854         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20855         * NEWS: Mention addition of x86_64 vector logf.
20857         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20858         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20859         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20860         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20861         redirections for log.
20862         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20863         * sysdeps/x86_64/fpu/Versions: New versions added.
20864         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20865         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20866         build of SSE, AVX2 and AVX512 IFUNC versions.
20867         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20868         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20869         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20870         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20871         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20872         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20873         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20874         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20875         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20876         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20877         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20878         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20879         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20880         test.
20881         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20882         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20883         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20884         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20885         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20886         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20887         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20888         * NEWS: Mention addition of x86_64 vector log.
20890 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20892         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20893         cfi_adjust_cfa_offset argument.
20894         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20895         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20897         [BZ #18034]
20898         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20899         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20900         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20901         ordering using ldar.
20902         (_dl_tlsdesc_dynamic): Likewise.
20903         (_dl_tlsdesc_return_lazy): Likewise.
20904         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20905         relaxed atomics instead of volatile and synchronize with release store.
20906         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20907         volatile.
20908         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20910 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20912         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20913         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20914         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20915         * sysdeps/x86_64/fpu/Versions: New versions added.
20916         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20917         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20918         build of SSE, AVX2 and AVX512 IFUNC versions.
20919         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20920         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20921         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20922         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20923         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20924         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20925         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20926         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20927         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20928         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20929         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20930         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20931         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20932         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20933         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20934         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20935         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20936         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20937         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20938         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20939         * NEWS: Mention addition of x86_64 vector sinf.
20941 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20943         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20944         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20945         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20946         Remove variable.
20947         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20948         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20950 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20952         [BZ #18530]
20953         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20954         strong alias of _IO_fputs.  Use libc_hidden_def.
20955         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20956         and define as weak alias of __fputs_unlocked.  Use
20957         libc_hidden_weak.
20958         * include/stdio.h (__fputs_unlocked): Declare.  Use
20959         libc_hidden_proto.
20960         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20961         fputs_unlocked.
20963         [BZ #18529]
20964         * resolv/netdb.h [__USE_POSIX]: Change condition to
20965         [__USE_XOPEN2K].
20966         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20967         not expect.
20968         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20969         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20970         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20971         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20972         [XPG4 || UNIX98] (AI_ALL): Likewise.
20973         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20974         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20975         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20976         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20977         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20978         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20979         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20980         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20981         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20982         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20983         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20984         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20985         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20986         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20987         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20988         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20989         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20990         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20991         [XPG4 || UNIX98] (gai_strerror): Likewise.
20992         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20993         [XPG4 || UNIX98] (getnameinfo): Likewise.
20995         [BZ #18528]
20996         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20997         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20998         __USE_XOPEN2K8].
20999         (getgrent): Likewise.
21000         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
21001         expect.
21002         [XPG3 || POSIX2008] (endgrent): Likewise.
21003         [XPG3] (setgrent): Likewise.
21004         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
21005         variable.
21006         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21008         [BZ #18527]
21009         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
21010         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
21011         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
21012         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21013         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
21014         * include/unistd.h (__getlogin_r): Declare.  Use
21015         libc_hidden_proto.
21016         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
21017         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
21018         variable.
21019         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21020         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21021         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21023 2015-06-12  Martin Sebor  <msebor@redhat.com>
21025         [BZ #18512]
21026         * Makerules (check-install-supported): New target.
21027         (install): Add check-install-supported as a dependency.
21028         * manual/install.texi (Installing the C Library): Document
21029         that overriding prefix and exec_prefix is not supported.
21030         Mention DESTDIR.
21031         * INSTALL: Regenerate from the above.
21033 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21035         [BZ #18519]
21036         * posix/Versions (libc): Export __libc_pread at version
21037         GLIBC_PRIVATE.
21038         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
21039         instead of pread.
21040         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
21041         variable.
21043         [BZ #18522]
21044         * misc/efgcvt_r.c
21045         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
21046         (cvt_symbol): Use weak_alias instead of strong_alias.
21047         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
21048         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
21049         Remove variable.
21050         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21051         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21053         [BZ #18520]
21054         * inet/herrno.c (h_errno): Rename to __h_errno.
21055         (__libc_h_errno): Define as alias of __h_errno not h_errno.
21056         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
21057         to __h_errno instead of h_errno.
21058         * nptl/herrno.c (h_errno): Rename to __h_errno.
21059         (__h_errno_location): Refer to __h_errno not h_errno.
21060         * resolv/Versions (h_errno): Rename to __h_errno.
21061         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
21062         Remove variable.
21063         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21065 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
21067         * configure.ac: More strict check for AVX512 assembler support.
21068         * configure: Regenerated.
21070         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
21071         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
21072         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21073         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
21074         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21075         * sysdeps/x86_64/fpu/Versions: New versions added.
21076         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21077         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21078         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21079         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
21080         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
21081         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
21082         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
21083         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
21084         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
21085         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
21086         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
21087         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
21088         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
21089         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
21090         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
21091         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
21092         test.
21093         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21094         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21095         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21096         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21097         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21098         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21099         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21100         * NEWS: Mention addition of x86_64 vector sin.
21102 2015-06-11  Florian Weimer  <fweimer@redhat.com>
21104         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
21105         comment.
21107 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21109         [BZ #18479]
21110         * nptl/pt-interp.c: New file.
21111         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
21112         Add pt-interp.
21113         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
21114         $(common-objpfx)runtime-linker.h.
21116 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
21118         * Makeconfig (+interp): Remove unused variable.
21119         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
21120         only.  Depend on $(common-objpfx)runtime-linker.h instead of
21121         $(elf-objpfx)runtime-linker.h.
21122         ($(elf-objpfx)runtime-linker.h): Rename to
21123         $(common-objpfx)runtime-linker.h and move ...
21124         * Makerules [$(build-shared) = yes]: ... here.
21125         * elf/interp.c: Include <runtime-linker.h> instead of
21126         <elf/runtime-linker.h>.
21128 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21130         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21131         (__gettimeofday_syscall): Remove vsyscall fallback.
21132         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21133         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21134         Add syscall fallback function.
21135         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21136         if vDSO is not present.
21137         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21138         fallback function.
21139         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21140         present.
21141         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
21142         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21144 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
21146         [BZ #18497]
21147         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
21148         of wcscmp.
21149         (wcscmp): Define as weak alias of WCSCMP.
21150         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
21151         wcscoll.
21152         (USE_HIDDEN_DEF): Define.
21153         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
21154         __wcscoll.  Don't use libc_hidden_weak.
21155         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21156         wcscmp.
21157         * sysdeps/i386/i686/multiarch/wcscmp-c.c
21158         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21159         __GI_wcscmp.
21160         (weak_alias): Undefine and redefine.
21161         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21162         __wcscmp and define as weak alias of __wcscmp.
21163         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21164         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21165         (__wcscoll): Likewise.
21166         (wcscmp): Don't use libc_hidden_proto.
21167         (wcscoll): Likewise.
21168         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21169         wcscoll.
21170         * posix/regexec.c (check_node_accept_bytes): Likewise.
21171         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21172         variable.
21173         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21174         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21176         [BZ #18507]
21177         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21178         __fstatvfs and define as weak alias of __fstatvfs.  Use
21179         libc_hidden_weak.
21180         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21181         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21182         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21183         Define as alias of __fstatvfs, not fstatvfs.
21184         (fstatvfs64): Likewise.
21185         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21186         Define as alias of __statvfs, not statvfs.
21187         (statvfs64): Likewise.
21188         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21189         Remove variable.
21191 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21194         (HAVE_GETCPU_VSYSCALL): Define.
21195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21196         (HAVE_GETCPU_VSYSCALL): Likewise.
21197         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21198         * sysdeps/unix/sysv/linux/sched_getcpu.c
21199         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21200         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21201         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21202         prototype.
21203         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21204         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21205         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21206         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21207         Define.
21208         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21209         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21210         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21211         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21213 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21215         * sysdeps/x86_64/fpu/Makefile: New file.
21216         * sysdeps/x86_64/fpu/Versions: New file.
21217         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21218         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21219         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21220         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21221         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21222         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21223         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21225         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21226         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21228         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21229         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21230         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21231         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21232         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21233         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21234         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21235         * sysdeps/x86_64/configure: Regenerated.
21236         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21237         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21238         * manual/install.texi (Configuring and compiling): Document
21239         --disable-mathvec.
21240         * INSTALL: Regenerated.
21241         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21243         * math/Makefile: Added rules for vector tests.
21244         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21245         declaration under condition.
21246         * math/test-double-vlen2.h: New file.
21247         * math/test-double-vlen4.h: New file.
21248         * math/test-double-vlen8.h: New file.
21249         * math/test-vec-loop.h: Added initialization macro.
21250         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21251         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21252         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21253         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21254         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21255         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21256         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21257         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21258         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21259         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21260         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21262         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21263         * sysdeps/x86_64/fpu/Versions: New versions added.
21264         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21265         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21266         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21267         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21268         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21269         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21270         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21271         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21272         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21273         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21274         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21275         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21276         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21277         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21278         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21279         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21280         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21281         * NEWS: Mention addition of x86_64 vector cosf.
21283         * math/Makefile: Added CFLAGS for new tests.
21284         * math/test-float-vlen16.h: New file.
21285         * math/test-float-vlen4.h: New file.
21286         * math/test-float-vlen8.h: New file.
21287         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21288         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21289         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21290         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21291         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21292         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21293         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21294         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21295         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21296         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21297         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21299 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21301         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21302         * locale/programs/ld-ctype.c: Likewise.
21304 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21306         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21307         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21308         bit_ZMM16_31_state): New macro.
21309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21310         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21312 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21314         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21316 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21318         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21320 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21322         [BZ #18498]
21323         * libio/memstream.c (open_memstream): Rename to __open_memstream
21324         and define as weak alias of __open_memstream.
21325         * include/stdio.h (__open_memstream): Declare.  Use
21326         libc_hidden_proto.
21327         (open_memstream): Don't use libc_hidden_proto.
21328         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21329         open_memstream.
21330         * posix/getopt.c (_getopt_internal_r): Likewise.
21331         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21332         variable.
21333         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21334         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21335         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21337         [BZ #18496]
21338         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21339         instead of wcrtomb.
21341         [BZ #18483]
21342         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21343         [__USE_XOPEN2K8].  Remove redundant #endif.
21344         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21345         Remove redundant #if.
21346         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21347         Remove variable.
21348         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21349         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21351         [BZ #18495]
21352         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21353         (__iswlower): Likewise.
21354         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21355         (__iswlower): Likewise.
21356         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21357         instead of towlower.
21358         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21359         instead of iswlower.  Call __towupper instead of towupper.
21360         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21361         instead of iswalnum.
21363 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21365         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21366         errors to stderr.
21368 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21370         [BZ #15661]
21371         [BZ #17322]
21372         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21373         Check for overflow properly.  Check for O_APPEND.  Ignore large
21374         file system block sizes.  Add comments about problems.
21375         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21376         * manual/filesys.texi (Storage Allocation): New node.
21378 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21380         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21381         cancellable syscalls.
21382         (SYS_ify): Add guard to no redefine it.
21383         (INLINE_SYSCALL): Likewise.
21384         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21385         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21386         SYSCALL_CANCEL instead.
21387         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21388         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21389         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21390         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21391         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21392         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21393         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21394         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21395         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21396         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21397         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21398         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21399         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21400         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21401         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21402         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21403         Likewise.
21404         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21405         (__libc_pread64): Likewise.
21406         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21407         (__libc_preadv): Likewise.
21408         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21409         (__libc_readv64): Likewise.
21410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21411         (__libc_pwrite): Likewise.
21412         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21413         (__libc_pwrite64): Likewise.
21414         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21415         (__libc_pwritev): Likewise.
21416         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21417         (__libc_pwritev64): Likewise.
21418         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21419         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21420         (sync_file_range): Likewise.
21421         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21422         Likewise.
21423         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21424         Likewise.
21425         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21426         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21427         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21428         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21429         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21430         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21431         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21432         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21434         Likewise.
21435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21436         (__libc_read64): Likewise.
21437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21438         Likewise.
21439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21440         Likewise.
21441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21442         Likewise.
21443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21444         Likewise.
21445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21446         (__libc_pread64): Likewise.
21447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21448         Likewise.
21449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21450         (__libc_pwrite64): Likewise.
21451         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21452         (sync_file_range): Likewise.
21453         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21454         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21455         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21456         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21457         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21458         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21459         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21460         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21461         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21462         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21463         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21464         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21465         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21466         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21467         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21468         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21469         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21470         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21471         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21472         Likewise.
21473         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21474         Likewise.
21475         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21476         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21477         Likewise.
21478         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21479         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21480         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21481         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21482         Likewise.
21483         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21484         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21485         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21486         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21487         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21489 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21491         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21492         Include dl-vdso.
21493         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21494         Use VDSO routines for gettimeofday, clock_gettime if
21495         available.
21496         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21497         Declare VDSO symbols.
21498         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21499         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21500         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21501         * sysdeps/unix/sysv/linux/arm/Versions: Add
21502         __vdso_clock_gettime.
21504 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21506         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21507         be an inline implementation regardless of library is built within.
21508         (open_not_cancel_2): Likewise.
21509         (__read_nocancel): Likewise.
21510         (__write_nocancel): Likewise.
21511         (openat_not_cancel): Likewise.
21512         (openat_not_cancel_3): Likewise.
21513         (openat64_not_cancel): Likewise.
21514         (openat64_not_cancel_3): Likewise.
21515         (__close_nocancel): Likewise.
21516         (pause_not_cancel): Likewise.
21517         (nanosleep_not_cancel): Likewise.
21518         (sigsuspend_not_cancel): Likewise.
21520 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21522         [BZ #14958]
21523         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21524         wake-up.
21525         (__pthread_rwlock_rdlock_slow): Likewise.
21526         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21527         Likewise.
21528         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21529         Likewise.
21530         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21531         * nptl/tst-rwlock16.c: New file.
21532         * nptl/Makefile (tests): Add new test.
21534 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21536         [BZ #18324]
21537         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21538         missing wake-up of readers.
21539         * nptl/tst-rwlock15.c: New file.
21540         * nptl/Makefile (tests): Add new test.
21542 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21544         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21545         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21546         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21547         and __nacl_supply_interface_rtld.
21548         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21549         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21550         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21551         Add __nacl_supply_interface_rtld.
21552         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21554 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21556         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21557         isfinite.
21558         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21559         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21561 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21563         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21564         __signbit* with standard C99 macros.
21565         * math/e_exp10l.c: Likewise.
21566         * math/e_exp2l.c: Likewise.
21567         * math/e_scalb.c: Likewise.
21568         * math/e_scalbf.c: Likewise.
21569         * math/e_scalbl.c: Likewise.
21570         * math/s_ldexp.c: Likewise.
21571         * math/s_ldexpf.c: Likewise.
21572         * math/s_ldexpl.c: Likewise.
21573         * math/w_atan2.c: Likewise.
21574         * math/w_atan2f.c: Likewise.
21575         * math/w_atan2l.c: Likewise.
21576         * math/w_cosh.c: Likewise.
21577         * math/w_coshf.c: Likewise.
21578         * math/w_coshl.c: Likewise.
21579         * math/w_exp10.c: Likewise.
21580         * math/w_exp10f.c: Likewise.
21581         * math/w_exp10l.c: Likewise.
21582         * math/w_exp2.c: Likewise.
21583         * math/w_exp2f.c: Likewise.
21584         * math/w_exp2l.c: Likewise.
21585         * math/w_fmod.c: Likewise.
21586         * math/w_fmodf.c: Likewise.
21587         * math/w_fmodl.c: Likewise.
21588         * math/w_hypot.c: Likewise.
21589         * math/w_hypotf.c: Likewise.
21590         * math/w_hypotl.c: Likewise.
21591         * math/w_jnl.c: Likewise.
21592         * math/w_lgamma.c: Likewise.
21593         * math/w_lgamma_r.c: Likewise.
21594         * math/w_lgammaf.c: Likewise.
21595         * math/w_lgammaf_r.c: Likewise.
21596         * math/w_lgammal.c: Likewise.
21597         * math/w_lgammal_r.c: Likewise.
21598         * math/w_pow.c: Likewise.
21599         * math/w_powf.c: Likewise.
21600         * math/w_powl.c: Likewise.
21601         * math/w_remainder.c: Likewise.
21602         * math/w_remainderf.c: Likewise.
21603         * math/w_remainderl.c: Likewise.
21604         * math/w_scalb.c: Likewise.
21605         * math/w_scalbf.c: Likewise.
21606         * math/w_scalbl.c: Likewise.
21607         * math/w_scalbln.c: Likewise.
21608         * math/w_scalblnf.c: Likewise.
21609         * math/w_scalblnl.c: Likewise.
21610         * math/w_sinh.c: Likewise.
21611         * math/w_sinhf.c: Likewise.
21612         * math/w_sinhl.c: Likewise.
21613         * math/w_tgamma.c: Likewise.
21614         * math/w_tgammaf.c: Likewise.
21615         * math/w_tgammal.c: Likewise.
21616         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21617         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21618         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21619         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21620         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21621         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21622         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21623         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21624         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21625         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21626         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21627         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21628         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21629         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21630         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21631         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21632         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21633         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21634         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21635         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21636         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21637         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21638         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21639         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21640         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21641         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21642         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21643         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21644         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21645         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21646         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21647         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21648         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21649         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21650         * stdio-common/printf_fp.c: Likewise.
21651         * stdio-common/printf_fphex.c: Likewise.
21652         * stdio-common/printf_size.c: Likewise.
21654 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21656         [BZ #18470]
21657         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21658         strnlen.
21659         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21660         Remove variable.
21661         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21662         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21663         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21664         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21665         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21666         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21667         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21668         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21669         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21670         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21672         [BZ #18468]
21673         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21674         weak alias of __wmemchr.  Use libc_hidden_weak.
21675         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21676         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21677         instead of wmemchr.
21679 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21681         [BZ #18383]
21682         * elf/tst-tlsalign-extern.c: New file.
21683         * elf/tst-tlsalign-extern-static.c: New file.
21684         * elf/tst-tlsalign-vars.c: New file.
21685         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21686         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21687         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21688         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21689         (test-xfail-tst-tlsalign-extern-static): New variable.
21691 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21693         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21694         Use variable name _sc_err instead of err.
21695         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21696         instead of ret.
21697         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21698         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21699         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21700         (INLINE_SYSCALL): Likewise.
21702         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21703         * include/string.h (__strnlen): Use libc_hidden_proto.
21704         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21705         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21706         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21707         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21708         (libc_hidden_def): Undefine and redefine.
21709         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21710         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21711         __GI_strnlen.
21712         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21713         libc_hidden_def.
21714         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21716         [BZ #18469]
21717         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21718         weak alias of __towlower.  Use libc_hidden_weak.
21719         (towupper): Rename to __towupper and define as weak alias of
21720         __towupper.  Use libc_hidden_weak.
21721         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21722         (__towupper): Likewise.
21723         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21724         __towlower instead of towlower.
21726 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21728         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21729         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21731 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21733         * sysdeps/aarch64/libm-test-ulps: Update.
21735 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21737         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21738         Define.
21739         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21740         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21741         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21742         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21743         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21744         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21745         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21747 2015-06-01  Martin Sebor  <msebor@redhat.com>
21749         [BZ #18116]
21750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21751         (__setcontext): Use extended four-operand version of mtsf whenever
21752         possible.
21753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21754         (__novec_swapcontext): Likewise.
21756 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21758         * benchtests/scripts/compare_bench.py: New file.
21759         * benchtests/scripts/import_bench.py (mean): New function.
21760         (split_list): Likewise.
21761         (do_for_all_timings): Likewise.
21762         (compress_timings): Likewise.
21764         * benchtests/scripts/import_bench.py: New file.
21765         * benchtests/scripts/validate_benchout.py: Import import_bench
21766         instead of jsonschema.
21767         (validate_bench): Remove function.
21768         (main): Use import_bench.
21770 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21772         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21773         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21775 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21779 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21781         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21782         set THREAD_SELF->tid to a magic value and futex-wake it.
21783         Pass its address to the thread_exit system call.
21784         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21785         bit is clear.
21786         * sysdeps/nacl/lowlevellock.h: New file.
21787         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21789         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21790         Add TIMEOUT to current time, don't subtract it.
21792 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21794         [BZ #2981]
21795         [BZ #18422]
21796         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21797         ($(objpfx)tst-audit2.out): Also depend on
21798         $(objpfx)tst-auditmod9b.so.
21799         * elf/tst-audit2.c: Include <dlfcn.h>.
21800         (calloc_called): New.
21801         (calloc): Allow to be called more than once.
21802         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21804 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21806         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21807         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21809 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21811         * stdlib/monetary.h: Fix comment.
21813 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21815         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21816         Avoid using variables in #defines that might cause shadowing.
21817         (INTERNAL_VSYSCALL_CALL): Likewise.
21819 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21821         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21823         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21824         * nptl/lll_timedlock_wait.c: ... to this new file.
21825         * nptl/Makefile (libpthread-routines): Add it.
21826         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21827         * nptl/lll_timedwait_tid.c: ... to this new file.
21828         * nptl/Makefile (libpthread-routines): Add it.
21829         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21830         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21831         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21832         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21833         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21834         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21835         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21836         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21837         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21838         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21840 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21842         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21843         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21844         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21845         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21846         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21847         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21848         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21849         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21850         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21851         * sysdeps/unix/sysv/linux/tile/sysdep.h
21852         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21853         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21854         using vDSO syscall macro.
21856 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21858         [BZ #17293]
21859         * uk_UA: Fix sorting order for Ukrainian locale
21861 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21863         * stdlib/monetary.h: Fix comment.
21865 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21867         [BZ #18234]
21868         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21869         st_mtim and st_ctim members.
21870         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21871         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21872         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21873         (struct stat64): Likewise.
21874         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21875         (struct stat64): Likewise.
21876         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21877         (struct stat64): Likewise.
21879 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21881         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21882         Define and include sysdep-vdso.h.
21883         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21884         Likewise.
21885         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21886         Likewise.
21887         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21888         Define with VDSO_SYMBOL and use PTR_MANGLE.
21889         (__vdso_clock_gettime): Likewise.
21890         (__vdso_clock_getres): Likewise.
21891         (_libc_vdso_platform_setup): Likewise.
21892         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21893         Likewise.
21894         (_libc_vdso_platform_setup): Likewise.
21895         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21896         Likewise.
21897         (__vdso_clock_gettime): Likewise.
21898         (__vdso_clock_getres): Likewise.
21899         (__vdso_get_tbfreq): Likewise.
21900         (__vdso_getcpu): Likewise.
21901         (__vdso_time): Likewise.
21902         (__vdso_sigtramp_rt64): Likewise.
21903         (__vdso_signtramp32): Likewise.
21904         (__vdso_sigtramp_rt32): Likewise.
21905         (_libc_vdso_platform_setup): Likewise.
21906         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21907         Likewise.
21908         (__vdso_clock_gettime): Likewise.
21909         (__vdso_clock_getres): Likewise.
21910         (_libc_vdso_platform_setup): Likewise.
21911         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21912         Likewise.
21913         (__vdso_clock_gettime): Likewise.
21914         (_libc_vdso_platform_setup): Likewise.
21915         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21916         Likewise.
21917         (__vdso_getcpu): Likewise.
21918         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21919         Use VDSO_SYMBOL macro to define.
21920         (__vdso_clock_gettime): Likewise.
21921         (__vdso_clock_getres): Likewise.
21922         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21923         Likewise.
21924         (__vdso_clock_gettime): Likewise.
21925         (__vdso_clock_getres): Likewise.
21926         (__vdso_get_tbfreq): Likewise.
21927         (__vdso_getcpu): Likewise.
21928         (__vdso_time): Likewise.
21929         (__vdso_sigtramp_rt64): Likewise.
21930         (__vdso_signtramp32): Likewise.
21931         (__vdso_sigtramp_rt32): Likewise.
21932         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21933         Likewise.
21934         (__vdso_clock_gettime): Likewise.
21935         (__vdso_clock_getres): Likewise.
21936         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21937         Likewise.
21938         (__vdso_clock_gettime): Likewise.
21939         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21940         Likewise.
21941         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21942         macro.
21943         (INTERNAL_VSYSCALL): Likewise.
21944         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21945         Remove macro.
21946         (INTERNAL_VSYSCALL): Likewise.
21947         (INTERNAL_VSYSCALL_NCS): Likewise.
21948         (INTERNAL_VSYSCALL_CALL): New macro.
21949         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21950         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21951         Likewise.
21952         (INTERNAL_VSYSCALL): Likewise.
21953         (INTERNAL_VSYSCALL_NCS): Likewise.
21954         (INTERNAL_VSYSCALL_CALL): New macro.
21955         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21957         (INLINE_VSYSCALL): Remove macro.
21958         (INTERNAL_VSYSCALL): Remove macro.
21959         (INTERNAL_VSYSCALL_NCS): Remove macro.
21960         (INTERNAL_VSYSCALL_CALL): New macro.
21961         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21962         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21963         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21964         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21965         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21967         (INLINE_VSYSCALL): Remove macro.
21968         (INTERNAL_VSYSCALL): Likewise.
21969         (INTERNAL_VSYSCALL_NCS): Likewise.
21970         (INTERNAL_VSYSCALL_CALL): New macro.
21971         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21972         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21973         PTR_DEMANGLE on vDSO pointer.
21974         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21975         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21976         macro.
21977         (INTERNAL_SYSCALL): Likewise.
21978         (INTERNAL_VSYSCALL_NCS): Remove macro.
21979         (INTERNAL_VSYSCALL_CALL): New macro.
21980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21981         Remove macro.
21982         (INTERNAL_VSYSCALL): Likewise.
21983         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21984         sysdep-vdso.h instead of libc-vdso.h.
21985         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21986         definition.
21987         (INLINE_VSYSCALL): Likewise.
21988         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21989         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21990         definition.
21991         (INLINE_VSYSCALL): Likewise.
21992         (INTERNAL_VSYSCALL): Likewise.
21993         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21994         * sysdeps/unix/sysv/linux/timespec_get.c
21995         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21996         (timespec_get): Use ANSI prototype.
21997         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21998         and definition for Linux.
22000 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22002         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
22003         * include/libc-symbols.h: libmvec_hidden_* macro series added.
22005 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22007         [BZ #2981]
22008         [BZ #18410]
22009         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
22010         for missing DT_PLTRELSZ.
22012 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22014         Remove obsolete aliases that broke 'locale -a'
22015         [BZ #18412]
22016         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
22017         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
22018         breaking some applications that use 'locale -a' output.
22019         Change the encoding of this file from Latin-1 to ASCII to avoid
22020         other potential problems with people grepping this file.
22022 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22024         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
22025         -fasynchronous-unwind-tables.
22026         (CFLAGS-sendto.c): Likewise.
22027         (CFLAGS-sendmsg.c): Likewise.
22028         (CFLAGS-connect.c): Likewise.
22029         (CFLAGS-recvmsg.c): Likewise.
22030         (CFLAGS-recvfrom.c): Likewise.
22031         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
22032         (SOCKETCALL): New macro: non-cancellable socketcall.
22033         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
22034         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
22035         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
22036         * sysdeps/unix/sysv/linux/accept.c: New file.
22037         * sysdeps/unix/sysv/linux/bind.c: Likewise.
22038         * sysdeps/unix/sysv/linux/connect.c: Likewise.
22039         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
22040         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
22041         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
22042         * sysdeps/unix/sysv/linux/listen.c: Likewise.
22043         * sysdeps/unix/sysv/linux/recv.c: Likewise.
22044         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
22045         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
22046         * sysdeps/unix/sysv/linux/send.c: Likewise.
22047         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
22048         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
22049         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
22050         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
22051         * sysdeps/unix/sysv/linux/socket.c: Likewise.
22052         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
22053         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
22054         prototype.
22055         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
22056         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22057         instead of __internal_xxx function.
22058         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
22059         prototype.
22060         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
22061         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22062         instead of __internal_xxx function.
22063         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
22064         prototype.
22065         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
22066         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22067         instead of __internal_xxx function.
22068         * sysdeps/unix/sysv/linux/accept.S: Remove file.
22069         * sysdeps/unix/sysv/linux/bind.S: Likewise.
22070         * sysdeps/unix/sysv/linux/connect.S: Likewise.
22071         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
22072         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
22073         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
22074         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
22075         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
22076         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
22077         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
22078         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
22079         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22080         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
22081         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
22082         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
22083         * sysdeps/unix/sysv/linux/listen.S: Likewise.
22084         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
22085         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
22086         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
22087         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
22088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
22089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
22090         * sysdeps/unix/sysv/linux/recv.S: Likewise.
22091         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
22092         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
22093         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
22094         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22095         * sysdeps/unix/sysv/linux/send.S: Likewise.
22096         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
22097         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
22098         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
22099         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
22100         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
22101         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
22102         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
22103         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
22104         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
22105         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
22106         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
22107         socketcall is implemented in GLIBC.
22109 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22111         * soft-fp/fmadf4.c: Include <libc-internal.h>.
22112         (__fma): Ignore uninitialized warnings around packing.
22113         * soft-fp/fmasf4.c: Include <libc-internal.h>.
22114         (__fmaf): Ignore uninitialized warnings around packing.
22115         * soft-fp/fmatf4.c: Include <libc-internal.h>.
22116         (__fmal): Ignore uninitialized warnings around packing.
22118         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
22119         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22120         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
22121         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22123         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22124         switch statement into default case.
22125         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22127         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22128         a conditional in forcing "inexact".
22129         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22130         Likewise.
22132 2015-05-22  Roland McGrath  <roland@hack.frob.com>
22134         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22135         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22136         for each INTERNAL_SYSCALL use.
22138 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22140         [BZ #438]
22141         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
22142         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
22143         variable.
22145         [BZ #18444]
22146         * string/basename.c (basename): Rename to __basename and define as
22147         weak alias of __basename.  Use libc_hidden_weak.
22148         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
22149         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
22150         __basename instead of basename.
22151         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
22152         Remove variable.
22153         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22155 2015-05-18  Florian Weimer  <fweimer@redhat.com>
22157         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22158         (_IO_JUMPS_FILE_plus): New.
22159         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22160         _IO_CAST_FIELD_ACCESS.
22161         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22162         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22163         * libio/freopen.c (freopen): Likewise.
22164         * libio/freopen64.c (freopen64): Likewise.
22165         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22166         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22167         * libio/iofwide.c (_IO_fwide): Likewise.
22168         * libio/memstream.c (open_memstream): Likewise.
22169         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22170         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22171         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22173 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22175         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22176         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22177         NADJ.
22178         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22179         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22180         NADJ.
22181         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22182         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22183         NADJ.
22185         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22186         (p == 4) case.
22188         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22189         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22190         Remove variable.
22191         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22192         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22193         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22195 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22197         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22198         Adjust jump table label generation macros.
22200 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22202         * stdio-common/vfprintf.c (vfprintf): Move local variables
22203         args_malloced, specs, specs_malloced, and the code after
22204         do_positional to the printf_positional function.
22205         (printf_positional): New function.
22207 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22209         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22210         function.
22211         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22212         STEP4_TABLE, process_arg): Move macro definitions
22213         out of the vfprintf function.  (Cosmetic change only.)
22215 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22217         * benchtests/Makefile (stdio-common-bench): Define.
22218         (benchset): Add stdio-common-bench.
22219         * sprintf-inputs: New file.
22220         * sprintf-source.c: New file.
22222 2015-05-21  Andreas Schwab  <schwab@suse.de>
22224         [BZ #13028]
22225         [BZ #17053]
22226         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22227         of struct __res_state.
22228         * resolv/res_send.c (__libc_res_nsend): Likewise.
22229         (get_nsaddr): New function.
22230         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22231         statp directly.
22233 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22235         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22236         -D_POSIX_C_SOURCE=199506L.
22238         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22240         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22241         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22242         Do not mention otherwise.
22243         [POSIX] (_XOPEN_VERSION): Do not expect.
22244         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22245         [POSIX] (_POSIX2_C_BIND): Likewise.
22246         [POSIX] (_POSIX2_VERSION): Likewise.
22247         [POSIX] (_XOPEN_XPG2): Likewise.
22248         [POSIX] (_XOPEN_XPG3): Likewise.
22249         [POSIX] (_XOPEN_XPG4): Likewise.
22250         [POSIX] (_XOPEN_UNIX): Likewise.
22251         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22252         [POSIX] (_POSIX_BARRIERS): Likewise.
22253         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22254         [POSIX] (_POSIX_CPUTIME): Likewise.
22255         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22256         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22257         [POSIX] (_POSIX_SHELL): Likewise.
22258         [POSIX] (_POSIX_SPAWN): Likewise.
22259         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22260         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22261         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22262         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22263         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22264         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22265         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22266         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22267         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22268         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22269         [POSIX] (_POSIX2_PBS): Likewise.
22270         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22271         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22272         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22273         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22274         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22275         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22276         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22277         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22278         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22279         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22280         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22281         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22282         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22283         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22284         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22285         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22286         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22287         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22288         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22289         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22290         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22291         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22292         [POSIX] (_SC_2_C_BIND): Likewise.
22293         [POSIX] (_SC_2_C_VERSION): Likewise.
22294         [POSIX] (_SC_2_PBS): Likewise.
22295         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22296         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22297         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22298         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22299         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22300         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22301         [POSIX] (_SC_BARRIERS): Likewise.
22302         [POSIX] (_SC_BASE): Likewise.
22303         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22304         [POSIX] (_SC_DEVICE_IO): Likewise.
22305         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22306         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22307         [POSIX] (_SC_FD_MGMT): Likewise.
22308         [POSIX] (_SC_FIFO): Likewise.
22309         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22310         [POSIX] (_SC_FILE_LOCKING): Likewise.
22311         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22312         [POSIX] (_SC_IOV_MAX): Likewise.
22313         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22314         [POSIX] (_SC_NETWORKING): Likewise.
22315         [POSIX] (_SC_PAGE_SIZE): Likewise.
22316         [POSIX] (_SC_PASS_MAX): Likewise.
22317         [POSIX] (_SC_PIPE): Likewise.
22318         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22319         [POSIX] (_SC_REGEXP): Likewise.
22320         [POSIX] (_SC_SHELL): Likewise.
22321         [POSIX] (_SC_SIGNALS): Likewise.
22322         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22323         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22324         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22325         [POSIX] (_SC_USER_GROUPS): Likewise.
22326         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22327         [POSIX] (_SC_STREAMS): Likewise.
22328         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22329         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22330         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22331         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22332         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22333         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22334         [POSIX] (_PC_FILESIZEBITS): Likewise.
22335         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22336         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22337         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22338         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22339         [POSIX] (uid_t): Likewise.
22340         [POSIX] (gid_t): Likewise.
22341         [POSIX] (off_t): Likewise.
22342         [POSIX] (pid_t): Likewise.
22343         [POSIX] (cuserid): Allow.
22344         (_SC_2_CHAR_TERM): Require constant.
22345         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22346         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22347         variable.
22349 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22351         * sysdeps/nacl/pthread-pids.h: New file.
22352         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22353         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22355         * nptl/pthread-pids.h: New file.
22356         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22357         * nptl/nptl-init.c: Include <pthread-pids.h>.
22358         (__pthread_initialize_minimal_internal):
22359         Call __pthread_initialize_pids instead of set_tid_address syscall.
22361         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22362         * sysdeps/posix/usleep.c: ... here.
22364 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22366         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22367         call_pselect6 object.
22368         [$(subdir) = io]: Remove call_sync_file_range object.
22369         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22370         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22371         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22372         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22374 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22376         * math/s_cproj.c: Add include "math_private.h".
22377         * math/s_cprojf.c: Likewise.
22378         * math/s_cprojl.c: Likewise.
22380 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22382         [BZ #18244]
22383         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22384         high mantissa bit when testing whether P is a NaN.
22385         * math/libm-test.inc (remainder_test_data): Add more tests.
22386         (remquo_test_data): Likewise.
22388         [BZ #18049]
22389         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22390         below -32, return the argument, with underflow if subnormal.
22391         * math/auto-libm-test-in: Add more tests of atanh.
22392         * math/auto-libm-test-out: Regenerated.
22394 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22396         [BZ #18434]
22397         * nptl/tst-sem15.c: New file.
22398         * nptl/Makefile (tests): Add it.
22399         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22400         s/<</>>/ to fix typo in EOVERFLOW check.
22401         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22403 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22405         * manual/strings.texi (envz_remove): Fix typo in safety
22406         annotations.
22408 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22409             Steve Ellcey  <sellcey@imgtec.com>
22411         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22412         in order to avoid strict alias warnings.
22413         (iruserok_af): Ditto for ra.
22415 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22417         [BZ #17581]
22418         * malloc/hooks.c
22419         (magicbyte): Convert to a function and avoid returning 0x01.
22420         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22421         (mem2chunk_check): Fix unsigned comparisons to zero.
22422         Hoist defs of sz and magic.
22424 2015-05-19  Richard Henderson  <rth@redhat.com>
22426         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22428         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22430 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22432         [BZ #16159]
22433         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22434         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22435         (reused_arena): Find a non-corrupt arena.
22436         (heap_trim): Pass arena to unlink.
22437         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22438         malloc_printerr.
22439         (top_check): Likewise.
22440         (free_check): Likewise.
22441         (realloc_check): Likewise.
22442         * malloc/malloc.c (malloc_printerr): Add arena argument.
22443         (unlink): Likewise.
22444         (munmap_chunk): Adjust.
22445         (ARENA_CORRUPTION_BIT): New macro.
22446         (arena_is_corrupt): Likewise.
22447         (set_arena_corrupt): Likewise.
22448         (sysmalloc): Use mmap if there are no usable arenas.
22449         (_int_malloc): Likewise.
22450         (__libc_malloc): Don't fail if arena_get returns NULL.
22451         (_mid_memalign): Likewise.
22452         (__libc_calloc): Likewise.
22453         (__libc_realloc): Adjust for additional argument to
22454         malloc_printerr.
22455         (_int_free): Likewise.
22456         (malloc_consolidate): Likewise.
22457         (_int_realloc): Likewise.
22458         (_int_memalign): Don't touch corrupt arenas.
22459         * malloc/tst-malloc-backtrace.c: New test case.
22461         * Makefile (summarize-tests): Fix return value on success.
22463         * manual/string.texi (Envz Functions): Add envz_remove.
22465 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22467         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22468         (invalid_name): New function, broken out of ...
22469         (__opendirat): ... here.  Call it.
22470         (need_isdir_precheck): New function, broken out of ...
22471         (__opendirat): ... here.  Call it.
22472         Use __fxstatat64, not __xstatat64.
22473         (opendir_oflags): New function, broken out of ...
22474         (__opendirat): ... here.  Call it.
22475         (opendir_tail): New function, broken out of ...
22476         (__opendirat): ... here.  Call it.
22477         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22478         opendir_tail, rather than punting to __opendirat.
22479         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22481 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22483         * .gitignore: Ignore generated *.pyc.
22485 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22487         * include/stdio.h: Define __need_wint_t.
22488         * test-skeleton.c: Avoid `for' loop initial declaration.
22489         * nptl/tst-initializers1.c: Use test-skeleton.c.
22491 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22493         [BZ #18418]
22494         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22496 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22498         [BZ #16352]
22499         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22500         (__ieee754_atanh): Force underflow exception for results with
22501         small absolute value.
22502         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22503         (__ieee754_atanhf): Force underflow exception for results with
22504         small absolute value.
22505         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22506         (__ieee754_atanh): Force underflow exception for results with
22507         small absolute value.
22508         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22509         (__ieee754_atanhf): Force underflow exception for results with
22510         small absolute value.
22511         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22512         (__ieee754_atanhl): Force underflow exception for results with
22513         small absolute value.
22514         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22515         (__ieee754_atanhl): Force underflow exception for results with
22516         small absolute value.
22517         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22518         (__ieee754_atanhl): Force underflow exception for results with
22519         small absolute value.
22520         * math/auto-libm-test-in: Do not allow missing underflow
22521         exceptions from atanh.
22522         * math/auto-libm-test-out: Regenerated.
22524         [BZ #18221]
22525         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22526         2**-28 as threshold for returning x or +/- 1/x.
22527         * math/auto-libm-test-in: Add more tests of tan.
22528         * math/auto-libm-test-out: Regenerated.
22530         [BZ #18220]
22531         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22532         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22533         * math/auto-libm-test-in: Add another test of lgamma.
22534         * math/auto-libm-test-out: Regenerated.
22536 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22538         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22539         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22540         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22541         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22542         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22543         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22544         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22545         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22546         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22547         (log1): Use fabs.  (my_log2): Use fabs.
22548         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22549         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22550         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22551         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22552         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22553         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22554         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22555         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22556         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22557         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22558         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22560 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22562         [BZ #18217]
22563         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22564         as threshold for returning 1 - x.
22565         * math/auto-libm-test-in: Add more tests of erfc.
22566         * math/auto-libm-test-out: Regenerated.
22568 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22570         [BZ #18196]
22571         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22572         threshold for large arguments.
22573         * math/auto-libm-test-in: Add another test of atan.
22574         * math/auto-libm-test-out: Regenerated.
22576         [BZ #16339]
22577         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22578         (__log1p): Force underflow exception for results with small
22579         absolute value.
22580         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22581         (__log1pf): Force underflow exception for results with small
22582         absolute value.
22583         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22584         (__log1p): Force underflow exception for results with small
22585         absolute value.
22586         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22587         (__log1pf): Force underflow exception for results with small
22588         absolute value.
22589         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22590         (__log1pl): Force underflow exception for results with small
22591         absolute value.
22592         * math/auto-libm-test-in: Do not allow missing underflow
22593         exceptions from log1p.
22594         * math/auto-libm-test-out: Regenerated.
22596 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22597             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22599         [BZ #16704]
22600         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22602 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22604         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22605         (libmvec): New variable.
22606         * configure.ac: Added option for mathvec build.
22607         * configure: Regenerated.
22608         * mathvec/Depend: New file.
22609         * mathvec/Makefile: New file.
22610         * shlib-versions: Added libmvec.
22611         * math/Makefile: Added rule for libm.so installation.
22613         * bits/math-vector.h: New file.
22614         * bits/libm-simd-decl-stubs.h: New header.
22615         * math/Makefile (headers): Added new header
22616         libm-simd-decl-stubs.h.
22617         * math/math.h (__MATHCALL_VEC): New macro.
22619         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22620         for conditions in testing functions.
22621         * math/Makefile: Added call of libm-have-vector-test.sh.
22622         * math/libm-test.inc (HAVE_VECTOR): New macros.
22624         * math/libm-test.inc: START refactored.
22625         * math/test-double.c (TEST_MATHVEC): Add define.
22626         * math/test-float.c: Likewise.
22627         * math/test-idouble.c: Likewise.
22628         * math/test-ifloat.c: Likewise.
22629         * math/test-ildoubl.c: Likewise.
22630         * math/test-ldouble.c: Likewise.
22631         * sysdeps/generic/math-tests-arch.h
22632         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22633         architecture check.
22635         * math/test-double.c (FUNC_TEST): New macro.
22636         * math/test-float.c: Likewise.
22637         * math/test-idouble.c: Likewise.
22638         * math/test-ifloat.c: Likewise.
22639         * math/test-ildoubl.c: Likewise.
22640         * math/test-ldouble.c: Likewise.
22641         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22643 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22645         * sysdeps/nacl/fdopendir.c: New file.
22647         * dirent/scandir-tail.c: New file.
22648         * dirent/scandir64-tail.c: New file.
22649         * dirent/Makefile (routines): Add them.
22650         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22651         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22652         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22653         [!SCANDIR] (SCANDIR_TAIL): New macro.
22654         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22655         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22656         (SCANDIRAT): Macro removed.
22657         (SCANDIR_TAIL): New macro.
22658         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22659         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22660         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22661         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22662         (READDIR): Macro removed.
22663         (SCANDIR_TAIL): New macro.
22664         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22665         (SCANDIR_TAIL): New macro.
22667         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22668         * dirent/scandir-cancel.c: ... to this new file.
22669         * dirent/Makefile (routines): Add it.
22670         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22671         * sysdeps/unix/sysv/linux/i386/scandir64.c
22672         (SKIP_SCANDIR_CANCEL): Macro removed.
22673         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22675         * dirent/tst-scandir.c: New file.
22676         * dirent/tst-scandir64.c: New file.
22677         * dirent/Makefile (tests): Add them.
22679 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22681         [BZ #18409]
22682         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22684 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22686         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22687         list.
22689 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22691         * benchtests/bench-strcoll.c: New benchmark.
22692         * benchtests/Makefile: Generate locales and run benchmark.
22693         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22694         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22695         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22696         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22697         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22698         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22699         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22700         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22701         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22702         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22703         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22704         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22705         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22706         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22707         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22708         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22709         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22710         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22711         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22712         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22713         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22714         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22715         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22716         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22718 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22720         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22721         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22723 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22725         * posix/uname-values.h: New file.
22726         * posix/uname.c: Include that instead of <config-name.h>.
22727         * sysdeps/nacl/uname-values.h: New file.
22728         * sysdeps/arm/nacl/uname-values.h: New file.
22730 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22732         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22733         splitting into fields.
22735 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22737         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22738         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22739         * locale/localeinfo.h: Add enum collation_encoding_type.
22740         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22741         * programs/ld-collate.c (collate_output): Add encoding type info.
22742         * string/strcoll_l.c (STRDIFF): New function.
22743         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22744         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22746 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22748         [BZ #18397]
22749         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22750         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22751         <fpu_control.h> instead of <math/fpu_control.c>.
22752         * sysdeps/mips/mips32/fpu/Makefile: New file.
22754 2015-05-11  Andreas Schwab  <schwab@suse.de>
22756         [BZ #18007]
22757         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22758         nss_endgrent.
22759         (_nss_compat_endgrent): Call nss_endgrent.
22760         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22761         nss_endpwent.
22762         (_nss_compat_endpwent): Call nss_endpwent.
22763         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22764         needent, call nss_setspent only if non-zero.
22765         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22766         (internal_endspent): Don't call nss_endspent.
22767         (_nss_compat_endspent): Call nss_endspent.
22768         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22769         Remove.  All uses removed.
22770         (internal_setent): Remove parameter stayopen, add parameter
22771         stream.  Use it instead of global variable.
22772         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22773         (internal_endent, internal_getent): Add parameter stream.  Use it
22774         instead of global variable.
22775         (CONCAT(_nss_files_end,ENTNAME))
22776         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22777         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22778         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22779         uses removed.
22780         (internal_setent, internal_endent): Add parameter stream.  Use it
22781         instead of global variable.
22782         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22783         stream.
22784         (get_next_alias): Add parameter stream.
22785         (_nss_files_getaliasent_r): Pass global stream.
22786         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22787         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22788         (_nss_files_gethostbyname4_r): Pass local stream to
22789         internal_setent, internal_getent and internal_endent.  Remove
22790         locking.
22792 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22794         * tst-strfmon1.c (tests): Update expected currency symbol.
22796 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22798         * sysdeps/nacl/gethostname.c: New file.
22800 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22802         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22803         and sinh.
22804         * math/auto-libm-test-out: Regenerated.
22805         * sysdeps/i386/fpu/libm-test-ulps: Update.
22806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22808 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22810         [BZ #18125]
22811         * stdlib/tst-setcontext3.c: New file.
22812         * stdlib/tst-setcontext3.sh: New file.
22813         * stdlib/Makefile (tests): Add tst-setcontext3.
22814         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22815         to verify test program created output file.
22816         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22817         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22818         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22819         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22821 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22823         [BZ #18383]
22824         * elf/tst-tlsalign.c: New file.
22825         * elf/tst-tlsalign-static.c: New file.
22826         * elf/tst-tlsalign-lib.c: New file.
22827         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22828         (tests-static): Add tst-tlsalign-static.
22829         (modules-names): Add tst-tlsalign-lib.
22830         (test-xfail-tst-tlsalign): New variable.
22831         (test-xfail-tst-tlsalign-static): New variable.
22833         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22834         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22836 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22838         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22839         csqrt, erfc, sin and sincos.
22840         * math/auto-libm-test-out: Regenerated.
22841         * sysdeps/i386/fpu/libm-test-ulps: Update.
22842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22844 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22846         * sysdeps/aarch64/libm-test-ulps: Update.
22848 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22850         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22851         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22852         * math/auto-libm-test-out: Regenerated.
22853         * sysdeps/i386/fpu/libm-test-ulps: Update.
22854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22856 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22858         [BZ #18265]
22859         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22860         (wcsncpy): Likewise.
22862 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22864         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22865         Assume __ASSUME_FALLOCATE is always true.
22866         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22867         (__posix_fallocate64_l64): Likweise.
22868         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22869         (posix_fallocate): Likewise.
22870         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22871         (__posix_fallocate64_l64): Likewise.
22872         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22873         [!__ASSUME_FALLOCATE]: Add comment.
22875 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22877         * sysdeps/unix/sysv/linux/i386/Makefile
22878         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22879         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22880         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22881         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22882         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22883         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22884         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22886 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22888         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22889         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22890         tgamma.
22891         * math/auto-libm-test-out: Regenerated.
22892         * sysdeps/i386/fpu/libm-test-ulps: Update.
22893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22895 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22897         * math/auto-libm-test-in: Add more tests of tgamma.
22898         * math/auto-libm-test-out: Regenerated.
22899         * sysdeps/i386/fpu/libm-test-ulps: Update.
22900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22902         * math/auto-libm-test-in: Add more tests of tanh.
22903         * math/auto-libm-test-out: Regenerated.
22904         * sysdeps/i386/fpu/libm-test-ulps: Update.
22905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22907         * math/auto-libm-test-in: Add more tests of tan.
22908         * math/auto-libm-test-out: Regenerated.
22909         * sysdeps/i386/fpu/libm-test-ulps: Update.
22910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22912         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22913         * math/auto-libm-test-out: Regenerated.
22914         * sysdeps/i386/fpu/libm-test-ulps: Update.
22915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22917         * math/auto-libm-test-in: Add another test of pow.
22918         * math/auto-libm-test-out: Regenerated.
22919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22921         * math/auto-libm-test-in: Add more tests of lgamma.
22922         * math/auto-libm-test-out: Regenerated.
22923         * sysdeps/i386/fpu/libm-test-ulps: Update.
22924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22926         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22927         log1p.
22928         * math/auto-libm-test-out: Regenerated.
22929         * sysdeps/i386/fpu/libm-test-ulps: Update.
22930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22932 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22934         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22935         Elf64_Chdr structs and ELFCOMPRESS constants.
22937 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22939         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22940         expm1.
22941         * math/auto-libm-test-out: Regenerated.
22942         * sysdeps/i386/fpu/libm-test-ulps: Update.
22943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22945         * math/auto-libm-test-in: Add more tests of erf and erfc.
22946         * math/auto-libm-test-out: Regenerated.
22947         * sysdeps/i386/fpu/libm-test-ulps: Update.
22948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22950 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22952         * config.h.in (HAVE_AARCH64_BE): Add.
22954 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22956         * math/auto-libm-test-in: Add more tests of csqrt.
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 cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22968 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22970         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22971         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22973         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22974         (euidaccess, eaccess): Define as weak aliases.
22976         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22977         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22978         but __suseconds_t is often 'long int' so some sources assume that
22979         type is being used (e.g. they use %ld to print tv_usec).
22981 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22983         [BZ #18007]
22984         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22985         (CVE-2014-8121)
22986         * nss/tst-nss-getpwent.c: New file.
22987         * nss/Makefile (tests): Add new test.
22989 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22991         [BZ #18346]
22992         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22993         exponents less than 48 as cases where high part of mantissa needs
22994         examining to determine whether argument is integral.
22995         * math/libm-test.inc (round_test_data): Add more tests.
22997 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22999         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
23001 2015-04-27  David S. Miller  <davem@davemloft.net>
23003         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
23004         __tls_get_addr.
23005         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23007 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
23009         [BZ#18333]
23010         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
23012 2015-04-27  Florian Weimer  <fweimer@redhat.com>
23014         [BZ#18333]
23015         * time/tzset.c (parse_tzname): Return error on memory allocation
23016         failure.
23017         * test-skeleton.c (struct temp_name_list): Change type of name
23018         member to non-const.
23019         (add_temp_file): Create a copy of the file name.
23020         (delete_temp_files): Deallocate memory.
23021         (create_temp_file): Add comment.
23023 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23025         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
23026         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
23028 2015-04-24  Roland McGrath  <roland@hack.frob.com>
23030         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
23031         * sysdeps/arm/configure: Regenerated.
23033 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23035         [BZ #17715]
23036         * time/tzfile.c (__tzfile_read): Check for large values of
23037         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
23038         * time/tzset.c (__tzstring_len): New function, based on the old
23039         __tzstring function.
23040         (__tzstring): Call __tzstring_len.
23041         (parse_tzname): New helper function extracted from
23042         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
23043         the input string.
23044         (parse_offset): New helper function extracted from
23045         __tzset_parse_tz.  Replace switch with fallthrough with
23046         initialization before sscanf.
23047         (parse_rule): Likewise.
23048         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
23049         new-style function definition.
23050         * timezone/Makefile (tests): Add tst-tzset.
23051         (tst-tzset.out): Dependencies on time zone files.
23052         (tst-tzset-ENV): Set TZDIR.
23053         (testdata/XT%): Copy crafted time zone files.
23054         * timezone/README: Mention crafted time zone files.
23055         * timezone/testdata/XT1, timezone/testdata/XT2,
23056         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
23057         files.
23058         * timezone/tst-tzset.c: New test.
23060 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23062         * Makeconfig (+gccwarn): Remove -Winline.
23064 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23066         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
23068 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23070         * NEWS: Mention sysconf() cache information support for s390.
23071         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
23073 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
23075         * math/k_casinh.c (__kernel_casinh): Use __copysign.
23076         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
23077         (__nearbyint): Likewise.
23078         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
23079         (copysignl): Likewise.
23081 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
23083         [BZ #18287]
23084         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
23085         based on padding.  (CVE-2015-1781)
23087 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23089         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
23090         libc-vdso.h.
23091         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
23092         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
23093         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
23094         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23095         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23096         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
23097         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
23098         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23099         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23100         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
23101         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23102         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23103         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23104         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
23105         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23106         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
23107         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
23108         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
23109         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
23110         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
23111         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
23112         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
23113         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
23115 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
23117         * stdlib/setenv.c (__add_to_environ):
23118         Dump core quickly if setenv (..., NULL, ...) is called.
23119         This time, do it the right way, and pacify GCC with a pragma.
23121 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23123         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23124         IMAP->l_prev cannot be null, and #if out the code for the contrary
23125         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23126         believe that NS (&_dl_ns[NSID]) could point outside the array.
23128         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23129         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23130         before using NSID as an index.
23132 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
23134         [BZ #17825]
23135         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23136         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23137         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23139 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23141         Add preliminary port to Google Native Client on ARM.
23142         * abi-tags (.*-.*-nacl.*): New entry.
23143         * sysdeps/arm/nacl: New directory.
23144         * sysdeps/nacl: New directory.
23146 2015-04-16  David S. Miller  <davem@davemloft.net>
23148         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
23149         lowlevellock-futex.h
23151 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
23153         * sysdeps/tile/configure.ac: New file.
23154         * sysdeps/tile/configure: Regenerated.
23156 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23158         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
23159         conditionals for weak_alias and libc_hidden_weak.
23160         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23161         libc_hidden_weak and weak_alias.
23162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23163         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23164         and weak_alias for static one.
23166 2015-04-15  David S. Miller  <davem@davemloft.net>
23168         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23170 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23172         [BZ #18206]
23173         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23174           Use signed comparision instead of substraction to avoid
23175           overflow bug.
23176         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23177           Take the sign of ret.
23178         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23179           Do not expect precise return values. Only the sign matters.
23180         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23181         * wcsmbs/test-wcsncmp.c: New File.
23182         * string/test-strncmp.c: Add wcsncmp support.
23184 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23186         [BZ #6792]
23187         * math/w_log1p.c: New file.
23188         * math/w_log1pf.c: Likewise.
23189         * math/w_log1pl.c: Likewise.
23190         * math/Makefile (libm-calls): Add w_log1p.
23191         * math/s_log1pl.c (log1pl): Remove weak_alias.
23192         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23193         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23194         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23195         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23196         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23197         [NO_LONG_DOUBLE] (log1pl): Likewise.
23198         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23199         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23200         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23201         (log1p): Remove long_double_symbol.
23202         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23203         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23204         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23205         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23206         remove weak_alias for corresponding log1p function.
23207         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23208         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23209         * sysdeps/ia64/fpu/w_log1p.c: New file.
23210         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23211         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23212         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23214 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23216         [BZ #18247]
23217         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23218         decimal exponent by 1.
23219         * stdlib/tst-strtod-round-data: Add more tests.
23220         * stdlib/tst-strtod-round.c (tests): Regenerated.
23222 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23224         * math/auto-libm-test-in: Add more tests of clog and clog10.
23225         * math/auto-libm-test-out: Regenerated.
23226         * sysdeps/i386/fpu/libm-test-ulps: Update.
23227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23229 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23231         * Makeconfig (module-cppflags): Exclude all .v.i files.
23232         (skip-module-cppflags): Variable removed.
23234         * configure.ac (libc_config_ok): Initialize before reading
23235         preconfigure scripts, not after.
23236         * configure: Regenerated.
23238         * test-skeleton.c (TIMEOUT): Move #define to top level.
23239         (main): Grok environment variable TEST_DIRECT.  If set, print
23240         test expectation details into that file and then behave as if
23241         given --direct.
23243 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23245         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23246         warning on 32-bit.
23248 2015-04-08  David S. Miller  <davem@davemloft.net>
23250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23252 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23254         * math/auto-libm-test-in: Add more tests of atanh.
23255         * math/auto-libm-test-out: Regenerated.
23256         * sysdeps/i386/fpu/libm-test-ulps: Update.
23257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23259         * math/auto-libm-test-in: Add more tests of atan.
23260         * math/auto-libm-test-out: Regenerated.
23261         * sysdeps/i386/fpu/libm-test-ulps: Update.
23262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23264 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23266         * elf/pldd.c (main): Rewrite to use struct
23267         scratch_buffer instead of extend_alloca.
23268         * elf/pldd-xx.c (find_maps): Likewise.
23269         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23270         <alloca.h>.
23271         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23272         scratch_buffer instead of extend_alloca.
23273         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23274         grp/compat-initgroups.c.
23275         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23276         Rewrite to use struct scratch_buffer instead of extend_alloca.
23277         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23278         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23280 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23282         * math/auto-libm-test-in: Add more tests of cbrt.
23283         * math/auto-libm-test-out: Regenerated.
23284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23286         * math/auto-libm-test-in: Add more tests of cabs.
23287         * math/auto-libm-test-out: Regenerated.
23288         * sysdeps/i386/fpu/libm-test-ulps: Update.
23289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23291         [BZ #18210]
23292         [BZ #18211]
23293         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23294         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23295         computations.
23296         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23297         clog10.
23298         * math/auto-libm-test-out: Regenerated.
23299         * sysdeps/i386/fpu/libm-test-ulps: Update.
23300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23302         [BZ #18197]
23303         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23304         (atan): Set FE_TONEAREST mode for internal computations.
23305         * math/auto-libm-test-in: Add more tests of atan.
23306         * math/auto-libm-test-out: Regenerated.
23308 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23310         [BZ #17930]
23311         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23313 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23315         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23317 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23319         * include/scratch_buffer.h: New file.
23320         * malloc/scratch_buffer_grow.c: Likewise.
23321         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23322         * malloc/scratch_buffer_set_array_size.c: Likewise.
23323         * malloc/tst-scratch_buffer.c: Likewise.
23324         * malloc/Makefile (routines): Add scratch_buffer_grow.
23325         (tests): Add test case.
23326         * malloc/Versions (GLIBC_PRIVATE): Export
23327         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23328         __libc_scratch_buffer_set_array_size.
23330 2015-04-06  Richard Henderson  <rth@redhat.com>
23332         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23333         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23335         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23336         unsigned int before printing.
23338 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23340         [BZ #17596]
23341         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23342         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23344 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23346         * include/libc-internal.h (libc_max_align_t): Define.
23348 2015-04-02  Andreas Schwab  <schwab@suse.de>
23350         [BZ #16850]
23351         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23353 2015-04-02  Mel Gorman  <mgorman@suse.de>
23355         [BZ #17195]
23356         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23357         as well as the main arena.
23359 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23361         [BZ #18185]
23362         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23363         sharing L2 cache to 2 for Silvermont/Knights Landing.
23365 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23367         [BZ #17711]
23368         * config.make.in (have-protected-data): New.
23369         * configure.ac: Check linker support for protected data symbol.
23370         * configure: Regenerated.
23371         * elf/Makefile (modules-names): Add tst-protected1moda and
23372         tst-protected1modb if $(have-protected-data) is yes.
23373         (tests): Add tst-protected1a and tst-protected1b if
23374         $(have-protected-data) is yes.
23375         ($(objpfx)tst-protected1a): New.
23376         ($(objpfx)tst-protected1b): Likewise.
23377         (tst-protected1modb.so-no-z-defs): Likewise.
23378         * elf/tst-protected1a.c: New file.
23379         * elf/tst-protected1b.c: Likewise.
23380         * elf/tst-protected1mod.h: Likewise.
23381         * elf/tst-protected1moda.c: Likewise.
23382         * elf/tst-protected1modb.c: Likewise.
23384 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23386         [BZ #17711]
23387         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23388         indicates it is called from do_lookup_x on relocation against
23389         protected data, skip the data definion in the executable from
23390         copy reloc.
23391         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23392         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23393         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23394         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23395         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23396         otherwise to 0.
23397         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23398         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23399         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23400         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23401         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23402         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23404 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23406         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23407         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23409 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23411         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23412         THREAD_SETMEM_NC.
23413         * sysdeps/x86_64/nptl/tls.h: Ditto.
23415 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23417         * dlfcn/tststatic.c (main): Converted to ...
23418         (do_test): ... this.
23419         (TEST_FUNCTION): New macro.
23420         Include test-skeleton.c.
23422 2015-03-26  Alan Modra  <amodra@gmail.com>
23424         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23425         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23426         zero for undefined weak.
23427         (elf_machine_plt_conflict): Similarly.
23429 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23431         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23432         atanh.
23433         * math/auto-libm-test-out: Regenerated.
23434         * sysdeps/i386/fpu/libm-test-ulps: Update.
23435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23437         * math/auto-libm-test-in: Add another test of asin.
23438         * math/auto-libm-test-out: Regenerated.
23439         * sysdeps/i386/fpu/libm-test-ulps: Update.
23440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23442         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23443         Remove macro.
23444         (LLL_EBX_REG): Likewise.
23445         (LLL_ENTER_KERNEL): Likewise.
23447         * math/auto-libm-test-in: Add more tests of asin.
23448         * math/auto-libm-test-out: Regenerated.
23449         * sysdeps/i386/fpu/libm-test-ulps: Update.
23450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23452         [BZ #18138]
23453         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23454         libc_do_syscall_args): New structure.
23455         (INTERNAL_SYSCALL_MAIN_0): New macro.
23456         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23457         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23458         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23459         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23460         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23461         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23462         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23463         Replace conditional definitions by conditional definitions of ....
23464         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23465         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23466         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23467         (libpthread-sysdep_routines): Add libc-do-syscall.
23468         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23469         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23470         to __NR_futex not 240.
23472 2015-03-25  Alan Modra  <amodra@gmail.com>
23474         * NEWS: Advertise TLS optimization.
23475         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23476         (DT_PPC_NUM): Increment.
23477         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23478         (CHECK_STATIC_TLS): Use here.
23479         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23480         TLS descriptors.
23481         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23482         * sysdeps/powerpc/dl-tls.c: New file.
23483         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23484         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23485         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23486         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23491 2015-03-25  Alan Modra  <amodra@gmail.com>
23493         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23494         for overlapping .opd entries" to "support...".
23495         * sysdeps/powerpc/powerpc64/configure: Regenerate
23497 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23499         * math/auto-libm-test-in: Add more tests of acos.
23500         * math/auto-libm-test-out: Regenerated.
23501         * sysdeps/i386/fpu/libm-test-ulps: Update.
23502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23504         * math/auto-libm-test-in: Add more tests of expm1.
23505         * math/auto-libm-test-out: Regenerated.
23506         * sysdeps/i386/fpu/libm-test-ulps: Update.
23507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23509 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23511         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23512         * math/auto-libm-test-out: Regenerated.
23513         * sysdeps/i386/fpu/libm-test-ulps: Update.
23514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23516         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23519         * math/auto-libm-test-in: Add more tests of log2.
23520         * math/auto-libm-test-out: Regenerated.
23521         * sysdeps/i386/fpu/libm-test-ulps: Update.
23522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23524 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23526         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23527         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23528         _IO_IS_APPENDING bit in READ_WRITE instead.
23530 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23532         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23533         (__determine_cpumask_size): Replace extend_alloca with a
23534         variable-length array.  Do not treat res == 0 as an error.
23536 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23538         [BZ #18100]
23539         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23540         and integer overflow.
23541         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23542         (main): Add integer overflow tests.
23543         * manual/pattern.texi (Calling Wordexp): Document additional use
23544         for WRDE_SYNTAX.
23546 2015-03-23  Alan Modra  <amodra@gmail.com>
23548         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23549         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23550         and false branch of conditional.
23551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23552         Likewise.
23554 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23556         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23557         libc-modules.h
23558         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23559         unused declaration of _hurd_intr_rpc_msg_in_trap.
23560         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23561         defined instead of whether it is non-zero.
23562         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23563         input constraint instead of both input and output constraint.  Use ecx
23564         clobber instead of %ecx.
23565         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23566         mutex_unlock): Use a statement expression instead of an expression list.
23567         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23568         type to vm_size_t instead of vm_address_t.
23569         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23570         defined instead of whether it is non-zero.
23571         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23572         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23573         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23574         comparisons with mapaddr.
23575         * nscd/nscd-client.h: Include <time.h>.
23576         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23577         9th parameter to __vm_region instead of int.
23578         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23579         * scripts/check-local-headers.sh (exclude): Add device/,
23580         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23581         cthreads.h.
23583 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23585         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23586         to account for alignment padding.
23587         * sysdeps/arm/memmove.S: Likewise.
23589 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23591         * sysdeps/unix/sysv/linux/generic/README: New file.
23593 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23595         [BZ #18138]
23596         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23597         (futex_abstimed_wait)
23598         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23599         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23600         of lll_futex_timed_wait.
23602 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23604         [BZ #17542]
23605         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23607 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23609         [BZ #17090]
23610         [BZ #17620]
23611         [BZ #17621]
23612         [BZ #17628]
23613         * NEWS: Update.
23614         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23615         entries with Static TLS too.  Skip entries past the end of the
23616         allocated DTV, from Alan Modra.
23617         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23618         Static TLS DTV entry set up from...
23619         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23620         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23621         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23622         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23623         for Static TLS.
23624         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23625         that the slot we find is associated with the given map before
23626         using its generation count.
23627         * nptl_db/db_info.c: Include ldsodefs.h.
23628         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23629         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23630         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23631         (link_map::l_tls_offset): New struct field.
23632         (dtv_t::counter): Likewise.
23633         (rtld_global): New struct.
23634         (_rtld_global): New rtld variable.
23635         (dl_tls_dtv_slotinfo_list): New rtld global field.
23636         (dtv_slotinfo_list): New struct.
23637         (dtv_slotinfo): Likewise.
23638         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23639         (td_lookup): Rename to...
23640         (td_mod_lookup): ... this.  Use new mod parameter instead of
23641         LIBPTHREAD_SO.
23642         * nptl_db/td_thr_tlsbase.c: Include link.h.
23643         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23644         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23645         addresses even if the DTV is out of date or missing them.
23646         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23647         index zero-length arrays.
23648         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23649         (td_lookup): Make it a macro implemented in terms of...
23650         (td_mod_lookup): ... this declaration.
23651         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23652         (DB_MAIN_VARIABLE): Likewise.
23654 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23656         [BZ #18134]
23657         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23659 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23661         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23663 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23665         [BZ #18128]
23666         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23667         (atomic_add, atomic_increment_and_test)
23668         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23670 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23672         * stdlib/setenv.c (__add_to_environ):
23673         Dump core quickly if setenv (..., NULL, ...) is called.
23675 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23677         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23678         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23679         all the necessary asm magic in one place.
23680         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23681         using those.
23683 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23685         [BZ #14906]
23686         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23687         traced file mtime. Use consistent log message.
23688         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23689         (register_traced_file): Call install_watches. Always set mtime.
23690         (invalidate_cache): Iterate over all trace files. Call install_watches.
23691         (inotify_check_files): Don't inline. Handle watching parent
23692         directories and configuration file movement in and out.
23693         (handle_inotify_events): New function.
23694         (main_loop_poll): Call handle_inotify_events.
23695         (main_loop_epoll): Likewise.
23696         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23697         (struct traced_file): Use array of inotify fds. Add parent directory,
23698         and basename.
23699         (struct database_dyn): Remove unused file_mtime.
23700         (init_traced_file): New inline function.
23701         (define_traced_file): New macro.
23702         * nss/nss_db/db-init.c: Use define_traced_file.
23703         (_nss_db_init): Use init_traced_file.
23704         * nss/nss_files/files-init.c: Use define_traced_file.
23705         (_nss_files_init): Use init_traced_file.
23707 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23709         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23710         [_LIBC]: Do not include <stdlib.h>.
23711         [!_LIBC] (abort): Remove declaration.
23712         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23713         _FP_STATIC_ASSERT instead of conditionally calling abort.
23714         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23715         (_FP_EXTEND_CNAN): Likewise.
23716         (FP_TRUNC): Likewise.
23717         (__FP_CLZ): Likewise.
23718         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23720 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23722         * manual/string.texi (XPG basename): Fix prototype.
23724 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23726         [BZ #18080]
23727         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23728         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23729         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23730         (__setcontext): Likewise.
23731         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23732         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23733         Call rt_sigprocmask syscall one time to set new signal mask
23734         and retrieve the current signal mask instead of two calls.
23735         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23736         (__swapcontext): Likewise.
23737         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23738         * stdlib/tst-setcontext2.c: New file.
23740 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23742         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23744 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23746         [BZ #18093]
23747         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23748         the wrong size.
23750 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23752         [BZ #18043]
23753         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23755 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23757         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23758         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23759         Remove define.
23760         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23761         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23762         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23763         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23764         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23765         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23766         define.
23767         * nptl_db/td_symbol_list.c (td_lookup): Remove
23768         HAVE_ASM_GLOBAL_DOT_NAME code.
23769         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23770         HAVE_ASM_GLOBAL_DOT_NAME check.
23771         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23772         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23773         (DOT_LABEL): Remove define.
23774         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23775         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23776         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23777         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23778         (__TLS_GET_ADDR): Likewise.
23779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23780         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23782 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23784         [BZ #18111]
23785         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23786         (_FPU_SETCW): Initialize cw from fpsr before storing.
23787         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23788         (fesetexceptflag): Rewrite using fpu_control.h.
23789         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23791 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23793         [BZ #18110]
23794         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23795         asms.
23796         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23798 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23800         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23801         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23802         abort.
23803         (_FP_FMA): Likewise.
23804         (_FP_DIV): Likewise.
23806 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23808         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23809         with 0 in that case.
23810         * Makefile (summarize-tests): New canned sequence, factored out of
23811         commands for targets tests and xtests.  Display summary lines that
23812         don't start with PASS: or XFAIL: rather than ones that do start with
23813         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23814         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23815         do start with ERROR: or FAIL:.
23816         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23817         (except for [$(build-shared) = yes]).
23818         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23819         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23820         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23821         * nptl/Makefile: Revert 2015-03-04 changes.
23822         [$(CXX) empty] (tests-unsupported): New variable.
23823         * debug/Makefile: Likewise.
23825         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23826         gnulib file.  Replace __attribute with __attribute__ throughout.
23828 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23830         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23832 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23834         [BZ #18104]
23835         * math/auto-libm-test-in: Add another test of pow.
23836         * math/auto-libm-test-out: Regenerated.
23838 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23840         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23841         $(config-cflags-nofma).
23843 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23845         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23846         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23847         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23848         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23849         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23850         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23851         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23852         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23853         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23854         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23855         Add comment on closing #endif.
23857 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23859         * posix/wordexp.c (CHAR_IN_SET): New macro.
23860         (parse_param): Use it.
23862 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23864         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23866 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23868         [BZ #18043]
23869         * posix/wordexp.c (parse_param): Fix buffer overflow.
23870         * posix/wordexp-test.c (test_case): Add test case.
23872 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23874         [BZ #18042]
23875         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23876         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23878 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23880         [BZ #18043]
23881         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23882         (do_bz18043): Delete.
23883         (at_page_end): New.
23884         (testit): Refactor to have words at the edge of unreadable page.
23886 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23888         [BZ #16734]
23889         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23890         Cleanup read-only streams as well.
23891         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23893 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23895         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23896         <bits/libc-lockP.h>
23898 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23900         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23901         on [__KERNEL__].
23902         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23903         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23904         * soft-fp/op-common.h (_FP_DECL): Likewise.
23906 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23908         * elf/ifuncdep2.c (global): Replace
23909         __attribute__((visibility("protected"))) with
23910         asm (".protected global").
23911         * elf/ifuncmod1.c (global): Likewise.
23912         * elf/ifuncmod5.c (global): Likewise.
23914 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23916         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23917         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23919 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23921         * manual/install.texi (Configuring and compiling):
23922         Document test-wrapper-env-only.
23923         * INSTALL: Regenerated.
23925 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23927         [BZ #18043]
23928         * posix/wordexp.c (parse_param): Fix buffer overflow.
23929         * posix/wordexp-test.c (do_bz18043): Add test case.
23931 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23933         * time/tst-strptime2.c (do_test): Ensure failing tests are
23934         reported correctly.
23935         * time/tst-strptime3.c (do_test): Likewise.
23937 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23939         Fix aio_error thread-safety.
23940         * sysdeps/pthread/aio_error.c: New file
23941         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23942         synchronization.
23944 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23946         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23947         (group_number, vfprintf): Use it.
23948         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23949         (JUMP, REF): Use it.
23950         (WORK_BUFFER_SIZE): New enum constant.
23951         (process_arg, vfprintf): Use it.
23953 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23955         * manual/errno.texi (Error Messages): Complete example function
23956         by adding missing #define.
23957         (program_invocation_name): Add statement indicating GNU
23958         extension and reference which header file declares the variable.
23959         (program_invocation_short_name): Likewise.
23961 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23963         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23964         compatibility note.
23966 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23968         * Makeconfig (test-wrapper-env-only): New variable.
23969         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23970         then use that with $(test-wrapper-env-only) rather than using
23971         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23973 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23975         [BZ #18082]
23976         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23977         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23978         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23979         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23980         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23981         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23982         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23983         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23984         Likewise.
23985         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23986         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23987         Likewise.
23988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23989         Likewise.
23990         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23991         Likewise.
23992         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23993         Likewise.
23994         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23995         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23996         Likewise.
23997         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23998         Likewise.
23999         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
24000         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
24002 2015-03-04  Roland McGrath  <roland@hack.frob.com>
24004         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
24005         (ETH_ALEN): New macro.
24006         (struct ether_addr): Use it for length of ether_addr_octet.
24008         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
24009         (setdb): Don't call __nss_configure_lookup for "rpc".
24010         (do_test): Don't call test_rpc.
24011         (output_rpcent, test_rpc): Functions moved ...
24012         * sunrpc/test-rpcent.c: ... to this new file.
24013         * sunrpc/Makefile (tests): Add it.
24015         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
24016         __xpg_sigpause.
24017         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
24018         * nptl/tst-signal6.c: Likewise.
24019         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
24020         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
24022         * configure.ac (libc_cv_cxx_link_ok): New check.
24023         Reset CXX to empty if it fails to link.
24024         * configure: Regenerated.
24025         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
24026         bug-atexit3-lib only if $(CXX) is nonempty.
24027         * nptl/Makefile (tests): Likewise for tst-cancel24.
24028         (tests, tests-static): Likewise for tst-cancel24-static.
24029         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
24030         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
24031         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
24032         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
24034 2015-03-04  Andreas Schwab  <schwab@suse.de>
24036         [BZ #17631]
24037         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
24038         for non-GCC compilers.
24039         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24040         Likewise.
24042 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24044         [BZ #17776]
24045         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
24046         integer before bitwise and assembly operations.
24047         (feclearexcept): Likewise.
24048         * math/test-fenvinline.c: New file.
24049         * math/Makefile: Add test-fenvinline test.
24051 2015-03-03  Alan Modra  <amodra@gmail.com>
24053         [BZ #16512]
24054         * scripts/localplt.awk: Strip off symbol version.
24055         * NEWS: Mention bug fix.
24057 2015-03-02  Roland McGrath  <roland@hack.frob.com>
24059         * sysdeps/pthread/timer_routines.c
24060         (timer_free_list, thread_free_list, thread_active_list): Make static.
24062 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
24064         [BZ #17779]
24065         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24066         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24067         Undefine.
24068         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24069         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24070         Likewise.
24071         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24072         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24073         Likewise.
24075 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24077         [BZ #18036]
24078         * posix/fnmatch_loop.c (END): Detect invalid pattern.
24079         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
24081 2015-03-02  Andreas Schwab  <schwab@suse.de>
24083         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
24084         variable name.
24086 2015-03-02  Florian Weimer  <fweimer@redhat.com>
24088         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
24089         Return error status.
24091 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
24093         [BZ #15969]
24094         * locale/findlocale.c (_nl_find_locale): Introduce const
24095         version of loc_name and drop unsafe type casts.
24097 2015-02-27  Roland McGrath  <roland@hack.frob.com>
24099         * dlfcn/tststatic2.c (main): Converted to ...
24100         (do_test): ... this.
24101         (TEST_FUNCTION): New macro.
24102         Include test-skeleton.c.
24104 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
24106         [BZ #17711]
24107         * elf/Makefile (tests): Add vismain only if PIE is enabled.
24108         (tests-pie): Add vismain.
24109         (CFLAGS-vismain.c): New.
24110         * elf/vismain.c: Add comments for PIE requirement.
24112 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24114         [BZ #18046]
24115         [BZ #18047]
24116         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
24117         0x1p-56L as threshold for just returning the argument.
24118         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
24119         0x1p-32L as threshold for just returning the argument.
24120         * math/auto-libm-test-in: Add more tests of atanh.
24121         * math/auto-libm-test-out: Regenerated.
24122         * sysdeps/i386/fpu/libm-test-ulps: Update.
24123         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24125 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24127         * string/bcopy.c (bcopy): Call memmove for performance.
24129 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24131         * string/bzero.c (__bzero): Call memset for performance.
24133 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24135         [BZ #18068]
24136         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24137         to 00100000.
24139 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24141         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
24143 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24145         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24146         (__kernel_standard): Use CSTR macro when setting exc.name.
24147         * sysdeps/ieee754/Makefile [$(subdir) = math]
24148         (CFLAGS-k_standard.c): Remove variable.
24150         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
24151         setting p and q from "else if" to "else".
24152         (qzero): Likewise.
24153         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
24154         (qone): Likewise.
24155         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24156         (qzerof): Likewise.
24157         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24158         (qonef): Likewise.
24159         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24160         (qzero): Likewise.
24161         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24162         (qone): Likewise.
24164         [BZ #18038]
24165         [BZ #18039]
24166         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24167         return pi/2 for arguments below 0x1p-113L.
24168         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24169         return pi/2 for arguments below 0x1p-106L.
24170         * math/auto-libm-test-in: Add more tests of acos.
24171         * math/auto-libm-test-out: Regenerated.
24173         [BZ #16351]
24174         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24175         (MO): New macro.
24176         (__ieee754_asin): Force underflow exception for results with small
24177         absolute value.
24178         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24179         (MO): New macro.
24180         (__ieee754_asinf): Force underflow exception for results with
24181         small absolute value.
24182         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24183         (__ieee754_asin): Force underflow exception for results with small
24184         absolute value.
24185         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24186         (__ieee754_asinf): Force underflow exception for results with
24187         small absolute value.
24188         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24189         (__ieee754_asinl): Force underflow exception for results with
24190         small absolute value.
24191         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24192         (__ieee754_asinl): Force underflow exception for results with
24193         small absolute value.
24194         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24195         (__ieee754_asinl): Force underflow exception for results with
24196         small absolute value.
24197         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24198         Include <math.h>.
24199         * math/auto-libm-test-in: Do not mark underflow exceptions as
24200         possibly missing for bug 16351.
24201         * math/auto-libm-test-out: Regenerated.
24203         [BZ #18030]
24204         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24205         of power of 2 down when low part has opposite sign.
24206         * math/libm-test.inc (logb_test_data): Add more tests.
24208 2015-02-26  Andreas Schwab  <schwab@suse.de>
24210         [BZ #18032]
24211         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24212         over collating symbol inside a bracket expression.  Minor cleanup.
24213         * posix/tst-fnmatch3.c (do_test): Add test case.
24215 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24217         [BZ #18029]
24218         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24219         Adjust exponent of power of 2 down when low part has opposite
24220         sign.
24221         * math/libm-test.inc (ilogb_test_data): Add more tests.
24223 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24225         [BZ #15969]
24226         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24227         the previous change.
24229         [BZ #15969]
24230         * locale/findlocale.c (_nl_find_locale): Retry archive search
24231         after alias expansion.
24233 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24235         * iconv/tst-iconv3.c (main): Converted to ...
24236         (do_test): ... this.
24237         (TEST_FUNCTION): New macro.
24238         Include test-skeleton.c.
24240         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24241         (convert): Make function static.
24242         (test_unalign): Likewise.  Add const to argument pointee types.
24243         (main): Replace with static function do_test.
24244         Print "Succeeded." only if RET is zero.
24245         (TEST_FUNCTION): New macro.
24246         Include test-skeleton.c.
24248         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24249         returns a null pointer.
24251 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24253         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24254         to __memcpy_ppc only for static builds.
24256 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24258         [BZ #18020]
24259         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24260         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24261         * math/auto-libm-test-in: Add more tests of asinh.
24262         * math/auto-libm-test-out: Regenerated.
24263         * sysdeps/i386/fpu/libm-test-ulps: Update.
24264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24266 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24268         [BZ #15850]
24269         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24270         and ip6_mtuinfo definitions here.
24271         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24272         in this define too.  Update comment.
24274 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24276         * elf/sprof.c (load_shobj): Tweak error message to match others.
24278 2015-02-24  Kevin Easton  <kevin@guarana.org>
24280         [BZ #16145] (partial fix)
24281         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24282         to reduce lock contention.
24284 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24286         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24287         (struct timex): Update time comment.
24288         (ADJ_SETOFFSET): Define.
24290 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24292         [BZ #18019]
24293         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24294         2**56 not 2**28 as threshold for log (2x) formula.
24295         * math/auto-libm-test-in: Add more tests of acosh.
24296         * math/auto-libm-test-out: Regenerated.
24297         * sysdeps/i386/fpu/libm-test-ulps: Update.
24298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24300 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24302         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24303         parenthesis around the buf assignment.
24304         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24306 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24308         [BZ #16783]
24309         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24310         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24311         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24312         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24313         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24314         * math/libm-test.inc (scalb_test_data): Add more tests.
24316 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24318         [BZ #17916]
24319         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24320         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24322 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24324         [BZ #17523]
24325         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24326         * io/bits/fcntl2.h (open): Use it.
24327         (openat): Likewise.
24328         * io/open.c (__libc_open): Likewise.
24329         * io/open64.c (__libc_open64): Likewise.
24330         * io/open64_2.c (__open64_2): Likewise.
24331         * io/open_2.c (__open_2): Likewise.
24332         * io/openat.c (__openat): Likewise.
24333         * io/openat64.c (__openat64): Likewise.
24334         * io/openat64_2.c (__openat64_2): Likewise.
24335         * io/openat_2.c (__openat_2): Likewise.
24336         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24337         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24338         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24339         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24340         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24341         (__open_nocancel): Likewise.
24342         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24343         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24344         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24346 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24348         [BZ #14841]
24349         * resolv/gethnamaddr.c (getanswer): Skip logging if
24350         RES_USE_DNSSEC is set.
24351         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24353 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24355         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24357 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24359         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24360         201304L, for Unicode 7.
24362 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24364         [BZ #17836]
24365         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24366         shared library.  Add gmon-start.os otherwise.
24367         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24368         $(objpfx)gmon-start.os if builing shared library.
24369         ($(objpfx)g$(static-start-installed-name)): Likewise.
24371 2015-02-23  Andreas Schwab  <schwab@suse.de>
24373         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24375 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24377         [BZ #17269]
24378         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24379         (enlarge_userbuf): Likewise.
24381 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24383         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24384         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24385         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24386         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24388 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24390         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24391         expression inside statement expression.
24393 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24395         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24396         <sysdeps/nptl/lowlevellock.h> and remove macros and
24397         functions that are now defined there.
24398         (SYS_futex): Remove.
24399         (lll_compare_and_swap): Remove.
24400         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24402 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24404         [BZ #17999]
24405         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24406         instead of scandirat.
24407         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24408         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24409         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24410         __scandirat.
24411         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24412         (__scandirat): Declare.  Use libc_hidden_proto.
24413         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24414         Remove variable.
24415         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24417 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24419         [BZ #15319]
24420         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24421         (MO): New macro.
24422         (__ieee754_atan2): For results with small absolute value, force
24423         underflow exception and remove excess range and precision from
24424         return value.
24425         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24426         (MO): New macro.
24427         (__ieee754_atan2f): For results with small absolute value, force
24428         underflow exception and remove excess range and precision from
24429         return value.
24430         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24431         (MO): New macro.
24432         (__atan): For results with small absolute value, force underflow
24433         exception and remove excess range and precision from return value.
24434         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24435         (MO): New macro.
24436         (__atanf): For results with small absolute value, force underflow
24437         exception and remove excess range and precision from return value.
24438         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24439         <math.h>.
24440         (__ieee754_atan2): Force underflow exception for results with
24441         small absolute value.
24442         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24443         <math_private.h>.
24444         (atan): Force underflow exception for results with small absolute
24445         value.
24446         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24447         (__atanf): Force underflow exception for results with small
24448         absolute value.
24449         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24450         <math.h>.
24451         (__atanl): Force underflow exception for results with small
24452         absolute value.
24453         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24454         (__atanl): Force underflow exception for results with small
24455         absolute value.
24456         * sysdeps/x86/fpu/bits/mathinline.h
24457         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24458         (__ieee754_atan2): Only define inline for long double.
24459         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24460         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24461         * math/auto-libm-test-in: Do not mark underflow exceptions as
24462         possibly missing for bug 15319.  Add more tests of atan2.
24463         * math/auto-libm-test-out: Regenerated.
24464         * math/libm-test.inc (casin_test_data): Do not mark underflow
24465         exceptions as possibly missing for bug 15319.
24466         (casinh_test_data): Likewise.
24467         * sysdeps/i386/fpu/libm-test-ulps: Update.
24469 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24471         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24472         * sysdeps/mips/bits/endian.h: Fix comments.
24474 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24476         [BZ #17996]
24477         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24478         (hdestroy_r): Likewise.
24479         (hsearch_r): Likewise.
24480         (__hcreate_r): Declare and use libc_hidden_proto.
24481         (__hdestroy_r): Likewise.
24482         (__hsearch_r): Likewise.
24483         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24484         (hcreate): Call __hcreate_r instead of hcreate_r.
24485         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24486         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24487         as weak alias of __hcreate_r.
24488         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24489         __hdestroy_r.
24490         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24491         __hsearch_r.
24492         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24493         Remove variable.
24494         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24495         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24496         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24497         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24499 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24501         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24502         arena_lock into a single arena_get.
24504 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24506         * dl-reloc.c: Inlucde libc-internal.h.
24507         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24508         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24509         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24510         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24511         (grow_heap): Likewise.
24512         * malloc/malloc.c: Include libc-internal.h.
24513         (do_check_malloc): Call powerof2.
24514         (sysmalloc): Use pagesize. Call ALIGN_UP.
24515         (systrim): Use pagesize.
24516         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24517         (__libc_valloc): Use pagesize.
24518         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24520 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24522         [BZ #17991]
24523         * include/sys/resource.h (__getrlimit64): Declare.  Use
24524         libc_hidden_proto.
24525         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24526         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24527         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24528         getrlimit64.
24529         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24530         __getrlimit64.
24531         [!getrlimit64] (getrlimit64): Define as weak alias of
24532         __getrlimit64.  Use libc_hidden_weak.
24533         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24534         using __getrlimit64 not __new_getrlimit64.
24535         (__GI_getrlimit64): Likewise.
24536         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24537         Likewise.
24538         (__GI_getrlimit64): Likewise.
24539         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24541         (getrlimit): Add __getrlimit64 alias.
24542         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24543         Likewise.
24544         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24545         Remove variable.
24546         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24547         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24549 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24551         * libio/fileops.c: Add missing sys/mman.h
24552         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24554 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24556         * manual/math.texi (Errors in Math Functions): Clarify goals
24557         regarding inexact and underflow exceptions.
24559 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24561         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24562         * sysdeps/mips/memset.S: Ditto.
24564 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24566         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24568 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24570         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24571         (__v1longjmp): Remove versioned symbol.
24572         (__v1siglongjmp): Remove alias and versioned symbol.
24573         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24574         (__v2siglongjmp): Likewise.
24576 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24578         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24580 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24582         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24584 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24586         [BZ #17987]
24587         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24588         zero result does not depend on the sign resulting from
24589         subtraction.
24590         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24591         Likewise.
24592         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24593         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24594         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24595         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24596         * math/libm-test.inc (remquo_test_data): Add more tests.
24598 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24600         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24601         Problem reported by J William Piggott.
24603 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24605         [BZ #17978]
24606         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24607         products 4 * y and 2 * y where those would overflow.
24608         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24609         Likewise.
24610         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24611         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24612         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24613         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24614         * math/libm-test.inc (remquo_test_data): Add more tests.
24616         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24618         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24619         [defined _COMPILING_NEWLIB].
24620         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24621         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24623         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24624         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24626 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24628         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24629         acquired.
24631 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24633         [BZ #17792]
24634         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24635         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24636         HOST_STACK_END_ADDR): Likewise.
24638 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24640         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24641         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24642         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24644 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24646         * sysdeps/generic/c++-types.data: New file.
24647         * sysdeps/generic/ld.abilist: New file.
24648         * sysdeps/generic/libBrokenLocale.abilist: New file.
24649         * sysdeps/generic/libanl.abilist: New file.
24650         * sysdeps/generic/libc.abilist: New file.
24651         * sysdeps/generic/libcrypt.abilist: New file.
24652         * sysdeps/generic/libdl.abilist: New file.
24653         * sysdeps/generic/libm.abilist: New file.
24654         * sysdeps/generic/libpthread.abilist: New file.
24655         * sysdeps/generic/libresolv.abilist: New file.
24656         * sysdeps/generic/librt.abilist: New file.
24658 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24660         [BZ #17569]
24661         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24662         Compute absolute value of x as modified by fmod, not original
24663         value of x.
24664         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24665         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24666         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24667         RUN_TEST_ffI_f1_mod8.
24668         (remquo_test_data): Add more tests.
24670 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24672         * sysdeps/init_array/pt-crti.S: New file.
24674 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24676         [BZ #17967]
24677         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24678         __builtin_fmaf instead of relying on contraction of a * b + c.
24680 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24682         [BZ #17969]
24683         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24684         node.
24686 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24688         [BZ #17964]
24689         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24690         __builtin_fma instead of relying on contraction of a * b + c.
24692 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24694         * Makeconfig (ASFLAGS): Add -Werror=undef.
24695         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24696         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24697         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24699         * Makeconfig (after-link): New variable.
24700         (+link-pie, +link-pie-tests): Use it.
24701         (+link-static, +link-static-tests): Likewise.
24702         (+link, +link-tests): Likewise.
24703         * Makerules (build-module, build-module-asneeded): Likewise.
24704         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24705         Likewise.
24706         * elf/Makefile ($(objpfx)ld.so): Likewise.
24708 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24710         [BZ #17965]
24711         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24712         both struct timeval and struct timespec.
24714 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24716         [BZ #16560]
24717         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24718         and redefine.
24719         (__ieee754_exp2l): Do not multiply small fractional parts by
24720         M_LN2l.
24721         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24722         small argument.
24723         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24724         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24725         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24726         * math/auto-libm-test-in: Add more tests of exp2.
24727         * math/auto-libm-test-out: Regenerated.
24729 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24731         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24732         unaligned path.
24734 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24736         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24737         little endian.
24739 2015-02-12  Andreas Schwab  <schwab@suse.de>
24741         [BZ #15790]
24742         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24743         Filter out elision flags from value returned in kind.
24744         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24745         * nptl/tst-pthread-mutexattr.c: New file.
24747 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24749         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24750         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24751         into gnu-gnu, and update comment to refer to abi-tags.
24753 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24755         [BZ #15467]
24756         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24757         (__sincos): Set errno to EDOM for infinite argument.
24758         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24759         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24760         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24761         (__sincosl): Set errno to EDOM for infinite argument.
24762         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24763         (__sincosl): Set errno to EDOM for infinite argument.
24764         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24765         (__sincosl): Set errno to EDOM for infinite argument.
24766         * math/libm-test.inc (sincos_test_data): Test errno setting.
24768 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24770         * string/strxfrm_l.c: Remove #define STRCMP.
24771         * string/strcoll_l.c: Remove #define STRLEN.
24772         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24773         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24775 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24777         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24778         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24779         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24780         * sysdeps/mips/mips64/Makefile: ... here.
24781         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24782         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24783         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24784         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24785         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24786         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24787         * sysdeps/mips/mips64/n64/Implies: Likewise.
24789 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24791         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24792         <sys/time.h>, <string.h>, and <errno.h>.
24793         (dest_offset, dest_address, value, zero): Remove unused variables.
24794         (ldouble): Remove typedef.
24795         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24796         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24797         1).  Fix code style.
24798         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24799         (check): Function removed.
24800         (CHECK): New macro.
24801         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24802         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24803         Don't call set_sigaction_FP and remove_sigaction_FP here.
24804         (ldouble_test): Just use 'long double' as macro argument, no need for
24805         the 'ldouble' typedef.
24806         (do_test): Set up SIGFPE handler at start, using plain signal rather
24807         than sigaction.  Fix code style.
24809 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24811         [BZ #17949]
24812         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24813         jump label.
24815 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24817         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24818         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24820         * sysdeps/powerpc/configure.ac: Remove file.
24821         * sysdeps/powerpc/configure: Likewise.
24823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24824         [sysdep_routines]: Remove wordcopy-power6 object.
24825         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24826         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24827         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24828         (__memmove_ppc32): Likewise.
24829         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24830         file.
24831         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24832         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24833         Remove preprocessor.
24835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24836         [sysdep_routines]: Remove wide chars objects.
24837         [wcsmbs]: New rule for wide char objects.
24839         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24840         Remove wordcopy-power6 obejct.
24841         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24842         Use local call for wordcopy and memcpy symbols.
24843         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24844         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24845         implementation for loader.
24846         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24848         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24849         Remove wordcopy-power7 object.
24850         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24851         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24852         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24853         (_wordcopy_fwd_dest_aligned): Likewise.
24854         (_wordcopy_bwd_aligned): Likewise.
24855         (_wordcopy_bwd_dest_aligned): Likewise.
24857         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24858         Rewrite to call __memmove_ppc instead of include default
24859         implementation.
24861         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24862         Remove wide chars objects.
24863         [wcsmbs]: New rule for wide char objects.
24865 2015-02-09  Andreas Schwab  <schwab@suse.de>
24867         [BZ #17912]
24868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24869         in terms of __O_DIRECTORY.
24871 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24873         * time/getdate.c: Include <stdbool.h>.
24874         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24875         call PTR_MANGLE.
24876         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24877         PTR_DEMANGLE.
24879 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24881         Add ersatz _Static_assert on older C hosts
24882         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24883         pre-C11 C platform that is not known to support _Static_assert.
24885 2015-02-07  Richard Braun  <rbraun@sceen.net>
24887         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24888         sigstate.
24889         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24891 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24893         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24894         priority against unexistent AIO_PRIO_DELTA_MAX.
24895         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24896         instead of int.
24897         * misc/fchflags.c (fchflags): Likewise.
24898         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24899         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24900         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24901         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24902         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24903         Declare macros.
24904         [__USE_MISC] (chflags, fchflags): Declare functions.
24905         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24906         EINVAL when nfds is greater than FD_SETSIZE.
24907         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24908         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24909         45.
24910         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24911         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24912         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24913         MACH_RCV_TIMED_OUT.
24914         * hurd/hurd/signal.h (_hurd_self_sigstate,
24915         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24916         Explicit casts from void *.
24917         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24918         * abi-tags: Rename gnu-gnu os into gnu.
24920         [BZ #4719]
24921         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24922         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24923         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24924         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24925         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24926         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24928         [BZ #17944]
24929         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24930         duplicates ADDR->sun_path with sockaddr LEN limitation.
24931         * sysdeps/mach/hurd/connect.c: Include <string.h>
24932         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24933         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24934         * sysdeps/mach/hurd/sendto.c: Likewise.
24935         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24936         implementing it by hand.
24938 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24940         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24941         Use sfi_breg on ldr.
24942         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24943         Likewise.
24945         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24946         it's defined.
24947         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24948         Test SIGSETXID only if it's defined.
24950         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24952         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24953         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24955         * nptl/tst-align2.c: Moved ...
24956         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24957         * nptl/Makefile (tests): Remove tst-align2.
24958         * sysdeps/unix/sysv/linux/Makefile
24959         [$(subdir) = nptl] (tests): Add tst-align-clone.
24960         * nptl/tst-getpid1.c: Moved ...
24961         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24962         * nptl/tst-getpid2.c: Moved ...
24963         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24964         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24965         * sysdeps/unix/sysv/linux/Makefile
24966         [$(subdir) = nptl] (tests): ... here.
24967         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24968         * sysdeps/unix/sysv/linux/Makefile
24969         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24971         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24972         Drop trailing \n from perror argument.  Use return rather than exit.
24974         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24975         on [SA_SIGINFO].
24976         * nptl/tst-cancel21.c (do_test): Likewise.
24977         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24978         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24979         [!SA_SIGINFO]: Make it a stub test.
24981         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24982         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24984         * posix/tst-getlogin.c: Move to ...
24985         * login/tst-getlogin.c: ... here.
24986         * posix/Makefile (tests): Move tst-getlogin to ...
24987         * login/Makefile (tests): ... here.
24989         * libio/tst-atime.c (do_test): Move local variables SV and E
24990         inside [ST_NOATIME] conditional.
24992         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24994         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24996         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24997         (wait_code): New function replaces macro.
24998         Call nanosleep rather than syscall.
25000         * nptl/pt-system.c: Rewritten.  Put everything under
25001         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25002         Use IFUNC to redirect when possible.
25004         * nptl/pt-longjmp.c: Rewritten.  Put everything under
25005         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25006         Use IFUNC to redirect when possible.
25008         * nptl/pt-fork.c: Rewritten.  Put everything under
25009         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25010         Use IFUNC to redirect when possible.
25011         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
25013         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
25014         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
25015         unconditionally nowadays.  This included the only reference to
25016         __vdso_clock_gettime that appears outside libc proper.
25017         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25018         Remove version set (containing only __vdso_clock_gettime).
25019         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25020         Add attribute_hidden.
25021         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25022         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
25023         libc_hidden_data_def.
25024         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25025         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25027         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
25028         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
25029         setrpcent, and getrpcport to ...
25030         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
25031         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
25032         getrpcbynumber_r, and getrpcent_r to ...
25033         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
25034         * inet/getrpcbyname.c: Moved ...
25035         * sunrpc/getrpcbyname.c: ... here.
25036         * inet/getrpcbyname_r.c: Moved ...
25037         * sunrpc/getrpcbyname_r.c: ... here.
25038         * inet/getrpcbynumber.c: Moved ...
25039         * sunrpc/getrpcbynumber.c: ... here.
25040         * inet/getrpcbynumber_r.c: Moved ...
25041         * sunrpc/getrpcbynumber_r.c: ... here.
25042         * inet/getrpcent.c: Moved ...
25043         * sunrpc/getrpcent.c: ... here.
25044         * inet/getrpcent_r.c: Moved ...
25045         * sunrpc/getrpcent_r.c: ... here.
25046         * inet/Makefile (routines): Move those to ...
25047         * sunrpc/Makefile (routines): ... here.
25048         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
25049         the $(subdirs) list.
25050         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
25051         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
25052         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
25053         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
25055         * elf/Makefile (routines): Include $(all-dl-routines), not just
25056         $(dl-routines).
25057         (rtld-routines): Likewise.  Use = rather than :=.
25058         * sysdeps/aarch64/Makefile [$(subdir) = elf]
25059         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
25060         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
25061         * sysdeps/arm/Makefile: Likewise.
25062         * sysdeps/i386/Makefile: Likewise.
25063         * sysdeps/x86_64/Makefile: Likewise.
25064         * sysdeps/hppa/Makefile [$(subdir) = elf]
25065         (sysdep_routines, sysdep-rtld-routines): Don't add
25066         $(sysdep-dl-routines) to these.
25067         * sysdeps/ia64/Makefile: Likewise.
25068         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
25069         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
25070         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
25071         Don't add dl-static to these; sysdep-dl-routines alone is enough.
25072         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
25073         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
25074         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
25075         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
25076         * sysdeps/powerpc/Makefile [$(subdir) = elf]
25077         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
25078         these; sysdep-dl-routines alone is enough.
25080 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
25082         [BZ #17932]
25083         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
25084         where multiplication results in zero and third argument is finite
25085         and nonzero.
25086         * math/auto-libm-test-in: Add more tests of fma.
25087         * math/auto-libm-test-out: Regenerated.
25089         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
25090         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
25091         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
25092         (_FP_CMP_EQ): Likewise.
25093         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
25095         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
25096         extra argument CHECK_NAN.  Redefine as wrapper around
25097         _FP_EXTEND_CNAN.
25099 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
25101         * version.h (RELEASE): Set to "stable".
25102         (VERSION): Set to "2.21"
25103         * include/features.h (__GLIBC_MINOR__): Set to 21.
25105         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
25107 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25108             Paul Eggert  <eggert@cs.ucla.edu>
25110         [BZ #16618]
25111         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
25112         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
25113         size in bytes. Store needed elements in wpmax. Use needed size
25114         in bytes for extend_alloca.
25116 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
25118         * manual/install.texi: Latest tested versions are GCC 4.9.2,
25119         binutls 2.25, and texinfo 5.2.
25120         * INSTALL: Regenerate.
25121         * sysdeps/nios2/configure: Regenerate.
25122         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25123         * manual/contrib.texi: Update.
25124         * po/be.po: Update.
25125         * po/bg.po: Update.
25126         * po/ca.po: Update.
25127         * po/cs.po: Update.
25128         * po/da.po: Update.
25129         * po/de.po: Update.
25130         * po/el.po: Update.
25131         * po/eo.po: Update.
25132         * po/es.po: Update.
25133         * po/fi.po: Update.
25134         * po/fr.po: Update.
25135         * po/gl.po: Update.
25136         * po/hr.po: Update.
25137         * po/hu.po: Update.
25138         * po/ia.po: Update.
25139         * po/id.po: Update.
25140         * po/it.po: Update.
25141         * po/ja.po: Update.
25142         * po/ko.po: Update.
25143         * po/lt.po: Update.
25144         * po/nb.po: Update.
25145         * po/nl.po: Update.
25146         * po/pl.po: Update.
25147         * po/pt_BR.po: Update.
25148         * po/ru.po: Update.
25149         * po/rw.po: Update.
25150         * po/sk.po: Update.
25151         * po/sl.po: Update.
25152         * po/sv.po: Update.
25153         * po/tr.po: Update.
25154         * po/uk.po: Update.
25155         * po/vi.po: Update.
25156         * po/zh_CN.po: Update.
25157         * po/zh_TW.po: Update.
25159         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25160         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25161         * sysdeps/hppa/dl-irel.h: Remove #warning.
25162         * sysdeps/hppa/entry.h: Provide prototype for
25163         __canonicalize_funcptr_for_compare and cast argument.
25164         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25165         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25166         * sysdeps/hppa/sotruss-lib.c: New file.
25167         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25168         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25169         (atomic_compare_and_exchange_bool_acq): Likewise.
25170         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25171         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25173         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25174         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25175         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25177 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25179         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25180         called function in non-PIC case.
25182 2015-01-31  David S. Miller  <davem@davemloft.net>
25184         * sysdeps/sparc/sparc32/bits/atomic.h
25185         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25186         unlock not after it.
25187         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25188         volatile register usage warnings from the compiler.
25190         * sysdeps/sparc/nptl/sem_init.c: Delete.
25191         * sysdeps/sparc/nptl/sem_post.c: Delete.
25192         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25193         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25194         * sysdeps/sparc/sparc32/sem_init.c: New file.
25195         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25196         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25197         padding explicitly initialized.
25198         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25199         padding for in-semaphore spinlock.
25200         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25201         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25202         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25203         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25204         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25205         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25206         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25207         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25208         version.
25209         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25210         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25212 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25214         [BZ #17801]
25215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25216         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25217         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25218         New.
25219         (index_AVX_Fast_Unaligned_Load): Likewise.
25220         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25221         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25222         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25223         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25224         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25225         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25226         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25227         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25228         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25230 2015-01-29  Andreas Schwab  <schwab@suse.de>
25232         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25234 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25236         [BZ #17892]
25237         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25239 2015-01-28  Martin Sebor  <msebor@redhat.com>
25241         * math/README.libm-test: Clarify. Add "How to read the test output."
25243 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25245         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25246         Define to 0.
25248 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25250         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25251         (__HAVE_64B_ATOMICS): Define to 0.
25253 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25255         [BZ #17885]
25256         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25257         value to set as new flag.
25259         [BZ #16576]
25260         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25261         and use _ARCH_PPCSQ instead.
25262         (__ieee754_sqrt): Likewise.
25263         (__ieee754_sqrtf): Likewise.
25264         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25265         _ARCH_PPCSQ is defined.
25266         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25267         fsqrt instruction.
25268         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25269         _ARCH_PPCSQ is defined.
25270         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25271         fsqrts instruction.
25272         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25274 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25276         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25277         bug (GCC BZ #64739).
25279 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25281         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25282         Mark _retval as used.
25283         (lll_futex_wake_unlock): Likewise.
25284         (lll_futex_timed_wait_requeue_pi): Likewise.
25286         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25287         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25288         register variables.
25290         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25291         libm_hidden_def.
25293         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25294         (__bswap_64): Mark as __always_inline.
25296 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25298         [BZ #15378]
25299         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25300         when none of the search directories exist.
25302 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25304         [BZ #17869]
25305         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25306         power8 in .machine directive.
25308         [BZ #17868]
25309         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25310         set dependency from opd value.
25312 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25315         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25316         architecture.
25318 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25320         [BZ #17870]
25321         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25322         with uint64_t.
25323         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25324         (uint64_t) 1.
25325         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25326         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25327         Replace 1UL with (uint64_t) 1.
25328         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25329         int with uint64_t.
25331 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25333         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25334         (if_freenameindex): Likewise.
25336         * resource/getrlimit64.c: Add missing libc_hidden_def.
25338 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25340         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25341         __label__.
25342         (_FP_FMA): Likewise.
25343         (_FP_TO_INT_ROUND): Likewise.
25344         (_FP_FROM_INT): Likewise.
25346 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25348         [BZ #16418]
25349         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25350         Make code racy and cancel safe.
25352 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25354         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25355         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25356         attribution.
25358         * pwd/tst-getpw.c: Rewrite.
25360         [BZ #17702]
25361         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25362         (modules-names): Add moddummy1 and moddummy2.
25363         ($(objpfx)tst-rec-dlopen): Define.
25364         * dlfcn/moddummy1.c: New file.
25365         * dlfcn/moddummy2.c: New file.
25366         * dlfcn/tst-rec-dlopen.c: New file.
25367         * elf/dl-cache.c (_dl_load_cache_lookup):
25368         Return char*. Copy result with alloca/strcpy/strdup.
25369         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25370         returns char*. Free cached. If not saving realname
25371         free cached.
25372         * elf/dl-open.c (dl_open_worker): Do not assert that
25373         _r_debug->r_state is RT_CONSISTENT.
25374         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25375         returns char*.
25377 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25378             Carlos O'Donell  <carlos@redhat.com>
25380         [BZ #12674]
25381         * nptl/sem_waitcommon.c: New file.
25382         * nptl/sem_wait.c: Include sem_waitcommon.c.
25383         (__sem_wait_cleanup, do_futex_wait): Remove.
25384         (__new_sem_wait): Adapt.
25385         (__new_sem_trywait): New function.
25386         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25387         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25388         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25389         (sem_timedwait): Adapt.
25390         * nptl/sem_post.c (__new_sem_post): Adapt.
25391         (futex_wake): New function.
25392         (__old_sem_post): Add release MO fence.
25393         * nptl/sem_open.c (sem_open): Adapt.
25394         * nptl/sem_init.c (__new_sem_init): Adapt.
25395         (futex_private_if_supported): New function.
25396         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25397         (__old_sem_getvalue): Add using previous code.
25398         * sysdeps/nptl/internaltypes.h: Adapt.
25399         * nptl/tst-sem13.c (do_test): Adapt.
25400         * nptl/tst-sem11.c (main): Adapt.
25401         * nptl/sem_trywait.c: Remove.
25402         * nptl/DESIGN-sem.txt: Remove.
25403         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25404         (gen-as-const-headers): Remove structsem.sym.
25405         * nptl/structsem.sym: Remove.
25406         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25407         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25408         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25409         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25410         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25411         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25412         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25413         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25414         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25415         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25416         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25417         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25418         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25419         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25420         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25421         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25422         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25423         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25424         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25425         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25426         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25427         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25429 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25431         * INSTALL: Regenerated.
25433         * po/libc.pot: Regenerated.
25435 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25436             Sandra Loosemore  <sandra@codesourcery.com>
25437             Andrew Jenner  <andrew@codesourcery.com>
25438             Joseph Myers  <joseph@codesourcery.com>
25439             Nathan Sidwell  <nathan@codesourcery.com>
25441         * NEWS: Mention new Nios II port.
25442         * sysdeps/nios2/Implies: New file.
25443         * sysdeps/nios2/Makefile: New file.
25444         * sysdeps/nios2/Subdirs: New file.
25445         * sysdeps/nios2/Versions: New file.
25446         * sysdeps/nios2/__longjmp.S: New file.
25447         * sysdeps/nios2/abort-instr.h: New file.
25448         * sysdeps/nios2/backtrace.c: New file.
25449         * sysdeps/nios2/bits/endian.h: New file.
25450         * sysdeps/nios2/bits/fenv.h: New file.
25451         * sysdeps/nios2/bits/link.h: New file.
25452         * sysdeps/nios2/bits/setjmp.h: New file.
25453         * sysdeps/nios2/bsd-_setjmp.S: New file.
25454         * sysdeps/nios2/bsd-setjmp.S: New file.
25455         * sysdeps/nios2/configure: New generated file.
25456         * sysdeps/nios2/configure.ac: New file.
25457         * sysdeps/nios2/crti.S: New file.
25458         * sysdeps/nios2/crtn.S: New file.
25459         * sysdeps/nios2/dl-init.c: New file.
25460         * sysdeps/nios2/dl-machine.h: New file.
25461         * sysdeps/nios2/dl-sysdep.h: New file.
25462         * sysdeps/nios2/dl-tls.h: New file.
25463         * sysdeps/nios2/dl-trampoline.S: New file.
25464         * sysdeps/nios2/gccframe.h: New file.
25465         * sysdeps/nios2/gmp-mparam.h: New file.
25466         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25467         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25468         * sysdeps/nios2/ldsodefs.h: New file.
25469         * sysdeps/nios2/libc-tls.c: New file.
25470         * sysdeps/nios2/libm-test-ulps: New file.
25471         * sysdeps/nios2/machine-gmon.h: New file.
25472         * sysdeps/nios2/math-tests.h: New file.
25473         * sysdeps/nios2/math_private.h: New file.
25474         * sysdeps/nios2/memusage.h: New file.
25475         * sysdeps/nios2/nptl/Makefile: New file.
25476         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25477         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25478         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25479         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25480         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25481         * sysdeps/nios2/nptl/tls.h: New file.
25482         * sysdeps/nios2/preconfigure: New file.
25483         * sysdeps/nios2/s_fma.c: New file.
25484         * sysdeps/nios2/s_fmaf.c: New file.
25485         * sysdeps/nios2/setjmp.S: New file.
25486         * sysdeps/nios2/sfp-machine.h: New file.
25487         * sysdeps/nios2/sotruss-lib.c: New file.
25488         * sysdeps/nios2/stackguard-macros.h: New file.
25489         * sysdeps/nios2/stackinfo.h: New file.
25490         * sysdeps/nios2/start.S: New file.
25491         * sysdeps/nios2/sysdep.h: New file.
25492         * sysdeps/nios2/tls-macros.h: New file.
25493         * sysdeps/nios2/tst-audit.h: New file.
25494         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25495         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25496         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25497         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25498         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25499         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25500         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25501         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25502         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25503         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25504         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25505         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25506         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25507         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25508         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25509         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25510         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25511         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25512         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25513         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25514         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25515         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25516         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25517         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25518         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25519         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25520         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25521         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25522         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25523         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25524         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25525         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25526         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25527         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25528         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25529         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25530         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25531         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25532         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25533         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25534         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25535         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25536         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25537         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25539 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25541         [BZ #17844]
25542         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25543         (getutent): Use weak_alias in non SHARED case
25544         and default_symbol_version in SHARED case.
25545         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25546         (getutent_r, pututline): Likewise.
25547         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25548         (getutid): Likewise.
25549         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25550         (getutid_r): Likewise.
25551         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25552         (getutline): Likewise.
25553         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25554         (getutline_r): Likewise.
25555         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25556         (updwtmp): Likewise.
25558 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25560         [BZ #17848]
25561         * sysdeps/s390/s390-32/memcmp.S
25562         (memcmp_g5): Rename to __memcmp_g5.
25563         * sysdeps/s390/s390-32/memcpy.S
25564         (memcpy_g5): Rename to __memcpy_g5.
25565         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25566         (memcpy_mvcle) Rename to __memcpy_mvcle.
25567         * sysdeps/s390/s390-32/memset.S
25568         (memset_g5): Rename to __memset_g5.
25569         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25570         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25571         and use prefixed functions.
25572         * sysdeps/s390/s390-32/multiarch/memcmp.S
25573         (memcmp_z196): Rename to __memcmp_z196.
25574         (memcmp_z10): Rename to __memcmp_z10.
25575         (memcmp): Set alias to __memcmp_g5.
25576         (bcmp): Set alias to __memcmp_g5.
25577         * sysdeps/s390/s390-32/multiarch/memcpy.S
25578         (memcpy_z196): Rename to __memcpy_z196.
25579         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25580         (memcpy_z10): Rename to __memcpy_z10.
25581         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25582         (memcpy): Set alias to __memcpy_g5.
25583         * sysdeps/s390/s390-32/multiarch/memset.S
25584         (memset_z196): Rename to __memset_z196.
25585         Jump to __memset_mvcle instead of memset_mvcle.
25586         (memset_z10): Rename to __memset_z10.
25587         Jump to __memset_mvcle instead of memset_mvcle.
25588         (memset_mvcle) Rename to __memset_mvcle.
25589         (memset): Set alias to __memset_g5.
25590         * sysdeps/s390/s390-64/memcmp.S
25591         (memcmp_z900): Rename to __memcmp_z900.
25592         * sysdeps/s390/s390-64/memcpy.S
25593         (memcpy_z900): Rename to __memcpy_z900.
25594         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25595         (memcpy_mvcle) Rename to __memcpy_mvcle.
25596         * sysdeps/s390/s390-64/memset.S
25597         (memset_z900): Rename to __memset_z900.
25598         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25599         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25600         and use prefixed functions.
25601         * sysdeps/s390/s390-64/multiarch/memcmp.S
25602         (memcmp_z196): Rename to __memcmp_z196.
25603         (memcmp_z10): Rename to __memcmp_z10.
25604         (memcmp): Set alias to __memcmp_z900.
25605         (bcmp): Set alias to __memcmp_z900.
25606         * sysdeps/s390/s390-64/multiarch/memcpy.S
25607         (memcpy_z196): Rename to __memcpy_z196.
25608         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25609         (memcpy_z10): Rename to __memcpy_z10.
25610         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25611         (memcpy): Set alias to __memcpy_z900.
25612         * sysdeps/s390/s390-64/multiarch/memset.S
25613         (memset_z196): Rename to __memset_z196.
25614         Jump to __memset_mvcle instead of memset_mvcle.
25615         (memset_z10): Rename to __memset_z10.
25616         Jump to __memset_mvcle instead of memset_mvcle.
25617         (memset_mvcle) Rename to __memset_mvcle.
25618         (memset): Set alias to __memset_z900.
25620 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25622         [BZ #17748]
25623         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25624         __fesetenv instead of fesetenv.
25626 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25628         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25629         macro.
25631 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25633         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25634         regression on LE.
25636         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25637         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25638         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25639         strncmp-power8 object.
25640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25641         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25642         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25643         * NEWS: Update.
25645 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25646             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25648         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25649         trailing byte check.
25651 2015-01-13  David S. Miller  <davem@davemloft.net>
25653         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25655 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25657         * login/logout.c (logout): Use memset rather than bzero.
25658         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25659         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25660         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25661         (_gethtbyaddr): Likewise.
25662         * locale/programs/simple-hash.c (bcopy): Macro removed.
25664 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25666         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25667         Add strcmp-power8 object.
25668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25669         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25670         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25671         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25672         __strcmp_power8 implementation.
25673         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25674         * NEWS: Update.
25676         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25677         Add strncpy-power8 and stpncpy-power8 objects.
25678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25679         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25680         implementations.
25681         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25682         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25683         __stpncpy_power8 implementation.
25684         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25685         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25686         __strncpy_power8 implementation.
25687         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25688         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25689         * NEWS: Update.
25691         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25692         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25693         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25695         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25696         strncat-power8 object.
25697         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25698         __strcat_power8 implementation.
25699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25700         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25701         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25702         optimized strcat for power8.
25704         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25705         strcpy-power8 and stpcpy-power8 objects.
25706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25707         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25708         implementations.
25709         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25710         multiarch stpcpy implementation for POWER8.
25711         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25712         multiarch strcpy implementation for POWER8.
25713         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25714         __strcpy_power8 function.
25715         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25716         stpcpy for POWER8.
25717         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25718         strcpy for POWER8.
25719         * NEWS: Update.
25721 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25723         [BZ #16009]
25724         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25725         weights and rules. Use do_xfrm_cached if data fits in cache,
25726         do_xfrm otherwise.  Moved former main loop to...
25727         * (do_xfrm_cached): New function.
25728         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25729         find_idx, find_position and stack_push.
25730         * (find_idx): New function.
25731         * (find_position): Likewise.
25732         * localedata/sort-test.sh: Added test run for do_xfrm.
25733         * localedata/xfrm-test.c (main): Added command line option
25734         -nocache to run the test with strings that are too large for
25735         the STRXFRM cache.
25737 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25739         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25740         variable to lll_futex_wake call, not the value itself.
25742 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25744         [BZ #17803]
25745         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25746         twom64.  Adjust value to 0x1p-64L.
25747         (__scalblnl): Only return standard underflowing result for K <=
25748         -64 not K <= -63; adjust exponent for underflowing result by 64
25749         not 63.
25750         * math/libm-test.inc (scalbn_test_data): Add more tests.
25751         (scalbln_test_data): Likewise.
25753         [BZ #17834]
25754         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25755         0x1p63L.
25756         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25757         not HX.
25758         * math/libm-test.inc (scalbn_test_data): Add more tests.
25759         (scalbln_test_data): Likewise.
25761 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25762             Stefani Seibold  <stefani@seibold.net>
25764         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25765         (sysdep_routines): Add dl-vdso here, ...
25766         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25767         (sysdep_routines): ... not here.
25768         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25769         fallback when vDSO is not presented.
25770         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25771         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25772         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25773         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25774         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25775         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25776         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25777         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25778         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25779         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25780         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25781         fallback configurable symbol when vDSO is not available.
25782         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25783         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25784         be able to redefine fallback symbol when vDSO is not available.
25785         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25786         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25788 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25790         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25791         (TLS_INIT_TP): Add tm_capable initialization.
25792         (TLS_DEFINE_INIT_TP): Likewise.
25793         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25794         TCB.
25795         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25796         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25797         calculation.
25798         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25799         transactoion is lock elision is built and TCB tm_capable is set.
25800         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25802         (INTERNAL_SYSCALL_NCS): Likewise.
25803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25804         (INTERNAL_SYSCALL_NCS): Likewise.
25805         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25807         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25808         for powerpc.
25809         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25810         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25811         and remove it for 32 bits case.
25812         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25813         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25814         initialization.
25815         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25816         Disable lock elision with rdlocks if elision is not available.
25818         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25819         (sysdep_routines): Add lock elision objects.
25820         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25821         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25822         [pthread_mutex_t] (__elision): Add field.
25823         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25824         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25825         elision definitions for powerpc.
25826         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25827         implementation of lock elision for powerpc.
25828         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25829         implementation of timed lock elision for powerpc.
25830         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25831         implementation of trylock with lock elision for powerpc.
25832         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25833         implementaion of unlock for lock elision for powerpc.
25834         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25835         automatic enable lock elision for mutexes.
25836         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25837         transaction execution definitions for powerpc.
25838         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25839         definitions.
25840         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25841         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25842         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25843         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25844         * NEWS: Update.
25846 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25848         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25849         for #include of <shm-directory.h>.
25851 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25853         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25854         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25856 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25858         [BZ #17791]
25859         * NEWS: Mention bug fix.
25860         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25861         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25862         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25864 2015-01-09  Torvald Riegel <triegel@redhat.com>
25866         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25868 2015-01-09  Torvald Riegel <triegel@redhat.com>
25870         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25872 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25874         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25875         pointer and cast to uintptr_t.
25877 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25879         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25880         removed.
25881         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25883 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25885         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25886         of 0.
25888 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25890         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25891         <nptl/pthreadP.h> instead.
25892         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25894         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25895         already defined.
25896         [__SIGRTMIN] (init): Function removed.
25897         [__SIGRTMIN] (initialized): Variable removed.
25898         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25899         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25900         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25901         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25902         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25903         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25904         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25905         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25906         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25907         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25908         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25909         * sysdeps/nptl/allocrtsig.c: New file.
25910         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25911         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25912         * sysdeps/generic/testrtsig.h: File removed.
25914         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25915         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25917         * nptl/nptl-init.c (pthread_functions): Conditionalize
25918         .ptr__nptl_setxid initialization on [SIGSETXID].
25920         * sysdeps/nptl/sys/procfs.h: New file.
25921         * nptl_db/Makefile (headers): Add it.
25922         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25924         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25925         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25926         * nptl/pthread_attr_setaffinity.c: Include it.
25927         * nptl/pthread_setattr_default_np.c: Likewise.
25928         * nptl/check-cpuset.h: New file.
25930 2015-01-08  Richard Henderson  <rth@redhat.com>
25932         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25933         (CFLAGS-tst-execstack-prog.c): Likewise.
25934         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25936 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25937             Sandra Loosemore  <sandra@codesourcery.com>
25938             Andrew Jenner  <andrew@codesourcery.com>
25939             Joseph Myers  <joseph@codesourcery.com>
25940             Nathan Sidwell  <nathan@codesourcery.com>
25942         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25943         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25944         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25945         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25946         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25947         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25948         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25949         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25950         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25951         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25952         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25953         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25954         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25955         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25956         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25957         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25958         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25960 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25962         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25963         timespec struct member in syscall macro.
25964         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25965         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25966         first timeval struct member in syscall macro.
25967         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25969 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25971         [BZ #17748]
25972         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25973         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25974         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25975         __feupdateenv and define as weak alias of __feupdateenv.  Use
25976         libm_hidden_weak.
25977         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25978         libm_hidden_def.
25979         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25980         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25981         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25982         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25983         libm_hidden_def.
25984         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25985         __feupdateenv and define as weak alias of __feupdateenv.  Use
25986         libm_hidden_weak.
25987         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25988         libm_hidden_def.
25989         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25990         __feupdateenv and define as weak alias of __feupdateenv.  Use
25991         libm_hidden_weak.
25992         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25993         libm_hidden_def.
25994         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25995         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25996         (__feupdateenv): Likewise.
25997         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25998         __feupdateenv and define as weak alias of __feupdateenv.  Use
25999         libm_hidden_weak.
26000         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26001         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
26002         libm_hidden_def.
26003         * sysdeps/tile/math_private.h (__feupdateenv): New inline
26004         function.
26005         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
26006         libm_hidden_def.
26007         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
26008         __feupdateenv instead of feupdateenv.
26009         (default_libc_feupdateenv_test): Likewise.
26010         (libc_feresetround_ctx): Likewise.
26012 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26014         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
26015         prototype.
26017 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
26019         * posix/regcomp.c (parse_bracket_exp): Initialize type to
26020         COLL_SYM in a couple of places to avoid uninitialized variable
26021         wanings on tilegx gcc 4.8.2.
26023 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26025         * sysdeps/aarch64/strcpy.S: New file.
26026         * sysdeps/aarch64/stpcpy.S: New file.
26027         * NEWS: Updated.
26029 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26031         * sysdeps/aarch64/strrchr.S: New file.
26032         * NEWS: Updated.
26034 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
26036         [BZ #17658]
26037         * stdlib/setenv.c: Fix memory leak when setting large,
26038         duplicate string.
26040 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
26042         [BZ #17273]
26043         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
26044         and tabs from buffer before parsing fstab entry.
26045         * misc/tst-mntent.c (main): Add test for mount entry with
26046         trailing spaces and tabs.
26048 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
26050         [BZ #17748]
26051         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
26052         * math/fesetround.c (fesetround): Rename to __fesetround and
26053         define as weak alias of __fesetround.  Use libm_hidden_weak.
26054         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
26055         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
26056         * sysdeps/arm/fesetround.c (fesetround): Likewise.
26057         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
26058         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
26059         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
26060         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
26061         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
26062         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
26063         __fesetround_inline.
26064         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
26065         __fesetround_inline instead of __fesetround.
26066         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
26067         __fesetround and define as weak alias of __fesetround.  Use
26068         libm_hidden_weak.  Call __fesetround_inline instead of
26069         __fesetround.
26070         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
26071         __fesetround and define as weak alias of __fesetround.  Use
26072         libm_hidden_weak.
26073         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
26074         Likewise.
26075         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
26076         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26077         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
26078         * sysdeps/tile/math_private.h (__fesetround): New inline function.
26079         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
26080         __fesetround and define as weak alias of __fesetround.  Use
26081         libm_hidden_weak.
26082         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
26083         __fesetround instead of fesetround.
26084         (default_libc_feholdexcept_setround): Likewise.
26085         (libc_feholdsetround_ctx): Likewise.
26086         (libc_feholdsetround_noex_ctx): Likewise.
26088         [BZ #17748]
26089         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
26090         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
26091         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26092         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26093         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26094         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
26095         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26096         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26097         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26098         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26099         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26100         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26101         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26102         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26103         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
26104         libm_hidden_def.
26105         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
26106         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
26107         Likewise.
26108         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26109         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26110         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26111         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26112         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
26113         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26114         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26115         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
26116         __fesetenv instead of fesetenv.
26117         (libc_feresetround_noex_ctx): Likewise.
26118         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26119         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26120         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
26121         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26122         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26123         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26124         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26125         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26126         (__feupdateenv): Likewise.
26127         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26128         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26129         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26130         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26132 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26134         [BZ #17806]
26135         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26136         addresses have been freed.
26138 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26140         * resolv/res_init.c (__res_vinit): Improve comments about nserv
26141         and nservall.
26143 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
26145         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26146         Clean up check_pf allocation pattern. addresses
26148 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26150         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
26151         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
26152         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
26153         * nptl/pthread_exit.c (__pthread_exit): Likewise.
26154         * nptl/pthread_join.c (pthread_join): Likewise.
26155         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26156         * sysdeps/posix/waitid.c (__waitid): Likewise.
26157         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26158         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26159         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26160         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26161         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26162         Likewise.
26163         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26164         (__libc_pread64): Likewise.
26165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26166         (__libc_pwrite): Likewise.
26167         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26168         (__libc_pwrite64): Likewsie.
26169         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26170         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26171         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26172         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26173         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26174         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26175         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26177         Likewise.
26178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26179         (__libc_pread64): Likewise.
26180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26181         Likewise.
26182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26183         (__libc_pwrite64): Likewise.
26184         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26185         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26186         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26187         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26188         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26189         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26190         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26191         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26192         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26193         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26194         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26195         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26196         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26197         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26198         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26199         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26200         Likewise.
26202 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26204         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26205         (CFLAGS-test-double.c): Likewise.
26206         (CFLAGS-test-ldouble.c): Likewise.
26207         (CPPFLAGS-test-ifloat.c): Likewise.
26208         (CPPFLAGS-test-idouble.c): Likewise.
26209         (CPPFLAGS-test-ildoubl.c): Likewise.
26210         (CFLAGS-test-test-fenv.c): Remove variable.
26211         (CFLAGS-test-misc.c): Likewise.
26213 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26215         [BZ #17797]
26216         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26217         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26218         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26219         CLOCKS_PER_SEC == 1000000.
26220         * time/clocktest.c (main): Replace %ld with %jd and cast to
26221         intmax_t.
26223 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26225         * sysdeps/generic/unwind-resume.h: New file.
26226         * sysdeps/gnu/unwind-resume.c: Include it.
26227         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26228         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26229         argument list.
26230         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26231         global rather than static.
26232         (_Unwind_Resume): Update user.
26233         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26234         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26235         rather than static.  Add __attribute__ ((cold)).
26236         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26237         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26238         * sysdeps/arm/arm-unwind-resume.S: New file.
26239         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26240         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26241         * sysdeps/arm/Makefile [$(subdir) = csu]
26242         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26243         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26244         Add rt-arm-unwind-resume.
26245         [$(subdir) = nptl]
26246         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26247         Add pt-arm-unwind-resume.
26248         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26249         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26251 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26253         [BZ #17748]
26254         * include/fenv.h (__feholdexcept): Declare.  Use
26255         libm_hidden_proto.
26256         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26257         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26258         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26259         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26260         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26261         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26262         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26263         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26264         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26265         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26266         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26267         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26268         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26269         (feholdexcept): Likewise.
26270         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26271         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26272         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26273         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26274         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26275         __feholdexcept instead of feholdexcept.
26276         (default_libc_feholdexcept_setround): Likewise.
26278 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26280         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26281         to avoid using stl/str to align destination.
26283 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26285         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26287 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26289         [BZ #17796]
26290         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26291         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26292         Define as weak alias not strong alias.
26294 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26296         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26297         bltzal with addiupc.
26298         (RTLD_START): Ditto.
26300 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26302         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26303         for __vdso_* functions in declarations.
26304         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26305         definitions.
26306         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26307         INTERNAL_VSYSCALL): Use struct return types to check for error.
26309         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26310         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26311         function with cast from llround().
26312         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26313         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26314         Define.
26316 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26318         [BZ #17793]
26319         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26320         Define as weak alias not strong alias.
26322         [BZ #17635]
26323         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26324         ...
26325         * ctype/ctype-extn.c: ... here.
26326         (__isblank_l): Move to ...
26327         * ctype/ctype-c99_l.c: ... here.  New file.
26328         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26329         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26330         Remove variable.
26331         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26332         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26333         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26334         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26335         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26337         [BZ #17777]
26338         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26339         (posix_fadvise64): Define as weak alias not strong alias.
26340         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26341         (posix_fallocate64): Likewise.
26342         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26343         Remove variable.
26344         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26345         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26346         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26347         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26348         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26350 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26352         [BZ #16191]
26353         * NEWS: Mention bug fix.
26354         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26355         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26356         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26357         (HOST_STACK_END_ADDR): Likewise.
26359 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26361         [BZ #17748]
26362         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26363         * math/fegetround.c (fegetround): Rename to __fegetround and
26364         define as weak alias of __fegetround.  Use libm_hidden_weak.
26365         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26366         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26367         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26368         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26369         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26370         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26371         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26372         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26373         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26374         Undefine after rather than before function definition; use
26375         parentheses around function name in definition.
26376         (__fegetround): Also undefine macro after function definition.
26377         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26378         __fegetround and define as weak alias of __fegetround.  Use
26379         libm_hidden_weak.  Do not undefine as macro.
26380         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26381         Likewise.
26382         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26383         __fegetround and define as weak alias of __fegetround.  Use
26384         libm_hidden_weak.
26385         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26386         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26387         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26388         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26389         __fegetround and define as weak alias of __fegetround.  Use
26390         libm_hidden_weak.
26391         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26392         __fegetround instead of fegetround.
26394         [BZ #17782]
26395         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26396         Condition macro definition on [__USE_MISC].
26398         [BZ #17781]
26399         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26400         (struct sigaction): Change type of sa_flags field to int.
26402         [BZ #17780]
26403         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26404         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26405         __glibc_reserved0.
26407         * nptl/version.c (banner): Use single year in copyright notice.
26409         * NEWS: Update copyright dates.
26410         * catgets/gencat.c (print_version): Likewise.
26411         * csu/version.c (banner): Likewise.
26412         * debug/catchsegv.sh: Likewise.
26413         * debug/pcprofiledump.c (print_version): Likewise.
26414         * debug/xtrace.sh (do_version): Likewise.
26415         * elf/ldconfig.c (print_version): Likewise.
26416         * elf/ldd.bash.in: Likewise.
26417         * elf/pldd.c (print_version): Likewise.
26418         * elf/sotruss.sh: Likewise.
26419         * elf/sprof.c (print_version): Likewise.
26420         * iconv/iconv_prog.c (print_version): Likewise.
26421         * iconv/iconvconfig.c (print_version): Likewise.
26422         * locale/programs/locale.c (print_version): Likewise.
26423         * locale/programs/localedef.c (print_version): Likewise.
26424         * login/programs/pt_chown.c (print_version): Likewise.
26425         * malloc/memusage.sh (do_version): Likewise.
26426         * malloc/memusagestat.c (print_version): Likewise.
26427         * malloc/mtrace.pl: Likewise.
26428         * manual/libc.texinfo: Likewise.
26429         * nptl/version.c (banner): Likewise.
26430         * nscd/nscd.c (print_version): Likewise.
26431         * nss/getent.c (print_version): Likewise.
26432         * nss/makedb.c (print_version): Likewise.
26433         * posix/getconf.c (main): Likewise.
26434         * scripts/test-installation.pl: Likewise.
26435         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26437 2015-01-02  Will Newton  <will.newton@linaro.org>
26439         * sysdeps/arm/armv7/configure: Removed.
26440         * sysdeps/arm/armv7/configure.ac: Likewise.
26442 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26444         * All files with FSF copyright notices: Update copyright dates
26445         using scripts/update-copyrights.
26446         * intl/plural.c: Regenerated.
26447         * locale/programs/charmap-kw.h: Likewise.
26448         * locale/programs/locfile-kw.h: Likewise.
26450 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26452         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26454 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26456         [BZ #17748]
26457         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26458         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26459         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26460         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26461         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26462         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26463         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26464         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26465         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26466         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26467         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26468         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26469         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26470         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26471         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26472         libm_hidden_def.
26473         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26474         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26475         Likewise.
26476         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26477         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26478         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26479         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26480         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26481         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26482         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26483         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26484         __fegetenv instead of fegetenv.
26485         (libc_feholdsetround_noex_ctx): Likewise.
26487 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26489         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26490         (Elf_MIPS_ABIFlags_v0): New structure.
26491         (EF_MIPS_FP64): Define.
26492         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26493         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26494         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26495         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26496         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26497         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26498         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26499         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26500         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26501         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26502         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26503         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26504         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26505         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26506         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26507         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26508         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26509         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26510         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26511         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26512         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26513         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26514         field.
26515         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26516         EF_MIPS_FP64.
26517         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26518         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26519         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26520         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26521         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26522         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26523         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26524         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26525         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26526         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26527         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26528         record the current FP ABI extension.
26529         (mips-mode-switch): Define to show if kernel headers support mode
26530         switching.
26531         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26532         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26533         supported SYSV ABI version to 3.
26534         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26535         feature.
26537 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26538             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26540         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26541         path.
26542         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26544 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26546         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26547         __fegetround and redefine to call __fegetround.  Remove condition
26548         on [!__NO_MATH_INLINES].
26549         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26550         function.
26551         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26552         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26553         Remove macro.
26554         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26555         instead of <fenv_libc.h>.
26556         (__llrintl): Call fegetround instead of __fegetround.
26557         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26558         instead of <fenv_libc.h>.
26559         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26560         (__lrintl): Call fegetround instead of __fegetround.
26561         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26562         instead of <fenv_libc.h>.
26563         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26564         (__rintl): Call fegetround instead of __fegetround.
26566 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26568         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26569         arrays.
26571 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26573         [BZ #17775]
26574         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26575         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26576         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26578 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26580         * sysdeps/i386/tls-macros.h: Include <features.h>.
26581         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26582         (TLS_IE): Likewise.
26583         (TLS_LD): Likewise.
26584         (TLS_GD): Likewise.
26585         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26586         define for GCC >= 5.0.
26588 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26590         * math/test-fenv.c (test_single_exception, set_single_exc,
26591         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26592         feexcp_mask_test, feenable_test, fe_single_test): Add
26593         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26594         case where they are not used.
26595         * math/libm-test.inc: Likewise.
26596         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26597         unused in the absence of FP rounding/exception support.
26598         * stdio-common/tst-printf-round.c: Likewise.
26599         * stdlib/tst-strtod-round.c: Likewise.
26600         * stdlib/tst-strtod-underflow.c: Likewise.
26602 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26604         [BZ #17723]
26605         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26606         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26607         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26608         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26609         libm_hidden_weak.
26610         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26611         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26612         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26613         libm_hidden_def.
26614         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26615         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26616         libm_hidden_weak.
26617         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26618         Likewise.
26619         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26620         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26621         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26622         libm_hidden_weak.
26623         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26624         libm_hidden_def.
26625         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26626         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26627         (__feraiseexcept): Likewise.
26628         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26629         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26630         libm_hidden_weak.
26631         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26632         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26633         libm_hidden_def.
26634         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26635         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26636         Use libm_hidden_def.
26637         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26638         libm_hidden_def.
26639         (feraiseexcept): Define as weak not strong alias.  Use
26640         libm_hidden_weak.
26641         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26642         New inline function.  Factored out of ...
26643         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26644         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26645         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26646         feraiseexcept.
26647         * math/w_acos.c (__acos): Likewise.
26648         * math/w_asin.c (__asin): Likewise.
26649         * math/w_ilogb.c (__ilogb): Likewise.
26650         * math/w_j0.c (y0): Likewise.
26651         * math/w_j1.c (y1): Likewise.
26652         * math/w_jn.c (yn): Likewise.
26653         * math/w_log.c (__log): Likewise.
26654         * math/w_log10.c (__log10): Likewise.
26655         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26656         * sysdeps/aarch64/fpu/math_private.h
26657         (libc_feupdateenv_test_aarch64): Likewise.
26658         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26659         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26660         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26661         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26662         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26663         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26664         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26665         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26666         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26667         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26669 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26671         [BZ #17732]
26672         * io/test-utime.c (main): Replace %ld with %jd and cast to
26673         intmax_t.
26674         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26675         * nptl/tst-mutex5.c: Include <stdint.h>.
26676         (do_test): Replace %ld with %jd and cast to intmax_t.
26677         * posix/tst-regex.c (run_test): Likewise.
26678         (run_test_backwards): Likewise.
26679         * rt/tst-clock.c: Include <stdint.h>.
26680         (clock_test): Replace %ld with %jd and cast to intmax_t.
26681         * rt/tst-cpuclock1.c: Include <stdint.h>.
26682         (do_test): Replace %lu with %ju and cast to uintmax_t.
26683         * rt/tst-cpuclock2.c: Include <stdint.h>.
26684         (do_test): Replace %lu with %ju and cast to uintmax_t.
26685         * rt/tst-mqueue1.c: Include <stdint.h>.
26686         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26687         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26688         intmax_t.
26689         * rt/tst-mqueue4.c (do_test): Likewise.
26690         * rt/tst-timer4.c: Include <stdint.h>.
26691         (check_ts): Replace %ld with %jd and cast to intmax_t.
26692         (do_test): Likewise.
26693         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26694         and cast to intmax_t.
26695         * sysdeps/pthread/tst-timer.c (main): Likewise.
26696         * time/clocktest.c (main): Likewise.
26697         * time/tst-posixtz.c (do_test): Likewise.
26698         * timezone/tst-timezone.c (main): Likewise.
26700 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26701             H.J. Lu  <hongjiu.lu@intel.com>
26703         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26704         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26705         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26706         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26707         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26708         version if bit_Fast_Unaligned_Load is set.
26709         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26710         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26711         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26712         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26713         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26714         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26715         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26716         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26717         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26718         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26719         to 4.
26720         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26721         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26722         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26723         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26725 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26727         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26728         instead of #if to avoid a Wundef warning.
26729         * stdlib/tst-limits.c (do_test): Likewise.
26731         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26732         parallel other exception macros.
26733         (fegetenv): Convert from macro to extern inline so that it applies
26734         retroactively to inline functions already seen by the compiler.
26735         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26737         * posix/Makefile (before-compile): Use $(objpfx) for
26738         posix-conf-vars-def.h.
26740 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26742         * posix/getconf.c (main): Use size_t for type of I.
26743         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26744         NSPEC.
26746         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26747         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26748         * posix/posix-envs.def: Likewise.
26749         * sysdeps/posix/sysconf.c: Likewise.
26750         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26751         (specs): Remove array.
26752         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26753         array.
26755         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26756         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26757         (__sysconf): Use CONF_IS_* macros.
26759         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26760         ($(objpfx)posix-conf-vars-def.h): New target.
26761         * posix/posix-conf-vars.list: New file.
26762         * posix/posix-conf-vars.h: New file.
26763         * posix/confstr.c: Include posix-conf-vars.h.
26764         (confstr): Use CONF_IS_* macros.
26765         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26766         CONF_IS_* macros.
26767         * scripts/gen-posix-conf-vars.awk: New file.
26769 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26771         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26772         fegetround): Add no-op macros to avoid linknamespace issues.
26774         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26775         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26777         * sysdeps/unix/sysv/linux/tile/sysdep.h
26778         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26779         assembly-specific section to avoid a redefinition warning.
26781         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26782         long before casting to pointer to avoid a cast warning.
26784 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26786         * sysdeps/tile/tilegx/Implies: New file.
26788 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26790         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26792 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26794         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26796 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26798         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26799         not define.
26800         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26801         <kernel-features.h>.
26802         (__utimes) [__NR_utimes]: Make code unconditional.
26803         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26804         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26805         (__ASSUME_UTIMES): Do not undefine.
26806         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26807         (__ASSUME_UTIMES): Likewise.
26808         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26809         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26810         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26811         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26813 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26815         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26817 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26819         [BZ #17747]
26820         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26821         alias to weak alias for j0l, y0l.
26822         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26823         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26825         [BZ #17746]
26826         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26827         conversion.
26829 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26831         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26832         to zero if not already defined.
26834 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26836         [BZ #17724]
26837         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26838         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26839         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26840         (char *) casts added.
26841         * sysdeps/ieee754/k_standardf.c: New file.
26842         * sysdeps/ieee754/k_standardl.c: Likewise.
26843         * math/Makefile (libm-support): Remove k_standard.
26844         (libm-calls): Add k_standard.
26846 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26848         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26849         Optimize to avoid an unnecessary FPCR read.
26851 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26853         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26854         Optimize to reduce FPCR/FPSR accesses.
26856 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26858         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26859         Call libc_fetestexcept_aarch64.
26861 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26863         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26864         Call libc_fesetround_aarch64.
26866 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26868         [BZ #17733]
26869         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26870         (__bind): Do not define as weak alias.
26871         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26872         define.
26873         (__getsockname): Do not define as weak alias.
26875 2014-12-22  Will Newton  <will.newton@linaro.org>
26877         * manual/install.texi: Document that we require bison 2.7
26878         or above.
26879         * INSTALL: Regenerate.
26880         * configure.ac: Use AC_CHECK_PROG_VER instead of
26881         AC_PATH_PROG when checking for bison and check for
26882         version 2.7 or above.
26883         * configure: Regenerate.
26885 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26887         [BZ #17745]
26888         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26889         * sysdeps/tile/ffsll.c (ffsll): To here.
26891         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26893 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26895         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26896         if not defined.
26897         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26898         definition.
26899         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26900         hidden ___tls_get_addr.
26901         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26902         hidden __tls_get_addr.
26903         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26904         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26905         Likewise.
26907 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26909         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26910         _dl_init call.
26912 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26914         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26915         from "call _dl_init@PLT".
26916         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26918 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26920         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26921         guarantees.
26923 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26925         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26927 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26929         [BZ #17744]
26930         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26931         strnlen.
26933 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26935         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26936         of multu on MIPSr6.
26937         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26938         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26939         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26940         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26941         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26943 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26945         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26946         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26947         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26948         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26949         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26950         mips32r6/mips64r6.
26951         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26953 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26955         * string/strncat.c (STRNCAT): Simplify implementation.
26957 2014-12-19  David S. Miller  <davem@davemloft.net>
26959         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26960         access the quad as both a long double and as a series of 4 words.
26962         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26963         link_map->l_info array access.
26965 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26967         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26969         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26970         * math/atest-exp2.c (TIMEOUT): Likewise.
26971         * math/atest-sincos.c (TIMEOUT): Likewise.
26973 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26975         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26976         -Wno-error with -fno-builtin-lround.
26978 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26980         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26981         Contains futex constants and functions moved over from ...
26982         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26983         <lowlevellock-futex.h>.
26984         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26985         (lll_timedwait_tid): Add comments and parentheses around macro
26986         arguments.
26988 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26990         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26991         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26992         (__lll_private_flag): Remove.
26993         (lll_futex_wait): Likewise.
26994         (lll_futex_timed_wait): Likewise.
26995         (lll_futex_wake): Likewise.
26996         (lll_futex_requeue): Likewise.
26997         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26998         (__lll_timedwait_tid): Spell out argument names.
26999         (lll_timedwait_tid): Add comments and parentheses around macro
27000         arguments.
27001         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
27002         LLL_SHARED and LLL_PRIVATE usable from assembly code.
27004 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27006         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
27007         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27008         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27009         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
27010         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
27011         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
27012         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
27013         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27014         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
27015         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
27016         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
27017         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
27018         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
27019         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
27020         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
27021         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
27022         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
27023         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
27024         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
27026 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27028         * sysdeps/x86_64/x32/Makefile: New file.
27030 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27032         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
27033         1L with (mp_limb_t) 1.
27035 2014-12-17  Roland McGrath  <roland@hack.frob.com>
27037         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
27038         * nptl/libc_pthread_init.c: ... here.
27039         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
27040         * nptl/register-atfork.c: ... here.
27042         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
27043         Use pthread_sigmask rather than INTERNAL_SYSCALL.
27044         Use assert_perror to check its return value.
27045         (__gai_create_helper_thread): Likewise.
27047         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
27049         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
27051 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
27053         [BZ #17725]
27054         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
27055         __profil_counter.
27056         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
27057         Likewise.
27058         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
27059         Likewise.
27060         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
27061         Likewise.
27062         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
27063         (profil_counter): Likewise.
27064         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
27065         (profil_counter): Likewise.
27066         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
27067         Likewise.
27068         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
27069         Likewise.
27070         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
27071         (profil_counter): Likewise.
27072         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
27073         Likewise.
27074         [!__profil_counter] (profil_counter): Define as weak alias of
27075         __profil_counter.
27076         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
27077         (profil_counter): Rename to __profil_counter.
27078         [!__profil_counter] (profil_counter): Define as weak alias of
27079         __profil_counter.
27080         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
27081         (profil_counter): Rename to __profil_counter.
27082         [!__profil_counter] (profil_counter): Define as weak alias of
27083         __profil_counter.
27084         * sysdeps/posix/profil.c: Update comment referring to
27085         profil_counter.
27086         (__profil): Use __profil_counter instead of profil_counter.
27087         * sysdeps/posix/sprofil.c (profil_counter): Rename to
27088         __profil_counter.  Use __profil_counter_ushort and
27089         __profil_counter_uint in definitions.
27090         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
27091         instead of profil_counter_uint and profil_counter_ushort.
27093         [BZ #17722]
27094         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
27095         define as weak alias of __inet_makeaddr.
27096         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
27097         as weak alias of __inet_addr.
27098         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
27099         as weak alias of __inet_pton.  Use libc_hidden_weak.
27100         * include/arpa/inet.h (__inet_pton): Declare.  Use
27101         libc_hidden_proto.
27102         (inet_makeaddr): Don't use libc_hidden_proto.
27103         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
27104         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
27105         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
27106         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
27107         Remove variable.
27108         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27109         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27111 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
27113         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
27115 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27117         * stdio-common/bug-vfprintf-nargs.c (do_test):
27118         Cast value to intptr_t to avoid format warning
27119         for usage with PRIdPTR printing macro.
27121 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27123         * libio/tst-widetext.c (do_test):
27124         Use format type %td instead of %Zd for ptrdiff_t
27125         in order to avoid format warning.
27127 2014-12-17  Andreas Schwab  <schwab@suse.de>
27129         * nscd/mem.c (gc): Add size_t cast to match printf format.
27131 2014-12-16  Roland McGrath  <roland@hack.frob.com>
27133         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27134         (init): Apply PTR_MANGLE to pointers before storing them.
27135         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27136         before using them.
27138 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
27140         [BZ #17719]
27141         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
27142         define as weak alias of __memrchr.
27143         (__memrchr): Do not define as strong alias of memrchr.
27144         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
27145         Remove variable.
27146         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27147         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27148         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27150         [BZ #17717]
27151         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
27152         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
27153         (if_indextoname): Rename to __if_indextoname and define as weak
27154         alias of __if_indextoname.  Use libc_hidden_weak.
27155         (if_freenameindex): Rename to __if_freenameindex and define as
27156         weak alias of __if_freenameindex.
27157         (if_nameindex): Rename to __if_nameindex and define as weak alias
27158         of __if_nameindex.
27159         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27160         __if_nametoindex and define as weak alias of __if_nametoindex.
27161         Use libc_hidden_weak.
27162         (if_freenameindex): Rename to __if_freenameindex and define as
27163         weak alias of __if_freenameindex.
27164         (if_nameindex): Rename to __if_nameindex and define as weak alias
27165         of __if_nameindex.
27166         (if_indextoname): Rename to __if_indextoname and define as weak
27167         alias of __if_indextoname.  Use libc_hidden_weak.
27168         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27169         __if_nametoindex and define as weak alias of __if_nametoindex.
27170         Use libc_hidden_weak.
27171         (if_freenameindex): Rename to __if_freenameindex and define as
27172         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27173         (if_nameindex_netlink): Use __if_freenameindex instead of
27174         if_freenameindex.
27175         (if_nameindex): Rename to __if_nameindex and define as weak alias
27176         of __if_nameindex.  Use libc_hidden_weak.
27177         (if_indextoname): Rename to __if_indextoname and define as weak
27178         alias of __if_indextoname.  Use libc_hidden_weak.
27179         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27180         libc_hidden_proto.
27181         [!_ISOMAC] (__if_freenameindex): Likewise.
27182         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27183         if_nametoindex.
27184         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27185         variable.
27186         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27187         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27188         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27189         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27190         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27191         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27192         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27194         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27195         Remove variable.
27196         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27197         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27199 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27201         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27202         subscript above bounds'
27204         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27205         bounds.
27207 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27209         * libio/tst-fopenloc.c: Use test-skeleton.c.
27211         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27212         (entry): Rename to ITEM.
27213         (do_test, comp): Adjust.
27215         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27217 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27219         * string/tester.c: Include <libc-internal.h>.
27220         (test_memset): Ignore -Wmemset-transposed-args.
27222 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27224         * misc/tst-mntent2.c (do_test): Fix warning.
27226 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27228         * elf/tst-unique4lib.cc(a): Mark as used.
27230 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27232         [BZ #17630]
27233         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27234         names.
27236 2014-12-16  Allan McRae  <allan@archlinux.org>
27238         * stdio-common/Makefile (tests): Re-add bug26.
27240 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27242         [BZ #17657]
27243         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27244         static array.
27246 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27248         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27249         (__lll_lock_wait): Likewise.
27250         (__lll_timedlock_wait): Likewise.
27251         (__lll_timedwait_tid): Likewise.
27252         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27253         (__lll_robust_timedlock_wait): Likewise.
27254         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27255         (lll_cond_trylock): Likewise.
27256         (__lll_lock): Likewise.
27257         (__lll_robust_lock): Likewise.
27258         (__lll_cond_lock): Likewise.
27259         (lll_robust_cond_lock): Likewise.
27260         (__lll_timedlock): Likewise.
27261         (__lll_robust_timedlock): Likewise.
27262         (__lll_unlock): Likewise.
27263         (__lll_robust_unlock): Likewise.
27264         (lll_wait_tid): Likewise.
27265         (lll_timedwait_tid): Likewise.
27267 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27269         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27271 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27273         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27275 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27277         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27278         * stdio-common/tst-sprintf.c: Likewise.
27280 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27282         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27284 2014-12-15  Jeff Law  <law@redhat.com>
27286         [BZ #16617]
27287         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27288         on the heap.  (CVE-2012-3406)
27289         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27290         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27291         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27293 2014-12-15  Will Newton  <will.newton@linaro.org>
27295         * manual/install.texi: Bump required version of texinfo
27296         to 4.7 from 4.5.
27297         * INSTALL: Regenerated.
27298         * configure.ac: Check for makeinfo version 4.7 and above.
27299         * configure: Regenerated.
27301 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27303         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27304         PREFIX, string constant to insert between directory and name.
27305         * sysdeps/posix/shm_open.c: Update caller.
27306         * sysdeps/posix/shm_unlink.c: Likewise.
27307         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27308         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27309         (SEM_SHM_PREFIX): New macro.
27310         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27311         [$(have-thread-library) = no].
27312         * nptl/Makefile (libpthread-routines): Add shm-directory.
27313         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27314         * sysdeps/nptl/shm-directory.h: New file.
27315         * sysdeps/posix/shm-directory.c
27316         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27317         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27318         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27319         INTERNAL_SYSCALL.
27320         (__where_is_shmfs): Function removed.
27321         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27322         Variables removed.
27323         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27324         Use SHM_GET_NAME.
27325         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27327         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27328         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27329         unconditional for use inside libpthread.
27330         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27332 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27334         * nptl/pthread_getaffinity.c: New file.
27335         * nptl/pthread_setaffinity.c: New file.
27336         * nptl/pthread_getname.c: New file.
27337         * nptl/pthread_setname.c: New file.
27339         * nptl/pthread_create.c (START_THREAD_DEFN)
27340         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27342 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27343             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27345         * resolv/res_send.c (send_vc): Disable warning resplen may
27346         be used uninitialized.
27348 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27350         * nptl/tst-mutex6.c
27351         (ATTR_NULL): New define checks ATTR against NULL.
27352         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27353         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27355 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27357         [BZ #17581]
27358         * malloc/hooks.c
27359         (mem2mem_check): Revert my previous change.
27360         (malloc_check_get_size): Revert my previous change.
27361         (mem2chunk_check): Revert my previous change.
27363 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27365         * sysdeps/posix/shm-directory.c: New file.
27366         * sysdeps/posix/shm-directory.h: New file.
27367         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27368         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27369         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27370         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27371         Transmute EPERM to EACCES.
27372         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27373         from ...
27374         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27375         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27377 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27379         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27380         pointer and cast to uintptr_t.
27381         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27382         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27383         Add cast to avoid warning.
27384         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27386 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27388         * nptl/semaphore.h: Move to ...
27389         * sysdeps/pthread/semaphore.h: ... here.
27390         * Makefile (installed-headers): Change nptl/semaphore.h to
27391         sysdeps/pthread/semaphore.h.
27393 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27395         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27396         generated error format strings.
27398         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27399         -Wformat-extra-args warnings for scanf formats.
27400         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27401         test of zero-length format (duh).
27402         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27403         corner-case scanf format test.
27404         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27405         generated fprintf format string.
27406         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27407         corner-case sprintf format tests.
27408         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27409         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27410         -Wformat-extra-args warnings throughout.
27411         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27412         (CFLAGS-scanf4.c): Likewise.
27413         (CFLAGS-scanf7.c): Likewise.
27414         (CFLAGS-tst-sprintf.c): Likewise.
27415         (CFLAGS-tst-printf.c): Likewise.
27416         (CFLAGS-tst-printfsz.c): Likewise.
27418 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27420         * include/cpio.h: New file.
27421         * include/fmtmsg.h: Likewise.
27423         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27424         corresponding format argument to size_t.
27425         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27426         arguments.
27427         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27428         corresponding format argument to size_t.
27429         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27430         arguments.
27431         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27432         corresponding format argument to size_t.
27433         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27434         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27435         (CFLAGS-tst-mbswcs2.c): Likewise.
27436         (CFLAGS-tst-mbswcs3.c): Likewise.
27437         (CFLAGS-tst-mbswcs4.c): Likewise.
27438         (CFLAGS-tst-mbswcs5.c): Likewise.
27439         (CFLAGS-tst-trans.c): Likewise.
27441 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27443         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27444         rather than assuming they won't contain any '%'s.
27446 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27448         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27449         inhibit_loop_to_libcall to avoid recursive calls.
27450         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27451         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27453 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27455         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27456         prototype.
27458 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27460         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27461         integer value instead of boolean.
27463 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27465         * malloc/malloc.c: Fix powerof2 check.
27467 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27469         * locale/programs/locfile.h (maybe_swap_uint32):
27470         Remove inline and add unused attribute.
27472 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27474         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27475         Truncating assembler expression to a .long expression.
27477 2014-12-11  Andreas Schwab  <schwab@suse.de>
27479         * elf/rtld.c (struct map_args): Constify str member.
27480         (do_preload): Constify fname argument.
27482 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27484         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27485         constants definition.
27487 2014-12-11  Andreas Schwab  <schwab@suse.de>
27489         [BZ #16657]
27490         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27491         FORCE_ELISION instead of DO_ELISION.
27492         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27493         Remove.
27494         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27495         Likewise.
27497         * iconvdata/gconv-modules: Remove duplicate entry.
27499 2014-12-11  Will Newton  <will.newton@linaro.org>
27501         Merge gettext 0.19.3 into intl/.
27503         This involves a number of cosmetic changes to comments
27504         and ANSI function definitions and prototypes throughout
27505         all the files. The gettext copyright header is used but
27506         with the date ranges taken from the glibc copy.
27508         * NEWS: Add gettext merge to 2.21.
27509         * intl/bindtextdom.c: Switch to gettext copyright.
27510         Use ANSI definitions and prototypes.
27511         Use gl_* locking primitives rather than __libc_* ones.
27512         Use __builtin_expect rather than __glibc_likely/unlikely.
27513         * intl/dcgettext.c: Switch to gettext copyright.
27514         Use ANSI definitions and prototypes.
27515         * intl/dcigettext.c: Switch to gettext copyright.
27516         Use ANSI definitions and prototypes.
27517         (INTDIV0_RAISES_SIGFPE): New define.
27518         Use gl_* locking primitives rather than __libc_* ones.
27519         Include eval-plural.h instead of plural-eval.c.
27520         Use __builtin_expect rather than __glibc_likely/unlikely.
27521         * intl/dcngettext.c: Switch to gettext copyright.
27522         Use ANSI definitions and prototypes.
27523         * intl/dgettext.c: Likewise.
27524         * intl/dngettext.c: Likewise.
27525         * intl/plural-eval.c: Renamed to...
27526         * intl/eval-plural.h: ...this.
27527         * intl/explodename.c: Switch to gettext copyright.
27528         Use ANSI definitions and prototypes.
27529         (_nl_explode_name): Use strchr instead of __rawmemchr.
27530         * intl/finddomain.c: Switch to gettext copyright.
27531         Use ANSI definitions and prototypes.
27532         Use gl_* locking primitives rather than __libc_* ones.
27533         (_nl_find_domain): Use malloc rather than alloca for
27534         allocation of temporary locale name.
27535         * intl/gettext.c: Switch to gettext copyright.
27536         Use ANSI definitions and prototypes.
27537         * intl/gettextP.h: Switch to gettext copyright.
27538         Use ANSI definitions and prototypes.
27539         Use gl_* locking primitives rather than __libc_* ones.
27540         * intl/gmo.h: Switch to gettext copyright.
27541         (struct sysdep_string): Move struct segment_pair outside of
27542         struct definition.
27543         * intl/hash-string.c: Use ANSI definitions and prototypes.
27544         * intl/hash-string.h: Switch to gettext copyright.
27545         Use ANSI definitions and prototypes.
27546         * intl/l10nflist.c: Switch to gettext copyright.
27547         Use ANSI definitions and prototypes.
27548         (_nl_normalize_codeset): Avoid integer overflow.
27549         * intl/loadinfo.h: Switch to gettext copyright.
27550         Use ANSI definitions and prototypes.
27551         (LIBINTL_DLL_EXPORTED): New define.
27552         (PATH_SEPARATOR): New define.
27553         * intl/loadmsgcat.c: Switch to gettext copyright.
27554         * intl/localealias.c: Switch to gettext copyright.
27555         Use ANSI definitions and prototypes.
27556         (_nl_expand_alias): Use PATH_SEPARATOR.
27557         * intl/ngettext.c: Switch to gettext copyright.
27558         Use ANSI definitions and prototypes.
27559         * intl/plural-exp.c: Likewise.
27560         * intl/plural-exp.h: Switch to gettext copyright.
27561         Use ANSI definitions and prototypes.
27562         (struct expression): Move definition of enum operator outside
27563         of struct definition.
27564         * intl/plural.c: Regenerate.
27565         * intl/plural.y: Switch to gettext copyright.
27566         Use ANSI definitions and prototypes.
27567         Port to bison 3.0.
27568         * intl/textdomain.c: Switch to gettext copyright.
27569         Use ANSI definitions and prototypes.
27570         Use gl_* locking primitives rather than __libc_* ones.
27572 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27574         * debug/warning-nop.c: Add used atrribute.
27576 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27578         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27580         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27581         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27582         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27584 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27585             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27587         [BZ #17634]
27588         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27589         Undefine after defining function.  Define as weak alias of
27590         __wcschr.  Use libc_hidden_weak.
27591         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27592         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27593         (libc_hidden_def): Also define __GI___wcschr alias.
27594         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27595         __wcschr and define as weak alias of __wcschr.
27596         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27597         __wcschr.
27598         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27599         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27600         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27601         libc_hidden_weak.  Do not use libc_hidden_def.
27602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27603         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27604         __GI___wcschr alias.
27605         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27606         [IS_IN (libc)] (wcschr): Define as macro expanding to
27607         __redirect_wcschr.
27608         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27609         [IS_IN (libc)] (__wcschr_power6): Likewise.
27610         [IS_IN (libc)] (__wcschr_power7): Likewise.
27611         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27612         instead of wcschr.
27613         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27614         __libc_wcschr.
27615         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27616         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27617         __wcschr and define as weak alias of __wcschr.  Use
27618         libc_hidden_builtin_def.
27619         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27620         as weak alias of __wcschr.  Use libc_hidden_weak.
27621         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27622         wcschr.
27623         * time/era.c (_nl_init_era_entries): Likewise.
27624         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27625         variable.
27626         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27627         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27629 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27631         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27632         format for long int variable.
27634 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27636         [BZ #10672]
27637         * manual/search.texi: (Array Sort Function): Remove claim how to make
27638         qsort stable.
27640 2014-12-10  Andreas Schwab  <schwab@suse.de>
27642         [BZ #12847]
27643         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27644         user-controlled locks.
27646 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27648         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27649         register.
27651 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27653         * configure.ac (--disable-werror): New configure option.
27654         (enable_werror): New AC_SUBST.
27655         * configure: Regenerated.
27656         * config.make.in (enable-werror): New variable.
27657         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27658         -Wno-error=undef.
27659         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27660         * manual/install.texi (Configuring and compiling): Document
27661         --disable-werror.
27662         * INSTALL: Regenerated.
27663         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27664         (CFLAGS-tst-chk2.c): Likewise.
27665         (CFLAGS-tst-chk3.c): Likewise.
27666         (CFLAGS-tst-chk4.cc): Likewise.
27667         (CFLAGS-tst-chk5.cc): Likewise.
27668         (CFLAGS-tst-chk6.cc): Likewise.
27669         (CFLAGS-tst-lfschk1.c): Likewise.
27670         (CFLAGS-tst-lfschk2.c): Likewise.
27671         (CFLAGS-tst-lfschk3.c): Likewise.
27672         (CFLAGS-tst-lfschk4.cc): Likewise.
27673         (CFLAGS-tst-lfschk5.cc): Likewise.
27674         (CFLAGS-tst-lfschk6.cc): Likewise.
27676         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27677         (main): Disable -Wdeprecated-declarations around calls to
27678         register_printf_function.
27680         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27681         (do_test): Disable -Wdiv-by-zero around some calls to
27682         fwrite_unlocked and fread_unlocked.
27684         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27685         (DIAG_POP_NEEDS_COMMENT): Likewise.
27686         (_DIAG_STR1): Likewise.
27687         (_DIAG_STR): Likewise.
27688         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27689         * stdio-common/bug21.c: Include <libc-internal.h>.
27690         (do_test): Disable -Wformat around call to sscanf.
27691         * stdio-common/scanf14.c: Include <libc-internal.h>.
27692         (main): Disable -Wformat around some calls to scanf functions.
27694 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27696         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27698 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27700         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27701         stack variable alignment.
27703 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27705         [BZ #17682]
27706         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27707         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27708         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27709         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27710         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27711         __getrlimit instead of getrlimit.
27712         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27713         __gettimeofday instead of gettimeofday.
27714         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27715         Likewise.
27716         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27717         Likewise.
27718         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27719         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27720         Remove variable.
27721         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27722         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27724 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27726         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27727         for wide-character tests.
27729 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27731         * io/openat64.c: #include <libc-internal.h>
27732         (__openat64): Prototypify.  Use ignore_value on MODE.
27733         * io/openat.c: Likewise.
27734         * misc/reboot.c: #include <libc-internal.h>
27735         (reboot): Prototypify.  Use ignore_value on HOWTO.
27736         * misc/ptrace.c: #include <libc-internal.h>
27737         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27739 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27741         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27742         XPG4, UNIX98 and XOPEN2K.
27743         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27744         Remove variable.
27745         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27747 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27749         * libio/fileops.c: Use ISO C style for function definitions.
27750         * libio/iofopen.c: Likewise.
27751         * libio/wfileops.c: Likewise.
27753         [BZ #17653]
27754         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27755         offset on EOF.
27756         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27757         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27758         (fgets_func): Function pointer to fgets and fgetws.
27759         (do_ftell_test): Add test to verify ftell value after read
27760         EOF.
27761         (do_test): Set fgets_func.
27763         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27764         O_TRUNC flag for w and w+ modes.
27765         (do_rewind_test): Likewise.
27766         (do_ftell_test): Likewise.
27767         (do_write_test): Likewise.
27769         [BZ #17647]
27770         * libio/fileops.c (do_ftell): Seek only when there are
27771         unflushed writes.
27772         * libio/wfileops.c (do_ftell_wide): Likewise.
27773         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27774         test case.
27775         (do_one_test): Call it.
27777 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27779         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27780         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27781         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27782         Remove variable.
27783         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27784         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27785         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27787 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27789         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27790         Remove variable.
27791         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27793         [BZ #17668]
27794         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27795         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27796         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27797         __freeifaddrs.  Use libc_hidden_weak.
27798         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27799         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27800         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27801         __freeifaddrs.  Use libc_hidden_weak.
27802         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27803         __getifaddrs and define as weak alias of __getifaddrs.  Use
27804         libc_hidden_weak.
27805         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27806         __freeifaddrs.  Use libc_hidden_weak.
27807         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27808         Remove variable.
27809         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27810         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27812 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27814         [BZ #17601]
27815         * sysdeps/mips/start.S (__start): Use indirect jump to call
27816         __libc_start_main.
27818 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27820         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27822         * nptl/tst-mutex1.c: Include <stdbool.h>.
27823         [!ATTR] (ATTR_NULL): New macro.
27824         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27825         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27826         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27828         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27829         to char *.
27831         [BZ #17665]
27832         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27833         Change conditional to [__USE_MISC].
27835         [BZ #17664]
27836         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27837         fgets_unlocked.
27838         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27839         __fgets_unlocked.
27840         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27841         fgets_unlocked.
27842         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27843         Remove variable.
27844         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27845         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27846         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27847         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27848         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27849         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27850         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27851         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27852         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27854         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27856 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27858         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27859         Remove strpbrk objects.
27860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27861         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27862         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27863         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27864         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27865         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27867         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27868         Remove strcspn objects.
27869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27870         (__libc_ifunc_impl_list): Remove strcspn implementation.
27871         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27872         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27873         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27874         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27876         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27877         Remove strspn objetcs.
27878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27879         (__libc_ifunc_impl_list): Remove strspn implementation.
27880         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27881         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27882         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27883         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27885 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27887         [BZ #17581]
27888         * malloc/hooks.c
27889         (mem2mem_check): Add a terminator to the chain of checking blocks.
27890         (malloc_check_get_size): Use it here.
27891         (mem2chunk_check): Ditto.
27893 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27895         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27896         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27898 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27900         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27902         * nptl/nptl-init.c: Include libc-internal.h.
27903         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27905         * elf/ldconfig.c (search_dir): Expand comment.
27907 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27909         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27910         variable.
27911         (linknamespace-symlist-stdlibs-tests): Likewise.
27912         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27913         instead of $(objpfx)symlist-stdlibs.
27914         (linknamespace-libs-isoc): New variable.
27915         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27916         (linknamespace-libs-ISO): New variable.
27917         (linknamespace-libs-ISO99): Likewise.
27918         (linknamespace-libs-ISO11): Likewise.
27919         (linknamespace-libs-XPG3): Likewise.
27920         (linknamespace-libs-XPG4): Likewise.
27921         (linknamespace-libs-POSIX): Likewise.
27922         (linknamespace-libs-UNIX98): Likewise.
27923         (linknamespace-libs-XOPEN2K): Likewise.
27924         (linknamespace-libs-POSIX2008): Likewise.
27925         (linknamespace-libs-XOPEN2K8): Likewise.
27926         ($(objpfx)symlist-stdlibs): Replace by
27927         $(linknamespace-symlist-stdlibs-tests).  Use
27928         $(linknamespace-libs-$*) as set of libraries.
27929         ($(linknamespace-header-tests)): Update dependencies.  Use
27930         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27931         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27932         * conform/linknamespace.pl: Remove comment about considering
27933         definitions of symbols from irrelevant libraries.
27935 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27937         [BZ #13862]
27938         * elf/dl-tls.c: Include <atomic.h>.
27939         (oom): Remove #ifdef SHARED/#endif.
27940         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27941         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27942         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27943         big enough.
27944         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27945         * nptl/Makefile (tests): Add tst-stack4.
27946         (modules-names): Add tst-stack4mod.
27947         ($(objpfx)tst-stack4): New.
27948         (tst-stack4mod.sos): Likewise.
27949         ($(objpfx)tst-stack4.out): Likewise.
27950         ($(tst-stack4mod.sos)): Likewise.
27951         (clean): Likewise.
27952         * nptl/tst-stack4.c: New file.
27953         * nptl/tst-stack4mod.c: Likewise.
27955 2014-11-27  J. Brown  <jb999@gmx.de>
27957         * sysdeps/x86/bits/string.h: Add recent CPUs.
27959 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27961         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27962         sigblock.
27964         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27965         feof.
27967         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27968         variable.
27970 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27972         * nscd/connections.c: Include libc-internal.h because of macro
27973         usage ignore_value.
27975 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27977         * string/bits/string3.h (__warn_memset_zero_len): Don't
27978         declare for gcc newer than 5.0.
27979         (memset): Don't test for zero-length __LEN for gcc newer than
27980         5.0.
27982 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27984         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27985         size_t for %zu format.
27987         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27988         difference, not %ju.
27990 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27992         * include/libc-internal.h (ignore_value): New macro.
27993         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27994         with ignore_value.
27996         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27997         definition.
27999         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
28000         pthread_cleanup_push to void *.
28002         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
28003         Undefine.
28005         [BZ #16619]
28006         [BZ #16740]
28007         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
28008         instead of 1L << 52.
28010         * libio/bug-rewind.c (do_test): Check fwscanf return values.
28011         * libio/bug-rewind2.c (do_test): Likewise.
28013         * debug/test-stpcpy_chk-ifunc.c: Remove file.
28014         * debug/test-strcpy_chk-ifunc.c: Likewise.
28015         * wcsmbs/test-wcschr-ifunc.c: Likewise.
28016         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28017         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28018         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28019         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28020         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28021         * Rules [$(multi-arch) = no] (tests): Do not filter out
28022         $(tests-ifunc).
28023         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
28024         * debug/Makefile (tests-ifunc): Remove variable.
28025         (tests): Do not add $(tests-ifunc).
28026         * wcsmbs/Makefile (tests-ifunc): Remove variable.
28027         (tests): Do not add $(tests-ifunc).
28028         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
28029         [TEST_IFUNC]: Remove conditionals.
28030         * string/test-string.h (TEST_IFUNC): Remove macro.
28031         [TEST_IFUNC]: Remove conditionals.
28033         * string/test-strchr.c [!WIDE] (L): New macro.
28034         [WIDE] (L): Likewise.
28035         (check1): Use CHAR instead of char.  Use L on string and character
28036         constants.
28038 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
28040         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
28041         tests.
28042         * sysdeps/powerpc/bits/atomic.h
28043         (__arch_atomic_exchange_and_add_32_acq): Add definition.
28044         (__arch_atomic_exchange_and_add_32_rel): Likewise.
28045         (atomic_exchange_and_add_acq): Likewise.
28046         (atomic_exchange_and_add_rel): Likewise.
28047         * sysdeps/powerpc/powerpc32/bits/atomic.h
28048         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28049         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28050         * sysdeps/powerpc/powerpc64/bits/atomic.h
28051         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28052         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28054 2014-11-26  Torvald Riegel  <triegel@redhat.com>
28056         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
28057         Change synchronization of __sched_fifo_min_prio and
28058         __sched_fifo_max_prio.
28059         * nptl/pthread_mutexattr_getprioceiling.c
28060         (pthread_mutexattr_getprioceiling): Likewise.
28061         * nptl/pthread_mutexattr_setprioceiling.c
28062         (pthread_mutexattr_setprioceiling): Likewise.
28063         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28064         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
28065         Likewise.
28067 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28069         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
28070         void.
28072 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28074         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
28075         third argument const.
28077 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
28079         fnmatch: work around GCC compiler warning bug with uninit var
28080         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
28081         This works around a bug with x86-64 GCC 4.9.2 and earlier
28082         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
28083         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
28084         used uninitialized in this function [-Wmaybe-uninitialized]".
28086 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28088         * posix/bug-regex31.c (main): Return RES not 0.
28090 2014-11-25  Anton Blanchard <anton@samba.org>
28092         * sysdeps/powerpc/bits/atomic.h
28093         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
28095 2014-11-24  Sterling Augustine  <saugustine@google.com>
28097         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28099 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
28101         [BZ #17608]
28102         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
28104 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
28106         [BZ #17633]
28107         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
28108         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
28109         variable.
28110         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28111         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28113 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28115         * string/strncpy.c (strncpy): Improve performance by using memset.
28117 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28119         * string/strcpy.c (strcpy):
28120         Improve performance by using strlen and memcpy.
28122 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
28124         * string/strcoll_l.c (get_next_seq): __always_inline.
28125         * string/strcoll_l.c (do_compare): __always_inline.
28127 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28129         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28130         defined.
28131         * include/mqueue.h: Likewise.
28132         * include/stdlib.h: Likewise.
28134         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28135         (get_null_defines): Adjust.
28136         * sunrpc/Makefile: Adjust comment.
28137         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28138         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28139         (CFLAGS-interp.c): Likewise.
28140         (CFLAGS-ldconfig.c): Likewise.
28141         (CPPFLAGS-.os): Likewise.
28142         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28143         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28144         * extra-modules.mk (extra-modules.mk): Likewise.
28145         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28146         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28147         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
28148         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
28149         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
28150         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
28151         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
28152         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
28153         * iconvdata/Makefile (CPPFLAGS): Likewise.
28154         (cpp-srcs-left): Add libof for all iconvdata routines.
28155         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28156         * include/assert.h: Likewise.
28157         * include/ctype.h: Likewise.
28158         * include/errno.h: Likewise.
28159         * include/libc-symbols.h: Likewise.
28160         * include/math.h: Likewise.
28161         * include/netdb.h: Likewise.
28162         * include/resolv.h: Likewise.
28163         * include/stdio.h: Likewise.
28164         * include/stdlib.h: Likewise.
28165         * include/string.h: Likewise.
28166         * include/sys/stat.h: Likewise.
28167         * include/wctype.h: Likewise.
28168         * intl/l10nflist.c: Likewise.
28169         * libidn/idn-stub.c: Likewise.
28170         * libio/libioP.h: Likewise.
28171         * nptl/libc_multiple_threads.c: Likewise.
28172         * nptl/pthreadP.h: Likewise.
28173         * posix/regex_internal.h: Likewise.
28174         * resolv/res_hconf.c: Likewise.
28175         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28176         * sysdeps/arm/memmove.S: Likewise.
28177         * sysdeps/arm/sysdep.h: Likewise.
28178         * sysdeps/generic/_itoa.h: Likewise.
28179         * sysdeps/generic/symbol-hacks.h: Likewise.
28180         * sysdeps/gnu/errlist.awk: Likewise.
28181         * sysdeps/gnu/errlist.c: Likewise.
28182         * sysdeps/i386/i586/memcpy.S: Likewise.
28183         * sysdeps/i386/i586/memset.S: Likewise.
28184         * sysdeps/i386/i686/memcpy.S: Likewise.
28185         * sysdeps/i386/i686/memmove.S: Likewise.
28186         * sysdeps/i386/i686/mempcpy.S: Likewise.
28187         * sysdeps/i386/i686/memset.S: Likewise.
28188         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28189         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28190         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28191         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28192         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28193         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28194         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28195         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28196         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28197         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28198         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28199         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28200         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28201         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28202         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28203         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28204         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28205         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28206         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28207         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28208         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28209         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28210         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28211         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28212         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28213         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28214         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28215         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28216         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28217         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28218         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28219         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28220         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28221         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28222         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28223         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28224         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28225         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28226         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28227         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28228         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28229         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28230         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28231         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28232         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28233         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28234         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28235         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28236         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28237         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28238         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28239         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28240         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28241         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28242         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28243         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28244         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28245         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28246         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28247         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28248         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28249         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28250         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28251         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28252         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28253         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28254         * sysdeps/posix/closedir.c: Likewise.
28255         * sysdeps/posix/opendir.c: Likewise.
28256         * sysdeps/posix/readdir.c: Likewise.
28257         * sysdeps/posix/rewinddir.c: Likewise.
28258         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28259         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28260         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28261         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28262         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28263         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28264         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28265         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28266         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28267         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28268         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28269         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28270         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28271         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28272         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28273         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28274         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28275         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28276         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28277         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28278         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28279         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28280         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28281         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28282         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28283         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28284         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28285         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28286         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28288         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28291         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28293         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28294         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28295         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28296         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28297         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28298         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28299         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28300         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28301         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28302         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28303         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28304         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28305         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28306         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28307         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28308         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28309         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28310         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28311         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28312         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28313         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28314         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28315         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28316         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28317         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28318         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28319         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28320         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28321         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28322         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28323         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28324         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28325         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28326         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28327         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28328         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28329         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28330         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28331         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28332         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28333         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28334         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28335         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28336         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28337         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28338         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28339         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28340         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28341         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28342         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28343         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28344         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28345         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28346         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28347         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28348         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28349         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28350         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28351         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28352         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28353         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28354         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28355         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28356         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28357         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28358         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28359         * sysdeps/unix/alpha/sysdep.S: Likewise.
28360         * sysdeps/unix/alpha/sysdep.h: Likewise.
28361         * sysdeps/unix/make-syscalls.sh: Likewise.
28362         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28364         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28365         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28366         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28367         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28368         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28369         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28370         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28371         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28372         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28373         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28374         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28375         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28376         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28377         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28378         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28379         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28380         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28381         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28382         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28383         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28384         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28385         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28386         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28387         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28388         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28391         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28392         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28393         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28394         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28395         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28396         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28397         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28398         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28399         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28400         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28401         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28402         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28403         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28404         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28405         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28406         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28409         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28410         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28411         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28412         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28413         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28414         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28415         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28416         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28417         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28418         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28420         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28421         * sysdeps/x86_64/memcpy.S: Likewise.
28422         * sysdeps/x86_64/memmove.c: Likewise.
28423         * sysdeps/x86_64/memset.S: Likewise.
28424         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28425         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28426         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28427         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28428         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28429         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28430         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28431         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28432         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28433         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28434         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28435         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28436         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28437         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28438         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28439         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28440         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28441         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28442         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28443         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28444         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28445         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28446         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28447         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28448         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28449         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28450         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28451         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28452         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28453         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28454         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28455         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28456         * sysdeps/x86_64/strcmp.S: Likewise.
28458         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28460         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28461         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28462         * elf/rtld-Rules: Likewise.
28463         * elf/setup-vdso.h: Likewise.
28464         * include/assert.h: Likewise.
28465         * include/bits/stdlib-float.h: Likewise.
28466         * include/errno.h: Likewise.
28467         * include/sys/stat.h: Likewise.
28468         * include/unistd.h: Likewise.
28469         * sysdeps/aarch64/setjmp.S: Likewise.
28470         * sysdeps/alpha/setjmp.S: Likewise.
28471         * sysdeps/arm/__longjmp.S: Likewise.
28472         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28473         * sysdeps/arm/setjmp.S: Likewise.
28474         * sysdeps/arm/sysdep.h: Likewise.
28475         * sysdeps/generic/_itoa.h: Likewise.
28476         * sysdeps/generic/dl-sysdep.h: Likewise.
28477         * sysdeps/generic/ldsodefs.h: Likewise.
28478         * sysdeps/i386/dl-tls.h: Likewise.
28479         * sysdeps/i386/setjmp.S: Likewise.
28480         * sysdeps/m68k/setjmp.c: Likewise.
28481         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28482         * sysdeps/mach/hurd/opendir.c: Likewise.
28483         * sysdeps/posix/getcwd.c: Likewise.
28484         * sysdeps/posix/opendir.c: Likewise.
28485         * sysdeps/posix/profil.c: Likewise.
28486         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28487         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28488         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28489         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28490         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28491         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28492         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28493         * sysdeps/s390/dl-tls.h: Likewise.
28494         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28495         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28496         * sysdeps/sh/sh3/setjmp.S: Likewise.
28497         * sysdeps/sh/sh4/setjmp.S: Likewise.
28498         * sysdeps/unix/alpha/sysdep.h: Likewise.
28499         * sysdeps/unix/arm/sysdep.S: Likewise.
28500         * sysdeps/unix/i386/sysdep.S: Likewise.
28501         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28502         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28503         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28504         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28505         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28506         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28507         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28508         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28509         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28510         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28511         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28512         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28513         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28516         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28517         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28518         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28519         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28520         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28521         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28523         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28524         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28525         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28526         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28527         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28528         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28529         * sysdeps/x86_64/setjmp.S: Likewise.
28531         * include/math.h: Use IS_IN instead of IS_IN_libm.
28532         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28533         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28534         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28535         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28536         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28537         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28538         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28539         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28540         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28541         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28542         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28543         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28544         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28545         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28546         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28547         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28548         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28549         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28550         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28551         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28552         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28553         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28554         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28555         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28556         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28557         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28558         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28559         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28560         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28561         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28562         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28563         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28564         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28566         Likewise.
28567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28568         Likewise.
28569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28570         Likewise.
28571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28572         Likewise.
28573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28574         Likewise.
28575         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28576         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28577         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28578         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28579         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28580         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28586         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28587         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28588         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28589         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28590         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28591         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28592         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28593         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28594         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28595         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28596         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28597         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28598         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28599         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28601         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28603         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28604         * nptl/pthreadP.h: Likewise.
28605         * nptl_db/structs.def: Likewise.
28606         * sysdeps/arm/sysdep.h: Likewise.
28607         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28608         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28609         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28610         * sysdeps/unix/alpha/sysdep.h: Likewise.
28611         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28612         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28613         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28614         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28615         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28616         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28617         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28618         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28619         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28620         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28621         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28622         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28623         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28624         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28627         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28628         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28629         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28630         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28631         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28632         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28633         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28634         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28635         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28636         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28638         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28639         * nptl/pthreadP.h: Likewise.
28640         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28641         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28642         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28643         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28644         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28645         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28646         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28647         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28648         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28649         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28650         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28651         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28653         Likewise.
28654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28655         Likewise.
28656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28657         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28658         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28660         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28661         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28662         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28663         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28665         * dlfcn/dladdr.c: Use IS_IN.
28666         * dlfcn/dladdr1.c: Likewise.
28667         * dlfcn/dlclose.c: Likewise.
28668         * dlfcn/dlerror.c: Likewise.
28669         * dlfcn/dlinfo.c: Likewise.
28670         * dlfcn/dlmopen.c: Likewise.
28671         * dlfcn/dlopen.c: Likewise.
28672         * dlfcn/dlsym.c: Likewise.
28673         * dlfcn/dlvsym.c: Likewise.
28675         * include/ifaddrs.h: Use IS_IN.
28676         * inet/check_pf.c: Likewise.
28677         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28678         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28680         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28681         IS_IN_ldconfig.
28682         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28683         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28685         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28686         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28687         IS_IN (libc).
28689         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28691         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28692         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28693         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28694         * include/libc-symbols.h (IS_IN_LIB): New macro.
28695         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28696         * include/netdb.h: Likewise.
28697         * include/stap-probe.h: Remove all uses of IN_LIB.
28699         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28700         instead of IN_MODULE.
28701         * include/libc-symbols.h (IN_MODULE): Define using
28702         MODULE_NAME.
28703         (PASTE_NAME, PASTE_NAME1): New macros.
28704         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28705         of IN_LIB.
28706         (STAP_PROBE_ASM): Likewise.
28708 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28710         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28711         __mach_init in dlopened libc.
28713 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28715         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28716         * sysdeps/arm/preconfigure: Regenerate.
28718 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28720         * nptl/pthread_create.c (__pthread_create_2_1): Set
28721         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28722         when copying values from IATTR into PD.
28724 2014-11-21  Will Newton  <will.newton@linaro.org>
28725             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28727         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28728         Refactor inline-asm.  Also add comment.
28730         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28731         ElfW macro instead of hardcoded Elf64 types.
28732         (la_aarch64_gnu_pltenter): Likewise.
28733         * sysdeps/aarch64/dl-machine.h
28734         (elf_machine_runtime_setup): Use ElfW(Addr).
28736         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28737         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28738         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28739         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28740         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28741         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28742         (R_AARCH64_TLS_DTPMOD): This.
28743         (R_AARCH64_TLS_DTPREL64): Rename to ...
28744         (R_AARCH64_TLS_DTPREL): This.
28745         (R_AARCH64_TLS_TPREL64): Rename to ...
28746         (R_AARCH64_TLS_TPREL): This.
28747         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28748         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28749         R_AARCH64_TLS_TPREL64.
28750         (elf_machine_rela): Likewise.
28752 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28754         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28755         by setting it to 0.  64b atomics are not supported currently.
28757 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28759         [BZ #16469]
28760         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28761         search domain names.
28763 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28765         [BZ #16469]
28766         * NEWS: Update.
28767         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28768         trailing dot.
28769         * posix/tst-getaddrinfo5.c: New.
28770         * posix/Makefile (tests): Add it.
28772 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28774         [BZ #14498]
28775         * NEWS: Fixed.
28776         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28777         after parsing line but before break_if_match.
28778         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28779         if there is a protocol mismatch.
28781 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28783         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28784         because the potential race is on the user-supplied stream.
28786 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28788         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28789         string literal if not passed a buffer.
28790         * manual/job.texi (ctermid): Update reasoning, note deviation
28791         from posix, suggest mtasurace when not passed a buffer, for
28792         future non-preliminary safety notes.
28794 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28796         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28797         of not passing it a buffer.
28798         Reported by Peng Haitao.
28800 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28802         * manual/Makefile ($(objpfx)stamp-summary): Require
28803         check-safety.sh to pass.
28804         * manual/check-safety.sh: Wish for verification that every
28805         @deftypefn and @deftypefun is followed by a @safety remark.
28807 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28809         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28811         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28812         PTHREAD_CANCEL_ASYNCHRONOUS.
28813         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28814         send SIGCANCEL.
28816         * nptl/default-sched.h: New file.
28817         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28818         * nptl/pthread_create.c: Include it.
28819         (__pthread_create_2_1): Use collect_default_sched instead of making
28820         Linux syscalls here directly.
28822 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28824         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28825         __pthread_once): Use C11 atomics.
28827 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28829         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28831 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28833         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28834         atomic_thread_fence_acquire, atomic_thread_fence_release,
28835         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28836         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28837         atomic_compare_exchange_weak_relaxed,
28838         atomic_compare_exchange_weak_acquire,
28839         atomic_compare_exchange_weak_release,
28840         atomic_exchange_acquire, atomic_exchange_release,
28841         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28842         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28843         atomic_fetch_and_acquire,
28844         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28846 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28848         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28849         USE_ATOMIC_COMPILER_BUILTINS): Define.
28850         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28851         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28852         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28853         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28854         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28855         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28856         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28857         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28858         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28859         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28860         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28861         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28862         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28863         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28864         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28865         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28866         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28867         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28868         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28869         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28870         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28871         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28872         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28873         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28874         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28875         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28876         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28877         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28878         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28879         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28880         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28881         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28882         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28883         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28884         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28885         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28886         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28887         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28888         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28889         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28891 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28893         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28894         the sched_priority value here.  It was already checked when the user
28895         called pthread_attr_setschedparam.
28897         * nptl/tst-bad-schedattr.c: New file.
28898         * nptl/Makefile (tests): Add it.
28900 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28901             Florian Weimer  <fweimer@redhat.com>
28902             Joseph Myers  <joseph@codesourcery.com>
28903             Adam Conrad  <adconrad@0c3.net>
28904             Andreas Schwab  <schwab@suse.de>
28905             Brooks  <bmoses@google.com>
28907         [BZ #17625]
28908         * wordexp-test.c (__dso_handle): Add prototype.
28909         (__register_atfork): Likewise.
28910         (__app_register_atfork): New function.
28911         (registered_forks): New global.
28912         (register_fork): New function.
28913         (test_case): Add 3 new tests for WRDE_CMDSUB.
28914         (main): Call __app_register_atfork.
28915         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28916         fork count is non-zero fail the test.
28917         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28918         is set.
28919         (parse_dollars): Remove check for WRDE_NOCMD.
28920         (parse_dquote): Likewise.
28922 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28924         * Makeconfig (built-modules): List non-library modules to be
28925         built.
28926         (module-cppflags): Include libc-modules.h for
28927         everything except shlib-versions.v.i.
28928         (CPPFLAGS): Use it.
28929         (before-compile): Add libc-modules.h.
28930         ($(common-objpfx)libc-modules.h,
28931         $(common-objpfx)libc-modules.stmp): New targets.
28932         (common-generated): Add libc-modules.h and libc-modules.stmp.
28933         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28934         * include/libc-symbols.h: Don't include libc-modules.h.
28935         * include/libc-modules.h: Remove file.
28936         * scripts/gen-libc-modules.awk: New script to generate
28937         libc-modules.h.
28938         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28939         Depend on libc-modules.stmp.
28941         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28943         * Makeconfig (in-module): Get value of libof set for the
28944         translation unit.
28945         (CPPFLAGS): Use $(in-module).
28946         * Makerules: Don't suffix routine names for nonlib.
28947         * include/libc-modules.h: New file.
28948         * include/libc-symbols.h: Include libc-modules.h
28949         (IS_IN): New macro to replace IS_IN_* macros.
28950         * elf/Makefile: Set libof-* for each routine.
28951         * elf/rtld-Rules: Likewise.
28952         * extra-modules.mk: Likewise.
28953         * iconv/Makefile: Likewise.
28954         * iconvdata/Makefile: Likewise.
28955         * locale/Makefile: Likewise.
28956         * malloc/Makefile: Likewise.
28957         * nss/Makefile: Likewise.
28958         * sysdeps/gnu/Makefile: Likewise.
28959         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28960         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28961         * sysdeps/s390/s390-64/Makefile: Likewise.
28962         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28963         CPPFLAGS for nscd instead of nonlib.
28965 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28967         * nptl/createthread.c: New file.
28969         * nptl/createthread.c: Moved ...
28970         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28972         * nptl/createthread.c: Add proper top-line comment.
28973         (do_clone): Folded into ...
28974         (create_thread): ... here.  Take new arguments STOPPED_START and
28975         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28976         increment __nptl_threads, do event-reporting logic, do
28977         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28978         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28979         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28980         just send SIGCANCEL.
28981         * nptl/pthread_create.c: Forward-declare create_thread before
28982         including createthread.c.
28983         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28984         declaration, and new macro START_THREAD_SELF to replace argument.
28985         Remove return statement.
28986         (report_thread_creation): New function.
28987         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28988         synchronization logic, and __nptl_nthreads increment here, around
28989         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28990         PD->parent_cancelhandling here, before create_thread.  When
28991         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28992         __deallocate_stack, and ENOMEM translation here.
28994 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28996         [BZ #17616]
28997         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28998         (mptwo): Rename to __mptwo.
28999         (__inv): Use __mptwo instead of mptwo.
29000         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
29001         (mptwo): Rename to __mptwo.
29002         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
29003         of mpone and __mptwo instead of mptwo.
29004         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
29005         instead of mpone.
29006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29007         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
29008         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
29009         of mpone and __mptwo instead of mptwo.
29010         (__mpranred): Use __mpone instead of mpone.
29011         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
29012         variable.
29013         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29014         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29015         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29016         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29017         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29018         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29019         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29020         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29021         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29022         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29023         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29024         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29025         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29026         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29027         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29028         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29029         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29030         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29031         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29033 2014-11-18  Tom de Vries  <tom@codesoucery.com>
29035         * manual/signal.texi (Primitives Interrupted by Signals): In section,
29036         replace BSD Handler xref with BSD Signal Handling.
29038 2014-11-17  Richard Henderson  <rth@redhat.com>
29040         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
29041         (_FP_PACK_RAW_2): Remove.
29042         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
29043         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
29044         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
29045         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
29046         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
29047         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
29048         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
29049         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
29050         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
29051         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
29052         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
29053         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
29054         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
29055         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
29056         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
29057         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
29059 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29061         * signal/signal.h [__USE_MISC]
29062         (struct sigvec): Remove type.
29063         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
29064         (sigvec): Remove declaration.
29065         * sysdeps/posix/sigvec.c: Moved ...
29066         * signal/sigvec.c: ... here, replacing old file.
29067         (struct sigvec): New type, copied from old signal.h definition.
29068         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
29069         (__sigvec): Convert definition to prototype.
29070         (sigvec): Replace weak_alias with compat_symbol.
29071         * signal/Versions (libc: GLIBC_2.21): New version set.
29072         * include/signal.h: Remove __sigvec declaration.
29073         * sysdeps/unix/bsd/sigvec.c: Remove file.
29074         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
29075         * manual/signal.texi (BSD Handler): Remove subsection.
29076         Move siginterrupt up to ...
29077         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
29078         (Blocking in BSD): Fold subsection into its parent.
29079         * NEWS: Mention sigvec removal.
29081 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29083         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
29084         (DLA_FMS): Make definition conditional only on [__FMA4__].
29085         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
29086         definition.
29088         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
29089         Make definition conditional only on [PROF].
29090         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
29091         definition.
29092         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
29093         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
29095         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
29096         !__GNUC__].
29097         * include/signal.h (__sigpause): Move declaration above call to
29098         libc_hidden_proto.
29099         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
29100         variable.
29101         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29102         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29104 2014-11-14  David S. Miller  <davem@davemloft.net>
29106         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
29107         Define before including <string/memcpy.c> and <string/mempcpy.c>.
29109 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29111         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
29112         * configure: Regenerated.
29113         * manual/install.texi (Tools for Compilation): Document a
29114         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
29115         compiler verified to work.
29116         * INSTALL: Regenerated.
29118         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
29119         redeclare with asm name.
29120         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29121         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29122         including <string.h>.
29123         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29124         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29125         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29126         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29127         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29128         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29129         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29131 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
29133         * stdlib/strtol.c (__strtol): Use prototype definition.
29135         [BZ #17594]
29136         * stdlib/strtol.c (SYM__): New macro.
29137         (SYM__1): Likewise.
29138         (__strtol): Likewise.
29139         (strtol): Rename to __strtol and define as weak alias of
29140         __strtol.  Use libc_hidden_weak.
29142 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29144         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
29145         Use numbered labels in inline assembly.
29147 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29149         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
29150         Add setjmp LIBC_PROBE.
29151         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
29152         Likewise.
29153         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
29154         Add longjmp, longjmp_target LIBC_PROBE.
29155         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29156         Likewise.
29158 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29160         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29161         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29162         to get rid of unused variable warning.
29164 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29166         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29167         Check for unwind_backtrace ==  NULL only in SHARED case.
29168         (__backchain_backtrace): Compile only in SHARED case.
29169         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29170         Likewise.
29171         (__backchain_backtrace): Declare as static.
29173 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29175         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29176         (__libc_multiple_threads_ptr): Variable moved ...
29177         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29179 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29181         * conform/GlibcConform.pm: New file.
29182         * conform/conformtest.pl: Use GlibcConform module.
29183         * conform/linknamespace.pl: New file.
29184         * conform/list-header-symbols.pl: Likewise.
29185         * conform/Makefile (linknamespace-symlists-base): New variable.
29186         (linknamespace-symlists-tests): Likewise.
29187         (linknamespace-header-base): Likewise.
29188         (linknamespace-header-tests): Likewise.
29189         (tests-special): Add new tests.
29190         ($(linknamespace-symlists-tests)): New rule.
29191         (linknamespace-libs): New variable.
29192         ($(objpfx)symlist-stdlibs): New rule.
29193         ($(linknamespace-header-tests)): Likewise.
29194         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29195         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29196         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29197         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29198         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29199         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29200         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29201         (test-xfail-ISO/math.h/linknamespace): Likewise.
29202         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29203         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29204         (test-xfail-ISO/time.h/linknamespace): Likewise.
29205         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29206         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29207         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29208         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29209         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29210         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29211         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29212         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29213         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29214         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29215         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29216         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29217         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29218         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29219         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29220         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29221         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29222         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29223         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29224         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29225         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29226         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29227         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29228         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29229         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29230         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29231         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29232         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29233         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29234         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29235         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29236         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29237         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29238         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29239         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29240         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29241         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29242         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29243         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29244         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29245         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29246         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29247         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29248         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29249         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29250         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29251         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29252         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29253         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29254         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29255         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29256         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29257         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29258         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29259         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29260         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29261         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29262         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29263         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29264         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29265         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29266         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29267         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29268         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29269         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29270         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29271         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29272         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29273         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29274         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29275         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29276         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29277         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29278         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29279         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29280         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29281         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29282         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29283         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29284         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29285         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29286         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29287         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29288         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29289         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29290         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29291         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29292         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29293         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29294         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29295         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29296         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29297         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29298         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29299         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29300         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29301         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29302         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29303         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29304         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29305         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29306         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29307         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29308         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29309         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29310         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29311         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29312         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29313         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29314         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29315         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29316         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29317         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29318         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29319         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29320         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29321         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29322         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29323         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29324         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29325         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29326         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29327         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29328         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29329         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29330         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29331         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29332         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29333         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29334         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29335         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29336         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29337         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29338         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29339         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29340         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29341         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29342         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29343         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29344         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29345         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29346         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29347         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29348         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29349         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29350         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29351         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29352         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29353         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29354         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29356         [BZ #17589]
29357         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29358         of fgets_unlocked.
29360         [BZ #17585]
29361         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29362         (memmem): Rename to __memmem and define as weak alias of
29363         __memmem.  Use libc_hidden_weak.
29364         (__memmem): Use libc_hidden_def.
29365         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29366         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29367         memmem.
29369         [BZ #17582]
29370         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29371         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29372         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29373         and define as weak alias of __fgets_unlocked.  Use
29374         libc_hidden_weak.
29375         (__fgets_unlocked): Use libc_hidden_def.
29376         * include/stdio.h (__fgets_unlocked): Declare.  Use
29377         libc_hidden_proto.
29378         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29379         __fgets_unlocked instead of fgets_unlocked.
29380         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29381         (GET_NPROCS_CONF_PARSER): Likewise.
29382         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29383         (GET_NPROCS_CONF_PARSER): Likewise.
29385         [BZ #17574]
29386         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29387         weak alias of __wmemset.  Use libc_hidden_weak.
29388         (__wmemset): Use libc_hidden_def.
29389         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29390         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29391         of wmemset.
29393         [BZ #17573]
29394         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29395         with asm name __mempcpy.
29396         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29398         [BZ #17572]
29399         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29400         and define as weak alias of __rawmemchr.
29401         (__rawmemchr): Do not define as strong alias of rawmemchr.
29403         [BZ #17571]
29404         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29405         alias of __qsort_r.
29406         (qsort): Call __qsort_r instead of qsort_r.
29407         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29408         (__qsort_r): Declare.  Call libc_hidden_proto.
29409         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29410         instead of qsort_r.
29411         * nscd/gai.c (__qsort_r): Define to qsort_r.
29412         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29413         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29414         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29416         [BZ #17570]
29417         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29418         define as weak alias of __malloc_info.
29420         [BZ #17584]
29421         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29422         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29423         (__rewinddir): Use libc_hidden_def.
29424         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29425         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29426         (__rewinddir): Use libc_hidden_def.
29427         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29428         weak alias of __rewinddir.  Don't use libc_hidden_def.
29429         (__rewinddir): Use libc_hidden_def.
29430         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29431         (__rewinddir): Use libc_hidden_proto.
29432         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29433         rewinddir.
29434         (__getcwd): Use __rewinddir instead of rewinddir.
29436         [BZ #17583]
29437         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29438         alias of __fileno.  Use libc_hidden_weak.
29439         (__fileno): Use libc_hidden_def.
29440         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29441         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29442         alias of __ftello.
29443         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29444         __ftello.
29445         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29446         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29447         libc_hidden_def.
29448         (fread_unlocked): Don't use libc_hidden_ver.
29449         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29450         and define as weak alias of __fread_unlocked.  Don't use
29451         libc_hidden_def.
29452         (__fread_unlocked): Use libc_hidden_def.
29453         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29454         (ftello): Don't use libc_hidden_proto.
29455         (__ftello): Declare.  Use libc_hidden_proto.
29456         (fread_unlocked): Don't use libc_hidden_proto.
29457         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29458         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29459         and __ftello instead of fileno, fread_unlocked and ftello.
29461 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29463         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29464         GOT12.
29465         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29466         Likewise.
29467         (_dl_start_user): Likewise.
29468         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29470 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29471             Siddhesh Poyarekar  <siddhesh@redhat.com>
29473         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29474         Move argv and envp down instead of moving argc up.
29475         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29477 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29479         [BZ #17506]
29480         * test-skeleton.c (main): Return successful if one of
29481         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29482         * string/tst-strcoll-overflow.c: Define expected status.
29484 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29486         [BZ #17475]
29487         * locale/iso-639.def: Define Bhili and Tulu language codes.
29489 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29491         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29493 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29495         [BZ #17555]
29496         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29498 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29500         * configure.ac: Updated check of minimal required version to
29501         2.22.
29502         * manual/install.texi (Tools for Compilation): Updated version
29503         number.
29504         * configure: Regenerated.
29505         * INSTALL: Likewise.
29507 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29509         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29510         __tls_get_addr.
29512 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29514         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29515         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29516         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29517         libc_hidden_weak.
29518         (waitpid): Define as alias of __waitpid.
29519         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29520         __waitpid.
29521         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29522         libc_hidden_weak.
29523         (waitpid): Define as alias of __waitpid.
29524         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29525         __libc_waitpid alias.
29526         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29527         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29528         Likewise.
29529         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29530         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29531         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29532         alias.
29533         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29534         __waitpid.
29535         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29536         libc_hidden_weak.
29537         (waitpid): Define as alias of __waitpid.
29539 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29541         * manual/llio.texi: Add comment that write safety has been
29542         fixed in Linux.
29544         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29545         (localplt-build-dso): Add elf/ld.so.
29546         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29547         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29548         and free for ld.so.
29549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29550         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29552         Likewise.
29553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29554         Likewise.
29555         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29556         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29557         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29558         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29559         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29560         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29561         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29562         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29563         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29564         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29565         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29567 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29569         [BZ #14132]
29570         * include/libc-symbols.h (INTUSE): Remove macro.
29571         (INTDEF): Likewise.
29572         (INTVARDEF): Likewise.
29573         (_INTVARDEF): Likewise.
29574         (INTDEF2): Likewise.
29575         (INTVARDEF2): Likewise.
29576         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29577         rtld_hidden_def instead of INTVARDEF.
29578         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29579         (_dl_starting_up_internal): Remove declaration.
29580         (_dl_starting_up): Use rtld_hidden_proto.
29581         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29582         declaration.
29583         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29584         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29585         _dl_starting_up.
29586         * elf/dl-writev.h (_dl_writev): Likewise.
29587         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29588         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29589         _dl_starting_up_internal.
29591 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29593         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29594         test-skeleton.c.
29596 2014-11-05  Will Newton  <will.newton@linaro.org>
29598         * benchtests/Makefile: (bench-malloc): Add malloc thread
29599         scalability benchmark.
29600         * benchtests/bench-malloc-threads.c: New file.
29602 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29604         * sysdeps/aarch64/strchrnul.S: New file.
29606 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29608         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29609         definition.
29610         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29611         Likwise.
29612         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29613         Likewise.
29614         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29615         Likewise.
29616         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29617         Likewise.
29618         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29619         Likewise.
29621 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29623         * catgets/test-gencat.c: Use test-skeleton.c.
29624         * catgets/tst-catgets.c: Likewise.
29625         * csu/tst-empty.c: Likewise.
29626         * elf/tst-audit2.c: Likewise.
29627         * elf/tst-global1.c: Likewise.
29628         * elf/tst-pathopt.c: Likewise.
29629         * elf/tst-piemod1.c: Likewise.
29630         * elf/tst-tls10.c: Likewise.
29631         * elf/tst-tls11.c: Likewise.
29632         * elf/tst-tls12.c: Likewise.
29633         * gnulib/tst-gcc.c: Likewise.
29634         * iconvdata/tst-e2big.c: Likewise.
29635         * iconvdata/tst-loading.c: Likewise.
29636         * iconv/tst-iconv1.c: Likewise.
29637         * iconv/tst-iconv2.c: Likewise.
29638         * inet/test-inet6_opt.c: Likewise.
29639         * inet/tst-gethnm.c: Likewise.
29640         * inet/tst-network.c: Likewise.
29641         * inet/tst-ntoa.c: Likewise.
29642         * intl/tst-codeset.c: Likewise.
29643         * intl/tst-gettext2.c: Likewise.
29644         * intl/tst-gettext3.c: Likewise.
29645         * intl/tst-ngettext.c: Likewise.
29646         * intl/tst-translit.c: Likewise.
29647         * io/test-stat.c: Likewise.
29648         * libio/test-fmemopen.c: Likewise.
29649         * libio/tst-freopen.c: Likewise.
29650         * libio/tst-sscanf.c: Likewise.
29651         * libio/tst-ungetwc1.c: Likewise.
29652         * libio/tst-ungetwc2.c: Likewise.
29653         * libio/tst-widetext.c: Likewise.
29654         * localedata/tst-ctype.c: Likewise.
29655         * localedata/tst-digits.c: Likewise.
29656         * localedata/tst-leaks.c: Likewise.
29657         * localedata/tst-mbswcs1.c: Likewise.
29658         * localedata/tst-mbswcs2.c: Likewise.
29659         * localedata/tst-mbswcs3.c: Likewise.
29660         * localedata/tst-mbswcs4.c: Likewise.
29661         * localedata/tst-mbswcs5.c: Likewise.
29662         * localedata/tst-setlocale.c: Likewise.
29663         * localedata/tst-trans.c: Likewise.
29664         * localedata/tst-wctype.c: Likewise.
29665         * localedata/tst-xlocale1.c: Likewise.
29666         * login/tst-grantpt.c: Likewise.
29667         * malloc/tst-calloc.c: Likewise.
29668         * malloc/tst-malloc.c: Likewise.
29669         * malloc/tst-mallocstate.c: Likewise.
29670         * malloc/tst-mcheck.c: Likewise.
29671         * malloc/tst-mtrace.c: Likewise.
29672         * malloc/tst-obstack.c: Likewise.
29673         * math/atest-exp2.c: Likewise.
29674         * math/atest-exp.c: Likewise.
29675         * math/atest-sincos.c: Likewise.
29676         * math/test-matherr.c: Likewise.
29677         * math/test-misc.c: Likewise.
29678         * math/test-powl.c: Likewise.
29679         * math/tst-definitions.c: Likewise.
29680         * misc/tst-dirname.c: Likewise.
29681         * misc/tst-efgcvt.c: Likewise.
29682         * misc/tst-fdset.c: Likewise.
29683         * misc/tst-hsearch.c: Likewise.
29684         * misc/tst-mntent2.c: Likewise.
29685         * nptl/tst-sem7.c: Likewise.
29686         * nptl/tst-sem8.c: Likewise.
29687         * nptl/tst-sem9.c: Likewise.
29688         * nss/test-netdb.c: Likewise.
29689         * posix/tst-fnmatch.c: Likewise.
29690         * posix/tst-getlogin.c: Likewise.
29691         * posix/tst-gnuglob.c: Likewise.
29692         * posix/tst-mmap.c: Likewise.
29693         * pwd/tst-getpw.c: Likewise.
29694         * resolv/tst-inet_ntop.c: Likewise.
29695         * rt/tst-timer.c: Likewise.
29696         * stdio-common/test-fseek.c: Likewise.
29697         * stdio-common/test-popen.c: Likewise.
29698         * stdio-common/test-vfprintf.c: Likewise.
29699         * stdio-common/tst-cookie.c: Likewise.
29700         * stdio-common/tst-fileno.c: Likewise.
29701         * stdio-common/tst-gets.c: Likewise.
29702         * stdio-common/tst-obprintf.c: Likewise.
29703         * stdio-common/tst-perror.c: Likewise.
29704         * stdio-common/tst-sprintf2.c: Likewise.
29705         * stdio-common/tst-sprintf3.c: Likewise.
29706         * stdio-common/tst-sprintf.c: Likewise.
29707         * stdio-common/tst-swprintf.c: Likewise.
29708         * stdio-common/tst-tmpnam.c: Likewise.
29709         * stdio-common/tst-unbputc.c: Likewise.
29710         * stdio-common/tst-wc-printf.c: Likewise.
29711         * stdlib/tst-environ.c: Likewise.
29712         * stdlib/tst-fmtmsg.c: Likewise.
29713         * stdlib/tst-limits.c: Likewise.
29714         * stdlib/tst-rand48-2.c: Likewise.
29715         * stdlib/tst-rand48.c: Likewise.
29716         * stdlib/tst-random2.c: Likewise.
29717         * stdlib/tst-random.c: Likewise.
29718         * stdlib/tst-strtol.c: Likewise.
29719         * stdlib/tst-strtoll.c: Likewise.
29720         * stdlib/tst-tls-atexit.c: Likewise.
29721         * stdlib/tst-xpg-basename.c: Likewise.
29722         * string/test-ffs.c: Likewise.
29723         * string/tst-bswap.c: Likewise.
29724         * string/tst-inlcall.c: Likewise.
29725         * string/tst-strtok.c: Likewise.
29726         * string/tst-strxfrm.c: Likewise.
29727         * sysdeps/x86_64/tst-audit10.c: Likewise.
29728         * sysdeps/x86_64/tst-audit3.c: Likewise.
29729         * sysdeps/x86_64/tst-audit4.c: Likewise.
29730         * sysdeps/x86_64/tst-audit5.c: Likewise.
29731         * time/tst-ftime_l.c: Likewise.
29732         * time/tst-getdate.c: Likewise.
29733         * time/tst-mktime3.c: Likewise.
29734         * time/tst-mktime.c: Likewise.
29735         * time/tst-posixtz.c: Likewise.
29736         * time/tst-strptime2.c: Likewise.
29737         * time/tst-strptime3.c: Likewise.
29738         * wcsmbs/tst-btowc.c: Likewise.
29739         * wcsmbs/tst-mbrtowc.c: Likewise.
29740         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29741         * wcsmbs/tst-wchar-h.c: Likewise.
29742         * wcsmbs/tst-wcpncpy.c: Likewise.
29743         * wcsmbs/tst-wcrtomb.c: Likewise.
29744         * wcsmbs/tst-wcsnlen.c: Likewise.
29745         * wcsmbs/tst-wcstof.c: Likewise.
29747 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29749         [BZ #14132]
29750         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29751         INTDEF.
29752         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29753         declaration.
29754         (_dl_mcount): Use rtld_hidden_proto.
29755         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29756         _dl_mcount.
29757         * elf/rtld.c (_rtld_global_ro): Likewise.
29759         [BZ #14132]
29760         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29761         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29762         of _dl_init_internal.
29763         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29764         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29765         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29766         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29767         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29768         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29769         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29770         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29771         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29772         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29773         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29774         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29775         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29776         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29777         * sysdeps/tile/dl-start.S (_start): Likewise.
29778         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29779         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29781         [BZ #14132]
29782         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29783         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29784         (rtld_progname): Make macro definition unconditional.
29785         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29786         INTDEF.
29787         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29788         (dl_main): Likewise.
29789         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29790         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29791         instead of _dl_argv_internal.
29792         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29793         __GI__dl_argv instead of INTUSE(_dl_argv).
29794         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29795         __GI__dl_argv instead of _dl_argv_internal.
29797         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29798         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29799         macro.
29800         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29801         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29802         New macro.
29803         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29804         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29805         macro.
29806         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29807         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29809 2014-11-04  Andreas Schwab  <schwab@suse.de>
29811         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29813 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29815         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29816         mtvsrd instruction in binary form.
29818 2014-11-03  Andreas Schwab  <schwab@suse.de>
29820         [BZ #17522]
29821         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29822         for less than MB_LEN_MAX use a local buffer of that size.
29823         * libio/tst-fputws.c: New file.
29824         * libio/Makefile (tests): Add tst-fputws.
29826 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29828         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29829         the size of the fpu_fr.fpu_dregs[] array.
29831 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29833         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29834         (__nanosleep): Do not define as alias.
29835         (nanosleep): Define as alias of __nanosleep.
29836         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29837         __libc_nanosleep name.
29839 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29841         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29842         install.texi in comment.
29844 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29846         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29847         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29848         ... add here and use lwsync or sync ...
29849         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29850         ... and add here using lwsync.
29852 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29854         * elf/dl-machine-reject-phdr.h: New file.
29855         * elf/dl-load.c: #include that.
29856         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29857         if that returned true.
29859 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29861         [BZ #17496]
29862         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29863         gen-as-const-headers chunk.  Add a big scare comment after the last
29864         safe place to touch before-compile.
29866 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29868         * manual/install.texi (Tools for Compilation): Update autoconf
29869         version requirements.
29870         * INSTALL: Regenerated.
29872         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29873         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29874         (__libc_pselect): Likewise.
29876         [BZ #14138]
29877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29882 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29884         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29885         correct barrier instruction.
29886         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29887         Likewise.
29888         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29889         Likewise.
29891 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29893         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29894         after defining inlines.  Instead, just use parens to defeat macro
29895         expansion of __isctype in its declaration.
29897 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29899         * include/sys/uio.h (__libc_readv): Remove declaration.
29900         (__libc_writev): Likewise.
29901         * misc/readv.c (__libc_readv): Rename to __readv.
29902         (__readv): Do not define as alias.
29903         (readv): Define as alias of __readv.
29904         * misc/writev.c (__libc_writev): Rename to __writev.
29905         (__writev): Do not define as alias.
29906         (writev): Define as alias of __writev.
29907         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29908         (__readv): Do not define as alias.
29909         (readv): Define unconditionally as alias of __readv.
29910         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29911         (__writev): Do not define as alias.
29912         (writev): Define unconditionally as alias of __writev.
29913         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29914         name.
29915         (writev): Do not define __libc_writev name.
29917 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29919         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29920         (convert_charseq): New function, broken out of ...
29921         (use_from_charmap): ... here.  Call it.
29922         (use_to_charmap): Use convert_charseq and free instead of duplicating
29923         its code with a variable-length stack struct.
29925 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29927         * include/fcntl.h (__libc_creat): Remove declaration.
29928         * io/creat.c (__libc_creat): Rename to creat.
29929         (creat): Do not define as alias.
29930         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29931         of creat instead of __libc_creat.
29932         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29933         to creat.
29934         (creat): Do not define as alias.
29935         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29936         __libc_creat.
29937         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29938         __libc_creat name.
29939         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29940         Likewise.
29942 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29944         * manual/llio.texi: Add comments discussing why write() may be
29945         considered MT-unsafe on Linux.
29947 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29949         * dl-load.c (local_strdup): Remove.
29950         (expand_dynamic_string_token): Use __strdup.
29951         (decompose_rpath): Likewise.
29952         (_dl_map_object): Likewise.
29954 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29956         [BZ #14132]
29957         * sysdeps/generic/unwind-dw2-fde.c
29958         (__register_frame_info_bases_internal): Do not declare.
29959         (__register_frame_info_table_bases_internal): Likewise.
29960         (__deregister_frame_info_bases_internal): Likewise.
29961         (__register_frame_info_bases): Declare and use hidden_proto before
29962         definition.  Use hidden_def instead of INTDEF.
29963         (__register_frame_info_table_bases): Likewise.
29964         (__deregister_frame_info_bases): Likewise.
29965         (__register_frame_info): Do not use INTUSE.
29966         (__register_frame): Likewise.
29967         (__register_frame_info_table): Likewise.
29968         (__register_frame_table): Likewise.
29969         (__deregister_frame_info): Likewise.
29970         (__deregister_frame): Likewise.
29972 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29974         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29975         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29976         not undefine.
29977         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29978         Likewise.
29979         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29980         Likewise.
29982 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29984         [BZ #14138]
29985         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29986         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29987         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29988         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29989         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29990         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29991         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29992         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29993         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29994         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29995         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29996         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29997         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29998         syscall.
29999         (setfsuid): Likewise.
30000         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
30001         (setfsuid): Likewise.
30002         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
30003         (setfsuid): Likewise.
30004         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
30005         Likewise.
30006         (setfsuid): Likewise.
30007         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
30008         (setfsuid): Likewise.
30009         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
30010         Likewise.
30011         (setfsuid): Likewise.
30013 2014-10-27  Andreas Schwab  <schwab@suse.de>
30015         [BZ #17501]
30016         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
30017         check for Slow_SSE4_2 feature bit.
30018         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
30019         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30020         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
30021         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
30023 2014-10-24  Roland McGrath  <roland@hack.frob.com>
30025         * configure.ac: Validate compiler version with a empirical test of
30026         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
30027         $CC -v output.
30028         * configure: Regenerated.
30030         * inet/htons.c (htons): Prototypify.
30031         * inet/htonl.c (htonl): Likewise.
30033 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30035         * string/strncat.c (strncat): Improve performance by using strlen.
30037 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30039         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
30041 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30043         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
30044         Call libc_fetestexcept_aarch64.
30046 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30048         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
30049         Call libc_feholdexcept_aarch64.
30051 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30053         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
30054         Call get_rounding_mode.
30056 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30058         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30059         Simplify logic.
30061 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30063         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
30064         Simplify logic.
30066 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
30068         [BZ #14138]
30069         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
30070         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
30071         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
30072         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
30073         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
30074         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
30075         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
30076         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
30077         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
30078         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
30079         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30080         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
30081         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
30082         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
30083         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
30084         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
30085         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
30086         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
30087         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
30088         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
30089         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
30090         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
30091         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
30092         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
30093         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
30094         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
30095         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
30096         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
30097         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
30098         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
30099         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
30100         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
30101         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
30102         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
30103         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
30104         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
30105         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
30106         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
30107         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
30108         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
30109         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
30110         syscall.
30111         (geteuid): Likewise.
30112         (getgid): Likewise.
30113         (getuid): Likewise.
30114         (getresgid): Likewise.
30115         (getresuid): Likewise.
30116         (getgroups): Likewise.
30117         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
30118         (geteuid): Likewise.
30119         (getgid): Likewise.
30120         (getuid): Likewise.
30121         (getresgid): Likewise.
30122         (getresuid): Likewise.
30123         (getgroups): Likewise.
30124         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
30125         (geteuid): Likewise.
30126         (getgid): Likewise.
30127         (getuid): Likewise.
30128         (getresgid): Likewise.
30129         (getresuid): Likewise.
30130         (getgroups): Likewise.
30131         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
30132         Likewise.
30133         (geteuid): Likewise.
30134         (getgid): Likewise.
30135         (getuid): Likewise.
30136         (getresgid): Likewise.
30137         (getresuid): Likewise.
30138         (getgroups): Likewise.
30139         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30140         (geteuid): Likewise.
30141         (getgid): Likewise.
30142         (getuid): Likewise.
30143         (getresgid): Likewise.
30144         (getresuid): Likewise.
30145         (getgroups): Likewise.
30146         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30147         Likewise.
30148         (geteuid): Likewise.
30149         (getgid): Likewise.
30150         (getuid): Likewise.
30151         (getgroups): Likewise.
30153         [BZ #14138]
30154         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30155         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30156         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30157         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30158         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30159         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30160         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30161         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30162         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30163         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30164         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30165         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30166         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30167         __chown.
30168         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30169         (lchown): Likewise.
30170         (fchown): Likewise.
30171         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30172         Likewise.
30173         (lchown): Likewise.
30174         (fchown): Likewise.
30175         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30176         (lchown): Likewise.
30177         (fchown): Likewise.
30178         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30179         Likewise.
30180         (lchown): Likewise.
30181         (fchown): Likewise.
30183 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30185         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30186         Simplify logic.
30188 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30190         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30191         Cleanup logic.
30193 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30195         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30196         Remove unused include.
30198 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30200         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30201         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30202         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30203         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30205 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30206             Helge Deller <deller@gmx.de>
30208         [BZ #17508]
30209         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30210         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30211         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30213 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30215         [BZ #14132]
30216         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30217         Remove macro definition.
30218         (__ashrdi3_v_glibc20): Likewise.
30219         (__lshrdi3_v_glibc20): Likewise.
30220         (__cmpdi2_v_glibc20): Likewise.
30221         (__ucmpdi2_v_glibc20): Likewise.
30222         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30223         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30224         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30225         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30226         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30227         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30229 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30231         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30232         old GNU extension [0] syntax.
30233         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30234         alloca rather than an array member with variable length.
30235         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30236         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30237         (parse_opt): ... here.  Likewise use alloca there.
30238         Validate the -i argument before checking for rootness.
30239         (send_shutdown): New function, broken out of ...
30240         (parse_opt): ... here.
30242 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30244         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30245         macro to get at the _rt_local_ro field.
30246         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30247         ([PIC] case) or _dl_hwcap ([!PIC] case).
30248         * sysdeps/arm/setjmp.S: Likewise.
30250         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30251         * sysdeps/arm/configure.ac: New check to define it.
30252         * sysdeps/arm/configure: Regenerated.
30253         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30254         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30255         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30256         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30257         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30258         Use move/movt pair instead of a load.
30259         (LDST_GLOBAL): Macro removed.
30260         (LDR_GLOBAL): New macro replaces it.
30261         (LDR_HIDDEN): New macro.
30262         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30263         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30265         * setjmp/tst-setjmp-static.c: New file.
30266         * setjmp/Makefile (tests): Add it.
30267         (tests-static): New variable.
30269 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30271         [BZ #17485]
30272         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30274 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30276         [BZ #14132]
30277         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30279 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30281         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30283 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30285         * io/fts.c (dirent_not_directory): New function.
30286         (fts_build): Call it.
30288 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30290         * nptl/version.c (__nptl_main): Use normal __write rather than
30291         INTERNAL_SYSCALL.
30292         (banner): Update copyright years.
30294         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30295         gettimeofday.
30296         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30297         * nptl/pthread_cond_timedwait.c: Likewise.
30298         * nptl/pthread_mutex_timedlock.c: Likewise.
30299         * nptl/sem_timedwait.c: Likewise.
30301         * sysdeps/nptl/bits/libc-lock.h
30302         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30303         (__libc_lock_init_recursive): Return void, not 0.
30304         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30305         (__libc_rwlock_init): Likewise.
30306         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30308 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30310         [BZ #15215]
30311         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30312         (__pthread_once_slow): ... here.
30313         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30314         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30316 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30318         [BZ #15215]
30319         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30320         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30321         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30322         * nptl/pthread_once.c (__pthread_once): Likewise.
30323         Update comments.
30325 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30327         [BZ #14138]
30328         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30329         name.
30330         (writev): Use __libc_writev as strong name.
30331         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30332         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30334 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30336         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30338         * sysdeps/i386/nptl/tls.h
30339         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30340         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30341         New macros.
30342         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30343         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30344         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30345         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30346         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30347         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30349         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30350         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30351         on [__NR_futex].
30352         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30353         broken out of ...
30354         (__pthread_mutex_init): ... here.  Call it.
30355         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30356         Conditionalize PI cases on [__NR_futex].
30357         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30358         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30359         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30361         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30362         conditional on [SIGSETXID].
30363         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30364         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30365         is defined.  Likewise for SIGSETXID.
30366         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30367         Conditionalize definitions on [SIGSETXID].
30368         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30369         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30370         unblocking on [SIGCANCEL].
30372         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30373         [__NR_set_robust_list].
30375 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30377         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30378         (do_compare): Likewise.
30380 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30382         [BZ #15884]
30383         * string/strcoll_l.c: Don't include stdio.h.
30384         (coll_seq): Remove members idxarr and rulearr.
30385         (get_next_seq_cached): Remove function.
30386         (get_next_seq): Likewise.
30387         (get_next_seq_nocache): Rename to get_next_seq.
30388         (do_compare): Remove function.
30389         (do_compare_nocache): Rename to do_compare.
30390         (STRCOLL): Remove weight and rules cache.
30392 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30394         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30395         * sysdeps/arm/sfp-machine.h: ... to here.
30396         * sysdeps/arm/Implies: Remove arm/soft-fp.
30398 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30400         * conform/data/sys/utsname.h-data (*_t): Allow.
30401         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30402         [POSIX] (WEXITED): Do not expect constant.
30403         [POSIX] (WSTOPPED): Likewise.
30404         [POSIX] (WNOHANG): Likewise.
30405         [POSIX] (WNOWAIT): Likewise.
30406         [POSIX] (siginfo_t): Do not expect type or elements.
30407         [POSIX] (pid_t): Do not expect type.
30408         [POSIX] (signal.h): Do not allow header.
30409         [POSIX] (sys/resource.h): Likewise.
30410         [POSIX] (si_*): Do not allow pattern.
30411         [POSIX] (W*): Likewise.
30412         [POSIX] (P_*): Likewise.
30413         [POSIX] (BUS_*): Likewise.
30414         [POSIX] (CLD_*): Likewise.
30415         [POSIX] (FPE_*): Likewise.
30416         [POSIX] (ILL_*): Likewise.
30417         [POSIX] (POLL_*): Likewise.
30418         [POSIX] (SEGV_*): Likewise.
30419         [POSIX] (SI_*): Likewise.
30420         [POSIX] (TRAP_*): Likewise.
30421         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30422         variable.
30424 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30426         [BZ #12926]
30427         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30428         infinite loop when __recvmsg returns 0.
30430 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30432         * CANCEL-FCT-WAIVE: Remove file.
30433         * CANCEL-FILE-WAIVE: Likewise.
30435         [BZ #14132]
30436         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30437         instead of INTVARDEF.
30438         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30439         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30440         rtld_hidden_data_def instead of INTVARDEF.
30441         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30442         * elf/dl-deps.c (expand_dst): Likewise.
30443         * elf/dl-load.c (_dl_dst_count): Likewise.
30444         (_dl_dst_substitute): Likewise.
30445         (decompose_rpath): Likewise.
30446         (_dl_init_paths): Likewise.
30447         (open_path): Likewise.
30448         (_dl_map_object): Likewise.
30449         * elf/rtld.c (dl_main): Likewise.
30450         (process_dl_audit): Likewise.
30451         (process_envvars): Likewise.
30452         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30453         Remove declaration.
30454         (__libc_enable_secure): Use rtld_hidden_proto.
30456 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30458         * elf/dl-load.c
30459         (add_path): New function broken out of _dl_rtld_di_serinfo.
30460         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30462 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30464         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30465         parentheses around macro arguments.
30466         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30467         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30468         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30469         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30470         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30471         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30472         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30473         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30474         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30475         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30476         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30477         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30478         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30479         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30480         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30481         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30482         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30483         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30484         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30485         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30486         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30487         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30490         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30491         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30492         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30493         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30494         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30495         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30496         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30497         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30498         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30499         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30500         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30501         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30502         Likewise.
30503         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30504         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30505         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30506         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30507         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30508         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30509         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30510         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30511         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30512         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30513         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30514         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30515         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30518         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30519         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30522         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30523         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30524         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30525         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30526         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30527         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30528         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30529         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30530         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30531         (_FP_FRAC_SRS_1): Likewise.
30532         (_FP_FRAC_CLZ_1): Likewise.
30533         (_FP_MUL_MEAT_1_imm): Likewise.
30534         (_FP_MUL_MEAT_1_wide): Likewise.
30535         (_FP_MUL_MEAT_1_hard): Likewise.
30536         (_FP_SQRT_MEAT_1): Likewise.
30537         (_FP_FRAC_ASSEMBLE_1): Likewise.
30538         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30539         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30540         (__FP_CLZ_2): Likewise.
30541         (_FP_MUL_MEAT_2_wide): Likewise.
30542         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30543         (_FP_MUL_MEAT_2_gmp): Likewise.
30544         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30545         (_FP_SQRT_MEAT_2): Likewise.
30546         (_FP_FRAC_ASSEMBLE_2): Likewise.
30547         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30548         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30549         (_FP_FRAC_CLZ_4): Likewise.
30550         (_FP_MUL_MEAT_4_wide): Likewise.
30551         (_FP_MUL_MEAT_4_gmp): Likewise.
30552         (_FP_SQRT_MEAT_4): Likewise.
30553         (_FP_FRAC_ASSEMBLE_4): Likewise.
30554         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30555         * soft-fp/op-common.h (_FP_CMP): Likewise.
30556         (_FP_CMP_EQ): Likewise.
30557         (_FP_CMP_UNORD): Likewise.
30558         (_FP_TO_INT): Likewise.
30559         (_FP_FROM_INT): Likewise.
30560         [!__FP_CLZ] (__FP_CLZ): Likewise.
30561         (_FP_DIV_HELP_imm): Likewise.
30562         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30563         Likewise.
30564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30565         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30566         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30567         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30568         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30569         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30570         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30572         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30573         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30574         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30575         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30576         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30577         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30578         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30579         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30580         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30583         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30584         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30588         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30592         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30593         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30594         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30595         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30596         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30597         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30598         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30599         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30600         (FP_UNPACK_RAW_SP): Likewise.
30601         (FP_PACK_RAW_S): Likewise.
30602         (FP_PACK_RAW_SP): Likewise.
30603         (FP_UNPACK_S): Likewise.
30604         (FP_UNPACK_SP): Likewise.
30605         (FP_UNPACK_SEMIRAW_S): Likewise.
30606         (FP_UNPACK_SEMIRAW_SP): Likewise.
30607         (FP_PACK_S): Likewise.
30608         (FP_PACK_SP): Likewise.
30609         (FP_PACK_SEMIRAW_S): Likewise.
30610         (FP_PACK_SEMIRAW_SP): Likewise.
30611         (_FP_SQRT_MEAT_S): Likewise.
30612         (FP_CMP_S): Likewise.
30613         (FP_CMP_EQ_S): Likewise.
30614         (FP_CMP_UNORD_S): Likewise.
30615         (FP_TO_INT_S): Likewise.
30616         (FP_FROM_INT_S): Likewise.
30618         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30620         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30621         (FP_EX_INVALID_IMZ): Likewise.
30622         (FP_EX_INVALID_IMZ_FMA): Likewise.
30623         (FP_EX_INVALID_ISI): Likewise.
30624         (FP_EX_INVALID_ZDZ): Likewise.
30625         (FP_EX_INVALID_IDI): Likewise.
30626         (FP_EX_INVALID_SQRT): Likewise.
30627         (FP_EX_INVALID_CVI): Likewise.
30628         (FP_EX_INVALID_VC): Likewise.
30629         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30630         "invalid" exceptions.
30631         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30632         (_FP_ADD_INTERNAL): Likewise.
30633         (_FP_MUL): Likewise.
30634         (_FP_FMA): Likewise.
30635         (_FP_DIV): Likewise.
30636         (_FP_CMP_CHECK_NAN): Likewise.
30637         (_FP_SQRT): Likewise.
30638         (_FP_TO_INT): Likewise.
30639         (FP_EXTEND): Likewise.
30641 2014-10-09  Allan McRae  <allan@archlinux.org>
30643         * po/fr.po: Update French translation from translation project.
30645 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30647         [BZ #14132]
30648         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30649         of INTDEF.
30650         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30651         (__cxa_atexit): Use libc_hidden_proto.
30652         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30654         [BZ #14132]
30655         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30656         declaration.
30657         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30658         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30659         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30660         [!_ISOMAC] (__iswctype_internal): Likewise.
30661         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30662         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30663         alias.
30664         (fcntl): Remove __fcntl_internal alias.
30665         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30666         __connect_internal alias.
30667         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30668         Likewise.
30670         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30671         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30672         FP_DENORM_ZERO.
30673         (_FP_CHECK_FLUSH_ZERO): New macro.
30674         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30675         (_FP_CMP): Likewise.
30676         (_FP_CMP_EQ): Likewise.
30677         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30678         FP_DENORM_ZERO.
30679         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30680         (FP_TRUNC): Likewise.
30682         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30683         treated as invalid conversion, not as normal exponent.
30685         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30686         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30687         (_FP_CMP_EQ): Likewise.
30688         (_FP_CMP_UNORD): Likewise.
30689         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30690         (FP_CMP_EQ_D): Likewise.
30691         (FP_CMP_UNORD_D): Likewise.
30692         * soft-fp/extended.h (FP_CMP_E): Likewise.
30693         (FP_CMP_EQ_E): Likewise.
30694         (FP_CMP_UNORD_E): Likewise.
30695         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30696         (FP_CMP_EQ_Q): Likewise.
30697         (FP_CMP_UNORD_Q): Likewise.
30698         * soft-fp/single.h (FP_CMP_S): Likewise.
30699         (FP_CMP_EQ_S): Likewise.
30700         (FP_CMP_UNORD_S): Likewise.
30701         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30702         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30703         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30704         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30705         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30706         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30707         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30708         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30709         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30710         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30711         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30712         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30713         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30714         to FP_CMP_Q.
30715         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30716         FP_CMP_Q.
30717         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30718         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30719         FP_CMP_EQ_Q.
30720         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30721         FP_CMP_Q.
30722         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30723         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30724         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30725         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30726         FP_CMP_EQ_Q.
30727         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30728         FP_CMP_Q.
30729         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30730         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30731         FP_CMP_EQ_Q.
30732         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30733         FP_CMP_Q.
30734         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30735         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30736         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30737         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30738         FP_CMP_EQ_Q.
30740         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30741         a subnormal result, set the underflow exception if trapping on
30742         underflow is enabled.
30743         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30744         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30745         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30746         redefine to 0.
30747         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30748         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30749         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30750         * soft-fp/extendxftf2.c (__extendxftf2): Use
30751         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30753         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30754         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30755         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30756         FP_HANDLE_EXCEPTIONS.
30757         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30758         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30759         FP_HANDLE_EXCEPTIONS.
30760         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30761         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30762         FP_HANDLE_EXCEPTIONS.
30763         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30764         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30765         FP_HANDLE_EXCEPTIONS.
30767 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30769         [BZ #14132]
30770         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30771         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30772         use INTUSE.
30773         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30774         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30775         Remove alias.
30776         (__adjtimex): Define using libc_hidden_ver.
30777         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30778         Remove declaration.
30779         (ntp_gettime): Call __adjtimex directly.
30780         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30781         Remove declaration.
30782         (ntp_gettimex): Call __adjtimex directly.
30783         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30784         __adjtimex_internal alias.
30786 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30788         [BZ #17460]
30789         * nscd/nscd.c (more_help): Rewrite list of tables collection
30790         using xstrdup and asprintf.
30792         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30794 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30795             Roland McGrath  <roland@hack.frob.com>
30797         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30798         (do_lookup_unique): ... local function 'enter' here; update callers.
30800 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30802         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30803         compat_symbol calls on [SHARED].
30804         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30805         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30806         Remove.
30807         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30808         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30809         (oldsetrlimit): Remove.
30810         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30812         (lchown): New syscall entry.
30813         (oldsetrlimit): Remove.
30814         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30815         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30816         (oldsetrlimit): Remove.
30817         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30819         [BZ #14138]
30820         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30821         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30822         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30823         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30824         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30825         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30826         (fchown): Likewise.
30827         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30828         (fchown): Likewise.
30829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30830         Likewise.
30832 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30834         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30835         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30836         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30837         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30838         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30839         Likewise.
30840         (__old_sem_post): Likewise.
30842 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30844         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30845         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30846         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30847         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30848         Use INLINE_VSYSCALL macro.
30849         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30850         __vdso_clock_gettime.
30851         * sysdeps/unix/sysv/linux/tile/init-first.c
30852         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30853         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30854         __vdso_clock_gettime.
30856         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30857         to set up frame more cleanly.
30859         * sysdeps/tile/memcmp.c: New file.
30861         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30863         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30864         * sysdeps/tile/tilegx/strcasestr.c: New file.
30865         * sysdeps/tile/tilegx/strnlen.c: New file.
30866         * sysdeps/tile/tilegx/strstr.c: New file.
30868         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30870 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30872         * nptl/tst-setuid3.c: Write errors to stdout.
30874 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30876         * elf/dl-deps.c
30877         (preload): New functions broken out of _dl_map_object_deps.
30878         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30880 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30882         [BZ #14138]
30883         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30884         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30886 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30888         * sysdeps/mips/strcmp.S: New.
30890 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30892         [BZ #14138]
30893         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30894         (linkat): Likewise.
30895         (mkdirat): Likewise.
30896         (readlinkat): Likewise.
30897         (renameat): Likewise.
30898         (symlinkat): Likewise.
30899         (unlinkat): Likewise.
30900         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30901         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30902         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30903         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30904         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30905         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30906         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30908 2014-09-30  Will Newton  <will.newton@linaro.org>
30910         * math/math.h: Define long double math functions if
30911         _LIBC_TEST is defined.
30912         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30914         * localedata/Makefile: Move assignment to tests-special
30915         into an ifdef testing run-built-tests.
30916         * timezone/Makefile: Likewise.
30918 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30920         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30921         with $(BASH) not $(SHELL).
30923 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30924             Matthew LeGendre  <legendre1@llnl.gov>
30926         [BZ #17411]
30927         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30928         l_reloc_result.
30930 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30932         * stdio-common/printf_fp.c
30933         (hack_digit): New function, broken out of ...
30934         (__printf_fp): ... local function here.  Update call sites.
30935         hack_digit now takes an additional parameter that is a pointer
30936         to a struct of the referenced locals.  Those locals moved inside
30937         the struct and references updated.
30939 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30941         * aclocal.m4: Require autoconf 2.69.
30942         * configure: Regenerated.
30943         * sysdeps/aarch64/configure: Likewise.
30944         * sysdeps/alpha/configure: Likewise.
30945         * sysdeps/arm/armv7/configure: Likewise.
30946         * sysdeps/arm/configure: Likewise.
30947         * sysdeps/ia64/configure: Likewise.
30948         * sysdeps/mach/configure: Likewise.
30949         * sysdeps/mips/configure: Likewise.
30950         * sysdeps/s390/configure: Likewise.
30951         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30954         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30955         file.
30956         * sysdeps/ia64/configure.ac: Likewise.
30958 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30961         specify symbol version for ld.so.  Do not include entry for
30962         libpthread.
30963         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30964         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30965         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30967         [BZ #14171]
30968         * Makeconfig [$(build-shared) = yes]
30969         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30970         makefiles.
30971         [$(build-shared) = yes && $(soversions.mk-done) = t]
30972         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30973         [$(build-shared) = yes && $(soversions.mk-done) = t]
30974         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30975         to Makerules.
30976         [$(build-shared) = yes && $(soversions.mk-done) = t]
30977         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30978         here.
30979         [$(build-shared) = yes && $(soversions.mk-done) = t]
30980         (common-generated): Don't append gnu/lib-names.h and
30981         gnu/lib-names.stmp here.
30982         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30983         (lib-names-h-abi): New variable.
30984         [$(build-shared) = yes && $(soversions.mk-done) = t]
30985         (lib-names-stmp-abi): Likewise.
30986         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30987         abi-variants] (before-compile): Append
30988         $(common-objpfx)$(lib-names-h-abi).
30989         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30990         abi-variants] (common-generated): Append gnu/lib-names.h.
30991         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30992         abi-variants] (install-others-nosubdir): Depend on
30993         $(inst_includedir)/$(lib-names-h-abi).
30994         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30995         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30996         [$(build-shared) = yes && $(soversions.mk-done) = t]
30997         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30998         [$(build-shared) = yes && $(soversions.mk-done) = t]
30999         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
31000         [$(build-shared) = yes && $(soversions.mk-done) = t]
31001         (common-generated): Append $(lib-names-h-abi) and
31002         $(lib-names-stmp-abi).
31003         * scripts/lib-names.awk: Do not handle multi being set.
31004         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
31005         Remove variable.
31006         (abi-lp64_be-ld-soname): Likewise.
31007         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
31008         Likewise.
31009         (abi-hard-ld-soname): Likewise.
31010         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
31011         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
31012         Remove variable.
31013         (abi-o32_hard-ld-soname): Likewise.
31014         (abi-o32_soft_2008-ld-soname): Likewise.
31015         (abi-o32_hard_2008-ld-soname): Likewise.
31016         (abi-n32_soft-ld-soname): Likewise.
31017         (abi-n32_hard-ld-soname): Likewise.
31018         (abi-n32_soft_2008-ld-soname): Likewise.
31019         (abi-n32_hard_2008-ld-soname): Likewise.
31020         (abi-n64_soft-ld-soname): Likewise.
31021         (abi-n64_hard-ld-soname): Likewise.
31022         (abi-n64_soft_2008-ld-soname): Likewise.
31023         (abi-n64_hard_2008-ld-soname): Likewise.
31024         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
31025         Likewise.
31026         (abi-64-v2-ld-soname): Likewise.
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
31028         ld.so entries.
31029         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
31030         variable.
31031         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
31032         entry.
31033         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
31034         variable.
31035         (abi-64-ld-soname): Likewise.
31036         (abi-x32-ld-soname): Likewise.
31037         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
31038         entry.
31039         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31041 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
31043         [BZ #14138]
31044         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
31045         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
31046         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
31047         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
31048         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
31049         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
31050         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
31051         syscall entry for GLIBC_2.2 symbol version.
31052         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
31053         Likewise.
31054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31055         (setrlimit): Likewise.
31056         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
31057         Likewise.
31059 2014-09-23  Will Newton  <will.newton@linaro.org>
31061         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
31062         _LINUX_ARM_SYSDEP_H include guard too.
31063         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
31064         define.
31066 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31068         * sysdeps/unix/sysv/linux/eventfd.c:
31069         Make first argument unsigned.
31070         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
31071         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
31073 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
31075         [BZ #16852]
31076         * socket/recvmmsg.c (recvmmsg): Drop const argument.
31077         * socket/sys/socket.h: Likewise.
31078         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
31080 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31082         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
31084 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
31086         * time/tst-ftime.c: New test.
31087         * time/Makefile (tests): Add tst-ftime.
31089 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
31091         * soft-fp/extended.h: Fix comment formatting.
31092         * soft-fp/op-1.h: Likewise.
31093         * soft-fp/op-2.h: Likewise.
31094         * soft-fp/op-4.h: Likewise.
31095         * soft-fp/op-8.h: Likewise.
31096         * soft-fp/op-common.h: Likewise.
31097         * soft-fp/soft-fp.h: Likewise.
31099         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
31101 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
31103         [BZ #6652]
31104         * Makeconfig (soversions-default-setname): Remove variable.
31105         ($(common-objpfx)soversions.i): Don't pass default_setname to
31106         soversions.awk.
31107         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
31108         oldest_abi to abi-versions.awk.
31109         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
31110         * config.make.in (oldest-abi): Remove variable.
31111         * configure.ac (--enable-oldest-abi): Remove configure option.
31112         * configure: Regenerated.
31113         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
31114         text.
31115         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
31116         * scripts/soversions.awk: Do not handle default_setname variable.
31117         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
31118         variable.
31119         * sysdeps/mach/hurd/configure: Regenerated.
31120         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
31121         variable.
31122         * sysdeps/unix/sysv/linux/configure: Regenerated.
31124 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31126         * elf/Makefile (CFLAGS-interp.c): Remove.
31127         ($(elf-objpfx)runtime-linker.h): Generate header with linker
31128         path string.
31129         * elf/interp.c: Include generated runtime-linker.h
31131         * Makerules (lib%.so): Don't include $(+interp) in
31132         prerequisites.
31133         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31134         * dlfcn/eval.c: Remove file.
31136         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31137         macros.
31139         [BZ #17266]
31140         * misc/sys/cdefs.h: Define __extern_always_inline for clang
31141         4.2 and newer.
31143         [BZ #17370]
31144         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31146 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31147             Jakub Jelinek  <jakub@redhat.com>
31149         [BZ #17266]
31150         * libio/stdio.h: Check definition of __fortify_function
31151         instead of __extern_always_inline to include bits/stdio2.h.
31152         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
31153         check if __extern_always_inline is defined.
31154         [__USE_MISC || __USE_XOPEN]: Likewise.
31155         [__USE_ISOC99] Likewise.
31156         * misc/sys/cdefs.h (__fortify_function): Define only if
31157         __extern_always_inline is defined.
31158         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31159         __extern_always_inline and __extern_inline only for g++-4.3
31160         and newer or a compatible gcc.
31162 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31164         [BZ #17371]
31165         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31166         last change to handle zero prefix length.
31168 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31170         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31171         _SC_REGEX_VERSION.
31173         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31174         _POSIX_RAW_SOCKETS.
31176 2014-09-13  Allan McRae  <allan@archlinux.org>
31178         * po/ru.po: Update Russian translation from translation project.
31180 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31182         * locale/programs/locale.c (show_locale_vars): Inline local function
31183         into its sole call site.  Clean up some style nits.
31184         (print_item): New function, broken out of ...
31185         (show_info): ... local function here.  Clean up style nits.
31187         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31188         out of ...
31189         (set_class_defaults): ... local function set_default here.
31190         Define set_default as a macro locally to pass constant parameters.
31191         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31192         rather than a shared local.
31194         * stdlib/rpmatch.c (try): New function, broken out of ...
31195         (rpmatch): ... local function here.  Also, prototypify definition.
31197 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31199         * scripts/soversions.awk: Do not handle configuration names.
31200         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31201         vendor and os variables to soversions.awk.
31202         * configure.ac: Do not modify gnu-* host_os.
31203         * configure: Regenerated
31204         * shlib-versions: Remove first column with configuration names.
31205         * nptl/shlib-versions: Likewise.
31206         * nptl_db/shlib-versions: Likewise.
31207         * sysdeps/hppa/shlib-versions: Likewise.
31208         * sysdeps/m68k/shlib-versions: Likewise.
31209         * sysdeps/mach/hurd/shlib-versions: Likewise.
31210         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31211         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31212         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31213         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31214         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31215         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31216         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31217         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31219         Likewise.
31220         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31221         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31222         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31223         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31224         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31225         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31226         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31227         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31230         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31232         Regenerated.
31233         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31235         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31237         * shlib-versions: Remove OS-specific entries.  Moved to files in
31238         sysdeps.
31239         * sysdeps/mach/hurd/shlib-versions: New file.
31240         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31242         * nptl/shlib-versions: Remove architecture-specific entries.
31243         Moved to files in sysdeps.
31244         * shlib-versions: Likewise.
31245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31246         file.
31247         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31248         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31249         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31250         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31252         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31253         (UDP_NO_CHECK6_RX): Likewise.
31255 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31257         * sysdeps/posix/sysconf.c (__sysconf): Spell
31258         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31260 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31262         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31263         loading.
31264         * iconv/Versions (__gconv_transliterate): Export for use from
31265         gconv modules.
31266         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31267         (struct __gconv_trans_data, __gconv_trans_fct,
31268         __gconv_trans_context_fct, __gconv_trans_query_fct,
31269         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31270         definitions.
31271         (struct __gconv_step_data): Remove __trans member.
31272         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31273         longer hidden.  Remove unused trans_data argument.
31274         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31275         (__gconv_translit_find): Remove declaration.
31276         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31277         prototype.
31278         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31279         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31280         trans_data argument.  Add hidden definition.
31281         (__gconv_translit_find): Remove.
31282         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31283         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31284         * iconv/skeleton.c: Remove transliteration initialization.
31285         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31286         __gconv_step_data initialization.
31287         * libio/iofwide.c (__libio_translit_): Remove.
31288         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31289         * wcsmbs/btowc.c (__btowc): Likewise.
31290         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31291         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31292         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31293         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31294         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31295         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31296         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31297         * wcsmbs/wctob.c (wctob): Likewise.
31299 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31301         [BZ #16194]
31302         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31303         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31304         register usage.
31305         * sysdeps/x86/Makefile: Adjust.
31307 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31308             Roland McGrath  <roland@hack.frob.com>
31310         * locale/weight.h: Add include guard.
31311         (findidx): Make static rather than auto; take new parameters
31312         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31313         * locale/weightwc.h: Likewise.
31314         * posix/fnmatch_loop.c
31315         (FCT): Change type of EXTRA from int32_t to wint_t.
31316         Don't include either header inside the function.
31317         Call FINDIDX rather than findidx, and pass new arguments.
31318         #undef FINDIDX at the end of the file.
31319         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31320         FINDIDX before including fnmatch_loop.c for the non-wide version.
31321         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31322         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31323         for the wide version.
31324         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31325         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31326         Pass new arguments to findidx.
31327         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31328         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31329         Don't #include it inside the function.  Pass new arguments to findidx.
31330         * posix/regex_internal.h
31331         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31332         (re_string_elem_size_at): Don't #include it inside the function.
31333         Pass new arguments to findidx.
31334         * string/strcoll_l.c: #include WEIGHT_H at top level.
31335         (get_next_seq): Don't #include it inside the function.
31336         Pass new arguments to findidx.
31337         (get_next_seq_nocache): Likewise.
31338         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31339         (STRXFRM): Don't #include it inside the function.
31340         Pass new arguments to findidx.
31342 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31344         [BZ #17344]
31345         * malloc/malloc.c (unlink): Turn asserts into a call to
31346         malloc_printerr.
31348 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31350         [BZ #17370]
31351         * libio/wfileops (do_ftell_wide): Free OUT.
31353 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31355         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31357 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31359         [BZ #17363]
31360         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31361         group if the current group is empty.
31363 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31365         * benchtests/bench-memset.c (test_main): Add more test from size
31366         from 32 to 512 bytes.
31367         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31368         Add POWER8 memset object.
31369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31370         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31371         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31372         implementation.
31373         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31374         Likewise.
31375         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31376         multiarch POWER8 memset optimization.
31377         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31378         POWER8 memset optimization.
31380         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31381         Remove bzero multiarch objects.
31382         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31383         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31384         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31385         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31386         Remove define.
31387         [__bzero]: Redefine to specific name.
31388         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31389         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31390         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31391         define.
31392         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31393         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31395 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31397         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31398         warnings into errors.
31400         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31401         __cxa_thread_atexit_impl prototype.
31403 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31405         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31406         Fix capitalization of error message.
31408 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31410         * sysdeps/mips/preconfigure: Modify ABI tests.
31412 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31414         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31416 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31417             Carlos O'Donell  <carlos@systemhalted.org>
31419         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31420         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31421         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31422         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31423         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31424         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31425         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31426         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31427         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31428         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31429         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31430         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31431         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31432         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31433         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31434         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31435         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31436         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31437         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31438         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31439         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31440         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31441         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31442         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31443         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31444         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31445         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31446         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31447         Deconditionalize the code that was previously under [RESET_PID].
31448         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31449         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31450         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31451         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31452         include sysdep.h.
31454 2014-09-08  Allan McRae  <allan@archlinux.org>
31456         * version.h (RELEASE): Set to "development".
31457         (VERSION): Set to "2.20.90"
31459 2014-09-07  Allan McRae  <allan@archlinux.org
31461         * version.h (RELEASE): Set to "stable".
31462         (VERSION): Set to "2.20"
31463         * include/features.h (__GLIBC_MINOR__): Set to 20.
31465         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31466         Liebler.
31468         * po/ko.po: Update Korean translation from translation project.
31470 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31472         [BZ #17354]
31473         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31474         macro for handling signed relocations.
31476 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31478         [BZ #17325]
31479         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31480         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31481         assert.
31482         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31483         * iconvdata/ibm935.c (BODY): Likewise.
31484         * iconvdata/ibm937.c (BODY): Likewise.
31485         * iconvdata/ibm939.c (BODY): Likewise.
31486         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31487         assert.
31488         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31489         script.
31490         * iconvdata/run-iconv-test.sh: New test loop for checking for
31491         decoder crashers.
31493 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31495         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31496         libm_hidden_ver.
31498 2014-09-01  Allan McRae  <allan@archlinux.org>
31500         * po/eo.po: Update Esperanto translation from translation project.
31502         * po/ca.po: Update Catalan translation from translation project.
31504 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31506         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31507         __proc_dostop call.
31509 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31511         [BZ #17319]
31512         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31513         to call set_thread_area instead of hand written asm.
31514         (__NR_set_thread_area): Removed define.
31515         (TLS_FLAG_WRITABLE): Likewise.
31516         (__ASSUME_SET_THREAD_AREA): Remove check.
31517         (TLS_EBX_ARG): Remove define.
31518         (TLS_LOAD_EBX): Likewise.
31520 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31522         Simplify atomicity of socket creation in bind.
31524         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31525         looking up the name after linking the file.
31527 2014-08-27  Allan McRae  <allan@archlinux.org>
31529         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31531 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31533         [BZ #17187]
31534         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31535         trans_compare, open_translit, __gconv_translit_find):
31536         Remove module loading code.
31538 2014-08-26  Allan McRae  <allan@archlinux.org>
31540         * po/vi.po: Update Vietnamese translation from translation project.
31542         * po/uk.po: Update Ukrainian translation from translation project.
31544         * po/fr.po: Update French translation from translation project.
31546         * po/ru.po: Update Russian translation from translation project.
31548         * po/pl.po: Update Polish translation from translation project.
31550         * po/cs.po: Update Czech translation from translation project.
31552         * po/de.po: Update German translation from translation project.
31554         * po/bg.po: Update Bulgarian translation from translation project.
31556         * po/sv.po: Update Sweedish translation from translation project.
31558         * po/nl.po: Update Dutch translation from translation project.
31560         * po/es.po: Update Spanish translation from translation project.
31562 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31564         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31566         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31567         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31568         (CPPFLAGS-iconvconfig): Likewise.
31569         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31571         * include/libc-symbols.h: Remove unnecessary check for
31572         NOT_IN_libc.
31573         * nptl/pthreadP.h: Likewise.
31574         * sysdeps/aarch64/setjmp.S: Likewise.
31575         * sysdeps/alpha/setjmp.S: Likewise.
31576         * sysdeps/arm/sysdep.h: Likewise.
31577         * sysdeps/i386/setjmp.S: Likewise.
31578         * sysdeps/m68k/setjmp.c: Likewise.
31579         * sysdeps/posix/getcwd.c: Likewise.
31580         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31581         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31582         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31583         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31584         * sysdeps/sh/sh3/setjmp.S: Likewise.
31585         * sysdeps/sh/sh4/setjmp.S: Likewise.
31586         * sysdeps/unix/alpha/sysdep.h: Likewise.
31587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31588         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31589         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31590         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31593         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31594         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31595         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31596         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31598         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31599         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31600         * sysdeps/x86_64/setjmp.S: Likewise.
31602 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31604         [BZ #17263]
31605         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31606         <stdint.h>.
31607         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31608         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31610 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31612         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31614         [BZ #17262]
31615         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31616         and __x86_64__ when disabling x87 inline functions.
31618 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31620         [BZ #17259]
31621         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31622         asm statement with __cpuid_count.
31624 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31626         * configure.ac: Change __ehdr_start code to dereference the struct.
31627         Run readelf on the output to look for relocations.
31628         * configure: Regenerated.
31630 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31632         [BZ #17261]
31633         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31634         value to 0.
31635         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31637 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31639         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31641 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31643         [BZ #16892]
31644         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31645         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31647 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31649         * malloc/malloc.c: Fix typo in comment.
31651 2014-08-09  Allan McRae  <allan@archlinux.org>
31653         * Regenerate libc.po.
31655 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31657         * intl/tst-gettext2.sh: Check every lang file for creation.
31659 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31661         * sysdeps/aarch64/fpu/math_private.h
31662         (libc_feholdsetround_noex_aarch64_ctx): New function.
31664 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31666         * sysdeps/arm/armv6/strcpy.S (strcpy):
31667         Fix performance issue in misaligned cases.
31669 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31671         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31672         Move definition from termios.h.
31673         (struct termio): Likewise.
31674         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31675         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31676         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31677         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31678         Likewise.
31679         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31680         Move definition to ioctl-types.h
31681         (struct termio): Likewise.
31682         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31683         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31684         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31685         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31686         Likewise.
31688 2014-08-05  Richard Henderson  <rth@redhat.com>
31690         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31691         exceptions.
31692         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31693         Add fraiseexcpt.
31694         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31695         Use __feraiseexcept.
31696         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31697         Protect libm symbols with IS_IN_libm.
31699         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31701 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31703         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31705 2014-08-04  Will Newton  <will.newton@linaro.org>
31707         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31708         file.
31710 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31712         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31713         variants for each function.
31715 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31717         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31718         appended ...
31719         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31720         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31721         appended ...
31722         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31723         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31724         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31725         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31726         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31727         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31728         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31729         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31730         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31731         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31732         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31733         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31734         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31735         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31736         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31737         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31738         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31739         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31740         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31741         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31742         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31743         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31744         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31745         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31746         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31747         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31748         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31749         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31750         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31751         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31752         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31753         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31754         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31755         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31756         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31757         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31758         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31759         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31760         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31761         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31762         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31763         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31764         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31765         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31766         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31767         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31768         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31769         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31770         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31771         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31772         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31773         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31774         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31775         Update #include.
31776         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31777         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31779 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31781         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31782         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31783         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31784         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31785         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31786         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31788 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31790         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31791         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31792         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31793         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31795 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31797         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31798         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31799         (__libc_vfork): Define function under this name.
31800         (__vfork): Define as an alias.
31801         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31802         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31804 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31806         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31807         that was previously under [RESET_PID].
31808         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31810 2014-08-04  Andreas Schwab  <schwab@suse.de>
31812         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31814 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31816         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31817         (main): Likewise.
31819 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31821         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31823 2014-08-01  Richard Henderon  <rth@redhat.com>
31825         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31826         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31827         typo in exact zero test.
31828         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31829         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31830         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31832 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31834         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31835         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31836         * sysdeps/arm/sysdep.h: ... here.
31837         [!__ASSEMBLER__]: Include <stdint.h>.
31839 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31841         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31842         (HAVE_WCTYPE_H): Likewise.
31843         (HAVE_ISWCTYPE): Likewise.
31844         (ENABLE_NLS): Likewise.
31845         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31846         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31848         * posix/regex_internal.c: Check if DEBUG is defined and is
31849         set.
31851         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31852         (HAVE_MBSRTOWCS): Likewise.
31853         * posix/fnmatch.c: Include string.h unconditionally.
31855 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31857         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31858         reversal.
31860 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31862         * sysdeps/generic/safe-fatal.h: New file.
31863         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31864         * nptl/forward.c: Include it.
31865         (__pthread_unwind): Use __safe_fatal as default action, rather
31866         than a bogus use of INTERNAL_SYSCALL that could never work.
31868         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31869         * configure.ac (libc_cv_builtin_trap): New test.
31870         * configure: Regenerated.
31871         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31872         (ABORT_INSTRUCTION): Define using __builtin_trap.
31874         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31875         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31876         * sysdeps/nptl/nptl-signals.h: New file.
31877         * nptl/pthreadP.h: Include <nptl-signals.h>.
31879 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31881         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31882         (ONE_DIRECTION): Define.
31883         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31884         (ONE_DIRECTION): Define.
31885         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31886         (ONE_DIRECTION): Define.
31888 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31890         * sysdeps/s390/Makefile: Delete file.
31891         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31892         * sysdeps/s390/__longjmp.c: Delete file.
31893         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31894         Remove fields __flags and __reserved.
31895         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31896         and add versioning.
31897         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31898         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31899         * sysdeps/s390/rtld-setjmp.S: Likewise.
31900         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31901         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31902         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31903         * sysdeps/s390/s390-32/setjmp.S: ... here.
31904         Add versioning.
31905         (__sigsetjmp): Remove setting __flags field.
31906         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31907         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31908         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31909         * sysdeps/s390/s390-64/setjmp.S: ... here.
31910         Add versioning.
31911         (__sigsetjmp): Remove setting __flags field.
31912         * sysdeps/s390/setjmp.S: Delete file.
31913         * sysdeps/s390/sigjmp.c: Likewise.
31914         * sysdeps/s390/v1-longjmp.c: Likewise.
31915         * sysdeps/s390/v1-setjmp.h: Likewise.
31916         * sysdeps/s390/v1-sigjmp.c: Likewise.
31917         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31918         Remove v1-longjmp_chk.
31919         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31920         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31921         Include debug/longjmp_chk.c and add versioning.
31922         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31923         Include nptl/pt-longjmp.c and add versioning.
31924         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31925         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31926         Include __longjmp.c.
31927         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31928         Move to ...
31929         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31930         (__getcontext): Remove setting __flags field.
31931         Add versioning.
31932         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31933         Don't restore upper high grps.
31934         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31935         Likewise.
31936         (__swapcontext): Remove setting uc_flags field.
31937         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31938         Delete file.
31939         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31940         Include __longjmp.c.
31941         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31942         Move to ...
31943         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31944         (__getcontext): Remove setting __flags field.
31945         Add versioning.
31946         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31947         (__swapcontext): Remove setting uc_flags field.
31948         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31949         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31950         Remove fields uc_high_gprs and __reserved.
31951         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31952         New file with reverted content.
31953         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31954         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31955         Regenerated.
31956         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31957         Regenerated.
31959 2014-07-31  Andreas Schwab  <schwab@suse.de>
31961         * config.h.in (HAVE_IFUNC): Define to 0.
31962         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31963         definedness.
31965 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31968         memmove-avx-unaligned, memcpy-avx-unaligned and
31969         mempcpy-avx-unaligned.
31970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31971         Add tests for AVX memcpy functions.
31972         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31973         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31974         memcpy_chk.
31975         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31976         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31977         memmove_chk.
31978         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31979         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31980         mempcpy_chk.
31981         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31982         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31983         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31985 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31987         [BZ #17213]
31988         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31989         powerpc64le.
31991 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31993         [BZ #16839]
31994         * manual/llio.texi: Add section about open file description locks.
31995         * manual/examples/ofdlocks.c: Example of open file description
31996         lock usage.
31997         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31998         F_OFD_SETLK, and F_OFD_SETLKW.
32000 2014-07-23  Allan McRae  <allan@archlinux.org>
32002         * po/es.po: Update Spanish translation from translation project.
32004 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
32006         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
32008 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
32010         [BZ #17078]
32011         * sysdeps/arm/dl-machine.h (elf_machine_rela)
32012         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
32013         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
32015 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
32017         [BZ #17088]
32018         * math/fesetenv.c (__fesetenv)
32019         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
32020         * math/feupdateenv.c (__feupdateenv)
32021         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32023         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
32024         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32025         (__ASSUME_SOCKETCALL): Do not define.
32027         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
32028         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
32029         (__ASSUME_SOCKETCALL): Do not define.
32030         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32031         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32032         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32033         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32034         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32035         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
32036         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32037         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32039         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
32040         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
32041         (__ASSUME_SOCKETCALL): Do not define.
32042         (__ASSUME_IPC64): Define unconditionally.
32043         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32044         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32045         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32046         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32047         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
32048         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32049         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
32050         Likewise.
32052         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
32053         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
32054         (__ASSUME_SOCKETCALL): Do not define.
32055         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
32056         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32057         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32058         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32059         (__ASSUME_REQUEUE_PI): Define unconditionally.
32060         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
32061         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
32062         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32063         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
32064         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32065         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32067         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
32068         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
32069         (__ASSUME_SOCKETCALL): Do not define.
32070         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
32071         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32072         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32073         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
32074         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32075         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32077         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
32078         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
32079         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32080         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
32081         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32082         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
32083         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32084         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
32085         (__ASSUME_GETCPU_SYSCALL): Likewise.
32087         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
32088         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
32089         cases for individual architectures.
32090         * sysdeps/gnu/configure: Regenerated.
32091         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
32092         LIBC_SLIBDIR_RTLDDIR.
32093         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
32094         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
32095         LIBC_SLIBDIR_RTLDDIR.
32096         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
32097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
32098         LIBC_SLIBDIR_RTLDDIR.
32099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32100         Regenerated.
32101         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
32102         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
32103         file.
32104         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
32105         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
32106         file.
32107         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
32108         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
32109         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
32110         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
32112         * sysdeps/aarch64/shlib-versions: Move to ...
32113         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
32114         * sysdeps/alpha/shlib-versions: Move to ...
32115         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32116         * sysdeps/arm/shlib-versions: Move to ...
32117         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
32118         * sysdeps/hppa/shlib-versions: Move all contents except for
32119         libgcc_s entry to ...
32120         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
32121         entry from ...
32122         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
32123         * sysdeps/ia64/shlib-versions: Move to ...
32124         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
32125         entry from ...
32126         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
32127         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32128         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32129         * sysdeps/microblaze/shlib-versions: Move to ...
32130         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32131         * sysdeps/mips/shlib-versions: Move to ...
32132         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
32133         entry from ...
32134         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
32135         * sysdeps/tile/shlib-versions: Move to ...
32136         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32137         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32138         from ...
32139         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
32140         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
32141         entry from ...
32142         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
32144 2014-07-17  Will Newton  <will.newton@linaro.org>
32146         * sysdeps/arm/bits/atomic.h
32147         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
32148         (__arch_compare_and_exchange_bool_16_int): Likewise.
32149         (__arch_compare_and_exchange_bool_64_int): Likewise.
32151         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
32152         into an #else block.
32154 2014-07-16  Roland McGrath  <roland@hack.frob.com>
32156         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32157         just Linux configurations.  Test empirically that the compiler sets
32158         __ARM_EABI__, rather than using the tuple to decide.
32159         * sysdeps/arm/preconfigure: Regenerated.
32160         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32161         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32162         contents appended ...
32163         * sysdeps/arm/configure.ac: ... here.
32164         * sysdeps/arm/configure: Regenerated.
32166 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32168         * nptl/pthread_kill.c: New file.
32169         * nptl/pthread_sigmask.c: New file.
32170         * nptl/pthread_sigqueue.c: New file.
32172         * sysdeps/nptl/lowlevellock.h: New file.
32173         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32174         * sysdeps/nptl/lowlevellock-futex.h: New file.
32176         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32177         Remove dead declarations.
32179 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32181         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32182         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32183         config-cflags-avx2.
32184         * sysdeps/x86_64/configure.ac: Likewise.
32185         * sysdeps/i386/configure: Regenerated.
32186         * sysdeps/x86_64/configure: Likewise.
32187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32188         memset-avx2 only if config-cflags-avx2 is yes.
32189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32190         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32191         defined.
32192         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32193         only if HAVE_AVX2_SUPPORT is defined.
32194         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32196 2014-07-14  Alan Modra  <amodra@gmail.com>
32198         [BZ #17153]
32199         * elf/elf.h (DT_PPC64_NUM): Correct value.
32200         * NEWS: Add to fixed bug list.
32202 2014-07-13  Jim Meyering  <meyering@fb.com>
32204         [BZ 17150]
32205         regex: don't deref NULL upon heap allocation failure
32206         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32207         failure in one more place.
32208         To trigger the segfault, configure grep -with-included-regex,
32209         build it, and run these commands:
32210         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32212 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32214         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32216 2014-07-11  Richard Henderson  <rth@redhat.com>
32218         * sysdeps/aarch64/libm-test-ulps: Update.
32220 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32222         [BZ #17135]
32223         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32224         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32225         (__nptl_setxid): Initialize error member.  Call
32226         __nptl_setxid_error.
32227         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32228         * nptl/descr.h (struct xid_command): Add error member.
32229         * nptl/tst-setuid3.c: New file.
32230         * nptl/Makefile (tests): Add it.
32232 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32234         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32235         New define.
32236         (__lll_trylock): Use __lll_base_trylock.
32237         (__lll_cond_trylock): Likewise.
32239 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32241         * nptl/pthread_create.c (start_thread): Use atomic_or and
32242         lll_futex_wake directly rather than lll_robust_dead.
32243         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32244         (lll_robust_dead): Macro removed.
32245         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32246         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32247         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32248         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32249         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32250         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32251         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32252         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32253         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32254         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32255         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32256         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32257         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32258         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32259         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32261         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32262         Use atomic_compare_and_exchange_val_acq directly rather than
32263         lll_robust_trylock.
32264         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32265         (__lll_robust_trylock, lll_robust_trylock): Removed.
32266         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32267         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32268         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32269         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32270         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32271         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32272         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32273         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32274         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32275         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32276         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32277         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32278         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32279         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32281 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32283         * manual/locale.texi (Locale Names): New section documenting
32284         locale name syntax.  Adjust menu and node chaining accordingly.
32285         (Choosing Locale): Reference Locale Names, Locale Categories.
32286         Mention setting LC_ALL=C.  Reflect that name syntax is now
32287         documented.
32288         (Locale Categories): New section title.  Reference Locale Names.
32289         LC_ALL is an environment variable, but not a category.
32290         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32291         description, now in Locale Name.  Reference that section.  Locale
32292         name syntax is now documented.
32294 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32296         [BZ #17137]
32297         * locale/findlocale.c (name_present, valid_locale_name): New
32298         functions.
32299         (_nl_find_locale): Use the loc_name variable to store name
32300         candidates.  Call name_present and valid_locale_name to check and
32301         validate locale names.  Return an error if the locale is invalid.
32303 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32305         * locale/setlocale.c (setlocale): Use strdup for allocating
32306         composite name copy.
32308 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32310         Sync up with gnulib.
32311         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32312         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32313         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32314         and _GL_ARG_NONNULL.
32315         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32316         [!_LIBC]: Include code for Windows and Cygwin.
32317         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32318         Include prototype for int strerror_r.
32319         [!_LIBC] (is_open): New function.
32320         (flush_stdout): New function.
32321         (print_errno_message): Use it.
32322         (error): Likewise.
32323         (error_at_line): Likewise.
32324         (error_tail) Add function attribute macros.  Use
32325         __builtin_expect.
32327         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32329         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32331         * io/ftw.c: Include sys/param.h unconditionally.
32333         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32335         [BZ #17125]
32336         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32337         libc_freeres_ptr.
32338         (freecache): New function to free CACHE on exit.
32340         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32341         initialization.
32343 2014-07-09  David S. Miller  <davem@davemloft.net>
32345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32347         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32348         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32349         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32350         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32351         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32352         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32353         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32354         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32355         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32356         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32357         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32358         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32359         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32361 2014-07-09  Andreas Schwab  <schwab@suse.de>
32363         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32364         output.
32365         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32366         (do_test): Likewise.
32368         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32370 2014-07-09  Will Newton  <will.newton@linaro.org>
32372         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32373         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32374         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32375         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32376         * sysdeps/hppa/start.S (_start): Likewise.
32378 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32380         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32382         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32383         defined.
32385 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32387         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32388         after checking that it is non-NULL.
32390         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32392 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32394         * sysdeps/powerpc/memmove.c: Remove file.
32395         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32396         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32397         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32398         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32399         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32400         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32401         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32402         string memmove instead of removed powerpc one.
32404         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32405         [weak_alias]: Fix compiler warning due trailing data.
32406         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32407         [weak_alias]: Likewise.
32408         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32409         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32412         (__libc_ifunc_impl_list): Add memmove functions.
32414 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32416         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32417         Remove code.
32418         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32419         Likewise.
32420         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32421         Likewise.
32422         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32423         Likewise.
32424         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32425         Likewise.
32426         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32427         Likewise.
32428         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32429         Likewise.
32430         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32431         Likewise.
32432         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32433         Likewise.
32434         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32435         Likewise.
32436         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32437         Likewise.
32438         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32439         Likewise.
32440         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32441         Likewise.
32442         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32443         Likewise.
32444         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32445         Likewise.
32446         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32447         Likewise.
32448         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32449         Likewise.
32451 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32453         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32454         to avoid alignment traps in non-cacheable memory.
32455         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32458         multiarch objects.
32459         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32460         file: multiarch power7 memmove.
32461         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32462         multiarch default memmove.
32463         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32464         multiarch memove for powerpc32/power4.
32466         * string/bcopy.c: Use full path to include memmove.c.
32467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32468         multiarch objects.
32469         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32470         bcopy for powerpc64.
32471         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32472         bcopy for powerpc64.
32473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32474         and memmove implementations.
32475         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32476         optimized multiarch memmove for POWER7/powerpc64.
32477         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32478         default multiarch memmove for powerpc64.
32479         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32480         multiarch for powerpc64.
32481         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32482         for POWER7/powerpc64.
32483         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32484         memmove for POWER7/powerpc64.
32486         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32487         glibc default one.
32489         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32490         __ELF_NATIVE_CLASS equal to 64.
32492 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32494         * sysdeps/nptl/lowlevellock.h: File removed.
32496         * NEWS: NPTL is no longer an add-on!
32497         * nptl/internaltypes.h: Moved ...
32498         * sysdeps/nptl/internaltypes.h: ... here.
32499         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32500         * sysdeps/nptl/fork.c: Likewise.
32501         * sysdeps/nptl/gai_misc.h: Likewise.
32502         * sysdeps/nptl/librt-cancellation.c: Likewise.
32503         * sysdeps/nptl/jmp-unwind.c: Likewise.
32504         * sysdeps/nptl/setxid.h: Likewise.
32505         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32506         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32507         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32508         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32509         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32510         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32511         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32512         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32513         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32514         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32515         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32516         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32517         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32518         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32519         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32520         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32521         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32522         * nptl/Makeconfig: Moved ...
32523         * sysdeps/nptl/Makeconfig: ... here.
32524         * nptl/configure: File removed.
32525         * nptl/ANNOUNCE: File removed.
32526         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32527         * sysdeps/unix/sysv/linux/configure: Regenerated.
32529         * nptl/Makefile (routines): Add libc_pthread_init,
32530         libc_multiple_threads, register-atfork and unregister-atfork.
32531         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32532         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32533         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32534         pthread-pi-defines.sym, structsem.sym.
32535         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32536         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32537         [$(subdir) = nptl] (tests): Add tst-setgetname.
32538         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32539         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32540         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32541         [!LIBC_SIGACTION]: Remove aliases.
32542         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32543         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32544         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32545         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32546         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32547         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32548         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32549         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32550         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32551         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32552         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32553         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32554         __libc_allocate_rtsig_private.
32555         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32556         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32557         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32558         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32559         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32560         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32561         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32562         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32563         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32564         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32565         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32566         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32567         * nptl/internaltypes.h: ... here.
32568         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32569         * sysdeps/nptl/jmp-unwind.c: ... here.
32570         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32571         * nptl/libc-lowlevellock.c: ... here.
32572         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32573         * nptl/libc_multiple_threads.c: ... here.
32574         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32575         * nptl/libc_pthread_init.c: ... here.
32576         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32577         * nptl/lowlevelbarrier.sym: ... here.
32578         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32579         * nptl/lowlevelcond.sym: ... here.
32580         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32581         * nptl/lowlevellock.c: ... here.
32582         * nptl/lowlevellock.h: Moved ...
32583         * sysdeps/nptl/lowlevellock.h: ... here.
32584         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32585         * nptl/lowlevelrobustlock.c: ... here.
32586         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32587         * nptl/lowlevelrobustlock.sym: ... here.
32588         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32589         * nptl/lowlevelrwlock.sym: ... here.
32590         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32591         * nptl/pt-fork.c: ... here.
32592         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32593         * nptl/pthread-pi-defines.sym: ... here.
32594         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32595         * nptl/pthread_attr_getaffinity.c: ... here.
32596         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32597         * nptl/pthread_attr_setaffinity.c: ... here.
32598         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32599         * nptl/pthread_mutex_cond_lock.c: ... here.
32600         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32601         Update #include.
32602         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32603         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32604         * nptl/pthread_once.c: ... here, replacing old file.
32605         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32606         * nptl/pthread_yield.c: ... here.
32607         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32608         * nptl/register-atfork.c: ... here.
32609         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32610         * nptl/sem_post.c: ... here.
32611         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32612         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32613         * nptl/sem_timedwait.c: ... here.
32614         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32615         * nptl/sem_trywait.c: ... here.
32616         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32617         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32618         * nptl/sem_wait.c: ... here.
32619         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32620         * nptl/structsem.sym: ... here.
32621         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32622         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32623         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32624         * nptl/unregister-atfork.c: ... here.
32625         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32626         * nptl/unwindbuf.sym: ... here.
32627         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32628         * sysdeps/nptl/fork.c: ... here.
32629         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32630         * sysdeps/nptl/fork.h: ... here.
32631         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32632         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32633         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32634         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32635         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32636         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32637         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32638         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32639         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32640         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32641         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32642         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32643         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32644         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32645         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32646         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32647         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32648         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32649         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32650         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32651         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32652         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32653         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32654         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32655         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32656         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32657         * sysdeps/unix/sysv/linux/raise.c: ... here.
32658         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32659         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32660         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32661         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32662         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32663         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32664         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32665         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32666         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32667         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32668         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32669         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32670         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32671         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32672         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32674 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32676         * sysdeps/generic/memcopy.h: Add comment for
32677         MEMCPY_OK_FOR_FWD_MEMMOVE.
32679 2014-07-04  Will Newton  <will.newton@linaro.org>
32681         * string/memchr.c: Merge from gnulib.
32682         [_LIBC]: Remove conditionals.
32683         (__ptr_t): Remove define.
32684         (LONG_MAX_32_BITS): Likewise.
32685         (LONG_MAX): Likewise.
32686         (MEMCHR): Use ANSI prototype and optimize algorithm.
32688         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32690 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32692         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32693         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32695         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32696         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32697         in a bare environment with no <stdlib.h> installed.
32698         * sysdeps/nptl/configure: Regenerated.
32700         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32702         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32703         AC_EGREP_CPP for kernel header checks, so they only succeed if
32704         including <linux/version.h> actually works right.
32705         * sysdeps/unix/sysv/linux/configure: Regenerated.
32707         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32708         value so it's not diagnosed as unused.
32710         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32711         thing) with "ifeq ($(subdir),rt)".
32713 2014-07-03  Richard Henderson  <rth@redhat.com>
32715         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32716         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32717         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32719         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32720         (math_force_eval): New.
32722         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32723         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32725         * sysdeps/alpha/fpu/s_round.c: Remove file.
32726         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32728         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32729         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32730         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32731         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32732         (_dl_start, print_statistics): Likewise.
32733         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32734         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32736         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32737         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32738         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32739         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32740         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32741         (HP_SMALL_TIMING_AVAIL): Define.
32742         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32743         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32744         (HP_SMALL_TIMING_AVAIL): Define.
32745         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32746         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32748         * sysdeps/aarch64/hp-timing.h: New file.
32750         * sysdeps/generic/hp-timing.h: Remove dead comment.
32751         * sysdeps/generic/hp-timing-common.h: New file.
32752         * sysdeps/alpha/hp-timing.h: Include it.
32753         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32754         * sysdeps/i386/i686/hp-timing.h: Likewise.
32755         * sysdeps/ia64/hp-timing.h: Likewise.
32756         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32757         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32758         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32759         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32760         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32761         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32762         (hp_timing_t): New.
32764         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32765         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32766         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32767         * elf/rtld.c (_dl_start_final): Likewise.
32768         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32769         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32770         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32771         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32772         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32773         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32774         (HP_TIMING_DIFF_INIT): Remove.
32775         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32776         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32777         (HP_TIMING_DIFF_INIT): Remove.
32778         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32779         * sysdeps/i386/i686/hp-timing.c: Remove file.
32780         * sysdeps/x86_64/hp-timing.c: Remove file.
32781         * sysdeps/ia64/hp-timing.c: Remove file.
32782         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32783         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32784         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32785         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32787         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32788         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32789         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32790         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32791         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32792         (HP_TIMING_ACCUM): Remove.
32793         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32794         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32795         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32797         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32798         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32799         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32800         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32802         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32803         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32804         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32806         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32808 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32810         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32812 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32814         Sync up with gettext.
32815         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32816         [_MSC_VER]: Include malloc.h
32817         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32818         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32819         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32820         TEMP_FAILURE_RETRY.  Cast return of alloca.
32821         [!_LIBC] Call gl_rwlock_init.
32822         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32824 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32826         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32827         before checking its value.
32829 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32831         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32833         * debug/memcpy_chk.c: Don't include pagecopy.h.
32834         * debug/mempcpy_chk.c: Likewise.
32835         * string/memcpy.c: Likewise.
32836         * string/memmove.c: Likewise.
32837         * sysdeps/powerpc/memmove.c: Likewise.
32838         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32839         definition of PAGE_COPY_FWD_MAYBE here...
32840         * sysdeps/generic/pagecopy.h: ... from here.
32841         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32843 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32844             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32846         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32848         optimizations.
32849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32850         (__libc_ifunc_impl_list): Likewise.
32851         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32852         multiarch strcat for PPC64.
32853         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32854         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32856 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32858         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32860 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32862         * intl/loadmsgcat.c: Remove declaration of
32863         get_sysdep_segment_value.
32864         (get_sysdep_segment_value): Use ISO C style.
32865         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32866         semicolon.  Fix typo and formatting in comment.
32867         (_nl_unload_domain): Use ISO C style.
32869         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32871 2014-07-02  Will Newton  <will.newton@linaro.org>
32873         * malloc/obstack.c: Merge from gnulib master.
32874         [HAVE_CONFIG_H]: Remove conditional code.
32875         [!_LIBC]: Include config.h.
32876         [!ELIDE_CODE]: Don't include inttypes.h, include
32877         stdint.h unconditionally.
32878         (print_and_abort): Mark as _Noreturn.
32879         (_obstack_allocated_p): Mark as __attribute_pure__.
32880         (obstack_free): Rename to __obstack_free.
32881         [!__attribute__]: Remove conditional code.
32882         * malloc/obstack.h: Merge from gnulib master.
32883         [__cplusplus]: Move conditional down.
32884         [!__attribute_pure__]: Define __attribute_pure__ here
32885         if it is not already defined.
32886         (_obstack_memory_used): Mark as __attribute_pure__.
32887         [!__obstack_free]: Define as obstack_free.
32888         [__GNUC__]: Remove check for ancient NeXT gcc.
32890 2014-07-02  Will Newton  <will.newton@linaro.org>
32891             Paul Eggert  <eggert@cs.ucla.edu>
32893         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32895 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32897         * resolv/gethnamaddr.c: Add comment warning that the file is
32898         not maintained.
32900 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32902         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32903         entries.
32905         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32906         entry for aio_cancel and aio_cancel64.
32907         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32908         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32909         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32910         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32911         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32912         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32913         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32914         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32915         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32916         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32917         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32918         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32919         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32921 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32923         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32924         * nptl/pthread_mutex_lock.c: Likewise.
32925         * nptl/pthread_mutex_timedlock.c: Likewise.
32926         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32928 2014-07-01  Richard henderson  <rth@redhat.com>
32930         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32931         (__isnan, __isnanl): Remove.
32932         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32934         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32936 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32938         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32940 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32942         * resolv/nss_dns/dns-host.c (getanswer_r)
32943         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32945 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32947         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32948         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32949         undefine.
32950         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32951         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32953 2014-07-01  Roland McGrath <roland@hack.frob.com>
32955         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32956         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32958         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32959         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32961         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32962         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32963         ... here.
32964         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32965         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32967         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32968         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32969         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32970         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32972         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32973         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32974         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32975         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32976         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32977         Moved ...
32978         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32979         ... here.
32980         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32981         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32982         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32983         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32984         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32985         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32986         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32987         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32988         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32989         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32990         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32991         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32992         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32993         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32994         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32995         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32996         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32997         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32998         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32999         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
33000         ... here.
33001         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
33002         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
33003         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
33004         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
33005         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
33006         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
33007         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
33008         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
33010 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
33012         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
33013         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
33014         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
33015         Add sysdep.
33017 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33021 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33023         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33024         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33026         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33028         * sysdeps/arm/libm-test-ulps: Regenerated.
33030 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33031             Roland McGrath <roland@hack.frob.com>
33033         * test-skeleton.c (signal_handler): Kill the whole process group
33034         before killing the child individually.
33035         (main): Report any failure on `setpgid'.
33037 2014-06-30  Roland McGrath  <roland@hack.frob.com>
33039         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
33040         from _TLS_H to _ARM_NPTL_TLS_H.
33041         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33042         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
33044 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33046         [BZ #16539]
33047         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
33048         (__expm1l): Return argument unchanged when small but not
33049         subnormal.
33051         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33052         include macro name.
33053         (_FP_UNPACK_RAW_1_P): Likewise.
33054         (_FP_PACK_RAW_1): Likewise.
33055         (_FP_PACK_RAW_1_P): Likewise.
33056         (_FP_MUL_MEAT_1_wide): Likewise.
33057         (_FP_MUL_MEAT_DW_1_hard): Likewise.
33058         (_FP_MUL_MEAT_1_hard): Likewise.
33059         (_FP_DIV_MEAT_1_imm): Likewise.
33060         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
33061         (_FP_DIV_MEAT_1_udiv): Likewise.
33062         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
33063         (_FP_UNPACK_RAW_2): Likewise.
33064         (_FP_UNPACK_RAW_2_P): Likewise.
33065         (_FP_PACK_RAW_2): Likewise.
33066         (_FP_PACK_RAW_2_P): Likewise.
33067         (_FP_MUL_MEAT_DW_2_wide): Likewise.
33068         (_FP_MUL_MEAT_2_wide): Likewise.
33069         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
33070         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33071         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
33072         (_FP_MUL_MEAT_2_gmp): Likewise.
33073         (_FP_DIV_MEAT_2_udiv): Likewise.
33074         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
33075         (_FP_FRAC_SRL_4): Likewise.
33076         (_FP_FRAC_SRST_4): Likewise.
33077         (_FP_FRAC_SRS_4): Likewise.
33078         (_FP_UNPACK_RAW_4): Likewise.
33079         (_FP_UNPACK_RAW_4_P): Likewise.
33080         (_FP_PACK_RAW_4): Likewise.
33081         (_FP_PACK_RAW_4_P): Likewise.
33082         (_FP_MUL_MEAT_DW_4_wide): Likewise.
33083         (_FP_MUL_MEAT_4_wide): Likewise.
33084         (_FP_MUL_MEAT_4_gmp): Likewise.
33085         (umul_ppppmnnn): Likewise.
33086         (_FP_DIV_MEAT_4_udiv): Likewise.
33087         (__FP_FRAC_ADD_4): Likewise.
33088         (__FP_FRAC_SUB_3): Likewise.
33089         (__FP_FRAC_SUB_4): Likewise.
33090         (__FP_FRAC_DEC_3): Likewise.
33091         (__FP_FRAC_DEC_4): Likewise.
33092         (__FP_FRAC_ADDI_4): Likewise.
33093         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
33094         (_FP_FRAC_SRL_8): Likewise.
33095         (_FP_FRAC_SRS_8): Likewise.
33097         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
33098         include macro name.
33099         (FP_UNPACK_RAW_EP): Likewise.
33100         (FP_PACK_RAW_E): Likewise.
33101         (FP_PACK_RAW_EP): Likewise.
33102         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
33103         (_FP_ISSIGNAN): Likewise.
33104         (_FP_ADD_INTERNAL): Likewise.
33105         (_FP_FMA): Likewise.
33106         (_FP_CMP): Likewise.
33107         (_FP_SQRT): Likewise.
33108         (_FP_TO_INT): Likewise.
33109         (_FP_FROM_INT): Likewise.
33110         (FP_EXTEND): Likewise.
33111         (_FP_DIV_MEAT_N_loop): Likewise.
33113 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33115         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
33116         throughout.
33118 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
33120         [BZ #17097]
33121         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33122         result with correct sign in case of exponents that produce
33123         overflow except for X very close to 1.
33125 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
33127         mktime: merge #if/#ifdef usage from glibc
33128         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33129         as that works with both Glibc's and Gnulib's style.
33130         See thread starting at Siddhesh Poyarekar's bug report at:
33131         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33133 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33135         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33136         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33137         * sysdeps/tile/tilegx/memmove.c: Remove file.
33139 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33141         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
33142         abi-name definition.
33143         * scripts/soversions.awk: Do not handle or generate ABI lines.
33144         * shlib-versions: Remove ABI entries.
33145         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33146         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
33148 2014-06-27  Roland McGrath  <roland@hack.frob.com>
33150         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
33151         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
33152         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
33153         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
33154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33155         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33157         Moved ...
33158         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33159         ... here.
33160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33161         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33162         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33163         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33165         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33167         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33169         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33171         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33173         Moved ...
33174         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33176         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33177         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33178         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33179         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33180         Moved ...
33181         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33183         Moved ...
33184         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33186         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33188         Moved ...
33189         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33191         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33193         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33195         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33197         Moved ...
33198         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33199         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33200         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33201         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33202         Moved ...
33203         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33204         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33205         Moved ...
33206         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33207         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33208         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33209         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33210         Moved ...
33211         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33212         ... here.
33213         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33214         Identical file removed.
33215         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33216         Moved ...
33217         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33218         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33219         Identical file removed.
33220         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33221         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33222         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33223         Moved ...
33224         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33225         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33226         Identical file removed.
33227         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33228         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33229         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33230         Identical file removed.
33231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33232         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33233         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33234         Identical file removed.
33235         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33236         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33237         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33238         Identical file removed.
33239         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33240         Moved ...
33241         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33242         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33243         Identical file removed.
33244         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33245         Moved ...
33246         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33247         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33248         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33250         Identical file removed.
33251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33252         Moved ...
33253         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33254         ... here.
33255         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33256         Identical file removed.
33257         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33258         Moved ...
33259         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33260         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33261         Identical file removed.
33262         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33263         Moved ...
33264         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33265         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33266         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33268         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33269         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33270         Moved ...
33271         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33272         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33273         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33275         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33276         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33277         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33278         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33279         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33281 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33283         [BZ #17092]
33284         * nscd/nscd.c (monitor_child): Return exit status of child
33285         instead of return value from wait syscall.
33287 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33289         * configure.ac (libc_commonpagesize): Remove variable.
33290         (libc_relro_required): Likewise.
33291         (libc_cv_z_relro): Remove configure test.
33292         * configure: Regenerated.
33293         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33294         variable.
33295         (libc_relro_required): Likewise.
33296         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33297         (libc_relro_required): Likewise.
33298         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33299         (libc_relro_required): Likewise.
33300         * sysdeps/arm/preconfigure: Regenerated.
33301         * sysdeps/ia64/preconfigure: Remove file.
33302         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33303         variable.
33304         (libc_relro_required): Likewise.
33306         [BZ #16561]
33307         [BZ #16562]
33308         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33309         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33310         recompute overflowing results in original rounding mode.
33311         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33312         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33313         recompute overflowing results in original rounding mode.
33314         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33315         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33316         recompute overflowing results in original rounding mode.
33317         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33318         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33319         recompute overflowing results in original rounding mode.
33320         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33321         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33322         recompute overflowing results in original rounding mode.
33323         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33324         (libc_feholdsetround_ctx): New macro.
33325         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33326         * sysdeps/i386/fpu/libm-test-ulps: Update.
33327         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33329 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33331         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33332         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33333         corresponding .cpsetup call.
33335 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33337         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33338         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33339         * sysdeps/arm/Makefile [$(subdir) = csu]
33340         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33341         (static-only-routines): Add aeabi_read_tp here.
33342         (shared-only-routines): Add libc-aeabi_read_tp here.
33343         (CFLAGS-libc-start.c): Add -fexceptions here.
33344         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33345         (sysdep_routines, static-only-routines, shared-only-routines):
33346         Don't add to these here.
33347         (CFLAGS-libc-start.c): Likewise.
33349         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33350         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33351         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33352         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33353         * sysdeps/arm/Makefile [$(subdir) = rt]
33354         (librt-sysdep_routines, librt-shared-only-routines):
33355         Append rt-aeabi_unwind_cpp_pr1 here.
33356         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33357         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33358         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33359         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33360         Append nptl-aeabi_unwind_cpp_pr1 here.
33361         (tests): Filter out tst-cleanupx4 here.
33362         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33363         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33364         Don't do those here.
33366 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33368         * scripts/list-sources.sh: Do not handle ports specially.
33370 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33372         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33373         * sysdeps/arm/feupdateenv.c: Likewise.
33375         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33377 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33379         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33380         trailing whitespace removed.
33381         * scripts/config.guess: Update to version 2014-03-23.
33382         * scripts/config.sub: Update to version 2014-05-01
33383         * scripts/install-sh: Update to version 2013-12-25.23.
33384         * scripts/move-if-change: Update from gnulib.
33386 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33388         * debug/memmove_chk.c: Remove pagecopy.h include.
33390 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33392         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33393         identical to gnulib mktime.
33395 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33397         * configure.ac: Do not test for machine being rs6000.  Do not test
33398         for powerpc*-*soft.
33399         * configure: Regenerated.
33401         [BZ #11505]
33402         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33403         test.
33404         * configure: Regenerated.
33405         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33406         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33407         Remove configure test.
33408         * sysdeps/arm/configure: Regenerated.
33409         * sysdeps/nptl/configure.ac: Do not check
33410         libc_cv_asm_cfi_directives.
33411         * sysdeps/nptl/configure: Regenerated.
33412         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33413         * sysdeps/x86_64/nptl/configure: Remove generated file.
33414         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33415         unconditional.
33416         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33418 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33420         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33421         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33422         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33423         it is defined.
33425         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33426         instead of whether it is defined.
33427         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33428         * sysdeps/hppa/dl-machine.h: Likewise.
33429         * sysdeps/ia64/dl-machine.h: Likewise.
33430         * sysdeps/m68k/dl-machine.h: Likewise.
33431         * sysdeps/microblaze/dl-machine.h: Likewise.
33432         * sysdeps/mips/dl-machine.: Likewise.
33433         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33434         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33435         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33436         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33437         * sysdeps/sh/dl-machine.h: Likewise.
33438         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33439         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33440         * sysdeps/tile/dl-machine.h: Likewise.
33441         * sysdeps/x86_64/dl-machine.h: Likewise.
33443         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33444         code.
33445         (verify_persistent_db): Likewise.
33447 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33450         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33452         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33454         Moved ...
33455         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33456         ... here.
33457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33458         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33460         Identical file removed.
33461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33462         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33464         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33466         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33468         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33470         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33472         Moved ...
33473         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33475         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33477         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33479         Moved ...
33480         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33482         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33484         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33486         Identical file removed.
33487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33488         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33490         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33492         Moved ...
33493         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33494         ... here.
33495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33496         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33498         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33500         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33502         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33504         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33506         Moved ...
33507         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33509         Moved ...
33510         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33512         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33514         Moved ...
33515         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33517         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33519         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33520         folded into ...
33521         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33522         * sysdeps/unix/sysv/linux/s390/Versions
33523         (libpthread: GLIBC_2.19): New version set.
33524         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33525         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33526         (librt: GLIBC_2.3.3): New version set.
33527         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33528         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33529         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33530         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33531         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33532         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33533         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33534         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33535         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33536         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33537         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33538         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33539         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33540         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33541         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33542         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33543         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33544         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33545         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33546         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33547         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33548         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33549         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33550         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33551         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33552         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33553         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33554         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33555         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33556         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33557         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33558         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33559         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33560         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33561         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33562         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33563         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33565         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33567         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33569         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33570         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33571         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33573         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33574         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33575         (__libc_vfork): Define the function under this name.
33576         [!NOT_IN_libc] (__vfork): Make this an alias.
33577         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33578         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33579         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33580         (__libc_vfork): Define the function under this name.
33581         [!NOT_IN_libc] (__vfork): Make this an alias.
33582         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33583         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33584         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33585         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33586         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33587         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33589         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33590         code that was previously under [RESET_PID].
33591         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33592         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33593         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33595         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33596         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33597         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33598         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33599         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33600         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33601         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33602         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33603         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33604         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33605         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33606         Moved ...
33607         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33608         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33609         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33610         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33611         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33612         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33613         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33614         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33615         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33616         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33617         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33618         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33619         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33620         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33621         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33622         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33623         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33624         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33625         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33626         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33627         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33628         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33629         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33630         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33631         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33632         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33633         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33634         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33635         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33637 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33639         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33640         that was previously under [RESET_PID].
33641         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33643 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33645         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33646         not undefine and redefine.
33647         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33648         [O_CLOEXEC]: Make code unconditional.
33649         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33650         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33651         <kernel-features.h>.
33652         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33653         conditional variable definition.
33654         (shm_open) [O_CLOEXEC]: Make code unconditional.
33655         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33656         code.
33658         * configure.ac (USE_REGPARMS): Don't define here.
33659         * configure: Regenerated.
33660         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33661         * sysdeps/i386/configure: Regenerated.
33663         * nptl/createthread.c: Don't include kernel-features.h.
33664         * nptl/pthread_cancel.c: Likewise.
33665         * nptl/pthread_condattr_setclock.c: Likewise.
33666         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33667         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33668         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33669         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33670         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33671         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33672         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33673         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33674         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33675         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33676         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33677         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33678         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33679         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33680         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33681         * nscd/gai.c: Likewise.
33682         * nss/nss_db/db-open.c: Likewise.
33683         * sysdeps/generic/ldsodefs.h: Likewise.
33684         * sysdeps/sh/nptl/tls.h: Likewise.
33685         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33686         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33687         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33688         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33689         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33690         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33691         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33692         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33693         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33694         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33695         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33696         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33697         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33698         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33699         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33700         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33701         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33702         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33703         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33704         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33705         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33706         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33707         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33708         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33709         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33710         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33711         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33712         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33713         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33714         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33715         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33716         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33717         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33718         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33719         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33720         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33721         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33722         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33723         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33724         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33725         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33726         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33727         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33728         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33729         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33730         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33731         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33732         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33733         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33734         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33735         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33736         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33737         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33738         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33739         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33740         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33741         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33742         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33765         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33766         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33767         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33768         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33769         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33770         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33771         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33772         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33773         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33774         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33775         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33776         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33777         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33778         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33779         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33780         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33781         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33782         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33783         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33784         * sysdeps/unix/sysv/linux/system.c: Likewise.
33785         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33786         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33787         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33788         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33789         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33790         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33791         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33793         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33794         * configure: Regenerated.
33795         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33797         * configure.ac (base_machine): Do not set specially for particular
33798         machines here.
33799         * configure: Regenerated.
33800         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33801         settings from configure.ac.
33802         * sysdeps/i386/preconfigure: New file.
33803         * sysdeps/s390/preconfigure: Likewise.
33804         * sysdeps/sh/preconfigure: Likewise.
33805         * sysdeps/sparc/preconfigure: Likewise.
33807 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33809         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33810         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33811         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33812         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33813         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33814         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33815         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33816         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33817         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33818         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33819         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33820         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33821         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33822         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33823         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33824         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33825         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33826         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33827         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33829         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33830         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33831         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33832         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33833         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33834         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33835         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33836         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33837         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33838         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33839         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33840         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33841         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33842         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33843         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33844         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33845         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33846         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33847         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33848         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33849         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33850         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33851         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33852         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33854         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33855         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33856         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33857         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33858         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33859         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33860         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33861         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33862         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33863         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33864         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33865         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33866         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33869         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33871         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33873         Moved ...
33874         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33875         ... here.
33876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33877         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33879         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33881         Moved ...
33882         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33884         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33886         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33888         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33890         Moved ...
33891         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33893         Moved ...
33894         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33896         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33898         Moved ...
33899         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33901         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33903         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33905         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33907         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33909         Moved ...
33910         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33911         ... here.
33912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33913         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33915         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33917         Moved ...
33918         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33920         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33922         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33924         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33926         Moved ...
33927         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33929         Moved ...
33930         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33932         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33934         Moved ...
33935         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33937         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33939         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33941 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33943         * timezone/checktab.awk: Update from tzcode 2014e.
33944         * timezone/private.h: Likewise.
33945         * timezone/tzfile.h: Likewise.
33946         * timezone/zdump.c: Likewise.
33947         * timezone/zic.c: Likewise.
33949         * sysdeps/unix/sysv/linux/kernel-features.h
33950         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33951         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33952         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33953         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33954         Remove conditional code.
33956 2014-06-25  Will Newton  <will.newton@linaro.org>
33958         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33959         (_dl_arm_cap_flags): Add HWCAP2 values.
33960         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33961         (_DL_HWCAP_COUNT): Increase to 37.
33962         (_DL_HWCAP_LAST): New define.
33963         (_DL_HWCAP2_LAST): New define.
33964         (_dl_procinfo): Add support for printing
33965         AT_HWCAP2 entries.
33966         (_dl_string_hwcap): Use _dl_hwcap_string.
33968 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33972 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33974         * README: Do not mention ports directory.
33976         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33977         Remove macro.
33978         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33979         <kernel-features.h>.
33980         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33981         conditional variable definition.
33982         (__futimes): Update comment.
33983         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33984         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33986         [BZ #16560]
33987         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33988         arguments close to 0.
33989         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33990         Likewise.
33991         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33992         Likewise.
33993         * math/auto-libm-test-in: Add more tests of exp10.
33994         * math/auto-libm-test-out: Regenerated.
33995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33997         * sysdeps/unix/sysv/linux/kernel-features.h
33998         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33999         * sysdeps/unix/sysv/linux/readv.c: Do not include
34000         <kernel-features.h>.
34001         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34002         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34003         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34004         unconditional.
34005         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34006         conditional code.
34007         * sysdeps/unix/sysv/linux/writev.c: Do not include
34008         <kernel-features.h>.
34009         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34010         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34011         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34012         unconditional.
34013         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34014         conditional code.
34016 2014-06-25  Will Newton  <will.newton@linaro.org>
34018         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
34019         comment changes throughout the file.  Remove checks
34020         for HAVE_*_H definitions that are not required.
34021         (__gen_tempname): Call abort if an unknown kind value is
34022         passed.
34024 2014-06-25  Andreas Schwab  <schwab@suse.de>
34026         [BZ #17086]
34027         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34028         scalbln, scalblnf, scalblnl in libc.
34030 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34032         [BZ #17086]
34033         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
34034         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34035         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34037 2014-06-24  Roland McGrath  <roland@hack.frob.com>
34039         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
34040         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
34041         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
34042         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
34043         Update #include.
34044         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
34045         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
34046         Update #include.
34047         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
34048         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34049         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
34050         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
34051         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
34052         * sysdeps/x86/bits/pthreadtypes.h: ... here.
34053         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
34054         * sysdeps/x86/bits/semaphore.h: ... here.
34055         * sysdeps/x86/nptl/elide.h: Moved ...
34056         * sysdeps/x86/elide.h: ... here.
34057         * sysdeps/x86_64/nptl/Implies: File removed.
34058         * sysdeps/i386/nptl/Implies: File removed.
34060 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
34062         [BZ #16539]
34063         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
34064         return the argument for normal arguments with exponent below -64.
34065         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34066         Likewise.
34067         * math/auto-libm-test-in: Add another test of expm1.
34068         * math/auto-libm-test-out: Regenerated.
34070         [BZ #16287]
34071         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
34072         calling __erfcl for arguments at least 16.
34073         * math/auto-libm-test-in: Add more tests of erf.
34074         * math/auto-libm-test-out: Regenerated.
34076         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
34077         individual architectures.
34078         * sysdeps/unix/sysv/linux/configure: Regenerated.
34079         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
34080         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
34081         * sysdeps/unix/sysv/linux/powerpc/configure.ac
34082         (ldd_rewrite_script): Define variable.
34083         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
34085         file.
34086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
34087         generated file.
34088         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
34089         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
34090         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
34091         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
34092         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
34093         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
34094         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
34095         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
34097 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34099         [BZ #17084]
34100         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34101         Rename member __data.d to __data.__elision_data.
34103 2014-06-24  Wilco  <wdijkstr@arm.com>
34105         * NEWS: Add 16918 to fixed bug list.
34107 2014-06-24  Wilco  <wdijkstr@arm.com>
34109         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
34111 2014-06-24  Wilco  <wdijkstr@arm.com>
34113         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
34114         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
34115         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
34116         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
34117         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
34118         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
34119         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
34120         Use _FPU_MASK_RM.
34122 2014-06-24  Wilco  <wdijkstr@arm.com>
34124         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34126 2014-06-24  Wilco  <wdijkstr@arm.com>
34128         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34129         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34130         * sysdeps/arm/fesetround.c (fesetround): Remove space.
34131         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34133 2014-06-24  Wilco  <wdijkstr@arm.com>
34135         [BZ #16918]
34136         * sysdeps/arm/feupdateenv.c (feupdateenv):
34137         Rewrite to reduce FPSCR accesses and fix return value.
34139 2014-06-24  Wilco  <wdijkstr@arm.com>
34141         * sysdeps/arm/fclrexcpt.c (feclearexcept):
34142         Optimize to avoid unnecessary FPSCR writes.
34143         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
34144         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
34145         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34146         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
34148 2014-06-24  Wilco  <wdijkstr@arm.com>
34150         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
34151         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
34152         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
34153         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
34154         Call libc_fetestexcept_vfp.
34155         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34156         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34157         __SOFTFP__ ifdef so that they can be built for softfp.
34159 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34161         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34162         argument type signed char.
34164         * Makerules (check-abi): Dump diff of symlist if the test
34165         fails.
34167 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34169         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34170         using abort.
34172         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34173         Remove unused variable ST.
34175 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34177         [BZ #16354]
34178         [BZ #17061]
34179         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34180         small arguments before calling __expm1.
34181         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34182         small arguments before calling __expm1f.
34183         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34184         small arguments before calling __expm1l.
34185         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34186         Likewise.
34187         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34188         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34189         spurious underflow for some cosh tests.
34190         * math/auto-libm-test-out: Regenerated.
34191         * sysdeps/i386/fpu/libm-test-ulps: Update.
34193         [BZ #17050]
34194         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34195         (__ieee754_y1): Set errno if return value overflows.
34196         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34197         (__ieee754_y1f): Set errno if return value overflows.
34198         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34199         (__ieee754_y1l): Set errno if return value overflows.
34200         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34201         (__ieee754_y1l): Set errno if return value overflows.
34202         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34203         * math/auto-libm-test-out: Regenerated.
34205         * math/gen-auto-libm-tests.c: Document use of
34206         ignore-zero-inf-sign.
34207         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34208         (input_flags): Add ignore-zero-inf-sign.
34209         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34210         * math/gen-libm-test.pl (generate_testfile): Handle
34211         ignore-zero-inf-sign.
34212         * math/auto-libm-test-in: Mark some cpow tests with
34213         ignore-zero-inf-sign and some with xfail-rounding.
34214         * math/auto-libm-test-out: Regenerated.
34215         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34216         * sysdeps/i386/fpu/libm-test-ulps: Update.
34217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34219         [BZ #16315]
34220         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34221         overflowing or underflowing operations take place with sign of
34222         result.
34223         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34224         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34225         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34226         (__ieee754_pow): Recompute overflowing and underflowing results in
34227         original rounding mode.
34228         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34229         (__powl_helper): Allow negative argument X and scale negated value
34230         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34231         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34232         overflowing or underflowing operations take place with sign of
34233         result.
34234         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34235         Include <math.h>.
34236         * math/auto-libm-test-in: Add more tests of pow.
34237         * math/auto-libm-test-out: Regenerated.
34238         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34239         (pow_tonearest_test_data): Remove.
34240         (pow_test_tonearest): Likewise.
34241         (pow_towardzero_test_data): Likewise.
34242         (pow_test_towardzero): Likewise.
34243         (pow_downward_test_data): Likewise.
34244         (pow_test_downward): Likewise.
34245         (pow_upward_test_data): Likewise.
34246         (pow_test_upward): Likewise.
34247         (main): Don't call removed functions.
34248         * sysdeps/i386/fpu/libm-test-ulps: Update.
34249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34251 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34254         Moved ...
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34257         Moved ...
34258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34260         Moved ...
34261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34263         Moved ...
34264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34266         File removed.
34267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34268         File removed.
34269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34270         File removed.
34271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34272         File removed.
34273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34274         File removed.
34275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34276         File removed.
34277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34278         File removed.
34279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34280         File removed.
34281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34282         File removed.
34283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34284         File removed.
34285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34286         File removed.
34287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34288         File removed.
34289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34290         Moved ...
34291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34293         Moved ...
34294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34295         ... here.
34296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34297         Moved ...
34298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34300         Moved ...
34301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34303         Moved ...
34304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34306         Moved ...
34307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34309         Moved ...
34310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34312         Moved ...
34313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34315         Moved ...
34316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34319         ... here.
34320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34321         Moved ...
34322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34324         Moved ...
34325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34326         ... here.
34327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34328         Moved ...
34329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34330         ... here.
34331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34332         Moved ...
34333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34334         ... here.
34335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34336         Moved ...
34337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34339         Moved ...
34340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34344         Moved ...
34345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34346         ... here.
34347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34348         Moved ...
34349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34350         ... here.
34351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34352         Moved ...
34353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34355         Moved ...
34356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34358         Moved ...
34359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34361         Moved ...
34362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34364         Moved ...
34365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34366         ... here.
34367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34368         Moved ...
34369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34371         Moved ...
34372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34374         Moved ...
34375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34377         Moved ...
34378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34382         Moved ...
34383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34385         Moved ...
34386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34388         Moved ...
34389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34390         ... here.
34391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34392         Moved ...
34393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34394         ... here.
34395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34396         Moved ...
34397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34398         ... here.
34399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34400         Moved ...
34401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34403         Moved ...
34404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34406         Moved ...
34407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34409         Moved ...
34410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34411         ... here.
34412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34413         Moved ...
34414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34415         ... here.
34416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34417         Moved ...
34418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34419         ... here.
34420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34421         Moved ...
34422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34424         Moved ...
34425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34427 2014-06-23  Will Newton  <will.newton@linaro.org>
34428             Wilco  <wdijkstr@arm.com>
34430         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34431         implementation.  Include get-rounding-mode.h.
34432         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34433         [!libc_feholdsetround_noex_ctx]: Define
34434         libc_feholdsetround_noex_ctx.
34435         [!libc_feholdsetround_noexf_ctx]: Define
34436         libc_feholdsetround_noexf_ctx.
34437         [!libc_feholdsetround_noexl_ctx]: Define
34438         libc_feholdsetround_noexl_ctx.
34439         (libc_feholdsetround_ctx): New function.
34440         (libc_feresetround_ctx): New function.
34441         (libc_feholdsetround_noex_ctx): New function.
34442         (libc_feresetround_noex_ctx): New function.
34444 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34446         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34447         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34448         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34449         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34450         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34451         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34453         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34454         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34455         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34456         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34457         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34458         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34459         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34460         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34461         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34462         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34463         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34464         Moved ...
34465         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34466         ... here.
34467         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34468         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34470         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34471         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34472         Moved ...
34473         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34474         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34475         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34476         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34477         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34479         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34481         Moved ...
34482         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34483         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34484         Moved ...
34485         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34486         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34487         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34488         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34489         Moved ...
34490         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34491         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34492         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34493         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34494         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34495         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34496         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34498         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34500         Moved ...
34501         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34502         ... here.
34503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34504         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34505         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34506         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34507         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34508         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34509         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34510         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34511         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34512         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34514         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34515         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34516         Moved ...
34517         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34518         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34519         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34520         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34521         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34522         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34523         Moved ...
34524         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34525         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34526         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34527         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34528         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34530         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34531         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34532         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34533         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34534         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34535         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34536         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34537         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34538         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34539         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34540         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34541         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34542         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34543         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34544         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34545         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34546         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34547         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34548         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34549         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34550         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34551         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34552         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34553         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34554         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34555         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34556         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34557         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34559 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34561         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34562         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34563         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34564         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34565         (IPV6_PMTUDISC_INTERFACE): Likewise.
34566         (IPV6_PMTUDISC_OMIT): Likewise.
34568 2014-06-23  Andreas Schwab  <schwab@suse.de>
34570         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34571         Remove unused errout label.
34573 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34575         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34576         macro: hardware supports Vector Crypto instructions.
34578 2014-06-23  Will Newton  <will.newton@linaro.org>
34580         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34581         rather than __builtin_expect.
34583         * elf/dl-lookup.c (undefined_msg): Remove variable.
34584         (_dl_lookup_symbol_x): Replace undefined_msg with string
34585         literal.
34587         * elf/dl-lookup.c (do_lookup_unique): New function.
34588         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34589         to a separate function.
34591 2014-06-23  Andreas Schwab  <schwab@suse.de>
34593         [BZ #17079]
34594         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34595         before reading the next line.
34597 2014-06-23  Will Newton  <will.newton@linaro.org>
34599         * test-skeleton.c (signal_handler): Use printf and %m
34600         rather than perror.  Use printf rather than fprintf to
34601         stderr.  Use puts rather than fputs to stderr.
34602         (main): Likewise.
34604 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34606         * nscd/nscd.c (thread_info_t): Remove typedef.
34607         (thread_info): Remove variable.
34609 2014-06-21  Allan McRae  <allan@archlinux.org>
34611         * NEWS: Mention CVE-2014-4043.
34613 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34615         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34616         * nptl/smp.h: ... here.
34618         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34620         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34621         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34622         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34623         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34625         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34626         * nptl/stack-aliasing.h: New file.
34627         * sysdeps/i386/i686/stack-aliasing.h: New file.
34628         * sysdeps/i386/i686/nptl/Makefile: File removed.
34629         * sysdeps/x86_64/stack-aliasing.h: New file.
34630         * sysdeps/x86_64/nptl/Makefile
34631         (CFLAGS-pthread_create.c): Variable removed.
34633         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34634         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34635         old file.
34636         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34637         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34638         old file.
34640 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34642         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34643         (__ASSUME_SIGFRAME_V2): Remove macro.
34644         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34645         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34646         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34647         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34648         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34649         Declare as function.  Remove conditional macro definitions.
34650         (__default_rt_sa_restorer): Likewise.
34651         (__default_sa_restorer_v1): Remove declaration.
34652         (__default_sa_restorer_v2): Likewise.
34653         (__default_rt_sa_restorer_v1): Likewise.
34654         (__default_rt_sa_restorer_v2): Likewise.
34655         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34656         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34657         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34659 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34661         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34662         (libpthread-routines): Add sysdep.
34663         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34664         * sysdeps/unix/sysv/linux/sparc/Versions
34665         (libpthread: GLIBC_2.3.3): New version set.
34666         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34667         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34668         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34669         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34670         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34671         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34672         Moved ...
34673         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34674         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34675         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34676         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34677         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34678         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34679         * sysdeps/sparc/nptl/sem_init.c: ... here.
34680         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34681         * sysdeps/sparc/nptl/sem_post.c: ... here.
34682         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34683         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34684         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34685         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34686         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34687         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34688         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34689         (libpthread-routines): Add cpu_relax.
34690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34691         File removed.
34692         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34693         (librt: GLIBC_2.3.3): New version set.
34694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34695         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34696         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34697         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34700         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34702         Moved ...
34703         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34705         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34707         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34709         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34711         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34713         Moved ...
34714         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34715         Update #include.
34716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34717         Moved ...
34718         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34719         Update #include.
34720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34721         Moved ...
34722         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34723         Update #include.
34724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34725         Moved ...
34726         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34727         Update #include.
34728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34729         Moved ...
34730         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34731         Update #include.
34732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34733         Moved ...
34734         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34735         Update #include.
34736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34737         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34739         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34741         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34743         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34745         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34747         Moved ...
34748         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34750         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34752         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34754 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34756         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34757         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34758         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34759         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34760         * nscd/nscd.c: Likewise.
34761         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34762         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34763         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34764         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34766         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34767         <kernel-features.h>.
34768         (init_mq_netlink): Remove conditional have_sock_cloexec
34769         definitions.  Remove code conditional on have_sock_cloexec < 0.
34770         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34771         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34772         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34773         <kernel-features.h>.
34774         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34775         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34777 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34780         Add tests for memset_chk and memset.
34782         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34783         with AVX2_Usable.
34785 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34787         [BZ #16046]
34788         * elf/tst-dl-iter-static.c: New file.
34789         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34791         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34792         error.
34794 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34796         * sysdeps/unix/sysv/linux/kernel-features.h
34797         (__ASSUME_F_GETOWN_EX): Remove macro.
34798         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34799         <kernel-features.h>.
34800         (miss_F_GETOWN_EX): Remove variable or macro.
34801         (do_fcntl): Do not check miss_F_GETOWN_EX.
34802         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34804         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34805         Remove macro.
34806         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34807         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34808         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34810         * sysdeps/unix/sysv/linux/kernel-features.h
34811         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34812         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34813         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34814         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34816 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34818         [BZ #17075]
34819         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34820         Fix calculation of the symbol's value.
34821         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34822         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34823         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34824         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34825         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34826         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34827         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34828         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34829         (modules-names): Add `tst-armtlsdescmod',
34830         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34831         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34832         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34833         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34834         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34835         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34836         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34837         ($(objpfx)tst-armtlsdescloc): New dependency.
34838         ($(objpfx)tst-armtlsdescextnow): Likewise.
34839         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34840         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34841         TLS scheme support.
34842         * sysdeps/arm/configure: Regenerate.
34844 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34846         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34847         (__atfct_seterrno_2): Likewise.
34848         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34849         <kernel-features.h>.
34850         (__ASSUME_ATFCTS): Do not undefine and redefine.
34851         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34852         (__have_atfcts): Remove conditional definition.
34853         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34854         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34855         unreachable if [__ASSUME_ATFCTS].
34856         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34857         not undefine and redefine.
34858         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34859         <kernel-features.h>.
34860         (faccessat) [__NR_faccessat]: Make code unconditional.
34861         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34862         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34863         <kernel-features.h>.
34864         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34865         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34866         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34867         <kernel-features.h>.
34868         (fchownat) [__NR_fchownat]: Make code unconditional.
34869         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34870         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34871         <kernel-features.h>.
34872         (futimesat) [__NR_futimesat]: Make code unconditional.
34873         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34874         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34875         <kernel-features.h>.
34876         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34877         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34878         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34879         <kernel-features.h>.
34880         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34881         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34882         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34883         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34884         <kernel-features.h>.
34885         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34886         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34887         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34888         <kernel-features.h>.
34889         (linkat) [__NR_linkat]: Make code unconditional.
34890         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34891         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34892         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34893         <kernel-features.h>.
34894         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34895         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34896         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34897         <kernel-features.h>.
34898         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34899         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34900         * sysdeps/unix/sysv/linux/openat.c: Do not include
34901         <kernel-features.h>.
34902         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34903         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34904         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34905         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34906         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34907         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34908         <kernel-features.h>.
34909         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34910         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34911         result of INLINE_SYSCALL directly, not via int variable.
34912         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34913         <kernel-features.h>.
34914         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34915         (renameat) [__NR_renameat]: Make code unconditional.
34916         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34917         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34918         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34919         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34920         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34921         (__ASSUME_ATFCTS): Do not undefine and redefine.
34922         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34923         <kernel-features.h>.
34924         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34925         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34926         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34927         <kernel-features.h>.
34928         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34929         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34930         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34931         (__ASSUME_ATFCTS): Do not undefine and redefine.
34932         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34933         <kernel-features.h>.
34934         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34935         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34936         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34937         <kernel-features.h>.
34938         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34939         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34941 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34943         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34945 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34947         [BZ #17069]
34948         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34949         constructed tree before returning error.
34950         * posix/bug-regexp36.c: Expand test case.
34952 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34954         [BZ #6803]
34955         * math/libm-test.inc (scalbln_test_date):
34956         Add errno expectations.
34957         * math/w_scalblnf.c: New File.
34958         Add wrapper which checks for setting errno to ERANGE.
34959         Add weak_alias for corresponding scalbln function.
34960         * math/w_scalbln.c: Likewise.
34961         * math/w_scalblnl.c: Likewise.
34962         * math/Makefile (libm-calls): Add w_scalbln.
34963         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34964         Remove weak_alias for corresponding scalbln function.
34965         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34966         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34967         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34968         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34969         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34970         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34971         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34972         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34973         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34974         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34975         Remove long_double_symbol for scalblnl function in libm, libc.
34976         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34977         Add wrapper which checks for setting errno to ERANGE.
34978         Add long_double_symbol for scalblnl function in libm, libc.
34979         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34980         Remove long_double_symbol for scalblnl in libm.
34981         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34982         Add wrapper which checks for setting errno to ERANGE.
34983         Add long_double_symbol for scalblnl function in libm.
34984         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34985         Do not use wrapper because of own implementation.
34987 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34989         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34990         3 bytes for __pad1 for x32.
34991         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34993 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34994             H.J. Lu  <hongjiu.lu@intel.com>
34996         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34997         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34998         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34999         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35000         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
35002 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
35004         [BZ #17069]
35005         * posix/regcomp.c (parse_expression): Deallocate partially
35006         constructed tree before returning error.
35007         * posix/Makefile.c (tests): Add bug-regex36.
35008         (generated): Add bug-regex36.mtrace.
35009         (tests-special): Add $(objpfx)bug-regex36-mem.out
35010         (bug-regex36-ENV): New variable.
35011         ($(objpfx)bug-regex36-mem.out): New rule.
35012         * posix/bug-regex36.c: New file.
35014 2014-06-19  Will Newton  <will.newton@linaro.org>
35016         * malloc/malloc.c (systrim): If extra is zero then return
35017         early.
35019 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35021         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
35023 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
35025         * sysdeps/aarch64/strchr.S: New file.
35027 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35029         [BZ #17022]
35030         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
35031         from arguments -2 or below.
35032         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35033         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
35035 2014-06-18  Andreas Schwab  <schwab@suse.de>
35037         [BZ #17062]
35038         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
35039         of a bracket expr not to run off the end of the string.
35040         * posix/Makefile (tests): Add tst-fnmatch3.
35041         * posix/tst-fnmatch3.c: New file.
35043 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35045         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
35046         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35047         [$(cross-compiling) = no]: Likewise.
35048         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35049         [$(cross-compiling) = no]: Likewise.
35051 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35053         [BZ #17031]
35054         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
35055         double, adjusted for any remainder from the high double.
35056         * math/libm-test.inc (nearbyint): Add tests.
35057         (rint): Likewise.
35059 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35061         * nptl/sysdeps/powerpc/Makefile: Moved ...
35062         * sysdeps/powerpc/nptl/Makefile: ... here.
35063         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
35064         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
35065         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
35066         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
35067         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
35068         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
35069         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
35070         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
35071         * nptl/sysdeps/powerpc/tls.h: Moved ...
35072         * sysdeps/powerpc/nptl/tls.h: ... here.
35074 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
35076         [BZ #16681]
35077         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
35078         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
35079         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
35080         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
35081         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
35082         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
35083         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
35084         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
35085         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
35087 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
35089         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35091 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
35093         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
35094         defined operator.
35096         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
35097         $TIMEOUTFACTOR.
35099 2014-06-16  Florian Weimer  <fweimer@redhat.com>
35101         [BZ #17058]
35102         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
35103         non-executed part of the test.
35105 2014-06-16  Andreas Schwab  <schwab@suse.de>
35107         * string/bits/string2.h (strdup, strndup): Update feature guard.
35109 2014-06-14  David S. Miller  <davem@davemloft.net>
35111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35113 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
35115         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
35116         that was previously under [RESET_PID].
35117         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
35119         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
35120         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
35121         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35122         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35123         (__libc_vfork): New strong alias.
35124         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35126 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35128         * sysdeps/generic/elide.h: New file.
35130 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35132         * Makefile (installed-headers): Adjust path of pthread.h header.
35134 2014-06-13  Roland McGrath  <roland@hack.frob.com>
35136         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35137         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35138         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35139         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
35141         * nptl/sysdeps/s390/Makefile: Moved ...
35142         * sysdeps/s390/nptl/Makefile: ... here.
35143         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
35144         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
35145         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35146         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35147         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
35148         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
35149         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
35150         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35151         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
35152         * sysdeps/s390/nptl/pthreaddef.h: ... here.
35153         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
35154         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35155         * nptl/sysdeps/s390/tls.h: Moved ...
35156         * sysdeps/s390/nptl/tls.h: ... here.
35158         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35159         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35161 2014-06-13  David S. Miller  <davem@davemloft.net>
35163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35166         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35170         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35171         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35172         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35173         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35174         Remove RESET_PID cpp guards.
35175         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35176         Remove RESET_PID cpp guards.
35177         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35179 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35181         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35182         __sp to uintptr_t.
35184 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35186         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35187         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35188         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35189         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35190         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35191         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35192         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35194         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35195         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35196         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35197         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35198         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35199         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35200         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35201         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35202         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35203         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35204         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35205         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35207         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35208         (pthread_rwlock_rdlock): Add elision.
35209         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35210         (pthread_rwlock_wrlock): Add elision.
35211         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35212         (pthread_rwlock_trywrlock): Add elision.
35213         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35214         (pthread_rwlock_tryrdlock): Add elision.
35215         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35216         (pthread_rwlock_tryrdlock): Add elision unlock.
35217         * nptl/sysdeps/pthread/pthread.h:
35218         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35219         (PTHREAD_RWLOCK_INITIALIZER,
35220         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35221         Handle new elision field.
35222         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35223         * sysdeps/arm/nptl/bits/pthreadtypes.h
35224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35225         * sysdeps/sh/nptl/bits/pthreadtypes.h
35226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35227         * sysdeps/tile/nptl/bits/pthreadtypes.h
35228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35229         * sysdeps/a/nptl/bits/pthreadtypes.h
35230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35231         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35233         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35235         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35237         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35239         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35241         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35243         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35245         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35247         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35248         (elision_init): Set try_xbegin to zero when no RTM.
35249         * sysdeps/x86/nptl/bits/pthreadtypes.h
35250         (pthread_rwlock_t): Change __pad1 to __rwelision.
35251         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35253 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35255         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35256         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35257         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35258         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35260 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35262         [BZ #16996]
35263         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35264         that the cached result has been set before returning it.
35266 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35268         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35269         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35270         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35271         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35272         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35273         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35275         * nptl/sysdeps/sparc/Makefile: Moved ...
35276         * sysdeps/sparc/nptl/Makefile: ... here.
35277         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35278         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35279         * nptl/sysdeps/sparc/tls.h: Moved ...
35280         * sysdeps/sparc/nptl/tls.h: ... here.
35281         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35282         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35283         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35284         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35285         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35286         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35287         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35288         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35289         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35290         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35291         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35292         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35293         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35294         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35295         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35296         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35297         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35298         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35299         Update #include.
35300         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35301         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35302         Update #include.
35303         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35304         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35305         Update #include.
35306         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35307         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35308         Update #include.
35310         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35312         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35313         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35315         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35316         (struct list_links): Type removed.
35317         (struct thread_node, struct timer_node): Replace struct list_links
35318         with struct list_head.
35319         (list_unlink_ip): Likewise.
35320         * sysdeps/pthread/timer_routines.c
35321         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35322         (list_append, list_insbefore): Likewise.
35323         (list_init): Function removed.
35324         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35325         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35326         * sysdeps/pthread/Makefile: ... here, new file.
35328         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35329         * sysdeps/nptl/Implies: ... here.
35330         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35331         * nptl/sysdeps/pthread/list.h: Moved ...
35332         * include/list.h: ... here.
35333         * nptl/sysdeps/pthread/createthread.c: Moved ...
35334         * nptl/createthread.c: ... here.
35335         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35336         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35337         * nptl/pt-longjmp.c: ... here.
35338         * nptl/sysdeps/pthread/Makefile: Moved ...
35339         * sysdeps/nptl/Makefile: ... here.
35340         * nptl/sysdeps/pthread/Subdirs: Moved ...
35341         * sysdeps/nptl/Subdirs: ... here.
35342         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35343         * sysdeps/nptl/aio_misc.h: ... here.
35344         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35345         * sysdeps/nptl/bits/libc-lock.h: ... here.
35346         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35347         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35348         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35349         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35350         * nptl/sysdeps/pthread/configure: Moved ...
35351         * sysdeps/nptl/configure: ... here.
35352         * nptl/sysdeps/pthread/configure.ac: Moved ...
35353         * sysdeps/nptl/configure.ac: ... here.
35354         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35355         * sysdeps/nptl/gai_misc.h: ... here.
35356         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35357         * sysdeps/nptl/librt-cancellation.c: ... here.
35358         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35359         * sysdeps/nptl/malloc-machine.h: ... here.
35360         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35361         * sysdeps/nptl/pthread-functions.h: ... here.
35362         * nptl/sysdeps/pthread/pthread.h: Moved ...
35363         * sysdeps/nptl/pthread.h: ... here.
35364         * nptl/sysdeps/pthread/setxid.h: Moved ...
35365         * sysdeps/nptl/setxid.h: ... here.
35366         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35367         * sysdeps/nptl/sigfillset.c: ... here.
35368         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35369         * sysdeps/nptl/tcb-offsets.h: ... here.
35370         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35371         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35372         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35373         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35374         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35375         * sysdeps/pthread/allocalim.h: ... here.
35376         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35377         * sysdeps/pthread/bits/sigthread.h: ... here.
35378         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35379         * sysdeps/pthread/flockfile.c: ... here.
35380         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35381         * sysdeps/pthread/ftrylockfile.c: ... here.
35382         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35383         * sysdeps/pthread/funlockfile.c: ... here.
35384         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35385         * sysdeps/pthread/posix-timer.h: ... here.
35386         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35387         * sysdeps/pthread/timer_create.c: ... here.
35388         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35389         * sysdeps/pthread/timer_delete.c: ... here.
35390         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35391         * sysdeps/pthread/timer_getoverr.c: ... here.
35392         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35393         * sysdeps/pthread/timer_gettime.c: ... here.
35394         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35395         * sysdeps/pthread/timer_routines.c: ... here.
35396         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35397         * sysdeps/pthread/timer_settime.c: ... here.
35398         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35399         * sysdeps/pthread/tst-timer.c: ... here.
35400         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35401         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35403         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35404         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35406         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35407         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35408         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35409         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35410         Update #include target.
35411         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35412         * sysdeps/i386/i686/nptl/Makefile: ... here.
35413         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35414         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35415         Update #include target.
35416         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35417         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35418         * nptl/sysdeps/i386/Makefile: Moved ...
35419         * sysdeps/i386/nptl/Makefile: ... here.
35420         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35421         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35422         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35423         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35424         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35425         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35426         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35427         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35428         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35429         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35430         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35431         * nptl/sysdeps/i386/tls.h: Moved ...
35432         * sysdeps/i386/nptl/tls.h: ... here.
35434         * sysdeps/sh/Makefile [$(subdir) = csu]
35435         (gen-as-const-headers): Add tcb-offsets.sym.
35436         * nptl/sysdeps/sh/Makefile: File removed.
35437         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35438         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35439         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35440         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35441         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35442         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35443         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35444         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35445         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35446         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35447         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35448         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35449         * nptl/sysdeps/sh/tls.h: Moved ...
35450         * sysdeps/sh/nptl/tls.h: ... here.
35451         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35452         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35453         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35454         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35455         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35456         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35457         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35458         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35459         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35460         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35461         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35462         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35463         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35464         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35466         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35467         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35468         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35469         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35470         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35472         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35473         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35474         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35475         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35476         Moved ...
35477         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35478         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35479         Moved ...
35480         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35481         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35482         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35483         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35484         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35485         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35486         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35487         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35488         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35489         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35490         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35491         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35492         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35493         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35494         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35495         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35496         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35497         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35498         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35500 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35502         * posix/spawn_faction_addopen.c: Include string.h.
35504 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35506         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35507         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35508         * nptl/sysdeps/x86_64/Makefile: Moved ...
35509         * sysdeps/x86_64/nptl/Makefile: ... here.
35510         * nptl/sysdeps/x86_64/configure: Moved ...
35511         * sysdeps/x86_64/nptl/configure: ... here.
35512         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35513         * sysdeps/x86_64/nptl/configure.ac: ... here.
35514         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35515         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35516         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35517         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35518         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35519         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35520         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35521         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35522         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35523         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35524         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35525         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35526         * nptl/sysdeps/x86_64/tls.h: Moved ...
35527         * sysdeps/x86_64/nptl/tls.h: ... here.
35528         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35529         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35530         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35531         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35533         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35535 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35539 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35541         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35542         type.
35543         [POSIX] (off_t): Likewise.
35544         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35545         [POSIX] (S_ISBLK): Require macro.
35546         [POSIX] (S_ISCHR): Likewise.
35547         [POSIX] (S_ISDIR): Likewise.
35548         [POSIX] (S_ISFIFO): Likewise.
35549         [POSIX] (S_ISREG): Likewise.
35550         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35551         optional-macro.
35552         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35553         type.
35554         [POSIX] (time_t): Likewise.
35555         [POSIX] (timer_t): Likewise.
35557 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35559         [BZ #17048]
35560         * posix/spawn_int.h (struct __spawn_action): Make the path string
35561         non-const to support deallocation.
35562         * posix/spawn_faction_addopen.c
35563         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35564         * posix/spawn_faction_destroy.c
35565         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35566         path in all spawn_do_open actions.
35567         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35568         posix_spawn_file_actions_addopen.
35570 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35572         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35573         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35574         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35575         conditional code always true.
35576         (__libc_vfork): New alias.
35578 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35580         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35581         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35583         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35585         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35586         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35588         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35589         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35591         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35592         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35594 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35596         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35597         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35598         multiarch strcmp for PPC64.
35599         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35600         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35602         multiarch optimizations.
35603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35604         (__libc_ifunc_impl_list): Likewise.
35606 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35608         * benchtests/scripts/validate_benchout.py: New script.
35609         * benchtests/Makefile (bench-func): Call it.
35610         * benchtests/scripts/benchout.schema.json: New file.
35612 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35614         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35615         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35616         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35617         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35618         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35619         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35620         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35621         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35622         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35623         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35624         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35625         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35626         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35627         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35628         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35629         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35631         Moved ...
35632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35633         ... here.
35634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35635         Moved ...
35636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35638         Moved ...
35639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35640         ... here.
35641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35642         Moved ...
35643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35644         ... here.
35645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35646         Moved ...
35647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35649         Moved ...
35650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35651         ... here.
35652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35653         Moved ...
35654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35655         ... here.
35656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35657         Moved ...
35658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35660         Moved ...
35661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35662         ... here.
35663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35664         Moved ...
35665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35666         ... here.
35667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35668         Moved ...
35669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35670         ... here.
35671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35672         Moved ...
35673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35675         Moved ...
35676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35677         ... here.
35678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35679         Moved ...
35680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35681         ... here.
35682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35683         Moved ...
35684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35685         ... here.
35686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35687         Moved ...
35688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35690         Moved ...
35691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35692         ... here.
35693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35694         Moved ...
35695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35696         ... here.
35697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35698         Moved ...
35699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35701         Moved ...
35702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35703         ... here.
35704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35705         Moved ...
35706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35708         Moved ...
35709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35711         Moved ...
35712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35713         ... here.
35714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35715         Moved ...
35716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35717         ... here.
35718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35719         Moved ...
35720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35721         ... here.
35722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35723         Moved ...
35724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35726         Moved ...
35727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35728         ... here.
35729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35730         Moved ...
35731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35732         ... here.
35733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35734         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35736         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35737         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35738         Moved ...
35739         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35740         ... here.
35741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35742         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35744         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35746         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35748         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35750         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35752         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35753         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35754         Moved ...
35755         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35756         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35757         Moved ...
35758         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35760         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35761         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35762         Moved ...
35763         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35764         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35765         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35766         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35767         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35768         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35769         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35771 2014-06-10  Wilco  <wdijkstr@arm.com>
35773         * math/test-fenv-return.c: New file.
35774         * math/Makefile: Add new test test-fenv-return.
35776 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35778         [BZ #17042]
35779         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35780         when x - 1 is zero.
35781         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35782         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35783         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35784         0.0L for an argument of 1.0L.
35785         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35786         Likewise.
35787         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35788         value when x - 1 is zero.
35789         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35790         * sysdeps/i386/fpu/libm-test-ulps: Update.
35791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35793 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35795         [BZ #15119]
35796         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35798 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35800         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35801         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35803 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35805         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35806         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35808         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35809         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35811         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35812         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35814         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35815         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35817         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35818         if not already defined.
35819         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35820         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35821         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35822         (TLS_INIT_TP): Use it.
35823         (TLS_DEFINE_INIT_TP): New macro.
35824         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35826 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35828         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35829         constant.
35830         [POSIX] (IXANY): Likewise.
35831         [POSIX] (OLCUC): Likewise.
35832         [POSIX || POSIX2008] (CBAUD): Do not allow.
35833         [POSIX || POSIX2008] (DEFECHO): Likewise.
35834         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35835         [POSIX || POSIX2008] (ECHOKE): Likewise.
35836         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35837         [POSIX || POSIX2008] (EXTA): Likewise.
35838         [POSIX || POSIX2008] (EXTB): Likewise.
35839         [POSIX || POSIX2008] (FLUSHO): Likewise.
35840         [POSIX || POSIX2008] (LOBLK): Likewise.
35841         [POSIX || POSIX2008] (PENDIN): Likewise.
35842         [POSIX || POSIX2008] (SWTCH): Likewise.
35843         [POSIX || POSIX2008] (VDISCARD): Likewise.
35844         [POSIX || POSIX2008] (VDSUSP): Likewise.
35845         [POSIX || POSIX2008] (VLNEXT): Likewise.
35846         [POSIX || POSIX2008] (VREPRINT): Likewise.
35847         [POSIX || POSIX2008] (VSTATUS): Likewise.
35848         [POSIX || POSIX2008] (VWERASE): Likewise.
35849         (B*): Change to B[0123456789]*.
35850         * conform/data/time.h-data [POSIX || UNIX98]
35851         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35852         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35853         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35854         [POSIX] (tm_*): Do not allow.
35856 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35858         * Makefile (install): Don't set LANGUAGE.
35859         * Makefile.in (install): Likewise.
35860         * assert/Makefile (test-assert-ENV): Remove variable.
35861         (test-assert-perr-ENV): Likewise.
35862         * elf/Makefile (neededtest4-ENV): Likewise.
35863         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35864         [$(cross-compiling) = no]: Don't set LANGUAGE.
35865         * io/ftwtest-sh (LANG): Remove variable.
35866         * libio/Makefile (tst-widetext-ENV): Likewise.
35867         * manual/install.texi (Running make install): Don't refer to
35868         environment settings for make install.
35869         * INSTALL: Regenerated.
35870         * nptl/tst-tls6.sh: Don't set LANG.
35871         * posix/globtest.sh (LANG): Remove variable.
35872         * string/Makefile (tester-ENV): Likewise.
35873         (inl-tester-ENV): Likewise.
35874         (noinl-tester-ENV): Likewise.
35875         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35876         [$(cross-compiling) = no]: Don't set LANGUAGE.
35877         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35878         without explicit environment settings.
35880 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35882         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35883         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35884         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35885         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35887 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35889         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35890         other files in the crypt directory.
35891         * crypt/crypt.c: Remove duplicate includes.
35892         * crypt/crypt-entry.c: Likewise.
35893         * crypt/crypt_util.c: Likewise.
35895 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35897         * Makeconfig (run-program-env): New variable.
35898         (run-program-prefix-before-env): Likewise.
35899         (run-program-prefix-after-env): Likewise.
35900         (run-program-prefix): Define in terms of new variables.
35901         (built-program-cmd-before-env): New variable.
35902         (built-program-cmd-after-env): Likewise.
35903         (built-program-cmd): Define in terms of new variables.
35904         (test-program-prefix-before-env): New variable.
35905         (test-program-prefix-after-env): Likewise.
35906         (test-program-prefix): Define in terms of new variables.
35907         (test-program-cmd-before-env): New variable.
35908         (test-program-cmd-after-env): Likewise.
35909         (test-program-cmd): Define in terms of new variables.
35910         * Rules (make-test-out): Use $(run-program-env).
35911         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35912         (help): Do not mention environment variables.  Mention
35913         --timeoutfactor option.
35914         (timeoutfactor): New variable.
35915         (blacklist_exports): Remove function.
35916         (exports): Remove variable.
35917         (command): Do not include ${exports}.
35918         * manual/install.texi (Configuring and compiling): Do not mention
35919         test wrappers preserving environment variables.  Mention that last
35920         assignment to a variable must take precedence.
35921         * INSTALL: Regenerated.
35922         * benchtests/Makefile (run-bench): Use $(run-program-env).
35923         * catgets/Makefile ($(objpfx)test1.cat): Use
35924         $(built-program-cmd-before-env), $(run-program-env) and
35925         $(built-program-cmd-after-env).
35926         ($(objpfx)test2.cat): Do not specify environment variables
35927         explicitly.
35928         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35929         $(run-program-env) and $(built-program-cmd-after-env).
35930         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35931         $(run-program-env) and $(test-program-cmd-after-env).
35932         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35933         explicitly.
35934         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35935         run_program_env and test_program_cmd_after_env arguments.
35936         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35937         * elf/tst-pathopt.sh: Use run_program_env argument.
35938         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35939         $(test-wrapper-env) and $(run-program-env).
35940         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35941         run_program_env arguments.
35942         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35943         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35944         $(test-program-prefix-before-env), $(run-program-env) and
35945         $(test-program-prefix-after-env).
35946         ($(objpfx)tst-gettext2.out): Likewise.
35947         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35948         run_program_env and test_program_prefix_after_env arguments.
35949         * intl/tst-gettext2.sh: Likewise.
35950         * intl/tst-gettext4.sh: Do not set environment variables
35951         explicitly.
35952         * intl/tst-gettext6.sh: Likewise.
35953         * intl/tst-translit.sh: Likewise.
35954         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35955         $(test-program-prefix-before-env), $(run-program-env) and
35956         $(test-program-prefix-after-env).
35957         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35958         run_program_env and test_program_prefix_after_env arguments.
35959         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35960         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35961         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35962         explicitly with each use of ${test_wrapper_env}.
35963         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35964         $(test-program-prefix-before-env), $(run-program-env) and
35965         $(test-program-prefix-after-env).
35966         * posix/tst-getconf.sh: Do not set environment variables
35967         explicitly.
35968         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35969         run_program_env and test_program_prefix_after_env arguments.
35970         * stdio-common/tst-printf.sh: Do not set environment variables
35971         explicitly.
35972         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35973         $(test-program-prefix-before-env), $(run-program-env) and
35974         $(test-program-prefix-after-env).
35975         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35976         run_program_env and test_program_prefix_after_env arguments.
35977         Split $test calls into $test_pre and $test.
35978         * timezone/Makefile (build-testdata): Use
35979         $(built-program-cmd-before-env), $(run-program-env) and
35980         $(built-program-cmd-after-env).
35982 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35984         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35985         strlen for non SHARED builds.
35987 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35989         * nptl/allocatestack.c (check_list): Inlined function...
35990         (__reclaim_stacks): ... here.
35992 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35994         [BZ #15698]
35995         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35996         memory overrun.
35998 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
36000         * Rules (make-test-out): Include
36001         LOCPATH=$(common-objpfx)localedata in default environment.
36002         * debug/Makefile (tst-chk1-ENV): Remove variable.
36003         (tst-chk2-ENV): Likewise.
36004         (tst-chk3-ENV): Likewise.
36005         (tst-chk4-ENV): Likewise.
36006         (tst-chk5-ENV): Likewise.
36007         (tst-chk6-ENV): Likewise.
36008         (tst-lfschk1-ENV): Likewise.
36009         (tst-lfschk2-ENV): Likewise.
36010         (tst-lfschk3-ENV): Likewise.
36011         (tst-lfschk4-ENV): Likewise.
36012         (tst-lfschk5-ENV): Likewise.
36013         (tst-lfschk6-ENV): Likewise.
36014         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
36015         (tst-iconv7-ENV): Likewise.
36016         * intl/Makefile (LOCPATH-ENV): Likewise.
36017         (tst-codeset-ENV): Likewise.
36018         (tst-gettext3-ENV): Likewise.
36019         (tst-gettext5-ENV): Likewise.
36020         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
36021         (tst-fopenloc-ENV): Likewise.
36022         (tst-fgetws-ENV): Remove variable.
36023         (tst-ungetwc1-ENV): Likewise.
36024         (tst-ungetwc2-ENV): Likewise.
36025         (bug-ungetwc2-ENV): Likewise.
36026         (tst-swscanf-ENV): Likewise.
36027         (bug-ftell-ENV): Likewise.
36028         (tst-fgetwc-ENV): Likewise.
36029         (tst-fseek-ENV): Likewise.
36030         (tst-ftell-partial-wide-ENV): Likewise.
36031         (tst-ftell-active-handler-ENV): Likewise.
36032         (tst-ftell-append-ENV): Likewise.
36033         * posix/Makefile (tst-fnmatch-ENV): Likewise.
36034         (tst-regexloc-ENV): Likewise.
36035         (bug-regex1-ENV): Likewise.
36036         (tst-regex-ENV): Likewise.
36037         (tst-regex2-ENV): Likewise.
36038         (bug-regex5-ENV): Likewise.
36039         (bug-regex6-ENV): Likewise.
36040         (bug-regex17-ENV): Likewise.
36041         (bug-regex18-ENV): Likewise.
36042         (bug-regex19-ENV): Likewise.
36043         (bug-regex20-ENV): Likewise.
36044         (bug-regex22-ENV): Likewise.
36045         (bug-regex23-ENV): Likewise.
36046         (bug-regex25-ENV): Likewise.
36047         (bug-regex26-ENV): Likewise.
36048         (bug-regex30-ENV): Likewise.
36049         (bug-regex32-ENV): Likewise.
36050         (bug-regex33-ENV): Likewise.
36051         (bug-regex34-ENV): Likewise.
36052         (bug-regex35-ENV): Likewise.
36053         (tst-rxspencer-ENV): Likewise.
36054         (tst-rxspencer-no-utf8-ENV): Likewise.
36055         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
36056         (tst-sscanf-ENV): Likewise.
36057         (tst-swprintf-ENV): Likewise.
36058         (tst-swscanf-ENV): Likewise.
36059         (test-vfprintf-ENV): Likewise.
36060         (scanf13-ENV): Likewise.
36061         (bug14-ENV): Likewise.
36062         (tst-grouping-ENV): Likewise.
36063         * stdlib/Makefile (tst-strtod-ENV): Likewise.
36064         (tst-strtod3-ENV): Likewise.
36065         (tst-strtod4-ENV): Likewise.
36066         (tst-strtod5-ENV): Likewise.
36067         (testmb2-ENV): Likewise./
36068         * string/Makefile (tst-strxfrm-ENV): Likewise.
36069         (tst-strxfrm2-ENV): Likewise.
36070         (bug-strcoll1-ENV): Likewise.
36071         (test-strcasecmp-ENV): Likewise.
36072         (test-strncasecmp-ENV): Likewise.
36073         * time/Makefile (tst-strptime-ENV): Likewise.
36074         (tst-ftime_l-ENV): Likewise.
36075         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
36076         (tst-mbrtowc-ENV): Likewise.
36077         (tst-wcrtomb-ENV): Likewise.
36078         (tst-mbrtowc2-ENV): Likewise.
36079         (tst-c16c32-1-ENV): Likewise.
36080         (tst-mbsnrtowcs-ENV): Likewise.
36082 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36084         * manual/resource.texi (How to get information about the memory
36085         subsystem?): Fix typo.
36086         Reported by Peon de la Parra Ivan <peon@keba.com>
36088 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
36090         [BZ #16882]
36091         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
36092         (pthread_spin_lock): Branch out of spin loop to proper location.
36093         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
36094         (pthread_spin_lock): Likewise.
36096         * nptl/tst-spin4.c: New test.
36097         * nptl/Makefile (tests): Add tst-spin4.
36099 2014-06-03  Andreas Schwab  <schwab@suse.de>
36101         [BZ #15946]
36102         * resolv/res_send.c (send_dg): Reload file descriptor after
36103         calling reopen.
36105 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
36107         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36109 2014-06-03  Richard Henderson  <rth@redhat.com>
36111         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
36112         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
36113         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
36114         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
36115         in the SAVE_PID block.
36116         (__libc_vfork): New alias.
36117         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
36119         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
36120         child in registers, not on the stack.  Remove RESET_PID conditionals.
36121         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36123 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36125         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36127 2014-06-03  Wilco  <wdijkstr@arm.com>
36129         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36130         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36131         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36132         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36133         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36134         Likewise.
36136 2014-06-03  Wilco  <wdijkstr@arm.com>
36138         * sysdeps/aarch64/fpu/math_private.h
36139         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36140         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
36141         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
36142         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36143         Fix declarations.
36145 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36147         * crypt/crypt-private.h: Include ufc-crypt.h.
36148         (__b64_from_24bit): Declare extern.
36149         * crypt/crypt_util.c(__b64_from_24bit): New function.
36150         (b64t): New static const variable.
36151         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
36152         (b64t): Remove variable.
36153         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
36154         * crypt/sha256-crypt.c: Include crypt-private.h.
36155         (b64t): Remove variable.
36156         (__sha256_crypt_r): Remove b64_from_24bit and replace
36157         with __b64_from_24bit.
36158         * crypt/sha512-crypt.c: Likewise.
36160 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36162         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36163         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36164         Label the code __libc_vfork rather than __vfork.
36165         [!NOT_IN_libc] (vfork): Define as weak alias.
36166         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36167         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36168         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36170 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36172         * malloc/malloc.c (malloc_info): Fix format specifier for
36173         n_mmaps.
36175 2014-06-02  Wilco  <wdijkstr@arm.com>
36177         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36178         FPCR write.
36180 2014-06-02  Wilco  <wdijkstr@arm.com>
36182         [BZ #17009]
36183         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36184         Rewrite to reduce FPCR/FPSR accesses.
36186 2014-06-01  David S. Miller  <davem@davemloft.net>
36188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36190 2014-05-31  David S. Miller  <davem@davemloft.net>
36192         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36193         to occur in round to nearest mode when |x| >= 2.0
36195 2014-05-30  Richard Henderson  <rth@twiddle.net>
36197         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36198         (PSEUDO_RET_NOERRNO): Remove.
36199         (ret): Don't redefine.
36200         (ret_NOERRNO): Define in terms of ret.
36201         (ret_ERRVAL): Likewise.
36203         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36204         use of PSEUDO_RET; perform the error check directly.
36206 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36208         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36209         with __int128_t.
36211 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36213         * malloc/malloc (malloc_info): Fix formatting.
36215 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36216             Roland McGrath  <roland@hack.frob.com>
36218         * malloc/malloc (malloc_info): Also print mmapped statistics.
36220 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36222         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36223         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36225 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36227         * malloc/malloc.c (malloc_info): Inline mi_arena.
36229 2014-05-29  Richard Henderson  <rth@twiddle.net>
36231         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36232         Remove comma before expanding ASM_ARGS_##nr.
36233         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36234         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36235         of ASM_ARGS_##nr.
36236         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36237         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36238         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36239         (ASM_ARGS_1): Add leading comma.
36241         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36242         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36243         to __errno_location.
36244         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36245         Remove the expected plt for __errno_location.
36247         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36248         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36249         call to __read_tp.
36251         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36252         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36253         it and break it down.
36254         (DOCARGS_0, DOCARGS_1): Do nothing.
36255         (DOCARGS_2): Update to store into the new stack frame.
36256         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36257         (UNDOCARGS_1): Update to restore from the new stack frame.
36258         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36259         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36261         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36262         (SINGLE_THREAD_P): New parameter for result regno.
36263         (PSEUDO): Update to match; use cbz instead of beq.
36265         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36266         Use ENTRY to define the _nocancel entry point.  Share the syscall
36267         and syscall error check paths with the cancel path.
36268         (PSEUDO_END): New.
36270         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36271         whitespace; tabs before and after asm mnemonics.
36273 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36275         [BZ #15132]
36276         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36277         Call fstat64 or stat64 internally, depending on arguments passed.
36278         Replace stat buffer argument with file descriptor argument.
36279         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36280         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36281         Pass fd to __internal_statvfs instead of calling fstat64.
36282         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36283         Pass fd to __internal_statvfs64 instead of calling fstat64.
36284         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36285         Pass -1 to __internal_statvfs instead of calling stat64.
36286         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36287         Pass -1 to __internal_statvfs64 instead of calling stat64.
36289 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36291         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36292         that was previously under [RESET_PID].
36293         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36295         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36296         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36298 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36300         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36302         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36303         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36305 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36307         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36309 2014-05-27  Andreas Schwab  <schwab@suse.de>
36311         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36312         TLS_INIT_TP macro.
36313         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36314         * elf/rtld.c (init_tls, dl_main): Likewise.
36315         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36316         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36317         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36318         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36319         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36320         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36321         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36322         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36323         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36324         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36325         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36326         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36327         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36328         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36329         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36330         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36331         * sysdeps/generic/tls.h: Update description.
36333 2014-05-27  Will Newton  <will.newton@linaro.org>
36335         [BZ #16990]
36336         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36337         and restore r2 rather than just restoring.
36339 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36341         [BZ #16724]
36342         * libio/tst-ftell-append.c: New test case.
36343         * libio/Makefile (tests): Add test case.
36344         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36345         append mode.
36346         * libio/wfileops.c (do_ftell_wide): Likewise.
36348 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36352         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36353         ...
36354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36356         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36357         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36358         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36359         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36360         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36361         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36362         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36363         Moved ...
36364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36365         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36366         Moved ...
36367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36368         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36369         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36370         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36371         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36372         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36373         ...
36374         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36375         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36376         Moved ...
36377         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36378         here.
36379         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36380         ...
36381         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36382         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36383         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36385         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36386         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36387         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36388         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36391         merge into ...
36392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36393         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36394         ...
36395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36396         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36397         ...
36398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36400         Moved ...
36401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36402         here.
36403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36404         Moved ...
36405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36407         Moved ...
36408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36411         conditional [RESET_PID].
36412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36414         removed.
36415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36416         removed.
36418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36419         <tcb-offsets.h>.
36420         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36421         (__libc_vfork): New strong alias.
36422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36423         removed.
36424         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36425         Removed.
36427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36428         <tcb-offsets.h>.
36429         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36430         (__libc_vfork): New strong alias.
36431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36432         removed.
36433         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36434         removed.
36436 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36438         * malloc/malloc.c (mi_arena): New function.
36439         (malloc_info): Remove nested function mi_arena. Call non-nosted
36440         function mi_arena.
36442 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36444         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36445         by insrwi.
36446         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36447         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36448         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36449         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36450         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36451         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36452         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36454 2014-05-26  Andreas Schwab  <schwab@suse.de>
36456         [BZ #16984]
36457         * locale/programs/repertoire.c (repertoire_read): Add slash
36458         between I18NPATH element and file name.
36459         * locale/programs/locfile.c (locfile_read): Likewise.
36461 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36463         * nptl/pthread_mutexattr_settype.c
36464         (__pthread_mutexattr_settype):
36465         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36467 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36469         * nptl/tst-mutex5 (do_test):
36470         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36472 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36474         * benchtests/README: Document 'init' directive.
36475         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36476         BENCH_INIT.
36477         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36478         (parse_file): Recognize 'init' directive.
36480 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36482         [BZ #16796]
36483         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36484         alignment of struct pthread.
36486 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36488         [BZ #16878]
36489         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36490         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36491         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36492         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36494 2014-05-25  Richard Henderson  <rth@twiddle.net>
36496         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36497         (SINGLE_THREAD_P_PIC): Remove.
36498         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36499         (SINGLE_THREAD_P_PIC): Remove.
36501         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36502         branch to syscall error ...
36503         (PSEUDO): ... here.
36504         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36505         from __local_syscall_error to .Lsyscall_error.
36506         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36507         (SYSCALL_ERROR): Update label name.
36509         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36510         Do not use DOARGS/UNDOARGS.
36511         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36512         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36513         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36514         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36515         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36518         block comment.
36520         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36521         define if !NOT_IN_libc.
36522         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36523         define with non-default symbol versions.
36525 2014-05-23  Richard Henderson  <rth@twiddle.net>
36527         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36528         (vfork, __vfork): Define via compat_symbol.
36530         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36531         [!HAVE_IFUNC] (vfork_compat): Remove.
36532         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36534 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36536         [BZ #16978]
36537         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36538         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36539         variable.
36541 2014-05-23  Richard Henderson  <rth@twiddle.net>
36543         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36544         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36545         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36546         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36548         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36549         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36550         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36551         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36552         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36553         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36554         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36555         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36556         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36557         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36558         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36559         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36560         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36561         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36562         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36563         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36564         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36565         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36566         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36567         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36568         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36569         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36570         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36571         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36572         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36573         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36574         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36575         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36576         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36577         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36578         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36579         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36580         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36581         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36582         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36583         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36584         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36585         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36586         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36587         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36588         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36589         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36590         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36591         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36592         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36593         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36594         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36595         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36596         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36597         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36598         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36599         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36600         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36601         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36602         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36603         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36605         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36606         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36607         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36608         before exiting on error.
36609         (__libc_vfork): New strong alias.
36610         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36611         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36613         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36614         that was previously under [RESET_PID].
36615         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36617         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36619 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36621         [BZ #16977]
36622         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36623         value when x - 1 is zero.
36624         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36625         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36626         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36627         0.0L for an argument of 1.0L.
36628         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36629         Likewise.
36630         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36631         value when x - 1 is zero.
36632         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36633         * sysdeps/i386/fpu/libm-test-ulps: Update.
36634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36636 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36638         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36639         alphasort and versionsort.
36641 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36643         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36644         macro.
36645         [copysignf]: Likewise.
36647 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36649         * crypt/md5-crypt.c: Fix formatting.
36651 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36653         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36654         (b64_from_24bit): New function.
36656 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36658         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36659         libc_hidden_builtin_def to ifunc.
36660         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36661         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36663 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36665         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36666         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36668 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36670         * nscd/Depend (linuxthreads): Remove.
36671         (nptl): Add.
36672         * resolv/Depend (linuxthreads): Remove.
36673         * rt/Depend (linuxthreads): Remove.
36675         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36676         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36677         $(common-objpfx)elf/.
36678         (link-libc-before-gnulib): Likewise.
36679         (elfobjdir): Remove variable.
36680         * Makefile (install): Use $(elf-objpfx) instead of
36681         $(common-objpfx)elf/.
36682         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36683         $(elfobjdir)/.
36684         (link-libc-deps): Likewise.
36685         ($(common-objpfx)libc.so): Likewise.
36686         ($(common-objpfx)linkobj/libc.so): Likewise.
36687         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36688         instead of $(common-objpfx)elf/.
36689         (symbolic-link-list): Likewise.
36690         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36691         [$(cross-compiling) = no]: Likewise.
36692         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36693         $(elfobjdir)/.
36694         (static-gnulib-arch): Likewise.
36695         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36696         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36697         $(common-objpfx)elf/.
36699 2014-05-21  Richard Henderson  <rth@redhat.com>
36701         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36702         (SINGLE_THREAD_P): Use the correct width load.  Fold
36703         into the ldr offset.
36705         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36706         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36708 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36710         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36711         (libgcc_s_resume): Use __attribute_used__.
36712         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36713         Likewise.
36715 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36717         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36718         optimization when used with float constants.
36720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36722 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36724         [BZ #16915]
36725         * locale/nl_langinfo_l.c: Make direct reference to every
36726         _nl_current_CATEGORY symbol.
36727         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36728         (tests-static): Add tst-langinfo-static.
36729         (tests-special): Add tst-langinfo-static.out.
36730         ($(objpfx)tst-langinfo.out): Redirect output.
36731         ($(objpfx)tst-langinfo-static.out): New.
36732         * localedata/tst-langinfo.sh: Send output to stdout.
36733         * localedata/tst-langinfo-static.c: New file.
36735         [BZ #16965]
36736         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36737         when the shift amount is modulo the limb size.
36739 2014-05-20  Richard Henderson  <rth@redhat.com>
36741         [BZ #16967]
36742         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36743         Change type of sa_flags from unsigned int to int.
36745         [BZ #16966]
36746         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36748         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36750 2014-05-20  Will Newton  <will.newton@linaro.org>
36752         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36753         Test the return value of the system call in the nocancel case.
36755 2014-05-20  Will Newton  <will.newton@linaro.org>
36756             Yvan Roux  <yvan.roux@linaro.org>
36758         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36759         #include of asm/ptrace.h.
36760         (PTRACE_GET_THREAD_AREA): Remove #undef.
36761         (PTRACE_GETHBPREGS): Likewise.
36762         (PTRACE_SETHBPREGS): Likewise.
36763         (struct user_regs_struct): New structure.
36764         (struct user_fpsimd_struct): New structure.
36765         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36766         #include of asm/ptrace.h and second #include of sys/user.h.
36767         (PTRACE_GET_THREAD_AREA): Remove #undef.
36768         (PTRACE_GETHBPREGS): Likewise.
36769         (PTRACE_SETHBPREGS): Likewise.
36770         (ELF_NGREG): Use new struct user_regs_struct.
36771         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36773 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36775         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36776         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36778 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36780         [BZ #16958]
36781         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36782         membar to avoid block loads/stores to overlap previous stores.
36784 2014-05-17  Richard Henderson  <rth@redhat.com>
36786         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36787         Create the __##syscall_name##_nocancel entry point.
36788         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36789         Remove; let the sysdep-cancel.h code create it.
36791 2014-05-17  David S. Miller  <davem@davemloft.net>
36793         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36794         Protect with __USE_GNU.
36795         (TIOCSET_TEMPT): Likewise.
36796         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36797         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36798         these are already provided in bits/ioctl-types.h
36800 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36802         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36803         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36805         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36806         Use wait4 regardless of [__NR_waitpid].
36808 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36810         PR libgcc/60166
36811         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36812         (_FP_NANSIGN_Q): Set the quiet bit.
36814 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36816         * benchtests/Makefile
36817         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36818         not $(common-objpfx)math/libm.so.
36819         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36820         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36821         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36822         $(common-objpfx)dlfcn/libdl.so.
36823         ($(objpfx)tst-audit8): Depend on $(libm), not
36824         $(common-objpfx)math/libm.so.
36825         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36826         not $(common-objpfx)dlfcn/libdl.so.
36827         * math/Makefile
36828         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36829         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36830         [$(build-shared) = yes].
36831         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36832         $(common-objpfx)nptl/libpthread.so.
36833         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36834         $(common-objpfx)math/libm.so$(libm.so-version) or
36835         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36836         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36837         $(common-objpfx)dlfcn/libdl.so.
36838         * setjmp/Makefile (link-libm): Remove variable.
36839         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36840         * stdio-common/Makefile (link-libm): Remove variable.
36841         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36842         * stdlib/Makefile (link-libm): Remove variable.
36843         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36844         ($(objpfx)tst-strtod-round): Likewise.
36845         ($(objpfx)tst-tininess): Likewise.
36846         ($(objpfx)tst-strtod-underflow): Likewise.
36847         ($(objpfx)tst-strtod6): Likewise.
36848         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36849         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36850         $(common-objpfx)dlfcn/libdl.so.
36852 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36854         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36855         BSD terminal modes definitions.
36857 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36859         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36860         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36862         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36863         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36864         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36865         Don't do #include_next.
36866         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36867         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36868         Don't do #include_next.
36869         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36870         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36871         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36872         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36874 2014-05-16  Allan McRae  <allan@archlinux.org>
36876         * po/sv.po: Update Swedish translation from translation project.
36878         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36879         in sed expression.
36881 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36883         [BZ #16917]
36884         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36885         errno if the TIOCGPTN ioctl fails with an error different than
36886         EINVAL.
36887         * login/tst-ptsname.c: New file.
36888         * login/Makefile (tests): Add tst-ptsname.
36890         [BZ #16943]
36891         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36892         and prlimit64.
36894 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36896         [BZ #16849]
36897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36898         herrno to return EAI_AGAIN.
36900 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36902         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36903         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36904         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36905         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36906         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36907         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36908         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36909         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36910         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36911         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36912         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36913         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36914         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36915         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36916         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36917         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36918         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36919         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36920         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36921         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36922         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36923         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36924         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36925         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36926         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36927         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36928         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36929         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36930         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36931         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36933         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36935         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36937         Moved ...
36938         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36940         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36942         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36944         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36946         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36948         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36950         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36952         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36954         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36956         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36958         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36960         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36962         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36964         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36966         Moved ...
36967         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36969         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36971         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36973         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36975         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36977         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36979         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36981         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36983         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36985         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36987         Moved ...
36988         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36990         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36992         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36993         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36994         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36995         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36996         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36997         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36998         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36999         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
37000         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
37001         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
37002         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
37003         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
37004         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
37005         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
37006         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
37007         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
37008         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
37009         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
37010         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
37011         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
37012         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
37013         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
37014         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
37015         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
37016         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
37017         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
37018         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
37019         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
37020         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
37021         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
37022         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
37024         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
37025         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
37027         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
37028         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
37029         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
37030         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
37031         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
37032         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
37033         Moved ...
37034         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
37035         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
37036         Moved ...
37037         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
37038         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
37039         Moved ...
37040         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
37041         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
37042         Moved ...
37043         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
37044         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
37045         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
37046         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
37047         Moved ...
37048         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
37049         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
37050         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
37051         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
37052         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
37053         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
37054         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
37055         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
37056         Moved ...
37057         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
37058         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37059         Moved ...
37060         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37061         ... here.
37062         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
37063         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
37064         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
37065         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
37066         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37067         Moved ...
37068         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37069         ... here.
37070         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
37071         Moved ...
37072         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
37073         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
37074         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
37075         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
37076         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
37077         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
37078         Moved ...
37079         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
37080         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
37081         Moved ...
37082         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
37083         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
37084         Moved ...
37085         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
37086         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
37087         Moved ...
37088         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
37089         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
37090         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
37091         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
37092         Moved ...
37093         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
37094         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
37095         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
37096         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
37097         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
37098         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
37099         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
37100         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
37101         Moved ...
37102         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
37103         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37104         Moved ...
37105         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37106         ... here.
37107         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
37108         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
37109         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
37110         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
37111         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37112         Moved ...
37113         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37114         ... here.
37115         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
37116         Moved ...
37117         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
37118         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
37119         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
37120         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
37121         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37122         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37123         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37124         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37125         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37126         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37127         Moved ...
37128         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37129         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37130         Moved ...
37131         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37132         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37133         Moved ...
37134         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37135         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37136         Moved ...
37137         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37138         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37139         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37140         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
37141         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
37142         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
37143         Moved ...
37144         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
37145         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37146         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37147         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
37148         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
37149         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
37150         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
37151         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
37152         Moved ...
37153         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
37154         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37155         Moved ...
37156         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37157         ... here.
37158         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37159         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37160         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37161         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37162         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37163         Moved ...
37164         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37165         ... here.
37166         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37167         Moved ...
37168         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37169         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37170         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37171         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37172         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37173         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37174         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37175         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37176         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37177         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37178         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37180         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37181         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37183         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37184         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37186         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37187         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37188         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37189         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37190         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37191         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37192         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37193         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37194         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37195         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37196         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37197         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37198         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37199         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37200         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37202         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37203         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37204         Moved ...
37205         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37206         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37207         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37208         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37209         Moved ...
37210         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37211         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37212         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37213         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37214         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37216         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37218         Moved ...
37219         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37220         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37221         Moved ...
37222         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37223         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37224         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37225         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37226         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37227         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37228         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37229         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37230         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37231         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37232         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37233         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37234         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37235         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37236         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37237         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37238         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37240         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37241         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37242         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37243         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37244         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37246         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37247         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37248         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37249         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37250         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37251         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37252         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37253         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37254         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37255         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37257         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37258         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37260         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37261         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37262         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37263         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37264         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37265         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37266         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37267         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37268         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37269         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37270         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37271         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37272         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37273         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37275         Update #include.
37276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37277         Likewise.
37278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37279         Likewise.
37280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37281         Likewise.
37282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37283         Likewise.
37284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37285         Likewise.
37286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37287         Likewise.
37288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37289         Likewise.
37290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37291         Likewise.
37292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37293         Likewise.
37294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37297         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37298         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37299         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37300         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37301         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37302         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37303         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37304         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37305         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37306         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37307         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37308         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37310         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37311         that was previously under [RESET_PID].
37312         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37313         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37314         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37316         * sysdeps/i386/nptl/Implies: New file.
37317         * sysdeps/x86_64/nptl/Implies: New file.
37318         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37319         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37320         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37321         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37323         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37324         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37325         (__libc_vfork): New strong alias.
37326         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37327         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37329         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37330         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37331         (__libc_vfork): New strong alias.
37332         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37333         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37335         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37336         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37337         (__libc_vfork): New strong alias.
37338         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37339         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37340         * nptl/pt-vfork.c: New file.
37341         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37342         (libpthread: GLIBC_2.20): New version set (empty).
37344 2014-05-14  Will Newton  <will.newton@linaro.org>
37346         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37347         rather than #if.
37349 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37351         [BZ #16564]
37352         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37353         arguments with exponent 65 or above.
37354         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37355         arguments 0x1p113L or above.
37356         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37357         to arguments 0x1p107L or above.
37358         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37359         positive arguments with exponent 65 or above.
37360         * math/auto-libm-test-in: Add more tests of log1p.
37361         * math/auto-libm-test-out: Regenerated.
37363         [BZ #16928]
37364         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37365         non-finite arguments is +0.
37366         * math/s_cacosf.c (__cacosf): Likewise.
37367         * math/s_cacosl.c (__cacosl): Likewise.
37368         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37369         * sysdeps/i386/fpu/libm-test-ulps: Update.
37370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37372         [BZ #16927]
37373         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37374         value.
37375         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37376         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37377         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37378         for explicit high bit of mantissa when testing for argument equal
37379         to 1.
37380         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37381         * sysdeps/i386/fpu/libm-test-ulps: Update.
37382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37384         [BZ #16516]
37385         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37386         (__erf): Scale by 16 instead of 8 in potentially underflowing
37387         case.  Ensure exception if result actually underflows.
37388         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37389         (__erff): Scale by 16 instead of 8 in potentially underflowing
37390         case.  Ensure exception if result actually underflows.
37391         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37392         (efx8): Remove variable.
37393         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37394         case.  Ensure exception if result actually underflows.
37395         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37396         (efx8): Remove variable.
37397         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37398         case.  Ensure exception if result actually underflows.
37399         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37400         (efx8): Remove variable.
37401         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37402         case.  Ensure exception if result actually underflows.
37403         * math/auto-libm-test-in: Add more tests of erf.
37404         * math/auto-libm-test-out: Regenerated.
37406 2014-05-14  Andreas Schwab  <schwab@suse.de>
37408         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37409         Remove code conditionalized on USE___THREAD.
37411         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37412         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37413         not definedness.
37415 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37417         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37418         Define unconditionally.
37419         (__ASSUME_O_CLOEXEC): Likewise.
37420         (__ASSUME_SOCK_CLOEXEC): Likewise.
37421         (__ASSUME_IN_NONBLOCK): Likewise.
37422         (__ASSUME_PIPE2): Likewise.
37423         (__ASSUME_EVENTFD2): Likewise.
37424         (__ASSUME_SIGNALFD4): Likewise.
37425         (__ASSUME_DUP3): Likewise.
37426         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37427         (__ASSUME_DUP3): Do not define.
37428         (__ASSUME_EVENTFD2): Likewise.
37429         (__ASSUME_IN_NONBLOCK): Likewise.
37430         (__ASSUME_O_CLOEXEC): Likewise.
37431         (__ASSUME_PIPE2): Likewise.
37432         (__ASSUME_SIGNALFD4): Likewise.
37433         (__ASSUME_SOCK_CLOEXEC): Likewise.
37434         (__ASSUME_UTIMES): Undefine.
37435         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37436         (__ASSUME_UTIMES): Do not define.
37437         (__ASSUME_O_CLOEXEC): Likewise.
37438         (__ASSUME_SOCK_CLOEXEC): Likewise.
37439         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37440         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37441         0x020621].
37442         (__ASSUME_PIPE2): Likewise.
37443         (__ASSUME_EVENTFD2): Likewise.
37444         (__ASSUME_SIGNALFD4): Likewise.
37445         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37446         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37447         Do not define.
37448         (__ASSUME_EVENTFD2): Likewise.
37449         (__ASSUME_SIGNALFD4): Likewise.
37450         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37451         (__ASSUME_32BITUIDS): Likewise.
37452         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37453         (__ASSUME_IPC64): Likewise.
37454         (__ASSUME_ST_INO_64_BIT): Likewise.
37455         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37456         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37457         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37458         (__ASSUME_UTIMES): Do not define.
37459         (__ASSUME_PSELECT): Likewise.
37460         (__ASSUME_PPOLL): Likewise.
37461         (__ASSUME_O_CLOEXEC): Likewise.
37462         (__ASSUME_SOCK_CLOEXEC): Likewise.
37463         (__ASSUME_IN_NONBLOCK): Likewise.
37464         (__ASSUME_PIPE2): Likewise.
37465         (__ASSUME_EVENTFD2): Likewise.
37466         (__ASSUME_SIGNALFD4): Likewise.
37467         (__ASSUME_DUP3): Likewise.
37468         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37469         (__ASSUME_UTIMES): Likewise.
37470         (__ASSUME_O_CLOEXEC): Likewise.
37471         (__ASSUME_SOCK_CLOEXEC): Likewise.
37472         (__ASSUME_IN_NONBLOCK): Likewise.
37473         (__ASSUME_PIPE2): Likewise.
37474         (__ASSUME_EVENTFD2): Likewise.
37475         (__ASSUME_SIGNALFD4): Likewise.
37476         (__ASSUME_DUP3): Likewise.
37477         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37478         (__ASSUME_UTIMES): Likewise.
37479         (__ASSUME_O_CLOEXEC): Likewise.
37480         (__ASSUME_SOCK_CLOEXEC): Likewise.
37481         (__ASSUME_IN_NONBLOCK): Likewise.
37482         (__ASSUME_PIPE2): Likewise.
37483         (__ASSUME_EVENTFD2): Likewise.
37484         (__ASSUME_SIGNALFD4): Likewise.
37485         (__ASSUME_DUP3): Likewise.
37486         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37487         Likewise.
37488         (__ASSUME_UTIMES): Likewise.
37489         (__ASSUME_EVENTFD2): Likewise.
37490         (__ASSUME_SIGNALFD4): Likewise.
37491         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37492         (__ASSUME_O_CLOEXEC): Likewise.
37493         (__ASSUME_SOCK_CLOEXEC): Likewise.
37494         (__ASSUME_IN_NONBLOCK): Likewise.
37495         (__ASSUME_PIPE2): Likewise.
37496         (__ASSUME_EVENTFD2): Likewise.
37497         (__ASSUME_SIGNALFD4): Likewise.
37498         (__ASSUME_DUP3): Likewise.
37499         (__ASSUME_UTIMES): Undefine.
37501         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37502         feclearexcept.  Remove symbol versioning code.
37503         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37504         symbol versioning code.
37505         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37506         symbol versioning code.
37507         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37508         feupdateenv.  Remove symbol versioning code.
37509         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37510         fegetexceptflag.  Remove symbol versioning code.
37511         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37512         fesetexceptflag.  Remove symbol versioning code.
37513         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37514         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37515         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37516         (__posix_fadvise64_l32): Remove prototype.
37517         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37518         code.
37520 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37522         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37523         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37524         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37525         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37527 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37529         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37530         current working directory
37532 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37534         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37535         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37536         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37537         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37538         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37539         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37540         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37541         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37542         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37543         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37544         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37545         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37546         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37547         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37548         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37549         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37550         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37551         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37552         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37553         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37554         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37555         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37556         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37557         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37558         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37559         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37560         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37561         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37562         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37563         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37564         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37565         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37566         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37567         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37568         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37569         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37570         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37571         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37572         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37573         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37574         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37575         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37577         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37578         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37580         * sysdeps/unix/sysv/linux/arm/Makefile
37581         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37582         Add rt-aeabi_unwind_cpp_pr1.
37583         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37584         Add nptl-aeabi_unwind_cpp_pr1.
37585         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37586         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37587         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37588         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37589         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37590         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37592         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37593         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37594         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37595         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37597         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37598         Deconditionalize the code that was previously under [RESET_PID].
37599         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37601         * sysdeps/generic/exit-thread.h: New file.
37602         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37603         * include/unistd.h (__exit_thread): Remove declaration.
37604         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37605         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37606         * csu/libc-start.c: Include <exit-thread.h>.
37607         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37608         * nptl/pthread_create.c: Include <exit-thread.h>.
37609         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37610         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37611         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37612         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37613         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37614         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37615         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37616         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37617         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37618         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37619         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37620         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37621         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37622         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37623         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37624         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37625         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37627 2014-05-13  Andreas Schwab  <schwab@suse.de>
37629         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37631 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37633         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37634         (__ASSUME_UTIMES): Do not condition on kernel version.
37635         (__ASSUME_PSELECT): Define unconditionally.
37636         (__ASSUME_PPOLL): Likewise.
37637         (__ASSUME_ATFCTS): Likewise.
37638         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37639         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37640         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37641         (__ASSUME_UTIMENSAT): Define unconditionally.
37642         (__ASSUME_PRIVATE_FUTEX): Likewise.
37643         (__ASSUME_FALLOCATE): Likewise.
37644         (__ASSUME_O_CLOEXEC): Likewise.
37645         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37646         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37647         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37648         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37649         (__ASSUME_IN_NONBLOCK): Likewise.
37650         (__ASSUME_PIPE2): Likewise.
37651         (__ASSUME_EVENTFD2): Likewise.
37652         (__ASSUME_SIGNALFD4): Likewise.
37653         (__ASSUME_DUP3): Likewise.
37654         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37655         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37656         (__ASSUME_AT_RANDOM): Likewise.
37657         (__ASSUME_PREADV): Likewise.
37658         (__ASSUME_PWRITEV): Likewise.
37659         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37660         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37661         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37662         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37663         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37664         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37665         (__ASSUME_O_CLOEXEC): Define unconditionally.
37666         (__ASSUME_PSELECT): Do not undefine conditionally.
37667         (__ASSUME_PPOLL): Likewise.
37668         (__ASSUME_ATFCTS): Likewise.
37669         (__ASSUME_SET_ROBUST_LIST): Likewise.
37670         (__ASSUME_UTIMENSAT): Likewise.
37671         (__ASSUME_FDATASYNC): Define unconditionally.
37672         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37673         (__ASSUME_SIGFRAME_V2): Likewise.
37674         )__ASSUME_EVENTFD2): Likewise.
37675         (__ASSUME_SIGNALFD4): Likewise.
37676         (__ASSUME_PSELECT): Do not undefine conditionally.
37677         (__ASSUME_PPOLL): Likewise.
37678         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37679         (__ASSUME_PSELECT): Define unconditionally.
37680         (__ASSUME_PPOLL): Likewise.
37681         (__ASSUME_O_CLOEXEC): Likewise.
37682         (__ASSUME_SOCK_CLOEXEC): Likewise.
37683         (__ASSUME_IN_NONBLOCK): Likewise.
37684         (__ASSUME_PIPE2): Likewise.
37685         (__ASSUME_EVENTFD2): Likewise.
37686         (__ASSUME_SIGNALFD4): Likewise.
37687         (__ASSUME_DUP3): Likewise.
37688         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37689         (__ASSUME_O_CLOEXEC): Likewise.
37690         (__ASSUME_SOCK_CLOEXEC): Likewise.
37691         (__ASSUME_IN_NONBLOCK): Likewise.
37692         (__ASSUME_PIPE2): Likewise.
37693         (__ASSUME_EVENTFD2): Likewise.
37694         (__ASSUME_SIGNALFD4): Likewise.
37695         (__ASSUME_DUP3): Likewise.
37696         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37697         (__ASSUME_EVENTFD2): Likewise.
37698         (__ASSUME_SIGNALFD4): Likewise.
37699         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37701 2014-05-12  Andreas Schwab  <schwab@suse.de>
37703         [BZ #16932]
37704         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37705         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37706         than maximum RPC packet size.
37707         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37708         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37709         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37710         (_nss_nis_getservbyport_r): Likewise.
37712 2014-05-12  Will Newton  <will.newton@linaro.org>
37714         * malloc/Makefile (tests): Add tst-mallopt.
37715         * malloc/tst-mallopt.c: New file.
37717 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37719         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37720         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37722 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37724         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37725         (tst-tlsmod6.so): Likewise.
37727 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37729         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37731 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37733         [BZ #16064]
37734         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37735         and <dl-procinfo.h>.
37736         (__fegetenv): Save SSE state in envp->__eip if supported.
37737         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37738         envp->__eip if supported.
37739         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37740         and <dl-procinfo.h>.
37741         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37742         __data_offset and __data_selector in environment to 0.  Set SSE
37743         state if supported.
37744         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37745         test-fenv-sse.
37746         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37747         -mfpmath=sse.
37748         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37750 2014-05-09  Will Newton  <will.newton@linaro.org>
37752         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37753         and libc_relro_required for ARM.
37754         * sysdeps/arm/preconfigure: Regenerate.
37756 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37757             Stefan Liebler  <stli@linux.vnet.ibm.com>
37759         * config.make.in (enable-lock-elision): New Makefile variable.
37760         * configure.ac: Likewise.
37761         * configure: Regenerate.
37762         * sysdeps/s390/configure.ac:
37763         Add check for gcc transactions support.
37764         * sysdeps/s390/configure: Regenerate.
37765         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37766         Build elision files if enabled.
37767         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37768         Add lock elision support for s390.
37769         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37770         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37771         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37772         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37773         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37774         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37775         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37776         Likewise.
37777         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37778         Likewise.
37779         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37780         Likewise.
37781         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37782         Likewise.
37783         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37784         (__lll_timedlock_elision, __lll_lock_elision)
37785         (__lll_unlock_elision, __lll_trylock_elision)
37786         (lll_timedlock_elision, lll_lock_elision)
37787         (lll_unlock_elision, lll_trylock_elision): Add.
37788         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37789         (pthread_mutex_t): Add lock elision support for s390.
37791 2014-05-14  Wilco  <wdijkstr@arm.com>
37793         * sysdeps/arm/fclrexcpt.c: Cleanup.
37794         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37795         * sysdeps/arm/feenablxcpt.c: Cleanup.
37796         * sysdeps/arm/fegetenv.c: Cleanup.
37797         * sysdeps/arm/fegetexcept.c: Cleanup.
37798         * sysdeps/arm/fegetround.c: Cleanup.
37799         * sysdeps/arm/feholdexcpt.c: Cleanup.
37800         * sysdeps/arm/fesetenv.c: Cleanup.
37801         * sysdeps/arm/fesetround.c: Cleanup.
37802         * sysdeps/arm/feupdateenv.c: Cleanup.
37803         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37804         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37805         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37806         * sysdeps/arm/ftestexcept.c: Cleanup.
37807         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37808         * sysdeps/arm/setfpucw.c: Cleanup.
37810 2014-05-09  Will Newton  <will.newton@linaro.org>
37812         * sysdeps/arm/armv7/strcmp.S: New file.
37813         * NEWS: Mention addition of ARMv7 optimized strcmp.
37815 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37817         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37818         look for %.ac rather than %.in.
37820         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37821         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37822         * sysdeps/mach/hurd/configure: Regenerated.
37823         * sysdeps/unix/sysv/linux/configure: Regenerated.
37825         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37827 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37829         [BZ# 16922]
37830         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37831         (LONG_SUB): Ditto.
37832         (PTR_SUB): Ditto.
37834 2014-05-07  Andreas Schwab  <schwab@suse.de>
37836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37837         when skipping over non-matching result from nscd.
37839 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37841         [BZ #16876]
37842         * nptl/sockperf.c (client): Check socket return value.
37844         [BZ #16877]
37845         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37846         nscd security class.
37848 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37850         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37851         * sysdeps/arm/unwind.h: ... here.
37853 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37855         [BZ# 16916]
37856         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37857         Define.
37859 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37861         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37862         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37863         multiarch strncpy for PPC64.
37864         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37865         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37867         multiarch optimizations.
37868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37869         (__libc_ifunc_impl_list): Likewise.
37870         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37871         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37872         multiarch stpncpy for PPC64.
37873         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37874         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37876 2014-05-06  Andreas Schwab  <schwab@suse.de>
37878         [BZ #16912]
37879         * gmon/mcount.c (_MCOUNT_DECL): Use
37880         atomic_compare_and_exchange_bool_acq instead of
37881         catomic_compare_and_exchange_bool_acq.
37883 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37885         * elf/Makefile (others, install-bin): Remove pldd.
37886         (pldd-modules): Variable removed.
37887         ($(objpfx)pldd): Target removed.
37888         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37889         (others, install-bin): Append pldd here.
37890         ($(objpfx)pldd): New target.
37892         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37893         to 0, so the first #if test emitted later doesn't see it undefined.
37894         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37895         * sysdeps/gnu/errlist.c: Regenerated.
37897 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37899         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37900         [libc_hidden_builtin_def]: Define to empty value.
37901         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37902         [libc_hidden_builtin_def]: Likewise.
37903         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37904         [libc_hidden_builtin_def]: Likewise.
37905         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37906         [libc_hidden_builtin_def]: Likewise.
37907         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37908         __redirect_memcpy and define ifunc as default hidden symbol.
37909         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37910         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37912 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37914         * locale/iso-4217.def: Reintroduce XDR currency.
37916 2014-05-04  Allan McRae  <allan@archlinux.org>
37918         * po/eo.po: Update Esperanto translation from translation project.
37920 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37922         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37923         and FEATURE_INDEX_MAX to 1.
37924         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37926 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37928         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37929         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37930         * iconvdata/big5.c (ONE_DIRECTION): Define.
37931         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37932         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37933         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37934         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37935         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37936         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37937         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37938         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37939         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37940         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37941         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37942         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37943         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37944         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37945         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37946         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37947         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37948         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37949         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37950         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37951         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37952         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37953         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37954         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37955         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37956         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37957         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37958         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37959         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37960         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37961         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37962         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37963         * iconvdata/johab.c (ONE_DIRECTION): Define.
37964         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37965         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37966         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37967         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37968         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37969         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37970         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37971         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37972         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37973         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37975 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37977         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37978         (_IO_JUMPS_OFFSET): Define to 0.
37980         * nptl/sysdeps/pthread/bits/libc-lock.h
37981         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37982         (__libc_lock_define_initialized_recursive): Always define using
37983         initializer.  Modern compilers treat uninitialized (implicit zero) and
37984         explicit zero initializers the same (i.e. put the datum in bss).
37986 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37988         * nscd/nscd-client.h: Include <string.h>.
37990 2014-05-01  David S. Miller  <davem@davemloft.net>
37992         [BZ #16885]
37993         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37994         multiple zero bytes exist at the end of a string.
37995         Reported by Aurelien Jarno <aurelien@aurel32.net>
37997         * string/test-strcmp.c (check): Add explicit test for situations where
37998         there are multiple zero bytes after the first.
38000 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38002         [BZ #16890]
38003         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
38004         when compiling wprintf.
38005         * stdio-common/tstdiomisc.c (t3): New function.
38006         (main): Call it.
38008 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38010         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
38011         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38012         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
38013         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
38015 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38017         * stdlib/longlong.h: Updated from GCC.
38019 2014-05-01  Will Newton  <will.newton@linaro.org>
38020             Bernard Ogden  <bernie.ogden@linaro.org>
38022         * NEWS: Update fixed bug list.
38024         [BZ #15119]
38025         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
38027 2014-04-30  David S. Miller  <davem@davemloft.net>
38029         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
38030         (libc_feholdexcept_setround_sparc_ctx): New function.
38031         (libc_fesetenv_sparc_ctx): Likewise.
38032         (libc_feupdateenv_sparc_ctx): Likewise.
38033         (libc_feholdsetround_sparc_ctx): Likewise.
38034         (libc_feholdexcept_setround_ctx): Define.
38035         (libc_feholdexcept_setroundf_ctx): Likewise.
38036         (libc_feholdexcept_setroundl_ctx): Likewise.
38037         (libc_fesetenv_ctx): Likewise.
38038         (libc_fesetenvf_ctx): Likewise.
38039         (libc_fesetenvl_ctx): Likewise.
38040         (libc_feupdateenv_ctx): Likewise.
38041         (libc_feupdateenvf_ctx): Likewise.
38042         (libc_feupdateenvl_ctx): Likewise.
38043         (libc_feresetround_ctx): Likewise.
38044         (libc_feresetroundf_ctx): Likewise.
38045         (libc_feresetroundl_ctx): Likewise.
38046         (libc_feholdsetround_ctx): Likewise.
38047         (libc_feholdsetroundf_ctx): Likewise.
38048         (libc_feholdsetroundl_ctx): Likewise.
38050         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38051         with __USE_GNU instead of XOPEN cpp guards.
38053         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
38054         0.
38056         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38057         with XOPEN cpp guards.
38059 2014-04-30  Julian Brown  <julian@codesourcery.com>
38061         [BZ #16888]
38062         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
38063         handling.
38065 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
38067         [BZ #9894]
38068         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
38069         Change to 2.6.32.
38070         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
38071         * sysdeps/unix/sysv/linux/configure: Regenerated.
38072         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
38073         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
38074         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
38075         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
38076         * README: Update reference to required Linux kernel version.
38077         * manual/install.texi (Linux): Update reference to required Linux
38078         kernel headers version.
38079         * INSTALL: Regenerated.
38081         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
38082         header inclusion.
38083         [POSIX] (limits.h): Likewise.
38084         [POSIX] (math.h): Likewise.
38085         [POSIX] (sys/wait.h): Likewise.
38086         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
38087         function.
38088         [POSIX] (stddef.h): Do not allow header inclusion.
38090 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38092         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
38094 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
38096         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
38097         Return immediately after lll_futex_wake.
38099 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38101         [BZ #16791]
38102         * nscd/nscd-client.h (datahead_init_common): Initialize entire
38103         structure.
38104         (datahead_init_pos): Call datahead_init_common early.
38105         (datahead_init_neg): Likewise.
38107         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
38108         datahead_init_neg): New functions.
38109         * nscd/aicache.c (addhstaiX): Use them.
38110         * nscd/grpcache.c (cache_addgr): Likewise.
38111         * nscd/hstcache.c (cache_addhst): Likewise.
38112         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38113         * nscd/netgroupcache.c (do_notfound): Likewise.
38114         (addgetnetgrentX): Likewise.
38115         (addinnetgrX): Likewise.
38116         * nscd/pwdcache.c (cache_addpw): Likewise.
38117         * nscd/servicescache.c (cache_addserv): Likewise.
38119 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38120             Atsushi Onoe  <atsushi@onoe.org>
38122         [BZ #14308]
38123         [BZ #12994]
38124         [BZ #13651]
38125         * resolv/res_query.c (__libc_res_nsearch): Return if at least
38126         one response is valid.
38127         * resolv/res_send.c (send_dg): Check for validity of other
38128         response if the current response is a referral.
38130 2014-04-29  Steve Ellcey  <sellcey@mips.com>
38132         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38134 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
38136         [BZ #16823]
38137         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38138         Always divide by positive zero when computing -Inf result.
38139         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38140         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
38142 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38144         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
38145         FPSCR if value do not change.
38146         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38147         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
38148         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38149         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38150         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
38151         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
38152         function.
38154 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
38156         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38157         * sysdeps/unix/sysv/linux/hppa: Move directory from
38158         ports/systeps/unix/sysv/linux/hppa.
38159         * README: Update listing for hppa-*-linux-gnu.
38161 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38163         [BZ #16754]
38164         * manual/stdio.texi (Hook functions): Fix types of stream hook
38165         functions.
38166         [BZ #16854]
38167         * socket/sys/socket.h: Fix typo in comment.
38169 2014-04-28  Wilco  <wdijkstr@arm.com>
38171         * sysdeps/arm/fenv_private.h: New file.
38172         * sysdeps/arm/math_private.h: New file.
38173         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38175 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38177         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38178         with __int128_t.
38179         (La_x86_64_retval): Likewise.
38181 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38183         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38184         fpsr if value didn't change.
38185         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38186         to fpcr if value didn't change.
38187         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38188         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38189         fpsr or fpcr if value didn't change.
38190         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38191         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38192         fpcr if value didn't change.
38193         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38194         to fpsr if value didn't change.
38196 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38198         * nptl/tst-sem3.c: Use test-skeleton.c
38199         (main): Rename to do_test.  Use return instead of
38200         exit.
38201         * nptl/tst-sem4.c: Use test-skeleton.c
38202         (main): Rename to do_test.
38204 2014-04-22  David S. Miller  <davem@davemloft.net>
38206         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38207         (struct sigaction): New struct member __glibc_reserved0, change
38208         type of sa_flags to int.
38210 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38212         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38213         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38215 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38217         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38218         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38220 2014-04-22  Will Newton  <will.newton@linaro.org>
38221             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38223         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38224         (__longjmp): Add longjmp and longjmp_target SystemTap
38225         probes.
38226         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38227         (__sigsetjmp): Add setjmp SystemTap probe.
38229 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38231         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38232         match manual order.
38234 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38236         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38238         * sysdeps/powerpc/fpu/fenv_private.h
38239         (libc_feholdexcept_setroundl_ctx): Define to
38240         libc_feholdexcept_setround_ppc_ctx.
38241         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38242         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38243         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38244         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38246 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38248         * sysdeps/aarch64/math-tests.h: New file.
38250 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38252         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38253         New.
38254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38255         Check and set bit_AVX2_Usable.
38256         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38257         macro.
38258         (bit_AVX2): Likewise.
38259         (index_AVX2_Usable): Likewise.
38260         (CPUID_AVX2): Likewise.
38261         (HAS_AVX2): Likewise.
38263 2014-04-17  Will Newton  <will.newton@linaro.org>
38265         * manual/setjmp.texi (System V contexts): Add note that
38266         calling setcontext on a context created by a call to a
38267         signal handler is undefined.  Update text to note that
38268         setcontext from a signal handler is possible but not
38269         recommended.
38271         [BZ #16629]
38272         * stdlib/tst-setcontext.c: Include signal.h.
38273         (main): Check that the signal stack before and
38274         after swapcontext is the same.
38276         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38277         Re-implement to restore registers in user code and avoid
38278         rt_sigreturn system call.
38280 2014-04-17  Wilco  <wdijkstr@arm.com>
38282         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38283         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38284         * math/test-fenv.c: Skip exception trap tests on targets which only
38285         support non-stop mode.
38287 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38288             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38290         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38291         (libc_feholdsetround_aarch64_ctx)
38292         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38293         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38294         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38295         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38296         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38297         (libc_feresetround_noexl_ctx): Define.
38299 2014-04-16  Richard Henderson  <rth@redhat.com>
38301         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38303         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38304         unwind tables.
38306         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38307         const from the non-libc, non-ldso copy.
38309         * sysdeps/alpha/libm-test-ulps: Regenerate.
38311 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38312             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38314         * sysdeps/aarch64/fpu/math_private.h: New file.
38316 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38318         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38320 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38322         [BZ #16275]
38323         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38324         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38325         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38326         Intel MPX bound registers before _dl_profile_fixup.
38327         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38328         registers after _dl_profile_fixup.  Save and restore bound
38329         registers bnd0/bnd1 when calling _dl_call_pltexit.
38330         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38331         (LR_BND_OFFSET): Likewise.
38332         (LRV_BND0_OFFSET): Likewise.
38333         (LRV_BND1_OFFSET): Likewise.
38335 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38337         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38338         to...
38339         * sysdeps/mach/hurd/i386/tls.h: ... here.
38340         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38341         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38342         fields.
38344 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38346         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38348 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38350         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38352 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38354         [BZ #14770]
38355         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38356         * sysdeps/s390/configure: Regenerate.
38358         [BZ #16824]
38359         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38360         Set round-to-nearest internally to reduce error accumulation.
38362 2014-04-16  Alan Modra  <amodra@gmail.com>
38364         [BZ #16740]
38365         [BZ #16619]
38366         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38367         * math/libm-test.inc (frexp_test_data): Add tests.
38368         * NEWS: Update fixed bug list.
38370 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38372         * benchtests/Makefile: Depend on libraries in build directory.
38373         (bench-math): Separate out math tests.
38374         (bench-pthread): Separate out pthread tests.
38375         (bench): Include math and pthread tests.
38377 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38379         [BZ #16831]
38380         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38381         _dl_debug_initialize.
38383         * configure.ac: Remove SELinux header check.
38384         * configure: Regenerate.
38385         * nscd/selinux.c (perms): Array of const char* to permission names.
38386         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38387         default policy. Call string_to_security_class and string_to_av_perm to
38388         translate strings. Enforce default policy and call avs_has_perm with
38389         results of translated strings.
38391 2014-04-13  David S. Miller  <davem@davemloft.net>
38393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38395 2014-04-12  Allan McRae  <allan@archlinux.org>
38397         [BZ #16838]
38398         * manual/string.texi (Collation Functions): Fix qsort argument
38399         order in example.
38400         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38402 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38404         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38405         Make the test a no-op if there are no exceptions defined.
38407 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38409         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38410         enable-hardcoded-path-in-tests
38412 2014-04-11  Will Newton  <will.newton@linaro.org>
38414         * benchtests/Makefile (extra-objs): Add json-lib.o.
38415         (bench-func): Tidy up JSON output.
38416         * benchtests/bench-skeleton.c: Include json-lib.h.
38417         (main): Use JSON library functions to do output of
38418         benchmark results.
38419         * benchtests/bench-timing-type.c (main): Output the
38420         timing type simply, leaving formatting to the user.
38421         * benchtests/json-lib.c: New file.
38422         * benchtests/json-lib.h: Likewise.
38424 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38426         [BZ #15215]
38427         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38428         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38429         memory barriers.  Add comments.
38430         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38431         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38432         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38433         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38434         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38435         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38437 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38439         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38440         * sysdeps/s390/s390-64/configure.ac: ... this ...
38441         * sysdeps/s390/configure.ac: ... to here.
38442         * sysdeps/s390/s390-32/configure: Delete file.
38443         * sysdeps/s390/s390-64/configure: Delete file.
38444         * sysdeps/s390/configure: Regenerate.
38446 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38448         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38450 2014-04-11  Will Newton  <will.newton@linaro.org>
38452         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38453         to zero if it is not defined elsewhere.  (mtrim): Test
38454         the value of MALLOC_DEBUG with #if rather than #ifdef.
38456 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38458         * benchtests/pthread_once-inputs: New file.
38459         * benchtests/pthread_once-source.c: New file.
38460         * benchtests/README: Update documentation.
38462 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38463             H.J. Lu  <hongjiu.lu@intel.com>
38465         [BZ #16275]
38466         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38467         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38468         * sysdeps/x86_64/configure: Regenerated.
38469         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38470         macro.
38471         (REGISTER_SAVE_RAX): Likewise.
38472         (REGISTER_SAVE_RCX): Likewise.
38473         (REGISTER_SAVE_RDX): Likewise.
38474         (REGISTER_SAVE_RSI): Likewise.
38475         (REGISTER_SAVE_RDI): Likewise.
38476         (REGISTER_SAVE_R8): Likewise.
38477         (REGISTER_SAVE_R9): Likewise.
38478         (REGISTER_SAVE_BND0): Likewise.
38479         (REGISTER_SAVE_BND1): Likewise.
38480         (REGISTER_SAVE_BND2): Likewise.
38481         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38482         bound registers when calling _dl_fixup.
38484 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38486         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38487         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38488         of its definition.
38489         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38490         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38491         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38492         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38493         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38494         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38495         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38497 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38499         [BZ #15514]
38500         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38501         pathconf(_PC_NAME_MAX).
38503 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38505         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38506         Remove macro usage.
38507         (__PTHREAD_SPINS): Move definition to ...
38508         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38509         (__PTHREAD_SPINS): ... here.
38510         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38511         (__PTHREAD_SPIN): Likewise.
38512         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38513         (__PTHREAD_SPIN): Likewise.
38514         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38515         (__PTHREAD_SPIN): Likewise.
38516         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38517         (__PTHREAD_SPIN): Likewise.
38518         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38519         (__PTHREAD_SPIN): Likewise.
38520         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38521         (__PTHREAD_SPIN): Likewise.
38522         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38523         (__PTHREAD_SPIN): Likewise.
38524         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38525         (__PTHREAD_SPIN): Likewise.
38526         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38527         (__PTHREAD_SPIN): Likewise.
38528         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38529         (__PTHREAD_SPIN): Likewise.
38530         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38531         (__PTHREAD_SPIN): Likewise.
38532         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38533         (__PTHREAD_SPIN): Likewise.
38535         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38536         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38537         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38538         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38539         imply folder.
38540         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38541         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38542         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38543         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38544         correct imply path.
38545         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38546         strlen symbol for non multi-arch builds.
38547         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38548         missing hidden_def and weak_alias.
38550 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38552         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38554 2014-04-07  Will Newton  <will.newton@linaro.org>
38556         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38557         and contents.  [!_LIBC] Remove #ifndef and contents.
38558         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38559         * string/memccpy.c (__memccpy): Use ANSI prototype.
38560         * string/memfrob.c (memfrob): Likewise.
38561         * string/strcoll.c (STRCOLL): Likewise.
38562         * string/strlen.c (strlen): Likewise.
38563         * string/strtok.c (STRTOK): Likewise.
38564         * string/strcat.c: Remove unused #include of memcopy.h.
38565         (strcat): Use ANSI prototype.
38566         * string/strchr.c: Remove unused #include of memcopy.h.
38567         (strchr): Use ANSI prototype.
38568         * string/strcmp.c: Remove unused #include of memcopy.h.
38569         (strcmp): Use ANSI prototype.
38570         * string/strcpy.c: Remove unused #include of memcopy.h.
38571         (strcpy): Use ANSI prototype.
38573 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38575         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38576         * config.make.in (config-extra-cppflags): Set it from
38577         libc_extra_cppflags.
38578         * configure.ac (libc_extra_cflags): Make it accumulate over
38579         configure fragments.
38580         (libc_extra_cppflags): New flag.
38581         * configure. Regenerate.
38582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38583         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38584         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38587         [BZ #16815]
38588         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38589         result for FE_DOWNWARD rounding mode.
38590         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38591         Likewise.
38592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38594 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38596         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38597         in function argument name.
38599 2014-04-03  David Svoboda  <svoboda@cert.org>
38601         [BZ #5666]
38602         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38603         explicitly.
38605 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38607         * elf/dl-unmap-segments.h: New file.
38608         * sysdeps/generic/ldsodefs.h
38609         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38610         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38611         * elf/dl-fptr.c: Likewise.
38612         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38613         * sysdeps/aarch64/tlsdesc.c: Likewise.
38614         * sysdeps/arm/tlsdesc.c: Likewise.
38615         * sysdeps/i386/tlsdesc.c: Likewise.
38616         * sysdeps/tile/dl-runtime.c: Likewise.
38617         * sysdeps/x86_64/tlsdesc.c: Likewise.
38618         * elf/dl-load.h: New file.
38619         * elf/dl-load.c: Include it.
38620         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38621         Macros moved to dl-load.h.
38622         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38623         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38624         Use _dl_unmap_segments in place of __munmap.
38625         Break out segment-mapping loop into ...
38626         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38628 2014-04-03  Will Newton  <will.newton@linaro.org>
38630         * elf/dl-lookup.c (do_lookup_x): Remove comment
38631         referring to nested function and move variable
38632         declarations down to before first use.
38634 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38636         [BZ #16799]
38637         [BZ #16800]
38638         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38639         with 0 numerator.
38640         * math/s_catanf.c (__catanf): Likewise.
38641         * math/s_catanh.c (__catanh): Likewise.
38642         * math/s_catanhf.c (__catanhf): Likewise.
38643         * math/s_catanhl.c (__catanhl): Likewise.
38644         * math/s_catanl.c (__catanl): Likewise.
38645         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38646         by positive zero when computing -Inf result.
38647         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38648         (catanh_test): Likewise.
38649         * sysdeps/i386/fpu/libm-test-ulps: Update.
38650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38652         [BZ #16789]
38653         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38654         instead of using underflowing value in computing result.
38655         * math/s_clog10.c (__clog10): Likewise.
38656         * math/s_clog10f.c (__clog10f): Likewise.
38657         * math/s_clog10l.c (__clog10l): Likewise.
38658         * math/s_clogf.c (__clogf): Likewise.
38659         * math/s_clogl.c (__clogl): Likewise.
38660         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38661         (clog10_test): Likewise.
38662         * sysdeps/i386/fpu/libm-test-ulps: Update.
38663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38665 2014-04-02  Alan Modra  <amodra@gmail.com>
38667         [BZ #16739]
38668         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38669         output when value is near a power of two.  Use int64_t for lx and
38670         remove casts.  Use decimal rather than hex exponent constants.
38671         Don't use long double multiplication when double will suffice.
38672         * math/libm-test.inc (nextafter_test_data): Add tests.
38673         * NEWS: Add 16739 and 16786 to bug list.
38675         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38677         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38679 2014-04-01  Will Newton  <will.newton@linaro.org>
38681         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38682         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38684 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38686         [BZ #13347]
38687         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38688         * nptl/tst-setuid2.c: New file.
38689         * nptl/Makefile (xtests): Add tst-setuid2.
38691 2014-04-01  Alan Modra  <amodra@gmail.com>
38693         [BZ #16786]
38694         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38696 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38698         [BZ #6803]
38699         [BZ #6804]
38700         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38701         set errno as appropriate.
38702         * math/w_scalbf.c (__scalbf): Likewise.
38703         * math/w_scalbl.c (__scalbl): Likewise.
38704         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38705         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38706         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38707         Add more NaN tests.
38709         [BZ #16349]
38710         * math/w_atan2.c: Include <errno.h>.
38711         (__atan2): Set errno for result underflowing to zero.
38712         * math/w_atan2f.c: Include <errno.h>.
38713         (__atan2f): Set errno for result underflowing to zero.
38714         * math/w_atan2l.c: Include <errno.h>.
38715         (__atan2l): Set errno for result underflowing to zero.
38716         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38717         tests.
38718         * math/auto-libm-test-out: Regenerated.
38720 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38722         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38723         Encode instruction correctly in little endian.
38724         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38725         Likewise.
38726         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38727         Likewise.
38728         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38729         Likewise.
38730         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38731         Likewise.
38733 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38735         [BZ #9894]
38736         * sysdeps/unix/sysv/linux/kernel-features.h
38737         [__sparc__ && !__arch64__ && !__sparc_v9__]
38738         (__ASSUME_SET_ROBUST_LIST): Do not define.
38739         [__sparc__ && !__arch64__ && !__sparc_v9__]
38740         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38741         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38742         Likewise.
38743         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38744         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38745         (__ASSUME_REQUEUE_PI): Likewise.
38746         (__ASSUME_SET_ROBUST_LIST): Likewise.
38747         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38748         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38749         Undefine.
38750         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38751         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38752         Likewise.
38753         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38754         Likewise.
38755         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38756         Likewise.
38757         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38758         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38759         Undefine.
38760         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38761         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38762         Likewise.
38764         [BZ #16648]
38765         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38766         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38767         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38769 2014-03-31  Will Newton  <will.newton@linaro.org>
38771         * benchtests/Makefile (bench): Add ffs and ffsll to list
38772         of tests.
38773         * benchtests/ffs-inputs: New file.
38774         * benchtests/ffsll-inputs: Likewise.
38776 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38778         [BZ #16770]
38779         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38780         too large before casting to int.
38781         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38782         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38783         * math/libm-test.inc (scalb_test_data): Add more tests.
38785 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38787         * benchtests/Makefile (DETAILED_OPT): New make option.
38788         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38789         set.
38790         * benchtests/bench-skeleton.c: Include stdbool.h.
38791         (main): Store and print timings per input.
38792         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38793         member to each argument value.
38794         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38795         (_print_arg_data): Initialize per-input timing to 0.
38797         * benchtests/Makefile (timing-type): New binary.
38798         (bench-clean): Also remove bench-timing-type.
38799         (bench): New target for timing-type.
38800         (bench-func): Print output in JSON format.
38801         * benchtests/bench-skeleton.c (main): Print output in JSON
38802         format.
38803         * benchtests/bench-timing-type.c: New file.
38804         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38805         (TIMING_PRINT_STATS): Remove.
38806         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38807         name separately.
38809         * benchtests/bench-modf.c: Remove.
38810         * benchtests/modf-inputs: New inputs file.
38812 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38814         [BZ #16362]
38815         * math/s_clog10.c (M_PI_LOG10E): New macro.
38816         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38817         imaginary parts are 0.
38818         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38819         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38820         imaginary parts are 0.
38821         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38822         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38823         imaginary parts are 0.
38824         * math/libm-test.inc (clog10_test_data): Update expected results
38825         for when real and imaginary parts are 0.
38827 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38829         * elf/dl-load.c: Finish conversion of __builtin_expect into
38830         __glibc_{un}likely.
38832 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38834         [BZ #16348]
38835         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38836         1+x for argument with exponent below -67.
38837         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38838         Likewise.
38839         * math/auto-libm-test-in: Add more tests of exp.
38840         * math/auto-libm-test-out: Regenerated.
38842 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38844         [BZ #16759]
38845         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38846         (nscd_getnetgrent): Use it.
38848         [BZ #16760]
38849         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38850         of stpcpy.
38852 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38854         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38855         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38856         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38857         (lll_robust_unlock): Remove out of line section. Use cfi
38858         intrinsics.
38859         (LLL_STUB_UNWIND_INFO*): Remove.
38860         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38861         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38862         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38863         (lll_robust_unlock): Remove out of line section. Use cfi
38864         intrinsics.
38865         (LLL_STUB_UNWIND_INFO*): Remove.
38867 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38869         [BZ #16758]
38870         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38871         blank values.
38873 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38875         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38877 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38879         [BZ #16198]
38880         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38881         fnstenv.
38882         * math/test-fenv-preserve.c: New file.
38883         * math/Makefile (tests): Add test-fenv-preserve.
38885 2014-03-26  Will Newton <will.newton@linaro.org>
38887         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38889 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38891         * scripts/versionlist.awk: Partition the version sets and emit all
38892         GLIBC_* (sorted) before all others (sorted).
38894 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38896         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38897         GLIBC_2.2.5 version.
38899 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38901         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38902         calls.
38904         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38905         previous change.
38907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38909 2014-03-25  Andreas Schwab  <schwab@suse.de>
38911         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38912         label to be used after in6ailist is initialized.
38914 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38916         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38917         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38919 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38921         [BZ #16357]
38922         [BZ #16599]
38923         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38924         min_plus_half.
38925         (fp_formats): Update initializers.
38926         (init_fp_formats): Initialize new field.
38927         (output_for_one_input_case): Allow underflow for results up to
38928         min_plus_half.
38929         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38930         * math/auto-libm-test-in: Don't mark some underflows from asin and
38931         atanh as spurious.
38932         * math/auto-libm-test-out: Regenerated.
38933         * sysdeps/i386/fpu/libm-test-ulps: Update.
38934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38936 2014-03-25  Andreas Schwab  <schwab@suse.de>
38938         * libio/Makefile (tst-ftell-partial-wide-ENV)
38939         (tst-ftell-active-handler-ENV): Define.
38941 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38943         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38945 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38947         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38949 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38951         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38952         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38953         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38955 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38957         [BZ #16634]
38958         * elf/dl-load.c (open_verify): Add mode parameter.
38959         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38960         (open_path): Change from boolean 'secure' to complete flag 'mode'
38961         (_dl_map_object): Adjust.
38962         * elf/Makefile (tests): Add tst-dlopen-aout.
38963         * elf/tst-dlopen-aout.c: New test.
38965 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38967         [BZ #16714]
38968         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38969         (struct stat): Rename member pad0 to __glibc_reserved0.
38971         [BZ #16712]
38972         * sysdeps/s390/s390-32/bits/wordsize.h
38973         (__WORDSIZE32_SIZE_ULONG): New define.
38974         * sysdeps/s390/s390-64/bits/wordsize.h
38975         (__WORDSIZE32_SIZE_ULONG): Likewise.
38976         * sysdeps/generic/stdint.h (SIZE_MAX):
38977         Define as UL if __WORDSIZE32_SIZE_ULONG.
38979         [BZ #16713]
38980         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38981         (__glibc_reserved0): New variable.
38982         (sa_flags): Change type to int.
38984         * posix/Makefile (before-compile): Use += before-compile instead
38985         of a :=.
38987         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38988         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38990 2014-03-20  Andreas Schwab  <schwab@suse.de>
38992         [BZ #16743]
38993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38994         non-matching result from nscd.
38996 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38998         * scripts/bench.py: Moved to ...
38999         * benchtests/scripts/bench.py: ... here.
39000         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39002 2014-03-24  Andreas Schwab  <schwab@suse.de>
39004         [BZ #16002]
39005         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
39006         alloca_account and account alloca use for struct in6ailist.
39008 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39010         [BZ #16284]
39011         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
39012         rounding mode to recompute results that overflow to infinity or
39013         underflow to zero.
39014         * math/auto-libm-test-in: Don't mark tests as expected to fail for
39015         bug 16284.
39016         * math/auto-libm-test-out: Regenerated.
39017         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
39018         (ccosh_test): Likewise.
39019         (csin_test_data): Use plus_oflow.
39020         (csin_test): Use ALL_RM_TEST.
39021         (csinh_test_data): Use plus_oflow.
39022         (csinh_test): Use ALL_RM_TEST.
39023         * sysdeps/i386/fpu/libm-test-ulps: Update.
39024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39026 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
39028         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
39029         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
39030         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
39032         [BZ #16731]
39033         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
39034         when x - 1 is zero.
39035         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
39036         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
39037         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39038         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
39039         argument is 1.
39040         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
39041         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
39042         zero.
39043         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
39044         * sysdeps/i386/fpu/libm-test-ulps: Update.
39045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39047 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39049         * scripts/bench.pl: Remove file.
39050         * scripts/bench.py: New benchmark script.
39051         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
39052         * benchtests/README: Mention python dependency.
39053         * scripts/pylintrc: New file.
39054         * scripts/pylint: New file.
39056         * bits/mathdef.h: Use #ifdef instead of #if.
39057         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
39058         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39059         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
39060         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39061         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
39062         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39064 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39065             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39067         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
39068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
39069         and strpbrk-ppc64 objects.
39070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39071         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
39072         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
39073         multiarch strpbrk for POWER7.
39074         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
39075         multiarch strpbrk for PPC64.
39076         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
39077         ifunc selector.
39078         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
39079         strpbrk for POWER7.
39081 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39083         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
39084         (atan_test): Likewise.
39085         (atanh_test_data): Use NO_TEST_INLINE for two tests.
39086         (atanh_test): Use ALL_RM_TEST.
39087         (atan2_test_data): Likewise.
39088         (cabs_test): Likewise.
39089         (cacosh_test): Likewise.
39090         (carg_test): Likewise.
39091         (casin_test): Likewise.
39092         (casinh_test): Likewise.
39093         (cbrt_test): Likewise.
39094         (csqrt_test): Likewise.
39095         (erf_test): Likewise.
39096         (erfc_test): Likewise.
39097         (pow10_test): Likewise.
39098         (exp2_test): Likewise.
39099         (hypot_test): Likewise.
39100         (j0_test): Likewise.
39101         (j1_test): Likewise.
39102         (lgamma_test): Likewise.
39103         (gamma_test): Likewise.
39104         (sincos_test): Likewise.
39105         (tanh_test): Likewise.
39106         (y0_test): Likewise.
39107         (y1_test): Likewise.
39108         * sysdeps/i386/fpu/libm-test-ulps: Update.
39109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39111 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39113         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
39114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
39115         and strcspn-ppc64 objects.
39116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39117         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
39118         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39119         multiarch strcspn for POWER7.
39120         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
39121         multiarch strcspn for PPC64.
39122         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39123         ifunc selector.
39124         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39125         strcspn for POWER7.
39127 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39129         * math/gen-libm-test.pl (generate_testfile): Expect only function
39130         name as argument to AUTO_TESTS_* and pass results for all rounding
39131         modes to parse_args.
39132         (parse_auto_input): Separate inputs of automatic tests from
39133         outputs before storing in %auto_tests.
39134         * math/libm-test.inc (acos_test_data): Update call to
39135         AUTO_TESTS_f_f.
39136         (acos_test): Use ALL_RM_TEST.
39137         (acos_tonearest_test_data): Remove.
39138         (acos_test_tonearest): Likewise.
39139         (acos_towardzero_test_data): Likewise.
39140         (acos_test_towardzero): Likewise.
39141         (acos_downward_test_data): Likewise.
39142         (acos_test_downward): Likewise.
39143         (acos_upward_test_data): Likewise.
39144         (acos_test_upward): Likewise.
39145         (acosh_test_data): Update call to AUTO_TESTS_f_f.
39146         (asin_test_data): Likewise.
39147         (asin_test): Use ALL_RM_TEST.
39148         (asin_tonearest_test_data): Remove.
39149         (asin_test_tonearest): Likewise.
39150         (asin_towardzero_test_data): Likewise.
39151         (asin_test_towardzero): Likewise.
39152         (asin_downward_test_data): Likewise.
39153         (asin_test_downward): Likewise.
39154         (asin_upward_test_data): Likewise.
39155         (asin_test_upward): Likewise.
39156         (asinh_test_data): Update call to AUTO_TESTS_f_f.
39157         (atan_test_data): Likewise.
39158         (atanh_test_data): Likewise.
39159         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39160         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39161         (carg_test_data): Likewise.
39162         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39163         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39164         (ccosh_test_data): Likewise.
39165         (cexp_test_data): Likewise.
39166         (clog_test_data): Likewise.
39167         (clog10_test_data): Likewise.
39168         (cos_test_data): Update call to AUTO_TESTS_f_f.
39169         (cos_test): Use ALL_RM_TEST.
39170         (cos_tonearest_test_data): Remove.
39171         (cos_test_tonearest): Likewise.
39172         (cos_towardzero_test_data): Likewise.
39173         (cos_test_towardzero): Likewise.
39174         (cos_downward_test_data): Likewise.
39175         (cos_test_downward): Likewise.
39176         (cos_upward_test_data): Likewise.
39177         (cos_test_upward): Likewise.
39178         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39179         (cosh_test): Use ALL_RM_TEST.
39180         (cosh_tonearest_test_data): Remove.
39181         (cosh_test_tonearest): Likewise.
39182         (cosh_towardzero_test_data): Likewise.
39183         (cosh_test_towardzero): Likewise.
39184         (cosh_downward_test_data): Likewise.
39185         (cosh_test_downward): Likewise.
39186         (cosh_upward_test_data): Likewise.
39187         (cosh_test_upward): Likewise.
39188         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39189         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39190         (ctan_test_data): Likewise.
39191         (ctan_test): Use ALL_RM_TEST.
39192         (ctan_tonearest_test_data): Remove.
39193         (ctan_test_tonearest): Likewise.
39194         (ctan_towardzero_test_data): Likewise.
39195         (ctan_test_towardzero): Likewise.
39196         (ctan_downward_test_data): Likewise.
39197         (ctan_test_downward): Likewise.
39198         (ctan_upward_test_data): Likewise.
39199         (ctan_test_upward): Likewise.
39200         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39201         (ctanh_test): Use ALL_RM_TEST.
39202         (ctanh_tonearest_test_data): Remove.
39203         (ctanh_test_tonearest): Likewise.
39204         (ctanh_towardzero_test_data): Likewise.
39205         (ctanh_test_towardzero): Likewise.
39206         (ctanh_downward_test_data): Likewise.
39207         (ctanh_test_downward): Likewise.
39208         (ctanh_upward_test_data): Likewise.
39209         (ctanh_test_upward): Likewise.
39210         (erf_test_data): Update call to AUTO_TESTS_f_f.
39211         (erfc_test_data): Likewise.
39212         (exp_test_data): Likewise.
39213         (exp_test): Use ALL_RM_TEST.
39214         (exp_tonearest_test_data): Remove.
39215         (exp_test_tonearest): Likewise.
39216         (exp_towardzero_test_data): Likewise.
39217         (exp_test_towardzero): Likewise.
39218         (exp_downward_test_data): Likewise.
39219         (exp_test_downward): Likewise.
39220         (exp_upward_test_data): Likewise.
39221         (exp_test_upward): Likewise.
39222         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39223         (exp10_test): Use ALL_RM_TEST.
39224         (exp10_tonearest_test_data): Remove.
39225         (exp10_test_tonearest): Likewise.
39226         (exp10_towardzero_test_data): Likewise.
39227         (exp10_test_towardzero): Likewise.
39228         (exp10_downward_test_data): Likewise.
39229         (exp10_test_downward): Likewise.
39230         (exp10_upward_test_data): Likewise.
39231         (exp10_test_upward): Likewise.
39232         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39233         (expm1_test_data): Likewise.
39234         (expm1_test): Use ALL_RM_TEST.
39235         (expm1_tonearest_test_data): Remove.
39236         (expm1_test_tonearest): Likewise.
39237         (expm1_towardzero_test_data): Likewise.
39238         (expm1_test_towardzero): Likewise.
39239         (expm1_downward_test_data): Likewise.
39240         (expm1_test_downward): Likewise.
39241         (expm1_upward_test_data): Likewise.
39242         (expm1_test_upward): Likewise.
39243         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39244         (fma_test): Use ALL_RM_TEST.
39245         (fma_towardzero_test_data): Remove.
39246         (fma_test_towardzero): Likewise.
39247         (fma_downward_test_data): Likewise.
39248         (fma_test_downward): Likewise.
39249         (fma_upward_test_data): Likewise.
39250         (fma_test_upward): Likewise.
39251         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39252         (j0_test_data): Update call to AUTO_TESTS_f_f.
39253         (j1_test_data): Likewise.
39254         (jn_test_data): Update call to AUTO_TESTS_if_f.
39255         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39256         (log_test_data): Update call to AUTO_TESTS_f_f.
39257         (log10_test_data): Likewise.
39258         (log1p_test_data): Likewise.
39259         (log2_test_data): Likewise.
39260         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39261         (pow_tonearest_test_data): Likewise.
39262         (sin_test_data): Update call to AUTO_TESTS_f_f.
39263         (sin_test): Use ALL_RM_TEST.
39264         (sin_tonearest_test_data): Remove.
39265         (sin_test_tonearest): Likewise.
39266         (sin_towardzero_test_data): Likewise.
39267         (sin_test_towardzero): Likewise.
39268         (sin_downward_test_data): Likewise.
39269         (sin_test_downward): Likewise.
39270         (sin_upward_test_data): Likewise.
39271         (sin_test_upward): Likewise.
39272         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39273         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39274         (sinh_test): Use ALL_RM_TEST.
39275         (sinh_tonearest_test_data): Remove.
39276         (sinh_test_tonearest): Likewise.
39277         (sinh_towardzero_test_data): Likewise.
39278         (sinh_test_towardzero): Likewise.
39279         (sinh_downward_test_data): Likewise.
39280         (sinh_test_downward): Likewise.
39281         (sinh_upward_test_data): Likewise.
39282         (sinh_test_upward): Likewise.
39283         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39284         (sqrt_test): Use ALL_RM_TEST.
39285         (sqrt_tonearest_test_data): Remove.
39286         (sqrt_test_tonearest): Likewise.
39287         (sqrt_towardzero_test_data): Likewise.
39288         (sqrt_test_towardzero): Likewise.
39289         (sqrt_downward_test_data): Likewise.
39290         (sqrt_test_downward): Likewise.
39291         (sqrt_upward_test_data): Likewise.
39292         (sqrt_test_upward): Likewise.
39293         (tan_test_data): Update call to AUTO_TESTS_f_f.
39294         (tan_test): Use ALL_RM_TEST.
39295         (tan_tonearest_test_data): Remove.
39296         (tan_test_tonearest): Likewise.
39297         (tan_towardzero_test_data): Likewise.
39298         (tan_test_towardzero): Likewise.
39299         (tan_downward_test_data): Likewise.
39300         (tan_test_downward): Likewise.
39301         (tan_upward_test_data): Likewise.
39302         (tan_test_upward): Likewise.
39303         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39304         (tgamma_test_data): Likewise.
39305         (y0_test_data): Likewise.
39306         (y1_test_data): Likewise.
39307         (yn_test_data): Update call to AUTO_TESTS_if_f.
39308         (main): Do not call removed functions.
39310 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39312         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39313         (ldexp_test_data): Remove.
39314         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39315         scalbn_test_data.
39316         (scalb_test): Use ALL_RM_TEST.
39318 2014-03-19  Andreas Schwab  <schwab@suse.de>
39320         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39322 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39324         [BZ #16649]
39325         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39326         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39327         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39328         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39329         (__ASSUME_PREADV): Undefine.
39330         (__ASSUME_PWRITEV): Likewise.
39332 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39334         * bits/mman-linux.h: Add comment about non-Linux use.
39335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39336         bits/mman-linux.h resting place.
39338         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39339         * bits/mman-linux.h: ... here.
39341 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39343         * conform/conformtest.pl: Add standard definition when calling C
39344         preprocessor on data files.
39345         (checknamespace): Remove unused variable.
39347 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39349         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39350         minus_oflow, plus_uflow and minus_uflow in expected results.
39351         * math/libm-test.inc (scalbn_test_data): Add more tests of
39352         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39353         minus_uflow.
39354         (scalbn_test): Use ALL_RM_TEST.
39355         (scalbln_test_data): Add more tests of negative arguments.  Use
39356         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39357         (scalbln_test): Use ALL_RM_TEST.
39359 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39361         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39363 2014-03-18  Will Newton  <will.newton@linaro.org>
39365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39366         inaccurate comment.
39368 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39370         * Makerules [!subdir] (check-abi): Exit with error status if a
39371         test failed.
39373 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39375         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39376         for rint.  Include results for all rounding modes.
39377         (nearbyint_test): Use ALL_RM_TEST.
39378         (rint_test_data): Include all tests used for nearbyint.
39380 2014-03-17  Will Newton  <will.newton@linaro.org>
39382         * nptl/sysdeps/pthread/pthread.h: Revert previous
39383         change.
39385         * sysdeps/generic/ldsodefs.h: Revert previous
39386         change.
39388         * libio/genops.c: Revert previous change.
39389         * libio/libioP.h: Likewise.
39390         * stdio-common/vfprintf.c: Likewise.
39392         * sysdeps/generic/math_private.h: Revert previous
39393         change.
39395         * sysdeps/generic/math_private.h: Check whether
39396         HAVE_RM_CTX is defined with #ifdef rather
39397         than #if.
39399         * argp/argp-fmtstream.h: Check whether
39400         __STRICT_ANSI__ is defined with #ifdef rather
39401         than #if.
39402         * argp/argp.h: Likewise.
39404         * libio/genops.c: Check whether
39405         _IO_JUMPS_OFFSET is defined with #ifdef rather
39406         than #if.
39407         * libio/libioP.h: Likewise.
39408         * stdio-common/vfprintf.c: Likewise.
39410         * sysdeps/generic/ldsodefs.h: Check whether
39411         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39412         than #if.
39414         * nptl/sysdeps/pthread/pthread.h: Check
39415         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39416         its value.
39418 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39420         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39421         setting O_APPEND.
39422         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39423         test case.
39425         [BZ #16680]
39426         * libio/fileops.c (_IO_file_open): Seek to end of file but
39427         don't cache the offset.
39428         (get_file_offset): Remove function.
39429         (do_ftell): Use cached offset when available.
39430         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39431         don't cache the offset.
39432         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39433         case.
39434         (do_one_test): Call it.
39435         (do_ftell_test): Fix up expected old offset for a+ mode.
39436         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39437         available.
39439         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39440         up test status with function return status.
39441         (do_write_test): Likewise.
39442         (do_append_test): Likewise.
39444         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39445         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39446         Remove.
39448 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39450         * math/gen-libm-test.pl (parse_args): Handle results specified for
39451         each rounding mode separately.
39452         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39453         tests and results from lrint_tonearest_test_data,
39454         lrint_towardzero_test_data, lrint_downward_test_data and
39455         lrint_upward_test_data.
39456         (lrint_test): Use ALL_RM_TEST.
39457         (lrint_tonearest_test_data): Remove.
39458         (lrint_test_tonearest): Likewise.
39459         (lrint_towardzero_test_data): Likewise.
39460         (lrint_test_towardzero): Likewise.
39461         (lrint_downward_test_data): Likewise.
39462         (lrint_test_downward): Likewise.
39463         (lrint_upward_test_data): Likewise.
39464         (lrint_test_upward): Likewise.
39465         (llrint_test_data): Merge in per-rounding-mode tests and results
39466         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39467         llrint_downward_test_data and llrint_upward_test_data.
39468         (llrint_test): Use ALL_RM_TEST.
39469         (llrint_tonearest_test_data): Remove.
39470         (llrint_test_tonearest): Likewise.
39471         (llrint_towardzero_test_data): Likewise.
39472         (llrint_test_towardzero): Likewise.
39473         (llrint_downward_test_data): Likewise.
39474         (llrint_test_downward): Likewise.
39475         (llrint_upward_test_data): Likewise.
39476         (llrint_test_upward): Likewise.
39477         (rint_test_data): Merge in per-rounding-mode tests and results
39478         from rint_tonearest_test_data, rint_towardzero_test_data,
39479         rint_downward_test_data and rint_upward_test_data.  Add
39480         per-rounding-mode results for tests not in those arrays.
39481         (rint_test): Use ALL_RM_TEST.
39482         (rint_tonearest_test_data): Remove.
39483         (rint_test_tonearest): Likewise.
39484         (rint_towardzero_test_data): Likewise.
39485         (rint_test_towardzero): Likewise.
39486         (rint_downward_test_data): Likewise.
39487         (rint_test_downward): Likewise.
39488         (rint_upward_test_data): Likewise.
39489         (rint_test_upward): Likewise.
39490         (main): Don't call removed functions.
39492 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39494         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39495         "Compiled on ..." crapola.  It is anti-useful.
39497 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39499         * scripts/evaluate-test.sh: Handle fourth argument to determine
39500         whether test run should stop on failure.
39501         * Makeconfig (stop-on-test-failure): New variable.
39502         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39503         $(stop-on-test-failure).
39504         * Makefile (tests): Give a summary of results from testing and
39505         exit with failure status if they include an ERROR or FAIL.
39506         (xtests): Likewise.
39507         * manual/install.texi (Configuring and compiling): Mention
39508         stop-on-test-failure=y.
39509         * INSTALL: Regenerated.
39511 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39513         * scripts/versionlist.awk: New file.
39514         * Makerules [$(build-shared) = yes]
39515         (postclean-generated): Add Versions.def, not Versions.def.v and
39516         Versions.def.v.i.
39517         ($(common-objpfx)Versions.def.v.i): Target removed.
39518         ($(common-objpfx)Versions.def): New target.
39519         ($(common-objpfx)Versions.all): Depend on that rather that
39520         $(common-objpfx)Versions.def.v.
39521         * Versions.def: File removed.
39523         * Makeconfig (+gccwarn): Add -Wundef.
39524         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39525         a dl-sysdep.h breaking its contract.
39526         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39527         * include/stackinfo.h: New file.
39528         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39529         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39530         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39531         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39532         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39533         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39534         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39535         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39536         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39537         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39538         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39539         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39540         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39541         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39542         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39544 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39546         [BZ #16707]
39547         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39548         implementation.
39549         * math/libm-test.inc (round_test_data): Add more tests.
39551         [BZ #16706]
39552         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39553         implementation.
39554         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39556         [BZ #16701]
39557         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39558         implementation.
39559         * math/libm-test.inc (ceil_test_data): Add more tests.
39561         * math/libm-test.inc (trunc_test_data): Add more tests related to
39562         BZ#16414.
39564 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39566         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39567         with #if rather than #ifdef.
39568         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39570 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39572         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39573         first.  Disable AVX-512 GCC support if assembler doesn't support
39574         it.
39575         * sysdeps/x86_64/configure: Regenerated.
39577 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39579         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39580         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39581         (__old_pthread_attr_setstack): Likewise.
39582         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39583         [!_STACK_GROWS_DOWN]: Likewise.
39585 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39587         * config.make.in (have-bash2): Delete.
39588         * configure.ac (libc_cv_have_bash2): Delete.
39589         * configure: Regenerate.
39590         * elf/Makefile (common-ldd-rewrite): Rename to ...
39591         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39592         (sh-ldd-rewrite): Delete.
39593         (bash-ldd-rewrite): Delete.
39594         (have-bash2): Delete checks.
39595         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39596         ldd-rewrite.
39598         * config.make.in (have-ksh): Delete.
39599         (KSH): Delete.
39600         * configure.ac (libc_cv_have_ksh): Delete.
39601         * configure: Regenerate.
39603         * elf/Makefile: Delete $(have-ksh) check.
39604         ($(objpfx)sotruss): Change KSH to BASH.
39605         * elf/sotruss.ksh: Rename to ...
39606         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39607         function style to match POSIX.  Drop ksh vim mode setting.
39609         * manual/time.texi (Specifying the Time Zone with TZ): Change
39610         Tuesday to Thursday.
39612         * debug/tst-longjmp_chk2.c: Update header comment.
39613         (stackoverflow_handler): Add comment.  Call assert on pass value.
39615 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39617         [BZ #16194]
39618         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39619         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39620         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39621         (La_x86_64_vector): Add zmm.
39622         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39623         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39624         ($(objpfx)tst-audit10): New target.
39625         ($(objpfx)tst-audit10.out): Likewise.
39626         (tst-audit10-ENV): New.
39627         (AVX512-CFLAGS): Likewise.
39628         (CFLAGS-tst-audit10.c): Likewise.
39629         (CFLAGS-tst-auditmod10a.c): Likewise.
39630         (CFLAGS-tst-auditmod10b.c): Likewise.
39631         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39632         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39633         * sysdeps/x86_64/configure: Regenerated.
39634         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39635         AVX-512 zmm register support.
39636         (_dl_x86_64_save_sse): Likewise.
39637         (_dl_x86_64_restore_sse): Likewise.
39638         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39639         size vector registers.
39640         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39641         (ZMM_SIZE): Likewise.
39642         * sysdeps/x86_64/tst-audit10.c: New file.
39643         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39644         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39646 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39648         * configure.ac (HAVE_EHDR_START): New check.
39649         * configure: Regenerated.
39650         * config.h.in (HAVE_EHDR_START): New #undef.
39651         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39652         assuming the lowest-addressed segment maps the start of the file.
39654 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39656         * INSTALL: Regenerated.
39658 2014-03-13  Will Newton  <will.newton@linaro.org>
39660         * manual/setjmp.texi (System V contexts): Improve
39661         clarity and grammar of documentation.
39663 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39665         [BZ #16381]
39666         * elf/Makefile (tests): Add tst-pie2.
39667         (tests-pie): Add tst-pie2.
39668         * elf/tst-pie2.c: New file.
39669         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39670         for ET_EXEC.
39671         * elf/rtld.c (map_doit): Load executable as lt_executable.
39672         (dl_main): Likewise.
39674 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39676         [BZ #16642]
39677         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39678         (__ASSUME_PSELECT): Undefine.
39680 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39682         [BZ #16689]
39683         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39684         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39685         static build.
39686         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39687         selector for static builds.
39689 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39691         [BZ #16695]
39692         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39693         key in the buffer.
39695 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39697         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39698         IFUNC selector for static builds.
39700 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39702         * sysdeps/mips/math_private.h [__mips_hard_float]
39703         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39704         libc_feresetround_mips_ctx.
39705         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39706         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39707         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39709         [BZ #16677]
39710         * math/s_nextafter.c (__nextafter): Do not return value from
39711         overflowing computation.
39712         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39713         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39714         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39715         Likewise.
39716         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39717         Likewise.
39718         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39719         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39721 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39723         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39724         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39725         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39726         the new mov targetting sp.
39728 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39730         [BZ #16683]
39731         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39732         Define it for static builds as well.
39733         (NO_BZERO_IMPL): Likewise.
39735 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39737         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39738         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39739         multiarch strspn for PPC64.
39740         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39741         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39743         (__libc_ifunc_impl_list): Likewise.
39744         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39745         multiarch optimizations
39746         * string/strspn.c (strspn): Using macro to redefine symbol name.
39748 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39749             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39751         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39752         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39753         multiarch strncat for PPC64.
39754         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39755         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39757         (__libc_ifunc_impl_list): Likewise.
39758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39759         multiarch optimizations
39761 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39763         [BZ #16639]
39764         * nscd/nscd.service: Make service type forking.
39766 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39768         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39769         sign in non default rounding modes.
39770         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39772 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39774         * math/libm-test.inc (ALL_RM_TEST): New macro.
39775         (ceil_test): Use ALL_RM_TEST.
39776         (cimag_test): Likewise.
39777         (conj_test): Likewise.
39778         (copysign_test): Likewise.
39779         (cproj_test): Likewise.
39780         (creal_test): Likewise.
39781         (fabs_test): Likewise.
39782         (floor_test): Likewise.
39783         (fmax_test): Likewise.
39784         (fmin_test): Likewise.
39785         (fmod_test): Likewise.
39786         (fpclassify_test): Likewise.
39787         (frexp_test): Likewise.
39788         (ilogb_test): Likewise.
39789         (isfinite_test): Likewise.
39790         (finite_test): Likewise.
39791         (isgreater_test): Likewise.
39792         (isgreaterequal_test): Likewise.
39793         (isinf_test): Likewise.
39794         (isless_test): Likewise.
39795         (islessequal_test): Likewise.
39796         (islessgreater_test): Likewise.
39797         (isnan_test): Likewise.
39798         (isnormal_test): Likewise.
39799         (issignaling_test): Likewise.
39800         (isunordered_test): Likewise.
39801         (logb_test): Likewise.
39802         (logb_downward_test_data): Remove.
39803         (logb_test_downward): Likewise.
39804         (lround_test): Use ALL_RM_TEST.
39805         (llround_test): Likewise.
39806         (modf_test): Likewise.
39807         (nexttoward_test): Likewise.
39808         (remainder_test): Likewise.
39809         (drem_test): Likewise.
39810         (remainder_tonearest_test_data): Likewise.
39811         (remainder_test_tonearest): Likewise.
39812         (drem_test_tonearest): Likewise.
39813         (remainder_towardzero_test_data): Likewise.
39814         (remainder_test_towardzero): Likewise.
39815         (drem_test_towardzero): Likewise.
39816         (remainder_downward_test_data): Likewise.
39817         (remainder_test_downward): Likewise.
39818         (drem_test_downward): Likewise.
39819         (remainder_upward_test_data): Likewise.
39820         (remainder_test_upward): Likewise.
39821         (drem_test_upward): Likewise.
39822         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39823         (round_test): Use ALL_RM_TEST.
39824         (signbit_test): Likewise.
39825         (trunc_test): Likewise.
39826         (significand_test): Likewise.
39827         (main): Don't call removed functions.
39829 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39831         [BZ #16674]
39832         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39833         || __USE_XOPEN2K8].
39834         (ILL_ILLOPN): Likewise.
39835         (ILL_ILLADR): Likewise.
39836         (ILL_ILLTRP): Likewise.
39837         (ILL_PRVOPC): Likewise.
39838         (ILL_PRVREG): Likewise.
39839         (ILL_COPROC): Likewise.
39840         (ILL_BADSTK): Likewise.
39841         (FPE_INTDIV): Likewise.
39842         (FPE_INTOVF): Likewise.
39843         (FPE_FLTDIV): Likewise.
39844         (FPE_FLTOVF): Likewise.
39845         (FPE_FLTUND): Likewise.
39846         (FPE_FLTRES): Likewise.
39847         (FPE_FLTINV): Likewise.
39848         (FPE_FLTSUB): Likewise.
39849         (SEGV_MAPERR): Likewise.
39850         (SEGV_ACCERR): Likewise.
39851         (BUS_ADRALN): Likewise.
39852         (BUS_ADRERR): Likewise.
39853         (BUS_OBJERR): Likewise.
39854         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39855         (TRAP_TRACE): Likewise.
39856         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39857         __USE_XOPEN2K8].
39858         (CLD_KILLED): Likewise.
39859         (CLD_DUMPED): Likewise.
39860         (CLD_TRAPPED): Likewise.
39861         (CLD_STOPPED): Likewise.
39862         (CLD_CONTINUED): Likewise.
39863         (POLL_IN): Likewise.
39864         (POLL_OUT): Likewise.
39865         (POLL_MSG): Likewise.
39866         (POLL_ERR): Likewise.
39867         (POLL_PRI): Likewise.
39868         (POLL_HUP): Likewise.
39869         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39870         Likewise.
39871         (ILL_ILLOPN): Likewise.
39872         (ILL_ILLADR): Likewise.
39873         (ILL_ILLTRP): Likewise.
39874         (ILL_PRVOPC): Likewise.
39875         (ILL_PRVREG): Likewise.
39876         (ILL_COPROC): Likewise.
39877         (ILL_BADSTK): Likewise.
39878         (FPE_INTDIV): Likewise.
39879         (FPE_INTOVF): Likewise.
39880         (FPE_FLTDIV): Likewise.
39881         (FPE_FLTOVF): Likewise.
39882         (FPE_FLTUND): Likewise.
39883         (FPE_FLTRES): Likewise.
39884         (FPE_FLTINV): Likewise.
39885         (FPE_FLTSUB): Likewise.
39886         (SEGV_MAPERR): Likewise.
39887         (SEGV_ACCERR): Likewise.
39888         (BUS_ADRALN): Likewise.
39889         (BUS_ADRERR): Likewise.
39890         (BUS_OBJERR): Likewise.
39891         (BUS_MCEERR_AR): Likewise.
39892         (BUS_MCEERR_AO): Likewise.
39893         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39894         (TRAP_TRACE): Likewise.
39895         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39896         __USE_XOPEN2K8].
39897         (CLD_KILLED): Likewise.
39898         (CLD_DUMPED): Likewise.
39899         (CLD_TRAPPED): Likewise.
39900         (CLD_STOPPED): Likewise.
39901         (CLD_CONTINUED): Likewise.
39902         (POLL_IN): Likewise.
39903         (POLL_OUT): Likewise.
39904         (POLL_MSG): Likewise.
39905         (POLL_ERR): Likewise.
39906         (POLL_PRI): Likewise.
39907         (POLL_HUP): Likewise.
39908         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39909         (ILL_ILLOPN): Likewise.
39910         (ILL_ILLADR): Likewise.
39911         (ILL_ILLTRP): Likewise.
39912         (ILL_PRVOPC): Likewise.
39913         (ILL_PRVREG): Likewise.
39914         (ILL_COPROC): Likewise.
39915         (ILL_BADSTK): Likewise.
39916         (FPE_INTDIV): Likewise.
39917         (FPE_INTOVF): Likewise.
39918         (FPE_FLTDIV): Likewise.
39919         (FPE_FLTOVF): Likewise.
39920         (FPE_FLTUND): Likewise.
39921         (FPE_FLTRES): Likewise.
39922         (FPE_FLTINV): Likewise.
39923         (FPE_FLTSUB): Likewise.
39924         (SEGV_MAPERR): Likewise.
39925         (SEGV_ACCERR): Likewise.
39926         (BUS_ADRALN): Likewise.
39927         (BUS_ADRERR): Likewise.
39928         (BUS_OBJERR): Likewise.
39929         (BUS_MCEERR_AR): Likewise.
39930         (BUS_MCEERR_AO): Likewise.
39931         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39932         (TRAP_TRACE): Likewise.
39933         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39934         __USE_XOPEN2K8].
39935         (CLD_KILLED): Likewise.
39936         (CLD_DUMPED): Likewise.
39937         (CLD_TRAPPED): Likewise.
39938         (CLD_STOPPED): Likewise.
39939         (CLD_CONTINUED): Likewise.
39940         (POLL_IN): Likewise.
39941         (POLL_OUT): Likewise.
39942         (POLL_MSG): Likewise.
39943         (POLL_ERR): Likewise.
39944         (POLL_PRI): Likewise.
39945         (POLL_HUP): Likewise.
39946         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39947         Likewise.
39948         (ILL_ILLOPN): Likewise.
39949         (ILL_ILLADR): Likewise.
39950         (ILL_ILLTRP): Likewise.
39951         (ILL_PRVOPC): Likewise.
39952         (ILL_PRVREG): Likewise.
39953         (ILL_COPROC): Likewise.
39954         (ILL_BADSTK): Likewise.
39955         (ILL_BADIADDR): Likewise.
39956         (ILL_BREAK): Likewise.
39957         (FPE_INTDIV): Likewise.
39958         (FPE_INTOVF): Likewise.
39959         (FPE_FLTDIV): Likewise.
39960         (FPE_FLTOVF): Likewise.
39961         (FPE_FLTUND): Likewise.
39962         (FPE_FLTRES): Likewise.
39963         (FPE_FLTINV): Likewise.
39964         (FPE_FLTSUB): Likewise.
39965         (FPE_DECOVF): Likewise.
39966         (FPE_DECDIV): Likewise.
39967         (FPE_DECERR): Likewise.
39968         (FPE_INVASC): Likewise.
39969         (FPE_INVDEC): Likewise.
39970         (SEGV_MAPERR): Likewise.
39971         (SEGV_ACCERR): Likewise.
39972         (SEGV_PSTKOVF): Likewise.
39973         (BUS_ADRALN): Likewise.
39974         (BUS_ADRERR): Likewise.
39975         (BUS_OBJERR): Likewise.
39976         (BUS_MCEERR_AR): Likewise.
39977         (BUS_MCEERR_AO): Likewise.
39978         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39979         (TRAP_TRACE): Likewise.
39980         (TRAP_BRANCH): Likewise.
39981         (TRAP_HWBKPT): Likewise.
39982         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39983         __USE_XOPEN2K8].
39984         (CLD_KILLED): Likewise.
39985         (CLD_DUMPED): Likewise.
39986         (CLD_TRAPPED): Likewise.
39987         (CLD_STOPPED): Likewise.
39988         (CLD_CONTINUED): Likewise.
39989         (POLL_IN): Likewise.
39990         (POLL_OUT): Likewise.
39991         (POLL_MSG): Likewise.
39992         (POLL_ERR): Likewise.
39993         (POLL_PRI): Likewise.
39994         (POLL_HUP): Likewise.
39995         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39996         (ILL_ILLOPN): Likewise.
39997         (ILL_ILLADR): Likewise.
39998         (ILL_ILLTRP): Likewise.
39999         (ILL_PRVOPC): Likewise.
40000         (ILL_PRVREG): Likewise.
40001         (ILL_COPROC): Likewise.
40002         (ILL_BADSTK): Likewise.
40003         (FPE_INTDIV): Likewise.
40004         (FPE_INTOVF): Likewise.
40005         (FPE_FLTDIV): Likewise.
40006         (FPE_FLTOVF): Likewise.
40007         (FPE_FLTUND): Likewise.
40008         (FPE_FLTRES): Likewise.
40009         (FPE_FLTINV): Likewise.
40010         (FPE_FLTSUB): Likewise.
40011         (SEGV_MAPERR): Likewise.
40012         (SEGV_ACCERR): Likewise.
40013         (BUS_ADRALN): Likewise.
40014         (BUS_ADRERR): Likewise.
40015         (BUS_OBJERR): Likewise.
40016         (BUS_MCEERR_AR): Likewise.
40017         (BUS_MCEERR_AO): Likewise.
40018         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40019         (TRAP_TRACE): Likewise.
40020         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40021         __USE_XOPEN2K8].
40022         (CLD_KILLED): Likewise.
40023         (CLD_DUMPED): Likewise.
40024         (CLD_TRAPPED): Likewise.
40025         (CLD_STOPPED): Likewise.
40026         (CLD_CONTINUED): Likewise.
40027         (POLL_IN): Likewise.
40028         (POLL_OUT): Likewise.
40029         (POLL_MSG): Likewise.
40030         (POLL_ERR): Likewise.
40031         (POLL_PRI): Likewise.
40032         (POLL_HUP): Likewise.
40033         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
40034         (ILL_ILLOPN): Likewise.
40035         (ILL_ILLADR): Likewise.
40036         (ILL_ILLTRP): Likewise.
40037         (ILL_PRVOPC): Likewise.
40038         (ILL_PRVREG): Likewise.
40039         (ILL_COPROC): Likewise.
40040         (ILL_BADSTK): Likewise.
40041         (FPE_INTDIV): Likewise.
40042         (FPE_INTOVF): Likewise.
40043         (FPE_FLTDIV): Likewise.
40044         (FPE_FLTOVF): Likewise.
40045         (FPE_FLTUND): Likewise.
40046         (FPE_FLTRES): Likewise.
40047         (FPE_FLTINV): Likewise.
40048         (FPE_FLTSUB): Likewise.
40049         (SEGV_MAPERR): Likewise.
40050         (SEGV_ACCERR): Likewise.
40051         (BUS_ADRALN): Likewise.
40052         (BUS_ADRERR): Likewise.
40053         (BUS_OBJERR): Likewise.
40054         (BUS_MCEERR_AR): Likewise.
40055         (BUS_MCEERR_AO): Likewise.
40056         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40057         (TRAP_TRACE): Likewise.
40058         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40059         __USE_XOPEN2K8].
40060         (CLD_KILLED): Likewise.
40061         (CLD_DUMPED): Likewise.
40062         (CLD_TRAPPED): Likewise.
40063         (CLD_STOPPED): Likewise.
40064         (CLD_CONTINUED): Likewise.
40065         (POLL_IN): Likewise.
40066         (POLL_OUT): Likewise.
40067         (POLL_MSG): Likewise.
40068         (POLL_ERR): Likewise.
40069         (POLL_PRI): Likewise.
40070         (POLL_HUP): Likewise.
40071         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
40072         (ILL_ILLOPN): Likewise.
40073         (ILL_ILLADR): Likewise.
40074         (ILL_ILLTRP): Likewise.
40075         (ILL_PRVOPC): Likewise.
40076         (ILL_PRVREG): Likewise.
40077         (ILL_COPROC): Likewise.
40078         (ILL_BADSTK): Likewise.
40079         (FPE_INTDIV): Likewise.
40080         (FPE_INTOVF): Likewise.
40081         (FPE_FLTDIV): Likewise.
40082         (FPE_FLTOVF): Likewise.
40083         (FPE_FLTUND): Likewise.
40084         (FPE_FLTRES): Likewise.
40085         (FPE_FLTINV): Likewise.
40086         (FPE_FLTSUB): Likewise.
40087         (SEGV_MAPERR): Likewise.
40088         (SEGV_ACCERR): Likewise.
40089         (BUS_ADRALN): Likewise.
40090         (BUS_ADRERR): Likewise.
40091         (BUS_OBJERR): Likewise.
40092         (BUS_MCEERR_AR): Likewise.
40093         (BUS_MCEERR_AO): Likewise.
40094         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40095         (TRAP_TRACE): Likewise.
40096         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40097         __USE_XOPEN2K8].
40098         (CLD_KILLED): Likewise.
40099         (CLD_DUMPED): Likewise.
40100         (CLD_TRAPPED): Likewise.
40101         (CLD_STOPPED): Likewise.
40102         (CLD_CONTINUED): Likewise.
40103         (POLL_IN): Likewise.
40104         (POLL_OUT): Likewise.
40105         (POLL_MSG): Likewise.
40106         (POLL_ERR): Likewise.
40107         (POLL_PRI): Likewise.
40108         (POLL_HUP): Likewise.
40109         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
40110         (ILL_ILLOPN): Likewise.
40111         (ILL_ILLADR): Likewise.
40112         (ILL_ILLTRP): Likewise.
40113         (ILL_PRVOPC): Likewise.
40114         (ILL_PRVREG): Likewise.
40115         (ILL_COPROC): Likewise.
40116         (ILL_BADSTK): Likewise.
40117         (ILL_DBLFLT): Likewise.
40118         (ILL_HARDWALL): Likewise.
40119         (FPE_INTDIV): Likewise.
40120         (FPE_INTOVF): Likewise.
40121         (FPE_FLTDIV): Likewise.
40122         (FPE_FLTOVF): Likewise.
40123         (FPE_FLTUND): Likewise.
40124         (FPE_FLTRES): Likewise.
40125         (FPE_FLTINV): Likewise.
40126         (FPE_FLTSUB): Likewise.
40127         (SEGV_MAPERR): Likewise.
40128         (SEGV_ACCERR): Likewise.
40129         (BUS_ADRALN): Likewise.
40130         (BUS_ADRERR): Likewise.
40131         (BUS_OBJERR): Likewise.
40132         (BUS_MCEERR_AR): Likewise.
40133         (BUS_MCEERR_AO): Likewise.
40134         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40135         (TRAP_TRACE): Likewise.
40136         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40137         __USE_XOPEN2K8].
40138         (CLD_KILLED): Likewise.
40139         (CLD_DUMPED): Likewise.
40140         (CLD_TRAPPED): Likewise.
40141         (CLD_STOPPED): Likewise.
40142         (CLD_CONTINUED): Likewise.
40143         (POLL_IN): Likewise.
40144         (POLL_OUT): Likewise.
40145         (POLL_MSG): Likewise.
40146         (POLL_ERR): Likewise.
40147         (POLL_PRI): Likewise.
40148         (POLL_HUP): Likewise.
40149         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
40150         (ILL_ILLOPN): Likewise.
40151         (ILL_ILLADR): Likewise.
40152         (ILL_ILLTRP): Likewise.
40153         (ILL_PRVOPC): Likewise.
40154         (ILL_PRVREG): Likewise.
40155         (ILL_COPROC): Likewise.
40156         (ILL_BADSTK): Likewise.
40157         (FPE_INTDIV): Likewise.
40158         (FPE_INTOVF): Likewise.
40159         (FPE_FLTDIV): Likewise.
40160         (FPE_FLTOVF): Likewise.
40161         (FPE_FLTUND): Likewise.
40162         (FPE_FLTRES): Likewise.
40163         (FPE_FLTINV): Likewise.
40164         (FPE_FLTSUB): Likewise.
40165         (SEGV_MAPERR): Likewise.
40166         (SEGV_ACCERR): Likewise.
40167         (BUS_ADRALN): Likewise.
40168         (BUS_ADRERR): Likewise.
40169         (BUS_OBJERR): Likewise.
40170         (BUS_MCEERR_AR): Likewise.
40171         (BUS_MCEERR_AO): Likewise.
40172         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40173         (TRAP_TRACE): Likewise.
40174         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40175         __USE_XOPEN2K8].
40176         (CLD_KILLED): Likewise.
40177         (CLD_DUMPED): Likewise.
40178         (CLD_TRAPPED): Likewise.
40179         (CLD_STOPPED): Likewise.
40180         (CLD_CONTINUED): Likewise.
40181         (POLL_IN): Likewise.
40182         (POLL_OUT): Likewise.
40183         (POLL_MSG): Likewise.
40184         (POLL_ERR): Likewise.
40185         (POLL_PRI): Likewise.
40186         (POLL_HUP): Likewise.
40187         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40188         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40190         [BZ #16670]
40191         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40192         before #include of <time.h>.
40193         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40194         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40195         (test-xfail-UNIX98/sched.h/conform): Likewise.
40197 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40199         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40200         error absence of trapping exception support.
40201         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40203 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40205         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40206         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40207         * timezone/Makefile (testdata): Move definition above include of
40208         Rules.
40209         (test-zones): New variable.
40210         (tests-special): Add zone files.
40211         (build-testdata): Use $(evaluate-test).
40213         * elf/Makefile (tests-special): Rename tests to end with .out.
40214         ($(objpfx)noload-mem): Likewise.
40215         ($(objpfx)tst-leaks1-mem): Likewise.
40216         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40217         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40218         $(objpfx)test-iconvconfig.out.
40219         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40220         set -e inside subshell and redirect output to file.
40221         * iconvdata/Makefile (generated): Rename tests to end with .out.
40222         Correct type.
40223         (tests-special): Rename tests to end with .out.
40224         ($(objpfx)mtrace-tst-loading): Likewise.
40225         * intl/Makefile (generated): Likewise.
40226         (tests-special): Likewise.
40227         ($(objpfx)mtrace-tst-gettext): Likewise.
40228         * misc/Makefile (generated): Likewise.
40229         (tests-special): Likewise.
40230         ($(objpfx)tst-error1-mem): Likewise.
40231         * nptl/Makefile (tests-special): Likewise.
40232         ($(objpfx)tst-stack3-mem): Likewise.
40233         (generated): Likewise.
40234         * posix/Makefile (generated): Likewise.
40235         (tests-special): Likewise.
40236         (xtests-special): Likewise.
40237         ($(objpfx)tst-fnmatch-mem): Likewise.
40238         ($(objpfx)bug-regex2-mem): Likewise.
40239         ($(objpfx)bug-regex14-mem): Likewise.
40240         ($(objpfx)bug-regex21-mem): Likewise.
40241         ($(objpfx)bug-regex31-mem): Likewise.
40242         ($(objpfx)tst-vfork3-mem): Likewise.
40243         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40244         ($(objpfx)tst-pcre-mem): Likewise.
40245         ($(objpfx)tst-boost-mem): Likewise.
40246         ($(objpfx)bug-ga2-mem): Likewise.
40247         ($(objpfx)bug-glob2-mem): Likewise.
40248         * resolv/Makefile (generate): Likewise.
40249         (tests-special): Likewise.
40250         (xtests-special): Likewise.
40251         (generated): Likewise.
40252         ($(objpfx)mtrace-tst-leaks): Likewise.
40253         ($(objpfx)mtrace-tst-leaks2): Likewise.
40255         * scripts/merge-test-results.sh: New file.
40256         * Makefile (tests-special-notdir): New variable.
40257         (tests): Run merge-test-results.sh.
40258         (xtests): Likewise.
40259         * Rules (tests-special-notdir): New variable.
40260         (xtests-special-notdir): Likewise.
40261         (tests): Run merge-test-results.sh
40262         (xtests): Likewise.
40264         * Makeconfig (test-xfail-name): New variable.
40265         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40266         compute variable name for expected failures.
40267         * conform/Makefile (conformtest-headers-data): New variable.
40268         (conformtest-standards): Likewise.
40269         (conformtest-headers-ISO): Likewise.
40270         (conformtest-headers-ISO99): Likewise.
40271         (conformtest-headers-ISO11): Likewise.
40272         (conformtest-headers-POSIX): Likewise.
40273         (conformtest-headers-XPG3): Likewise.
40274         (conformtest-headers-XPG4): Likewise.
40275         (conformtest-headers-UNIX98): Likewise.
40276         (conformtest-headers-XOPEN2K): Likewise.
40277         (conformtest-headers-POSIX2008): Likewise.
40278         (conformtest-headers-XOPEN2K8): Likewise.
40279         (conformtest-header-list-base): Likewise.
40280         (conformtest-header-list-tests): Likewise.
40281         (conformtest-header-base): Likewise.
40282         (conformtest-header-tests): Likewise.
40283         (tests-special): Add $(conformtest-header-list-tests).  If
40284         [$(fast-check) && !$(cross-compiling)], add
40285         $(conformtest-header-tests) instead of
40286         $(objpfx)run-conformtest.out.
40287         (generated): Add $(conformtest-header-list-base).  If
40288         [$(fast-check) && !$(cross-compiling)], add
40289         $(conformtest-header-base).  Remove previous setting.
40290         ($(conformtest-header-list-tests)): New target.
40291         (test-xfail-run-conformtest): Remove variable.
40292         ($(objpfx)run-conformtest.out): Remove target.
40293         (test-xfail-ISO11/complex.h/conform): New variable.
40294         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40295         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40296         (test-xfail-XPG3/varargs.h/conform): Likewise.
40297         (test-xfail-XPG4/varargs.h/conform): Likewise.
40298         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40299         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40300         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40301         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40302         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40303         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40304         (test-xfail-XPG3/ftw.h/conform): Likewise.
40305         (test-xfail-XPG3/grp.h/conform): Likewise.
40306         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40307         (test-xfail-XPG3/limits.h/conform): Likewise.
40308         (test-xfail-XPG3/pwd.h/conform): Likewise.
40309         (test-xfail-XPG3/search.h/conform): Likewise.
40310         (test-xfail-XPG3/signal.h/conform): Likewise.
40311         (test-xfail-XPG3/stdio.h/conform): Likewise.
40312         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40313         (test-xfail-XPG3/string.h/conform): Likewise.
40314         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40315         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40316         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40317         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40318         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40319         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40320         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40321         (test-xfail-XPG3/termios.h/conform): Likewise.
40322         (test-xfail-XPG3/time.h/conform): Likewise.
40323         (test-xfail-XPG3/unistd.h/conform): Likewise.
40324         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40325         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40326         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40327         (test-xfail-XPG4/netdb.h/conform): Likewise.
40328         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40329         (test-xfail-XPG4/signal.h/conform): Likewise.
40330         (test-xfail-XPG4/stdio.h/conform): Likewise.
40331         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40332         (test-xfail-XPG4/stropts.h/conform): Likewise.
40333         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40334         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40335         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40336         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40337         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40338         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40339         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40340         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40341         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40342         (test-xfail-XPG4/termios.h/conform): Likewise.
40343         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40344         (test-xfail-XPG4/unistd.h/conform): Likewise.
40345         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40346         (test-xfail-POSIX/sched.h/conform): Likewise.
40347         (test-xfail-POSIX/signal.h/conform): Likewise.
40348         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40349         (test-xfail-POSIX/tar.h/conform): Likewise.
40350         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40351         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40352         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40353         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40354         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40355         (test-xfail-UNIX98/sched.h/conform): Likewise.
40356         (test-xfail-UNIX98/signal.h/conform): Likewise.
40357         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40358         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40359         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40360         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40361         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40362         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40363         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40364         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40365         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40366         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40367         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40368         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40369         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40370         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40371         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40372         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40373         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40374         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40375         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40376         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40377         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40378         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40379         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40380         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40381         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40382         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40383         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40384         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40385         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40386         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40387         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40388         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40389         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40390         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40391         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40392         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40393         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40394         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40395         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40396         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40397         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40398         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40399         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40400         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40401         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40402         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40403         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40404         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40405         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40406         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40407         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40408         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40409         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40410         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40411         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40412         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40413         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40414         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40415         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40416         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40417         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40418         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40419         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40420         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40421         (conformtest-cc-flags): Likewise.
40422         ($(conformtest-header-tests): New target.
40423         * conform/check-header-lists.sh: New file.
40424         * conform/run-conformtest.sh: Remove.
40426         * conform/conformtest.pl: Allow ' and \ in values given for
40427         constants.
40428         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40429         inclusion.
40430         [POSIX] (sys/types.h): Likewise.
40431         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40432         inclusion.
40433         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40434         inclusion.
40435         * conform/data/signal.h-data (SIGIO): Remove expectation.
40436         [XPG3] (SIGBUS): Do not expect.
40437         [POSIX || XPG3] (SIGPOLL): Likewise.
40438         [POSIX || XPG3] (SIGPROF): Likewise.
40439         [POSIX || XPG3] (SIGSYS): Likewise.
40440         [XPG3] (SIGTRAP): Likewise.
40441         [POSIX || XPG3] (SIGURG): Likewise.
40442         [POSIX || XPG3] (SIGVTALRM): Likewise.
40443         [POSIX || XPG3] (SIGXCPU): Likewise.
40444         [POSIX || XPG3] (SIGXFSZ): Likewise.
40445         [POSIX] (SA_SIGINFO): Expect.
40446         [XPG3] (siginfo_t): Do not expect type or contents.
40447         [POSIX] (si_pid): Do not expect element.
40448         [POSIX] (si_uid): Likewise.
40449         [POSIX] (si_addr): Likewise.
40450         [POSIX] (si_status): Likewise.
40451         [POSIX] (si_band): Likewise.
40452         [XPG4] (si_value): Likewise.
40453         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40454         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40455         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40456         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40457         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40458         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40459         [POSIX || XPG3] (ILL_COPROC): Likewise.
40460         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40461         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40462         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40463         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40464         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40465         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40466         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40467         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40468         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40469         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40470         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40471         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40472         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40473         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40474         [POSIX || XPG3] (CLD_EXITED): Likewise.
40475         [POSIX || XPG3] (CLD_KILLED): Likewise.
40476         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40477         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40478         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40479         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40480         [POSIX || XPG3] (POLL_IN): Likewise.
40481         [POSIX || XPG3] (POLL_OUT): Likewise.
40482         [POSIX || XPG3] (POLL_MSG): Likewise.
40483         [POSIX || XPG3] (POLL_ERR): Likewise.
40484         [POSIX || XPG3] (POLL_PRI): Likewise.
40485         [POSIX || XPG3] (POLL_HUP): Likewise.
40486         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40487         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40488         (SIG*): Do not allow.
40489         [XPG3] (si_*): Likewise.
40490         [XPG3] (SI_*): Likewise.
40491         [XPG3 || XPG4] (sigev_*): Likewise.
40492         [XPG3 || XPG4] (SIGEV_*): Likewise.
40493         [XPG3 || XPG4] (sival_*): Likewise.
40494         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40495         [POSIX || XPG3] (BUS_*): Likewise.
40496         [POSIX || XPG3] (CLD_*): Likewise.
40497         [POSIX || XPG3] (FPE_*): Likewise.
40498         [POSIX || XPG3] (ILL_*): Likewise.
40499         [POSIX || XPG3] (POLL_*): Likewise.
40500         [POSIX || XPG3] (SEGV_*): Likewise.
40501         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40502         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40503         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40504         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40505         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40506         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40507         Specify type and value.
40508         (TVERSLEN): Likewise.
40509         (REGTYPE): Likewise.
40510         (AREGTYPE): Likewise.
40511         (LNKTYPE): Likewise.
40512         (SYMTYPE): Likewise.
40513         (CHRTYPE): Likewise.
40514         (BLKTYPE): Likewise.
40515         (DIRTYPE): Likewise.
40516         (FIFOTYPE): Likewise.
40517         (CONTTYPE): Likewise.
40518         (TSUID): Likewise.
40519         (TSGID): Likewise.
40520         (TSVTX): Likewise.
40521         (TUREAD): Likewise.
40522         (TUWRITE): Likewise.
40523         (TUEXEC): Likewise.
40524         (TGREAD): Likewise.
40525         (TGWRITE): Likewise.
40526         (TGEXEC): Likewise.
40527         (TOREAD): Likewise.
40528         (TOWRITE): Likewise.
40529         (TOEXEC): Likewise.
40530         [POSIX] (TSVTX): Expect constant.
40532 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40534         * Makefile (tests): Change dependencies to ....
40535         (tests-special): ... additions to this variable.
40536         (tests): Depend on $(tests-special).
40537         * Makerules (check-abi-list): New variable.
40538         (check-abi): Depend on $(check-abi-list).
40539         [$(subdir) = elf] (tests-special): Add
40540         $(objpfx)check-abi-libc.out.
40541         [$(build-shared) = yes && subdir] (tests-special): Add
40542         $(check-abi-list).
40543         [$(build-shared) = yes && subdir] (tests): Do not depend on
40544         check-abi.
40545         * Rules (tests): Depend on $(tests-special).
40546         (xtests): Depend on $(xtests-special).
40547         * catgets/Makefile (tests): Change dependencies to ....
40548         (tests-special): ... additions to this variable.
40549         * conform/Makefile (tests): Change dependencies to ....
40550         (tests-special): ... additions to this variable.
40551         * elf/Makefile (tests): Change dependencies to ....
40552         (tests-special): ... additions to this variable.
40553         * grp/Makefile (tests): Change dependencies to ....
40554         (tests-special): ... additions to this variable.
40555         * iconv/Makefile (xtests): Change dependencies to ....
40556         (xtests-special): ... additions to this variable.
40557         * iconvdata/Makefile (tests): Change dependencies to ....
40558         (tests-special): ... additions to this variable.
40559         * intl/Makefile (tests): Change dependencies to ....
40560         (tests-special): ... additions to this variable.  Also add
40561         $(objpfx)tst-gettext.out.
40562         * io/Makefile (tests): Change dependencies to ....
40563         (tests-special): ... additions to this variable.
40564         * libio/Makefile (tests): Change dependencies to ....
40565         (tests-special): ... additions to this variable.
40566         * malloc/Makefile (tests): Change dependencies to ....
40567         (tests-special): ... additions to this variable.
40568         * misc/Makefile (tests): Change dependencies to ....
40569         (tests-special): ... additions to this variable.
40570         * nptl/Makefile (tests): Change dependencies to ....
40571         (tests-special): ... additions to this variable.
40572         * nptl_db/Makefile (tests): Change dependencies to ....
40573         (tests-special): ... additions to this variable.
40574         * posix/Makefile (tests): Change dependencies to ....
40575         (tests-special): ... additions to this variable.
40576         (xtests): Change dependencies to ....
40577         (xtests-special): ... additions to this variable.
40578         * resolv/Makefile (tests): Change dependencies to ....
40579         (tests-special): ... additions to this variable.
40580         (xtests): Change dependencies to ....
40581         (xtests-special): ... additions to this variable.
40582         * stdio-common/Makefile (tests): Change dependencies to ....
40583         (tests-special): ... additions to this variable.
40584         (do-tst-unbputc): Remove target.
40585         (do-tst-printf): Likewise.
40586         * stdlib/Makefile (tests): Change dependencies to ....
40587         (tests-special): ... additions to this variable.
40588         * string/Makefile (tests): Change dependencies to ....
40589         (tests-special): ... additions to this variable.
40590         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40591         (tests-special): ... additions to this variable.
40593         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40594         whole file.
40595         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40596         whole file.
40597         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40598         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40600         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40601         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40602         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40603         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40604         * conform/data/libgen.h-data [XPG3]: Likewise.
40605         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40606         * conform/data/ndbm.h-data [XPG3]: Likewise.
40607         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40608         * conform/data/netdb.h-data [XPG3]: Likewise.
40609         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40610         * conform/data/poll.h-data [XPG3]: Likewise.
40611         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40612         * conform/data/strings.h-data [XPG3]: Likewise.
40613         * conform/data/stropts.h-data [XPG3]: Likewise.
40614         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40615         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40616         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40617         Likewise.
40618         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40619         * conform/data/sys/time.h-data [XPG3]: Likewise.
40620         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40621         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40622         * conform/data/sys/un.h-data [XPG3]: Likewise.
40623         * conform/data/syslog.h-data [XPG3]: Likewise.
40624         * conform/data/ucontext.h-data [XPG3]: Likewise.
40625         * conform/data/utmpx.h-data [XPG3]: Likewise.
40626         * conform/data/varargs.h-data [UNIX98]: Enable file.
40628         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40630         * math/libm-test.inc (struct test_f_f_data): Move expected results
40631         into structure for each rounding mode.
40632         (struct test_ff_f_data): Likewise.
40633         (struct test_ff_f_data_nexttoward): Likewise.
40634         (struct test_fi_f_data): Likewise.
40635         (struct test_fl_f_data): Likewise.
40636         (struct test_if_f_data): Likewise.
40637         (struct test_fff_f_data): Likewise.
40638         (struct test_c_f_data): Likewise.
40639         (struct test_f_f1_data): Likewise.
40640         (struct test_fF_f1_data): Likewise.
40641         (struct test_ffI_f1_data): Likewise.
40642         (struct test_c_c_data): Likewise.
40643         (struct test_cc_c_data): Likewise.
40644         (struct test_f_i_data): Likewise.
40645         (struct test_ff_i_data): Likewise.
40646         (struct test_f_l_data): Likewise.
40647         (struct test_f_L_data): Likewise.
40648         (struct test_fFF_11_data): Likewise.
40649         (RM_): New macro.
40650         (RM_FE_DOWNWARD): Likewise.
40651         (RM_FE_TONEAREST): Likewise.
40652         (RM_FE_TOWARDZERO): Likewise.
40653         (RM_FE_UPWARD): Likewise.
40654         (RUN_TEST_LOOP_f_f): Update references to expected results.
40655         (RUN_TEST_LOOP_2_f): Likewise.
40656         (RUN_TEST_LOOP_fff_f): Likewise.
40657         (RUN_TEST_LOOP_c_f): Likewise.
40658         (RUN_TEST_LOOP_f_f1): Likewise.
40659         (RUN_TEST_LOOP_fF_f1): Likewise.
40660         (RUN_TEST_LOOP_fI_f1): Likewise.
40661         (RUN_TEST_LOOP_ffI_f1): Likewise.
40662         (RUN_TEST_LOOP_c_c): Likewise.
40663         (RUN_TEST_LOOP_cc_c): Likewise.
40664         (RUN_TEST_LOOP_f_i): Likewise.
40665         (RUN_TEST_LOOP_f_i_tg): Likewise.
40666         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40667         (RUN_TEST_LOOP_f_b): Likewise.
40668         (RUN_TEST_LOOP_f_b_tg): Likewise.
40669         (RUN_TEST_LOOP_f_l): Likewise.
40670         (RUN_TEST_LOOP_f_L): Likewise.
40671         (RUN_TEST_LOOP_fFF_11): Likewise.
40672         * math/gen-libm-test.pl (parse_args): Output four copies of
40673         expected results for each test.
40675         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40676         (__ASSUME_UTIMES): Remove.
40677         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40678         (__ASSUME_UTIMES): Likewise.
40680         * math/gen-auto-libm-tests.c: Update comment on output format.
40681         (output_for_one_input_case): Generate before-rounding and
40682         after-rounding information as conditions on output flags not
40683         floating-point format.
40684         * math/auto-libm-test-out: Regenerated.
40685         * math/gen-libm-test.pl (cond_value): New function.
40686         (or_cond_value): Use cond_value.
40687         (generate_testfile): Handle conditional exceptions.
40689 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40691         * math/libm-test.inc (max_valid_error): New variable.
40692         (init_max_error): Take new argument specifying whether function
40693         results are exactly determined.  Set max_valid_error and bound
40694         other variables for errors based on this argument.
40695         (set_max_error): Do not record results above max_valid_error.
40696         (check_float_internal): Only accept errors of up to 0.5ulps if
40697         also at most max_valid_error.
40698         (START): Take new argument EXACT and pass it to init_max_error.
40699         (acos_test): Update call to START.
40700         (acos_test_tonearest): Likewise.
40701         (acos_test_towardzero): Likewise.
40702         (acos_test_downward): Likewise.
40703         (acos_test_upward): Likewise.
40704         (acosh_test): Likewise.
40705         (asin_test): Likewise.
40706         (asin_test_tonearest): Likewise.
40707         (asin_test_towardzero): Likewise.
40708         (asin_test_downward): Likewise.
40709         (asin_test_upward): Likewise.
40710         (asinh_test): Likewise.
40711         (atan_test): Likewise.
40712         (atanh_test): Likewise.
40713         (atan2_test): Likewise.
40714         (cabs_test): Likewise.
40715         (cacos_test): Likewise.
40716         (cacosh_test): Likewise.
40717         (carg_test): Likewise.
40718         (casin_test): Likewise.
40719         (casinh_test): Likewise.
40720         (catan_test): Likewise.
40721         (catanh_test): Likewise.
40722         (cbrt_test): Likewise.
40723         (ccos_test): Likewise.
40724         (ccosh_test): Likewise.
40725         (ceil_test): Likewise.
40726         (cexp_test): Likewise.
40727         (cimag_test): Likewise.
40728         (clog_test): Likewise.
40729         (clog10_test): Likewise.
40730         (conj_test): Likewise.
40731         (copysign_test): Likewise.
40732         (cos_test): Likewise.
40733         (cos_test_tonearest): Likewise.
40734         (cos_test_towardzero): Likewise.
40735         (cos_test_downward): Likewise.
40736         (cos_test_upward): Likewise.
40737         (cosh_test): Likewise.
40738         (cosh_test_tonearest): Likewise.
40739         (cosh_test_towardzero): Likewise.
40740         (cosh_test_downward): Likewise.
40741         (cosh_test_upward): Likewise.
40742         (cpow_test): Likewise.
40743         (cproj_test): Likewise.
40744         (creal_test): Likewise.
40745         (csin_test): Likewise.
40746         (csinh_test): Likewise.
40747         (csqrt_test): Likewise.
40748         (ctan_test): Likewise.
40749         (ctan_test_tonearest): Likewise.
40750         (ctan_test_towardzero): Likewise.
40751         (ctan_test_downward): Likewise.
40752         (ctan_test_upward): Likewise.
40753         (ctanh_test): Likewise.
40754         (ctanh_test_tonearest): Likewise.
40755         (ctanh_test_towardzero): Likewise.
40756         (ctanh_test_downward): Likewise.
40757         (ctanh_test_upward): Likewise.
40758         (erf_test): Likewise.
40759         (erfc_test): Likewise.
40760         (exp_test): Likewise.
40761         (exp_test_tonearest): Likewise.
40762         (exp_test_towardzero): Likewise.
40763         (exp_test_downward): Likewise.
40764         (exp_test_upward): Likewise.
40765         (exp10_test): Likewise.
40766         (exp10_test_tonearest): Likewise.
40767         (exp10_test_towardzero): Likewise.
40768         (exp10_test_downward): Likewise.
40769         (exp10_test_upward): Likewise.
40770         (pow10_test): Likewise.
40771         (exp2_test): Likewise.
40772         (expm1_test): Likewise.
40773         (expm1_test_tonearest): Likewise.
40774         (expm1_test_towardzero): Likewise.
40775         (expm1_test_downward): Likewise.
40776         (expm1_test_upward): Likewise.
40777         (fabs_test): Likewise.
40778         (fdim_test): Likewise.
40779         (floor_test): Likewise.
40780         (fma_test): Likewise.
40781         (fma_test_towardzero): Likewise.
40782         (fma_test_downward): Likewise.
40783         (fma_test_upward): Likewise.
40784         (fmax_test): Likewise.
40785         (fmin_test): Likewise.
40786         (fmod_test): Likewise.
40787         (fpclassify_test): Likewise.
40788         (frexp_test): Likewise.
40789         (hypot_test): Likewise.
40790         (ilogb_test): Likewise.
40791         (isfinite_test): Likewise.
40792         (finite_test): Likewise.
40793         (isgreater_test): Likewise.
40794         (isgreaterequal_test): Likewise.
40795         (isinf_test): Likewise.
40796         (isless_test): Likewise.
40797         (islessequal_test): Likewise.
40798         (islessgreater_test): Likewise.
40799         (isnan_test): Likewise.
40800         (isnormal_test): Likewise.
40801         (issignaling_test): Likewise.
40802         (isunordered_test): Likewise.
40803         (j0_test): Likewise.
40804         (j1_test): Likewise.
40805         (jn_test): Likewise.
40806         (ldexp_test): Likewise.
40807         (lgamma_test): Likewise.
40808         (gamma_test): Likewise.
40809         (lrint_test): Likewise.
40810         (lrint_test_tonearest): Likewise.
40811         (lrint_test_towardzero): Likewise.
40812         (lrint_test_downward): Likewise.
40813         (lrint_test_upward): Likewise.
40814         (llrint_test): Likewise.
40815         (llrint_test_tonearest): Likewise.
40816         (llrint_test_towardzero): Likewise.
40817         (llrint_test_downward): Likewise.
40818         (llrint_test_upward): Likewise.
40819         (log_test): Likewise.
40820         (log10_test): Likewise.
40821         (log1p_test): Likewise.
40822         (log2_test): Likewise.
40823         (logb_test): Likewise.
40824         (logb_test_downward): Likewise.
40825         (lround_test): Likewise.
40826         (llround_test): Likewise.
40827         (modf_test): Likewise.
40828         (nearbyint_test): Likewise.
40829         (nextafter_test): Likewise.
40830         (nexttoward_test): Likewise.
40831         (pow_test): Likewise.
40832         (pow_test_tonearest): Likewise.
40833         (pow_test_towardzero): Likewise.
40834         (pow_test_downward): Likewise.
40835         (pow_test_upward): Likewise.
40836         (remainder_test): Likewise.
40837         (drem_test): Likewise.
40838         (remainder_test_tonearest): Likewise.
40839         (drem_test_tonearest): Likewise.
40840         (remainder_test_towardzero): Likewise.
40841         (drem_test_towardzero): Likewise.
40842         (remainder_test_downward): Likewise.
40843         (drem_test_downward): Likewise.
40844         (remainder_test_upward): Likewise.
40845         (drem_test_upward): Likewise.
40846         (remquo_test): Likewise.
40847         (rint_test): Likewise.
40848         (rint_test_tonearest): Likewise.
40849         (rint_test_towardzero): Likewise.
40850         (rint_test_downward): Likewise.
40851         (rint_test_upward): Likewise.
40852         (round_test): Likewise.
40853         (scalb_test): Likewise.
40854         (scalbn_test): Likewise.
40855         (scalbln_test): Likewise.
40856         (signbit_test): Likewise.
40857         (sin_test): Likewise.
40858         (sin_test_tonearest): Likewise.
40859         (sin_test_towardzero): Likewise.
40860         (sin_test_downward): Likewise.
40861         (sin_test_upward): Likewise.
40862         (sincos_test): Likewise.
40863         (sinh_test): Likewise.
40864         (sinh_test_tonearest): Likewise.
40865         (sinh_test_towardzero): Likewise.
40866         (sinh_test_downward): Likewise.
40867         (sinh_test_upward): Likewise.
40868         (sqrt_test): Likewise.
40869         (sqrt_test_tonearest): Likewise.
40870         (sqrt_test_towardzero): Likewise.
40871         (sqrt_test_downward): Likewise.
40872         (sqrt_test_upward): Likewise.
40873         (tan_test): Likewise.
40874         (tan_test_tonearest): Likewise.
40875         (tan_test_towardzero): Likewise.
40876         (tan_test_downward): Likewise.
40877         (tan_test_upward): Likewise.
40878         (tanh_test): Likewise.
40879         (tgamma_test): Likewise.
40880         (trunc_test): Likewise.
40881         (y0_test): Likewise.
40882         (y1_test): Likewise.
40883         (yn_test): Likewise.
40884         (significand_test): Likewise.
40886         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40887         individual tests in comment.
40888         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40889         (prev_max_error): New variable.
40890         (prev_real_max_error): Likewise.
40891         (prev_imag_max_error): Likewise.
40892         (compare_ulp_data): Don't refer to test names in comment.
40893         (find_test_ulps): Remove function.
40894         (find_function_ulps): Likewise.
40895         (find_complex_function_ulps): Likewise.
40896         (init_max_error): Take function name as argument.  Look up ulps
40897         for that function.
40898         (print_ulps): Remove function.
40899         (print_max_error): Use prev_max_error instead of calling
40900         find_function_ulps.
40901         (print_complex_max_error): Use prev_real_max_error and
40902         prev_imag_max_error instead of calling find_complex_function_ulps.
40903         (check_float_internal): Take max_ulp parameter instead of calling
40904         find_test_ulps.  Don't call print_ulps.
40905         (check_float): Update call to check_float_internal.
40906         (check_complex): Update calls to check_float_internal.
40907         (START): Pass argument to init_max_error.
40908         * math/gen-libm-test.pl (%results): Don't include "kind"
40909         information.
40910         (parse_ulps): Don't handle ulps of individual tests.
40911         (print_ulps_file): Likewise.
40912         (output_ulps): Likewise.
40913         * math/README.libm-test: Update.
40914         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40915         individual tests.
40916         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40917         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40918         * sysdeps/arm/libm-test-ulps: Likewise.
40919         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40920         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40921         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40922         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40923         * sysdeps/microblaze/libm-test-ulps: Likewise.
40924         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40925         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40926         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40927         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40928         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40929         * sysdeps/sh/libm-test-ulps: Likewise.
40930         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40931         * sysdeps/tile/libm-test-ulps: Likewise.
40932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40934 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40936         * math/libm-test.inc (print_complex_max_error): Check separately
40937         whether real and imaginary errors are within allowed range and
40938         pass 0 to print_complex_function_ulps instead of value within
40939         allowed range.
40941 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40943         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40944         formatting.
40945         (get_handles_fopen): Likewise.
40946         (do_write_test): Likewise.
40948         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40950         * libio/fileops.c (do_ftell): Use cached offset when
40951         available.
40952         * libio/iofwide.c (do_ftell_wide): Likewise.
40953         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40954         _IO_file_attach.
40955         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40957         [BZ #16532]
40958         * libio/libioP.h (get_file_offset): New function.
40959         * libio/fileops.c (get_file_offset): Likewise.
40960         (do_ftell): Likewise.
40961         (_IO_new_file_seekoff): Split out ftell logic.
40962         * libio/wfileops.c (do_ftell_wide): Likewise.
40963         (_IO_wfile_seekoff): Split out ftell logic.
40964         * libio/tst-ftell-active-handler.c: New test case.
40965         * libio/Makefile (tests): Add it.
40967 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40969         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40970         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40972 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40974         [BZ #16639]
40975         * nscd/connections.c (nscd_init): Call do_exit.
40976         (start_threads): Call do_exit and notify_parent.
40977         (begin_drop_privileges): Call do_exit.
40978         (finish_drop_privileges): Likewise.
40979         * nscd/selinux.c (preserve_capabilities): Likewise.
40980         (install_real_capabilities): Likewise.
40981         (nscd_selinux_enabled): Likewise.
40982         (avc_create_thread): Likewise.
40983         (avc_alloc_lock): Likewise.
40984         (nscd_avc_init): Likewise.
40985         * nscd/nscd.c (parent_fd): New static variable.
40986         (main): Create a pipe between parent and child processes.
40987         Skip closing parent_fd.
40988         (monitor_child): New function.
40989         (do_exit): Likewise.
40990         (notify_parent): Likewise.
40991         * nscd/nscd.h (notify_parent): Likewise.
40992         (do_exit): Likewise.
40994 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40996         * malloc/malloc.c (__libc_calloc): Revert last change.
40998 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41002 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41004         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
41005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
41006         implementation.
41007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41008         (__libc_ifunc_impl_list): Likewise.
41009         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
41010         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
41011         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
41012         * string/strrchr.c: Define STRRCHR.
41014 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
41016         * benchtest/bench-strtok.c (simple_strtok): Delete.
41017         (strtok_string): Use as benchmark.
41018         * string/strtok (STRTOK): New macro.
41020 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
41022         * manual/threads.texi: Add header and standard comments to all
41023         functions.
41025         * elf/dl-lookup.c (check_match): New function.
41026         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
41027         (do_lookup_x): Remove nested function check_match. Use non-nested
41028         function check_match.
41030 2014-02-28  Roland McGrath  <roland@hack.frob.com>
41032         * csu/Makefile (generated, before-compile): Use += rather than =.
41033         * catgets/Makefile (generated, generated-dirs): Likewise.
41034         * debug/Makefile (generated): Likewise.
41035         * dlfcn/Makefile (generated): Likewise.
41036         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
41037         * iconvdata/Makefile (before-compile, generated): Likewise.
41038         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
41039         * libio/Makefile (generated): Likewise.
41040         * malloc/Makefile (generated): Likewise.
41041         * manual/Makefile (generated, generated-dirs): Likewise.
41042         * misc/Makefile (generated): Likewise.
41043         * posix/Makefile (generated): Likewise.
41044         * resolv/Makefile (generated): Likewise.
41045         * sunrpc/Makefile (generated, generated-dirs): Likewise.
41046         * timezone/Makefile (generated, generated-dirs): Likewise.
41048         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
41050 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41052         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41053         power8 implementation.
41054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
41055         file: POWER8 llround ifunc implementation.
41056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
41057         (__lllround): Add POWER8 implementation.
41058         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
41059         POWER8 llround implementation.
41061         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
41062         power8 implementation.
41063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
41064         file: POWER8 llrint ifunc implementation.
41065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
41066         Add POWER8 implementation.
41067         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
41068         POWER8 llrint implementation.
41070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
41071         power8 implementation.
41072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
41073         file: POWER8 finite ifunc implementation.
41074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
41075         Add POWER8 implementation.
41076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
41077         Likewise.
41078         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
41079         POWER8 finite implementation.
41080         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
41082         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
41083         power8 implementation.
41084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
41085         file: POWER8 isinf ifunc implementation.
41086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
41087         POWER8 implementation.
41088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
41089         Likewise.
41090         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
41091         isinf implementation.
41092         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
41094         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
41095         (INIT_ARCH): Add hwcap2 initialization.
41096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41097         power8 implementation.
41098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
41099         file: POWER8 isnan ifunc implementation.
41100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
41101         POWER8 implementation.
41102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
41103         Likewise.
41104         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
41105         isnan implementation.
41106         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
41108 2014-02-27  Joey Ye  <joey.ye@arm.com>
41110         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41111         (_FP_NANFRAC_Q): Set to zero.
41113 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41115         [BZ #16623]
41116         * math/auto-libm-test-in: New test inputs.
41117         * math/auto-libm-test-out: Regenerate.
41118         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
41119         and DA.
41120         (__cos): Likewise.
41121         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41123 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
41125         * scripts/evaluate-test.sh: Take new argument indicating whether
41126         failure is expected.
41127         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41128         indicating whether failure is expected.
41129         * conform/Makefile (test-xfail-run-conformtest): New variable.
41130         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41131         level.
41132         * posix/Makefile (test-xfail-annexc): New variable.
41133         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41135 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
41137         * argp/Makefile: Include Makeconfig immediately after defining
41138         subdir.
41139         * assert/Makefile: Likewise.
41140         * benchtests/Makefile: Likewise.
41141         * catgets/Makefile: Likewise.
41142         * conform/Makefile: Likewise.
41143         * crypt/Makefile: Likewise.
41144         * csu/Makefile: Likewise.
41145         (all): Remove target.
41146         * ctype/Makefile: Include Makeconfig immediately after defining
41147         subdir.
41148         * debug/Makefile: Likewise.
41149         * dirent/Makefile: Likewise.
41150         * dlfcn/Makefile: Likewise.
41151         * gmon/Makefile: Likewise.
41152         * gnulib/Makefile: Likewise.
41153         * grp/Makefile: Likewise.
41154         * gshadow/Makefile: Likewise.
41155         * hesiod/Makefile: Likewise.
41156         * hurd/Makefile: Likewise.
41157         (all): Remove target.
41158         * iconvdata/Makefile: Include Makeconfig immediately after
41159         defining subdir.
41160         * inet/Makefile: Likewise.
41161         * intl/Makefile: Likewise.
41162         * io/Makefile: Likewise.
41163         * libio/Makefile: Likewise.
41164         (all): Remove target.
41165         * locale/Makefile: Include Makeconfig immediately after defining
41166         subdir.
41167         * login/Makefile: Likewise.
41168         * mach/Makefile: Likewise.
41169         (all): Remove target.
41170         * malloc/Makefile: Include Makeconfig immediately after defining
41171         subdir.
41172         (all): Remove target.
41173         * manual/Makefile: Include Makeconfig immediately after defining
41174         subdir.
41175         * math/Makefile: Likewise.
41176         * misc/Makefile: Likewise.
41177         * nis/Makefile: Likewise.
41178         * nss/Makefile: Likewise.
41179         * po/Makefile: Likewise.
41180         (all): Remove target.
41181         * posix/Makefile: Include Makeconfig immediately after defining
41182         subdir.
41183         * pwd/Makefile: Likewise.
41184         * resolv/Makefile: Likewise.
41185         * resource/Makefile: Likewise.
41186         * rt/Makefile: Likewise.
41187         * setjmp/Makefile: Likewise.
41188         * shadow/Makefile: Likewise.
41189         * signal/Makefile: Likewise.
41190         * socket/Makefile: Likewise.
41191         * soft-fp/Makefile: Likewise.
41192         * stdio-common/Makefile: Likewise.
41193         * stdlib/Makefile: Likewise.
41194         * streams/Makefile: Likewise.
41195         * string/Makefile: Likewise.
41196         * sunrpc/Makefile: Likewise.
41197         (all): Remove target.
41198         * sysvipc/Makefile: Include Makeconfig immediately after defining
41199         subdir.
41200         * termios/Makefile: Likewise.
41201         * time/Makefile: Likewise.
41202         * timezone/Makefile: Likewise.
41203         (all): Remove target.
41204         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41205         subdir.
41206         * wctype/Makefile: Likewise.
41208 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41210         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41211         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41212         (libc_feholdexcept_setround_mips): Ditto.
41213         (libc_feholdsetround): New.
41214         (libc_feholdsetroundf): New.
41215         (libc_feholdsetroundl): New.
41216         (libc_feupdateenv_test_mips): New.
41217         (libc_feupdateenv_test): New.
41218         (libc_feupdateenv_testf): New.
41219         (libc_feupdateenv_testl): New.
41220         (libc_feresetround): New.
41221         (libc_feresetroundf): New.
41222         (libc_feresetroundl): New.
41223         (libc_fetestexcept_mips): New.
41224         (libc_fetestexcept): New.
41225         (libc_fetestexceptf): New.
41226         (libc_fetestexceptl): New.
41227         (HAVE_RM_CTX): New.
41228         (libc_feholdexcept_setround_mips_ctx): New.
41229         (libc_feholdexcept_setround_ctx): New.
41230         (libc_feholdexcept_setroundf_ctx): New.
41231         (libc_feholdexcept_setroundl_ctx): New.
41232         (libc_fesetenv_mips_ctx): New.
41233         (libc_fesetenv_ctx): New.
41234         (libc_fesetenv_ctxf): New.
41235         (libc_fesetenv_ctxl): New.
41236         (libc_feupdateenv_mips_ctx): New.
41237         (libc_feupdateenv_ctx): New.
41238         (libc_feupdateenvf_ctx): New.
41239         (libc_feupdateenvl_ctx): New.
41240         (libc_feholdsetround_mips_ctx): New.
41241         (libc_feholdsetround_ctx): New.
41242         (libc_feholdsetroundf_ctx): New.
41243         (libc_feholdsetroundl_ctx): New.
41244         (libc_feresetround_mips_ctx): New.
41245         (libc_feresetround_ctx): New.
41246         (libc_feresetroundf_ctx): New.
41247         (libc_feresetroundl_ctx): New.
41249 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41251         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41253         * manual/ipc.texi: New file.
41254         * manual/Makefile (chapters): Add ipc.
41255         * manual/job.texi: Add "Inter-Process Communication" to next.
41256         * manual/process.texi: Add "Inter-Process Communication" to prev.
41258 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41262 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41264         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41266         * manual/arith.texi: Fix spaces after sentences.
41267         * manual/charset.texi: Likewise.
41268         * manual/errno.texi: Likewise.
41269         * manual/install.texi: Likewise.
41270         * manual/llio.texi: Likewise.
41271         * manual/locale.texi: Likewise.
41272         * manual/maint.texi: Likewise.
41273         * manual/math.texi: Likewise.
41274         * manual/memory.texi: Likewise.
41275         * manual/message.texi: Likewise.
41276         * manual/probes.texi: Likewise.
41277         * manual/resource.texi: Likewise.
41278         * manual/signal.texi: Likewise.
41279         * manual/socket.texi: Likewise.
41280         * manual/stdio.texi: Likewise.
41281         * manual/string.texi: Likewise.
41282         * manual/time.texi: Likewise.
41283         * manual/users.texi: Likewise.
41285 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41287         [BZ #16632]
41288         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41289         _DEFAULT_SOURCE is defined.
41291 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41292             Carlos O'Donell  <carlos@redhat.com>
41294         [BZ #16613]
41295         * elf/dl-tls.c (_dl_count_modids): New function.
41296         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41297         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41298         audit library and increment generation counter.
41299         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41300         * elf/tst-audit9.c: New file.
41301         * elf/tst-auditmod9a.c: New file.
41302         * elf/tst-auditmod9b.c: New file.
41303         * elf/Makefile: Add rules to build and run tst-audit9.
41305 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41307         [BZ #15347]
41308         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41310 2014-02-25  Will Newton  <will.newton@linaro.org>
41312         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41313         (__longjmp): Restore sp and lr before restoring callee
41314         saved registers.  Add longjmp and longjmp_target
41315         SystemTap probe point.
41316         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41317         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41318         Define to zero to match jmpbuf layout.
41319         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41320         (__sigsetjmp): Save sp and lr before saving callee
41321         saved registers.  Add setjmp SystemTap probe point.
41323 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41325         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41327 2014-02-24  Andreas Schwab  <schwab@suse.de>
41329         [BZ #15804]
41330         * elf/pldd.c (wait_for_ptrace_stop): New function.
41331         (main): Call it after attaching.
41333 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41335         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41336         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41337         Versions files is now verboten.
41338         * hurd/Versions (libc: GLIBC_2.0):
41339         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41340         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41341         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41342         * mach/Versions: Likewise.
41344         * csu/Versions: Remove unused %include.
41345         * resolv/Versions: Likewise.
41347 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41349         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41350         ($(objpfx)check-local-headers.out): Likewise.
41351         ($(objpfx)begin-end-check.out): Likewise.
41352         * Makerules (check-abi-%.out): Likewise.
41353         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41354         ($(objpfx)test2.cat): Likewise.
41355         ($(objpfx)de/libc.cat): Likewise.
41356         ($(objpfx)test-gencat.out): Likewise.
41357         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41358         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41359         ($(objpfx)noload-mem): Likewise.
41360         ($(objpfx)tst-pathopt.out): Likewise.
41361         ($(objpfx)tst-rtld-load-self.out): Likewise.
41362         ($(objpfx)tst-array1-cmp.out): Likewise.
41363         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41364         ($(objpfx)tst-array2-cmp.out): Likewise.
41365         ($(objpfx)tst-array3-cmp.out): Likewise.
41366         ($(objpfx)tst-array4-cmp.out): Likewise.
41367         ($(objpfx)tst-array5-cmp.out): Likewise.
41368         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41369         ($(objpfx)check-textrel.out): Likewise.
41370         ($(objpfx)check-execstack.out): Likewise.
41371         ($(objpfx)check-localplt.out): Likewise.
41372         ($(objpfx)order2-cmp.out): Likewise.
41373         ($(objpfx)tst-leaks1-mem): Likewise.
41374         ($(objpfx)tst-leaks1-static-mem): Likewise.
41375         ($(objpfx)tst-initorder-cmp.out): Likewise.
41376         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41377         ($(objpfx)tst-unused-dep.out): Likewise.
41378         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41379         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41380         * iconv/Makefile (test-iconvconfig): Likewise.
41381         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41382         ($(objpfx)iconv-test.out): Likewise.
41383         ($(objpfx)tst-tables.out): Likewise.
41384         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41385         ($(objpfx)tst-gettext.out): Likewise.
41386         ($(objpfx)tst-translit.out): Likewise.
41387         ($(objpfx)tst-gettext2.out): Likewise.
41388         ($(objpfx)tst-gettext4.out): Likewise.
41389         ($(objpfx)tst-gettext6.out): Likewise.
41390         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41391         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41392         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41393         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41394         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41395         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41396         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41397         ($(objpfx)wordexp-tst.out): Likewise.
41398         ($(objpfx)annexc.out): Likewise.
41399         ($(objpfx)tst-fnmatch-mem): Likewise.
41400         ($(objpfx)bug-regex2-mem): Likewise.
41401         ($(objpfx)bug-regex14-mem): Likewise.
41402         ($(objpfx)bug-regex21-mem): Likewise.
41403         ($(objpfx)bug-regex31-mem): Likewise.
41404         ($(objpfx)tst-vfork3-mem): Likewise.
41405         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41406         ($(objpfx)tst-pcre-mem): Likewise.
41407         ($(objpfx)tst-boost-mem): Likewise.
41408         ($(objpfx)tst-getconf.out): Likewise.
41409         ($(objpfx)bug-ga2-mem): Likewise.
41410         ($(objpfx)bug-glob2-mem): Likewise.
41411         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41412         ($(objpfx)mtrace-tst-leaks2): Likewise.
41413         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41414         ($(objpfx)tst-printf.out): Likewise.
41415         ($(objpfx)tst-setvbuf1.out): Likewise.
41416         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41417         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41418         ($(objpfx)tst-fmtmsg.out): Likewise.
41419         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41420         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41422         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41423         * bits/sigaction.h [__USE_MISC]: Likewise.
41424         * bits/waitstatus.h: Update #endif comments.
41425         * ctype/ctype.h: Likewise.
41426         * dirent/dirent.h: Likewise.
41427         [__USE_MISC]: Remove redundant conditionals.
41428         * grp/grp.h: Update #endif comments.
41429         [__USE_GNU]: Remove redundant conditionals.
41430         [__USE_MISC]: Likewise.
41431         * inet/netinet/in.h [__USE_GNU]: Likewise.
41432         * io/sys/stat.h [__USE_MISC]: Likewise.
41433         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41434         * libio/bits/stdio.h: Update #endif comments.
41435         [__USE_MISC]: Remove redundant conditionals.
41436         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41437         * libio/stdio.h: Update #endif comments.
41438         [__USE_MISC]: Remove redundant conditionals.
41439         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41440         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41441         * math/math.h: Update #else and #endif comments.
41442         [__USE_MISC]: Remove redundant conditionals.
41443         * misc/sys/uio.h: Update #endif comments.
41444         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41445         * posix/glob.h [__USE_MISC]: Likewise.
41446         * posix/sys/types.h: Update #endif comments.
41447         [__USE_MISC]: Remove redundant conditionals.
41448         * posix/sys/wait.h: Update #endif comments.
41449         [__USE_MISC]: Remove redundant conditionals.
41450         * posix/unistd.h: Update #endif comments.
41451         [__USE_MISC]: Remove redundant conditionals.
41452         * pwd/pwd.h [__USE_GNU]: Likewise.
41453         [__USE_MISC]: Likewise.
41454         * resolv/netdb.h [__USE_GNU]: Likewise.
41455         * signal/signal.h: Update #endif comments.
41456         [__USE_MISC]: Remove redundant conditionals.
41457         * stdlib/stdlib.h: Update #else and #endif comments.
41458         [__USE_MISC]: Remove redundant conditionals.
41459         [__USE_GNU]: Likewise.
41460         * string/bits/string2.h [__USE_MISC]: Likewise.
41461         * string/string.h: Update #endif comments.
41462         [__USE_MISC]: Remove redundant conditionals.
41463         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41464         Likewise.
41465         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41466         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41467         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41468         Likewise.
41469         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41470         Likewise.
41471         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41472         comments.
41473         [__USE_MISC]: Remove redundant conditionals.
41474         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41475         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41476         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41477         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41478         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41479         Likewise.
41480         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41481         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41482         Likewise.
41483         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41484         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41485         Likewise.
41486         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41487         Likewise.
41488         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41489         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41490         Likewise.
41491         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41492         Likewise.
41493         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41494         * sysdeps/x86/bits/string.h: Update #endif comments.
41495         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41496         conditionals.
41497         * time/sys/time.h: Update #endif comments.
41498         * time/time.h: Likewise.
41499         [__USE_MISC]: Remove redundant conditionals.
41501 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41503         [BZ #16600]
41504         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41506 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41508         * Versions.def (librt): Add GLIBC_2.17.
41510 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41512         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41513         synonym for _SYS_AUXV_H to allow direct inclusion.
41514         * sysdeps/sparc/bits/hwcap.h: Likewise.
41515         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41516         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41517         * sysdeps/sparc/sysdep.h: Likewise.
41519 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41521         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41523 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41525         * benchtests/bench-strrchr.c: Print length instead of position.
41527 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41529         [BZ #16611]
41530         * sysdeps/unix/sysv/linux/kernel-features.h
41531         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41532         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41533         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41534         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41535         Likewise.
41536         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41537         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41538         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41539         (__ASSUME_SENDMMSG): Define instead of using previous
41540         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41541         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41542         (__ASSUME_SENDMMSG_SYSCALL): Define.
41543         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41544         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41545         Likewise.
41546         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41547         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41548         Likewise.
41549         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41550         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41551         Likewise.
41552         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41553         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41554         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41555         [__ASSUME_SENDMMSG]: Change conditionals to
41556         [__ASSUME_SENDMMSG_SOCKETCALL].
41557         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41558         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41559         Define.
41560         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41561         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41562         Likewise.
41563         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41564         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41565         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41566         [!__ASSUME_SENDMMSG]: Change conditional to
41567         [!__ASSUME_SENDMMSG_SOCKETCALL].
41568         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41569         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41570         Define.
41572         [BZ #16610]
41573         * sysdeps/unix/sysv/linux/kernel-features.h
41574         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41575         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41576         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41577         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41578         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41579         [__i386__ || __sparc__]
41580         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41581         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41582         (__ASSUME_RECVMMSG): Define instead of using previous
41583         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41584         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41585         (__ASSUME_RECVMMSG_SYSCALL): Define.
41586         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41587         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41588         Likewise.
41589         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41590         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41591         Likewise.
41592         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41593         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41594         Likewise.
41595         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41596         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41597         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41598         [__ASSUME_RECVMMSG]: Change condition to
41599         [__ASSUME_RECVMMSG_SOCKETCALL].
41600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41601         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41602         Define.
41603         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41604         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41605         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41606         Likewise.
41607         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41608         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41609         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41610         [!__ASSUME_RECVMMSG]: Change condition to
41611         [!__ASSUME_RECVMMSG_SOCKETCALL].
41612         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41613         (__ASSUME_RECVMMSG_SYSCALL): Define.
41615         [BZ #16609]
41616         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41617         __powerpc__ || __s390__ || __sh__ || __sparc__]
41618         (__ASSUME_SOCKETCALL): Define.
41619         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41620         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41621         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41622         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41623         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41624         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41625         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41626         (__ASSUME_ACCEPT4): Define instead of using previous
41627         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41628         __powerpc__ || __sparc__ || __s390__)] condition.
41629         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41630         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41631         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41632         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41633         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41634         [!__ASSUME_ACCEPT4]: Change condition to
41635         [!__ASSUME_ACCEPT4_SOCKETCALL].
41636         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41637         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41638         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41639         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41640         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41641         __ASSUME_ACCEPT4_SYSCALL.
41642         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41643         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41644         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41645         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41646         __ASSUME_ACCEPT4_SYSCALL.
41647         * sysdeps/unix/sysv/linux/internal_accept4.S [__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/m68k/kernel-features.h
41653         (__ASSUME_SOCKETCALL): Define.
41654         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41655         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41656         (__ASSUME_SOCKETCALL): Define.
41657         (__ASSUME_ACCEPT4): Remove.
41658         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41659         Define.
41660         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41661         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41662         Likewise.
41663         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41664         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41666         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41667         macro.
41668         (HWCAP_ARM_LPAE): Likewise.
41669         (HWCAP_ARM_EVTSTRM): Likewise.
41670         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41671         Add vpfd32, lpae and evtstrm.
41672         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41673         Increase to 22.
41675 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41677         * math/auto-libm-test-in: Add tests of clog10.
41678         * math/auto-libm-test-out: Regenerated.
41679         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41680         * sysdeps/i386/fpu/libm-test-ulps: Update.
41681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41683 2014-02-18  Andreas Schwab  <schwab@suse.de>
41685         [BZ #16574]
41686         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41687         Store non-zero if the second buffer was newly allocated.
41688         (send_dg): Likewise.
41689         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41690         to send_vc and send_dg.
41691         (res_nsend): Pass NULL for ansp2_malloced.
41692         * resolv/res_query.c (__libc_res_nquery): Add parameter
41693         answerp2_malloced and pass it down to __libc_res_nsend.
41694         (res_nquery): Pass additional NULL to __libc_res_nquery.
41695         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41696         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41697         second answer buffer if answerp2_malloced was set.
41698         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41699         (__libc_res_nquerydomain): Add parameter
41700         answerp2_malloced and pass it down to __libc_res_nquery.
41701         (res_nquerydomain): Pass additional NULL to
41702         __libc_res_nquerydomain.
41703         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41704         additional NULL to __libc_res_nsend and __libc_res_nquery.
41705         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41706         additional NULL to __libc_res_nsearch.
41707         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41708         parameter of __libc_res_nsearch to check for separately allocated
41709         second buffer.
41710         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41711         __libc_res_nquery.
41712         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41713         additional NULL to __libc_res_nquery.
41714         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41715         __libc_res_nsearch.
41716         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41717         * include/resolv.h: Update prototypes of __libc_res_nquery,
41718         __libc_res_nsearch, __libc_res_nsend.
41720 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41722         * math/auto-libm-test-in: Add tests of fma.
41723         * math/auto-libm-test-out: Regenerated.
41724         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41725         (fma_towardzero_test_data): Likewise.
41726         (fma_downward_test_data): Likewise.
41727         (fma_upward_test_data): Likewise.
41728         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41729         mpc_mode.
41730         (rounding_modes): Add values for new field.
41731         (func_calc_method): Add value mpfr_fff_f.
41732         (func_calc_desc): Add mpfr_fff_f union field.
41733         (test_function): Add field exact_args.
41734         (FUNC): Add macro argument EXACT_ARGS.
41735         (FUNC_mpfr_f_f): Update call to FUNC.
41736         (FUNC_mpfr_f_f): Likewise.
41737         (FUNC_mpfr_ff_f): Likewise.
41738         (FUNC_mpfr_if_f): Likewise.
41739         (FUNC_mpc_c_f): Likewise.
41740         (FUNC_mpc_c_c): Likewise.
41741         (test_functions): Add fma.  Update calls to FUNC.
41742         (handle_input_arg): Add argument exact_args.
41743         (add_test): Update call to handle_input_arg.
41744         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41745         (output_for_one_input_case): Update call to calc_generic_results.
41746         Recalculate exact zero results in each rounding mode.
41748         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41749         non-negative before setting low bit.
41750         * math/auto-libm-test-in: Mark one asin test possibly having
41751         spurious underflow.
41752         * math/auto-libm-test-out: Regenerated.
41753         * sysdeps/i386/fpu/libm-test-ulps: Update.
41754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41756 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41758         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41759         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41760         ports/sysdeps/unix/sysv/linux/microblaze.
41761         * README: Add missing listing for microblaze*-*-linux-gnu.
41763 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41765         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41766         duplicate code
41768 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41770         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41771         * sysdeps/unix/sysv/linux/ia64: Move directory from
41772         ports/sysdeps/unix/sysv/linux/ia64.
41773         * README: Update listing for ia64-*-linux-gnu.
41775 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41776             Joseph Myers  <joseph@codesourcery.com>
41778         * Makeconfig (test-name): New variable.
41779         (evaluate-test): Likewise.
41780         * Makerules (do-test-clean): Remove .test-result files.
41781         (common-mostlyclean): Likewise.
41782         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41783         * scripts/evaluate-test.sh: New file.
41785 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41787         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41788         separate $(objpfx)tst-fopenloc-cmp.out and
41789         $(objpfx)tst-fopenloc-mem.out targets.
41790         (tests): Update dependencies.
41791         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41792         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41793         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41794         (tst-rxspencer-no-utf8-ARGS): New variable.
41795         (tst-rxspencer-no-utf8-ENV): Likewise.
41796         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41797         instead of $(objpfx)tst-rxspencer-mem.
41798         ($(objpfx)tst-rxspencer-mem): Change target to
41799         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41800         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41801         * posix/tst-rxspencer-no-utf8.c: New file.
41803         * elf/Makefile ($(objpfx)order.out): Remove rule.
41804         [$(run-built-tests) = yes] (tests): Depend on
41805         $(objpfx)order-cmp.out.
41806         ($(objpfx)order-cmp.out): New rule.
41807         [$(run-built-tests) = yes] (tests): Depend on
41808         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41809         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41810         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41811         $(objpfx)tst-array5-static-cmp.out.
41812         ($(objpfx)tst-array1.out): Remove rule.
41813         ($(objpfx)tst-array1-cmp.out): New rule.
41814         ($(objpfx)tst-array1-static.out): Remove rule.
41815         ($(objpfx)tst-array1-static-cmp.out): New rule.
41816         ($(objpfx)tst-array2.out): Remove rule.
41817         ($(objpfx)tst-array2-cmp.out): New rule.
41818         ($(objpfx)tst-array3.out): Remove rule.
41819         ($(objpfx)tst-array3-cmp.out): New rule.
41820         ($(objpfx)tst-array4.out): Remove rule.
41821         ($(objpfx)tst-array4-cmp.out): New rule.
41822         ($(objpfx)tst-array5.out): Remove rule.
41823         ($(objpfx)tst-array5-cmp.out): New rule.
41824         ($(objpfx)tst-array5-static.out): Remove rule.
41825         ($(objpfx)tst-array5-static-cmp.out): New rule.
41826         [$(run-built-tests) = yes] (tests): Depend on
41827         $(objpfx)order2-cmp.out.
41828         ($(objpfx)order2.out): Remove rule.
41829         ($(objpfx)order2-cmp.out): New rule.
41830         ($(objpfx)tst-initorder.out): Remove rule.
41831         [$(run-built-tests) = yes] (tests): Depend on
41832         $(objpfx)tst-initorder-cmp.out.
41833         ($(objpfx)tst-initorder-cmp.out): New rule.
41834         ($(objpfx)tst-initorder2.out): Remove rule.
41835         [$(run-built-tests) = yes] (tests): Depend on
41836         $(objpfx)tst-initorder2-cmp.out.
41837         ($(objpfx)tst-initorder2-cmp.out): New rule.
41838         [$(run-built-tests) = yes] (tests): Depend on
41839         $(objpfx)tst-unused-dep-cmp.out.
41840         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41841         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41842         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41843         on $(objpfx)tst-setvbuf1-cmp.out.
41844         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41845         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41846         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41847         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41848         ($(objpfx)tst-svc.out): Remove rule.
41849         ($(objpfx)tst-svc-cmp.out): New rule.
41851 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41853         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41854         * ctype/ctype.h [__USE_MISC]: Likewise.
41855         * dirent/dirent.h [__USE_MISC]: Likewise.
41856         * grp/grp.h [__USE_MISC]: Likewise.
41857         * io/fcntl.h [__USE_MISC]: Likewise.
41858         * io/sys/stat.h [__USE_MISC]: Likewise.
41859         * libio/stdio.h [__USE_MISC]: Likewise.
41860         * posix/unistd.h [__USE_MISC]: Likewise.
41861         * pwd/pwd.h [__USE_MISC]: Likewise.
41862         * stdlib.h [__USE_MISC]: Likewise.
41863         * string/bits/string2.h [__USE_MISC]: Likewise.
41864         * string/string.h [__USE_MISC]: Likewise.
41865         * time/time.h [__USE_MISC]: Likewise.
41867 2014-02-13  Andreas Schwab  <schwab@suse.de>
41869         [BZ #16574]
41870         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41871         second answer buffer if it was separately allocated.
41873 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41875         * sysdeps/mips/math-tests.h: Include <features.h>.
41876         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41877         (ROUNDING_TESTS_long_double): Do not define.
41878         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41879         (EXCEPTION_TESTS_long_double): Likewise.
41880         * sysdeps/mips/mips64/libm-test-ulps: Update.
41882         * include/features.h (__USE_BSD): Remove macro definitions.
41883         (__USE_SVID): Likewise.
41884         (_BSD_SOURCE): Likewise.
41885         (_SVID_SOURCE): Likewise.
41886         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41887         from definition of _DEFAULT_SOURCE.
41888         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41889         [_DEFAULT_SOURCE].
41890         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41891         * bits/mman.h [__USE_BSD]: Likewise.
41892         * bits/termios.h [__USE_BSD]: Likewise.
41893         * bits/waitstatus.h [__USE_BSD]: Likewise.
41894         * ctype/ctype.h [__USE_SVID]: Likewise.
41895         * dirent/dirent.h [__USE_BSD]: Likewise.
41896         * grp/grp.h [__USE_SVID]: Likewise.
41897         [__USE_BSD]: Likewise.
41898         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41899         * io/fcntl.h [__USE_BSD]: Likewise.
41900         * io/ftw.h [__USE_BSD]: Likewise.
41901         * io/sys/stat.h [__USE_BSD]: Likewise.
41902         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41903         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41904         * libio/stdio.h [__USE_SVID]: Likewise.
41905         [__USE_BSD]: Likewise.
41906         * math/math.h [__USE_SVID]: Likewise.
41907         [__USE_BSD]: Likewise.
41908         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41909         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41910         * misc/search.h [__USE_SVID]: Likewise.
41911         * misc/sys/mman.h [__USE_BSD]: Likewise.
41912         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41913         * misc/sys/uio.h [__USE_BSD]: Likewise.
41914         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41915         * posix/glob.h [__USE_BSD]: Likewise.
41916         * posix/regex.h [__USE_BSD]: Likewise.
41917         * posix/sys/types.h [__USE_BSD]: Likewise.
41918         [__USE_SVID]: Likewise.
41919         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41920         * posix/sys/wait.h [__USE_BSD]: Likewise.
41921         [__USE_SVID]: Likewise.
41922         * posix/unistd.h [__USE_BSD]: Likewise.
41923         [__USE_SVID]: Likewise.
41924         * pwd/pwd.h [__USE_SVID]: Likewise.
41925         * resolv/netdb.h [__USE_BSD]: Likewise.
41926         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41927         * signal/signal.h [__USE_BSD]: Likewise.
41928         [__USE_SVID]: Likewise.
41929         * socket/sys/socket.h [__USE_BSD]: Likewise.
41930         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41931         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41932         [__USE_SVID]: Likewise.
41933         * string/bits/string2.h [__USE_BSD]: Likewise.
41934         [__USE_SVID]: Likewise.
41935         * string/bits/string3.h [__USE_BSD]: Likewise.
41936         * string/endian.h [__USE_BSD]: Likewise.
41937         * string/string.h [__USE_SVID]: Likewise.
41938         [__USE_BSD]: Likewise.
41939         * string/strings.h [__USE_BSD]: Likewise.
41940         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41941         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41942         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41943         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41944         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41945         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41946         Likewise.
41947         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41948         Likewise.
41949         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41950         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41951         Likewise.
41952         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41953         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41954         Likewise.
41955         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41956         Likewise.
41957         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41958         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41959         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41960         Likewise.
41961         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41962         Likewise.
41963         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41964         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41965         * termios/termios.h [__USE_BSD]: Likewise.
41966         * time/sys/time.h [__USE_BSD]: Likewise.
41967         * time/time.h [__USE_BSD]: Likewise.
41968         [__USE_SVID]: Likewise.
41970         * Makefile (subdir_targets): Remove subdir_lint.out.
41972         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41973         (do-tst-printf): Likewise.
41974         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41975         $(objpfx)tst-printf.out.
41977         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41979         * Makerules (check-abi-%): Change target to
41980         $(objpfx)check-abi-%.out.
41981         (check-abi target): Update dependencies.
41982         (check-abi-pattern variable): Redirect output of diff to $@.
41983         (check-abi variable): Likewise.
41984         * elf/Makefile (check-abi): Update dependencies.
41986         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41987         unused.
41988         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41989         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41990         subnormal range.
41991         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41992         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41993         value has largest subnormal exponent.
41994         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41995         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41996         * sysdeps/aarch64/soft-fp/sfp-machine.h
41997         (_FP_TININESS_AFTER_ROUNDING): New macro.
41998         * sysdeps/alpha/soft-fp/sfp-machine.h
41999         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42000         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42001         Likewise.
42002         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
42003         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42004         * sysdeps/mips/soft-fp/sfp-machine.h
42005         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42006         * sysdeps/powerpc/soft-fp/sfp-machine.h
42007         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42008         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42009         Likewise.
42010         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42011         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42012         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42013         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42014         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42015         Likewise.
42017 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
42019         [BZ #16545]
42020         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
42021         model 1.
42023 2014-02-12  Richard Henderson  <rth@redhat.com>
42025         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
42026         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
42027         * sysdeps/unix/sysv/linux/alpha: Move directory from
42028         ports/sysdeps/unix/sysv/linux/alpha.
42029         * README: Update listing for alpha-*-linux-gnu.
42031 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
42033         * include/features.h: Update comment documenting feature test
42034         macros.
42035         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
42036         _DEFAULT_SOURCE.
42037         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
42038         (_SVID_SOURCE): Likewise.
42039         (_DEFAULT_SOURCE): Update description of default features.
42040         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
42041         with _GNU_SOURCE.
42042         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
42043         (S_ISVTX): Likewise.
42044         * manual/math.texi (Mathematical Constants): Likewise.
42045         * manual/signal.texi (Interrupted Primitives): Likewise.
42046         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
42047         * math/test-matherr.c (_SVID_SOURCE): Do not define.
42048         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
42049         Don't refer to _SVID_SOURCE in warning text.
42051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42053         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
42054         already defined.
42055         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
42056         * sysdeps/mips/dl-lookup.c: Remove.
42057         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42059 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42061         [BZ #16447]
42062         * math/auto-libm-test-in: Add testcase for expl.
42063         * math/auto-libm-test-out: Regenerate.
42064         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
42065         calculation of unsafe.
42066         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
42068 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42070         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
42071         * sysdeps/unix/sysv/linux/aarch64: Move directory from
42072         ports/sysdeps/unix/sysv/linux/aarch64.
42073         * README: Update listing for aarch64*-*-linux-gnu.
42075 2014-02-11  Will Newton  <will.newton@linaro.org>
42077         * manual/probes.texi (Mathematical Function Probes): Use
42078         "triggered" instead of "hit".
42080         * manual/probes.texi (Internal Probes): Add documentation
42081         of setjmp, longjmp and longjmp_target probes.
42083         * include/stap-probe.h: Add comment about probe argument
42084         format.
42086         * malloc/mtrace.c (attribute_hidden): Remove unused macro
42087         definition.  (tr_where, tr_freehook, tr_mallochook,
42088         tr_reallochook, tr_memalignhook): Use ANSI protoype.
42090 2014-02-11  David S. Miller  <davem@davemloft.net>
42092         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
42093         processing int_tests.
42095 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
42097         * sysdeps/mips: Move directory from ports/sysdeps/mips.
42098         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
42099         * sysdeps/unix/sysv/linux/mips: Move directory from
42100         ports/sysdeps/unix/sysv/linux/mips.
42101         * README: Update listing for mips-*-linux-gnu and
42102         mips64-*-linux-gnu.
42104 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
42106         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
42107         * sysdeps/unix/sysv/linux/m68k: Move directory from
42108         ports/sysdeps/unix/sysv/linux/m68k.
42109         * README: Update listing for m68k-*-linux-gnu.
42111 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
42113         * sysdeps/tile: Move directory from ports/sysdeps/tile.
42114         * sysdeps/unix/sysv/linux/generic: Move directory from
42115         ports/sysdeps/unix/sysv/linux/generic.
42116         * sysdeps/unix/sysv/linux/tile: Move directory from
42117         ports/sysdeps/unix/sysv/linux/tile.
42118         * README: Update listing for tile*-*-linux-gnu.
42120 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
42122         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42123         __builtin_expect.
42124         * benchtests/bench-memmem.c (simple_memmem): Likewise.
42125         * catgets/open_catalog.c (__open_catalog): Likewise.
42126         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42127         * debug/confstr_chk.c: Likewise.
42128         * debug/fread_chk.c (__fread_chk): Likewise.
42129         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42130         * debug/getgroups_chk.c: Likewise.
42131         * debug/mbsnrtowcs_chk.c: Likewise.
42132         * debug/mbsrtowcs_chk.c: Likewise.
42133         * debug/mbstowcs_chk.c: Likewise.
42134         * debug/memcpy_chk.c: Likewise.
42135         * debug/memmove_chk.c: Likewise.
42136         * debug/mempcpy_chk.c: Likewise.
42137         * debug/memset_chk.c: Likewise.
42138         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42139         * debug/strcat_chk.c (__strcat_chk): Likewise.
42140         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
42141         * debug/strncat_chk.c (__strncat_chk): Likewise.
42142         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
42143         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
42144         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
42145         * debug/wcpncpy_chk.c: Likewise.
42146         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42147         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
42148         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
42149         * debug/wcsncpy_chk.c: Likewise.
42150         * debug/wcsnrtombs_chk.c: Likewise.
42151         * debug/wcsrtombs_chk.c: Likewise.
42152         * debug/wcstombs_chk.c: Likewise.
42153         * debug/wmemcpy_chk.c: Likewise.
42154         * debug/wmemmove_chk.c: Likewise.
42155         * debug/wmempcpy_chk.c: Likewise.
42156         * debug/wmemset_chk.c: Likewise.
42157         * dirent/scandirat.c (SCANDIRAT): Likewise.
42158         * dlfcn/dladdr1.c (dladdr1): Likewise.
42159         * dlfcn/dladdr.c (dladdr): Likewise.
42160         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42161         * dlfcn/dlerror.c (__dlerror): Likewise.
42162         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42163         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42164         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42165         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42166         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42167         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42168         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42169         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42170         Likewise.
42171         * elf/dl-conflict.c: Likewise.
42172         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42173         * elf/dl-dst.h: Likewise.
42174         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42175         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42176         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42177         * elf/dl-init.c (call_init, _dl_init): Likewise.
42178         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42179         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42180         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42181         Likewise.
42182         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42183         Likewise.
42184         * elf/dl-minimal.c (__libc_memalign): Likewise.
42185         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42186         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42187         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42188         * elf/dl-sym.c (do_sym): Likewise.
42189         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42190         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42191         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42192         * elf/dl-writev.h (_dl_writev): Likewise.
42193         * elf/ldconfig.c (search_dir): Likewise.
42194         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42195         (dl_main): Likewise.
42196         * elf/setup-vdso.h (setup_vdso): Likewise.
42197         * grp/compat-initgroups.c (compat_call): Likewise.
42198         * grp/fgetgrent.c (fgetgrent): Likewise.
42199         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42200         * grp/putgrent.c (putgrent): Likewise.
42201         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42202         Likewise.
42203         * hurd/hurdinit.c: Likewise.
42204         * iconvdata/8bit-gap.c (struct): Likewise.
42205         * iconvdata/ansi_x3.110.c : Likewise.
42206         * iconvdata/big5.c : Likewise.
42207         * iconvdata/big5hkscs.c : Likewise.
42208         * iconvdata/cp1255.c: Likewise.
42209         * iconvdata/cp1258.c : Likewise.
42210         * iconvdata/cp932.c : Likewise.
42211         * iconvdata/euc-cn.c: Likewise.
42212         * iconvdata/euc-jisx0213.c : Likewise.
42213         * iconvdata/euc-jp.c: Likewise.
42214         * iconvdata/euc-jp-ms.c : Likewise.
42215         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42216         * iconvdata/gb18030.c : Likewise.
42217         * iconvdata/gbbig5.c (const): Likewise.
42218         * iconvdata/gbgbk.c: Likewise.
42219         * iconvdata/gbk.c : Likewise.
42220         * iconvdata/ibm1364.c : Likewise.
42221         * iconvdata/ibm930.c : Likewise.
42222         * iconvdata/ibm932.c: Likewise.
42223         * iconvdata/ibm933.c : Likewise.
42224         * iconvdata/ibm935.c : Likewise.
42225         * iconvdata/ibm937.c : Likewise.
42226         * iconvdata/ibm939.c : Likewise.
42227         * iconvdata/ibm943.c: Likewise.
42228         * iconvdata/iso_11548-1.c: Likewise.
42229         * iconvdata/iso-2022-cn.c : Likewise.
42230         * iconvdata/iso-2022-cn-ext.c : Likewise.
42231         * iconvdata/iso-2022-jp-3.c: Likewise.
42232         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42233         * iconvdata/iso-2022-kr.c : Likewise.
42234         * iconvdata/iso646.c (gconv_end): Likewise.
42235         * iconvdata/iso_6937-2.c : Likewise.
42236         * iconvdata/iso_6937.c : Likewise.
42237         * iconvdata/iso8859-1.c: Likewise.
42238         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42239         * iconvdata/shift_jisx0213.c : Likewise.
42240         * iconvdata/sjis.c : Likewise.
42241         * iconvdata/t.61.c : Likewise.
42242         * iconvdata/tcvn5712-1.c : Likewise.
42243         * iconvdata/tscii.c: Likewise.
42244         * iconvdata/uhc.c : Likewise.
42245         * iconvdata/unicode.c (gconv_end): Likewise.
42246         * iconvdata/utf-16.c (gconv_end): Likewise.
42247         * iconvdata/utf-32.c (gconv_end): Likewise.
42248         * iconvdata/utf-7.c (base64): Likewise.
42249         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42250         * iconv/gconv_close.c (__gconv_close): Likewise.
42251         * iconv/gconv_open.c (__gconv_open): Likewise.
42252         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42253         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42254         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42255         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42256         (ucs4le_internal_loop_single): Likewise.
42257         * iconv/iconv.c (iconv): Likewise.
42258         * iconv/iconv_close.c: Likewise.
42259         * iconv/loop.c (SINGLE): Likewise.
42260         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42261         * include/atomic.h: Likewise.
42262         * inet/inet6_option.c (option_alloc): Likewise.
42263         * intl/bindtextdom.c (set_binding_values): Likewise.
42264         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42265         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42266         * intl/localealias.c (read_alias_file): Likewise.
42267         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42268         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42269         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42270         * libio/fmemopen.c (fmemopen): Likewise.
42271         * libio/iofgets.c (_IO_fgets): Likewise.
42272         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42273         * libio/iofgetws.c (fgetws): Likewise.
42274         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42275         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42276         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42277         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42278         * locale/findlocale.c (_nl_find_locale): Likewise.
42279         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42280         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42281         Likewise.
42282         * locale/setlocale.c (setlocale): Likewise.
42283         * login/programs/pt_chown.c (main): Likewise.
42284         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42285         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42286         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42287         (mmap, mmap64, mremap, munmap): Likewise.
42288         * math/e_exp2l.c: Likewise.
42289         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42290         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42291         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42292         * math/s_catan.c (__catan): Likewise.
42293         * math/s_catanf.c (__catanf): Likewise.
42294         * math/s_catanh.c (__catanh): Likewise.
42295         * math/s_catanhf.c (__catanhf): Likewise.
42296         * math/s_catanhl.c (__catanhl): Likewise.
42297         * math/s_catanl.c (__catanl): Likewise.
42298         * math/s_ccosh.c (__ccosh): Likewise.
42299         * math/s_ccoshf.c (__ccoshf): Likewise.
42300         * math/s_ccoshl.c (__ccoshl): Likewise.
42301         * math/s_cexp.c (__cexp): Likewise.
42302         * math/s_cexpf.c (__cexpf): Likewise.
42303         * math/s_cexpl.c (__cexpl): Likewise.
42304         * math/s_clog10.c (__clog10): Likewise.
42305         * math/s_clog10f.c (__clog10f): Likewise.
42306         * math/s_clog10l.c (__clog10l): Likewise.
42307         * math/s_clog.c (__clog): Likewise.
42308         * math/s_clogf.c (__clogf): Likewise.
42309         * math/s_clogl.c (__clogl): Likewise.
42310         * math/s_csin.c (__csin): Likewise.
42311         * math/s_csinf.c (__csinf): Likewise.
42312         * math/s_csinh.c (__csinh): Likewise.
42313         * math/s_csinhf.c (__csinhf): Likewise.
42314         * math/s_csinhl.c (__csinhl): Likewise.
42315         * math/s_csinl.c (__csinl): Likewise.
42316         * math/s_csqrt.c (__csqrt): Likewise.
42317         * math/s_csqrtf.c (__csqrtf): Likewise.
42318         * math/s_csqrtl.c (__csqrtl): Likewise.
42319         * math/s_ctan.c (__ctan): Likewise.
42320         * math/s_ctanf.c (__ctanf): Likewise.
42321         * math/s_ctanh.c (__ctanh): Likewise.
42322         * math/s_ctanhf.c (__ctanhf): Likewise.
42323         * math/s_ctanhl.c (__ctanhl): Likewise.
42324         * math/s_ctanl.c (__ctanl): Likewise.
42325         * math/w_pow.c: Likewise.
42326         * math/w_powf.c: Likewise.
42327         * math/w_powl.c: Likewise.
42328         * math/w_scalb.c (sysv_scalb): Likewise.
42329         * math/w_scalbf.c (sysv_scalbf): Likewise.
42330         * math/w_scalbl.c (sysv_scalbl): Likewise.
42331         * misc/error.c (error_tail): Likewise.
42332         * misc/pselect.c (__pselect): Likewise.
42333         * nis/nis_callback.c (__nis_create_callback): Likewise.
42334         * nis/nis_call.c (__nisfind_server): Likewise.
42335         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42336         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42337         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42338         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42339         * nis/nis_lookup.c (nis_lookup): Likewise.
42340         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42341         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42342         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42343         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42344         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42345         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42346         * nis/nss_compat/compat-initgroups.c (add_group)
42347         (internal_getgrent_r): Likewise.
42348         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42349         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42350         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42351         (internal_getspnam_r): Likewise.
42352         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42353         (_nss_nis_getaliasbyname_r): Likewise.
42354         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42355         (_nss_nis_getntohost_r): Likewise.
42356         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42357         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42358         (_nss_nis_getgrgid_r): Likewise.
42359         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42360         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42361         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42362         (_nss_nis_gethostbyname4_r): Likewise.
42363         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42364         (initgroups_netid): Likewise.
42365         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42366         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42367         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42368         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42369         (_nss_nis_getprotobynumber_r): Likewise.
42370         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42371         (_nss_nis_getsecretkey): Likewise.
42372         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42373         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42374         (_nss_nis_getpwuid_r): Likewise.
42375         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42376         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42377         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42378         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42379         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42380         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42381         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42382         Likewise.
42383         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42384         (_nss_nisplus_getntohost_r): Likewise.
42385         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42386         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42387         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42388         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42389         Likewise.
42390         * nis/nss_nisplus/nisplus-initgroups.c
42391         (_nss_nisplus_initgroups_dyn): Likewise.
42392         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42393         (_nss_nisplus_getnetbyaddr_r): Likewise.
42394         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42395         (_nss_nisplus_getprotobynumber_r): Likewise.
42396         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42397         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42398         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42399         Likewise.
42400         * nis/nss_nisplus/nisplus-service.c
42401         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42402         (_nss_nisplus_getservbyport_r): Likewise.
42403         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42404         (_nss_nisplus_getspnam_r): Likewise.
42405         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42406         Likewise.
42407         * nscd/aicache.c (addhstaiX): Likewise.
42408         * nscd/cache.c (cache_search, prune_cache): Likewise.
42409         * nscd/connections.c (register_traced_file, send_ro_fd)
42410         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42411         (main_loop_epoll): Likewise.
42412         * nscd/grpcache.c (addgrbyX): Likewise.
42413         * nscd/hstcache.c (addhstbyX): Likewise.
42414         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42415         * nscd/mem.c (gc, mempool_alloc): Likewise.
42416         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42417         (addinnetgrX): Likewise.
42418         * nscd/nscd-client.h (__nscd_acquire_maplock)
42419         (__nscd_drop_map_ref): Likewise.
42420         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42421         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42422         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42423         Likewise.
42424         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42425         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42426         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42427         (__nscd_get_map_ref): Likewise.
42428         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42429         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42430         Likewise.
42431         * nscd/pwdcache.c (addpwbyX): Likewise.
42432         * nscd/selinux.c (preserve_capabilities): Likewise.
42433         * nscd/servicescache.c (addservbyX): Likewise.
42434         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42435         * posix/fnmatch.c (fnmatch): Likewise.
42436         * posix/getopt.c (_getopt_internal_r): Likewise.
42437         * posix/glob.c (glob, glob_in_dir): Likewise.
42438         * posix/wordexp.c (exec_comm_child): Likewise.
42439         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42440         (getanswer_r, gaih_getanswer_slice): Likewise.
42441         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42442         * resolv/res_init.c: Likewise.
42443         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42444         * resolv/res_query.c (__libc_res_nquery): Likewise.
42445         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42446         Likewise.
42447         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42448         * stdio-common/perror.c (perror): Likewise.
42449         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42450         * stdio-common/tmpnam.c (tmpnam): Likewise.
42451         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42452         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42453         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42454         Likewise.
42455         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42456         * stdlib/putenv.c (putenv): Likewise.
42457         * stdlib/setenv.c (__add_to_environ): Likewise.
42458         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42459         * stdlib/strtol_l.c (INTERNAL): Likewise.
42460         * string/memmem.c (memmem): Likewise.
42461         * string/strerror.c (strerror): Likewise.
42462         * string/strnlen.c (__strnlen): Likewise.
42463         * string/test-memmem.c (simple_memmem): Likewise.
42464         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42465         * sunrpc/pm_getport.c (__get_socket): Likewise.
42466         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42467         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42468         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42469         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42470         Likewise.
42471         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42472         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42473         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42474         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42475         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42476         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42477         Likewise.
42478         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42479         Likewise.
42480         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42481         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42482         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42483         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42484         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42486         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42487         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42488         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42489         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42490         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42491         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42492         Likewise.
42493         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42494         Likewise.
42495         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42496         Likewise.
42497         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42498         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42499         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42500         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42501         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42502         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42503         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42504         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42505         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42506         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42507         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42508         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42509         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42510         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42511         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42512         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42513         Likewise.
42514         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42515         Likewise.
42516         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42517         Likewise.
42518         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42519         Likewise.
42520         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42521         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42522         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42523         Likewise.
42524         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42525         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42526         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42527         * sysdeps/posix/sleep.c: Likewise.
42528         * sysdeps/posix/tempname.c: Likewise.
42529         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42530         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42531         Likewise.
42532         * sysdeps/powerpc/powerpc32/dl-machine.h
42533         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42534         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42535         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42536         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42537         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42538         Likewise.
42539         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42540         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42541         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42542         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42543         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42544         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42545         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42546         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42547         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42548         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42549         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42550         (elf_machine_lazy_rel): Likewise.
42551         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42552         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42553         (elf_machine_lazy_rel): Likewise.
42554         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42555         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42556         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42557         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42558         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42559         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42560         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42561         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42562         Likewise.
42563         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42564         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42565         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42566         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42567         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42568         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42569         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42570         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42571         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42572         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42573         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42574         Likewise.
42575         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42576         (__posix_fallocate64_l64): Likewise.
42577         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42578         (posix_fallocate): Likewise.
42579         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42580         Likewise.
42581         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42582         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42583         (getifaddrs_internal): Likewise.
42584         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42585         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42586         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42587         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42588         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42589         (__posix_fallocate64_l64): Likewise.
42590         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42591         Likewise.
42592         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42593         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42594         (__get_clockfreq): Likewise.
42595         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42596         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42597         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42598         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42600         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42601         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42602         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42603         Likewise.
42604         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42605         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42606         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42607         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42608         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42609         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42610         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42611         Likewise.
42612         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42613         (posix_fallocate): Likewise.
42614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42615         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42616         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42617         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42618         (elf_machine_rela, elf_machine_rela_relative)
42619         (elf_machine_lazy_rel): Likewise.
42620         * time/asctime.c (asctime_internal): Likewise.
42621         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42622         * time/tzset.c (__tzset_parse_tz): Likewise.
42623         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42624         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42625         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42626         * wcsmbs/wcsmbsload.h: Likewise.
42628         [BZ #15894]
42629         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42631         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42632         (arena_get2): Remove THREAD_STATS conditionals.
42633         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42634         (__malloc_stats, int): Likewise.
42636 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42638         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42639         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42641         * manual/setjmp.texi: Fix typos/grammar errors.
42643         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42644         Only return early when n is <= 0.  Delete unused return statement.
42646         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42647         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42648         * debug/tst-longjmp_chk3.c: New file.
42650         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42651         (test_main): Replace code with set_fortify_handler call.
42652         * debug/test-strcpy_chk.c: Likewise.
42653         * debug/tst-chk1.c: Likewise.
42654         * debug/tst-longjmp_chk.c: Likewise.
42655         * test-skeleton.c: Include fcntl.h & paths.h
42656         (set_fortify_handler): Define.
42658         * debug/tst-longjmp_chk.c: Add header comment and include
42659         ../test-skeleton.c.
42660         (do_test): Mark static.
42661         (TEST_FUNCTION): Define.
42663         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42664         (IP_PMTUDISC_INTERFACE): Likewise.
42665         (IP_MULTICAST_IF): Likewise.
42666         (IP_MULTICAST_TTL): Likewise.
42667         (IP_MULTICAST_LOOP): Likewise.
42668         (IP_ADD_MEMBERSHIP): Likewise.
42669         (IP_DROP_MEMBERSHIP): Likewise.
42670         (IP_UNBLOCK_SOURCE): Likewise.
42671         (IP_BLOCK_SOURCE): Likewise.
42672         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42673         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42674         (IP_MSFILTER): Likewise.
42675         (MCAST_JOIN_GROUP): Likewise.
42676         (MCAST_BLOCK_SOURCE): Likewise.
42677         (MCAST_UNBLOCK_SOURCE): Likewise.
42678         (MCAST_LEAVE_GROUP): Likewise.
42679         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42680         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42681         (MCAST_MSFILTER): Likewise.
42682         (IP_MULTICAST_ALL): Likewise.
42683         (IP_UNICAST_IF): Likewise.
42685         * timezone/Makefile: Delete $(have-ksh) check.
42686         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42687         * timezone/tzselect.ksh: Add +x mode bits.
42689         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42690         (ANON_INODE_FS_MAGIC): Likewise.
42691         (BDEVFS_MAGIC): Likewise.
42692         (BINFMTFS_MAGIC): Likewise.
42693         (BTRFS_TEST_MAGIC): Likewise.
42694         (CRAMFS_MAGIC_WEND): Likewise.
42695         (DEBUGFS_MAGIC): Likewise.
42696         (ECRYPTFS_SUPER_MAGIC): Likewise.
42697         (EXT3_SUPER_MAGIC): Likewise.
42698         (EXT4_SUPER_MAGIC): Likewise.
42699         (FUTEXFS_SUPER_MAGIC): Likewise.
42700         (HOSTFS_SUPER_MAGIC): Likewise.
42701         (HUGETLBFS_MAGIC): Likewise.
42702         (MINIX3_SUPER_MAGIC): Likewise.
42703         (MTD_INODE_FS_MAGIC): Likewise.
42704         (NILFS_SUPER_MAGIC): Likewise.
42705         (OPENPROM_SUPER_MAGIC): Likewise.
42706         (PIPEFS_MAGIC): Likewise.
42707         (PSTOREFS_MAGIC): Likewise.
42708         (QNX6_SUPER_MAGIC): Likewise.
42709         (RAMFS_MAGIC): Likewise.
42710         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42711         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42712         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42713         (SECURITYFS_MAGIC): Likewise.
42714         (SELINUX_MAGIC): Likewise.
42715         (SMACK_MAGIC): Likewise.
42716         (SOCKFS_MAGIC): Likewise.
42717         (SQUASHFS_MAGIC): Likewise.
42718         (STACK_END_MAGIC): Likewise.
42719         (TMPFS_MAGIC): Likewise.
42720         (USBDEVICE_SUPER_MAGIC): Likewise.
42721         (V9FS_MAGIC): Likewise.
42722         (XENFS_SUPER_MAGIC): Likewise.
42723         (CRAMFS_MAGIC): Fix typo in comment.
42724         (EXT2_SUPER_MAGIC): Update comment.
42725         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42727 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42729         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42730         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42731         * sysdeps/unix/sysv/linux/arm: Move directory from
42732         ports/sysdeps/unix/sysv/linux/arm.
42733         * README: Update listing for arm-*-linux-gnueabi.
42735         * README: Remove mention of am33.
42737 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42739         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42740         than the comma operator, to avoid "rhs of comma has no effect"
42741         compiler warnings.
42742         (__sigfillset, __sigandset, __sigorset): Likewise.
42743         * include/signal.h (__sigemptyset): Likewise.
42744         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42746 2014-02-07  Allan McRae  <allan@archlinux.org>
42748         * version.h (RELEASE): Set to "development".
42749         (VERSION): Set to "2.19.90"
42750         * NEWS: Add 2.20 section.
42752 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42754         [BZ #16529]
42755         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42757 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42759         * manual/contrib.texi: Update entry for Carlos O'Donell,
42760         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42762 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42764         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42766         * sysdeps/unix/sysv/linux/kernel-features.h
42767         [__LINUX_KERNEL_VERSION >= 0x020621]
42768         (__ASSUME_PROC_PID_TASK_COMM): Define.
42770 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42772         [BZ #16398]
42773         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42774         conversion when destination buffer does not have enough space.
42775         * libio/tst-ftell-partial-wide.c: New test case.
42776         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42778         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42779         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42780         Leonard and Allan McRae.
42782 2014-02-04  David S. Miller  <davem@davemloft.net>
42784         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42785         32-bit.
42787 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42790         New file
42791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42792         New file
42793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42794         New file.
42795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42796         New file.
42797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42798         New file.
42799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42800         New file.
42801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42802         New file.
42803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42804         New file.
42805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42806         New file.
42807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42808         New file.
42809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42810         New file.
42811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42812         New file.
42813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42814         New file.
42816 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42818         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42819         * shlib-versions: Likewise.
42821 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42822             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42824         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42825         (abilist-pattern): New variable, set to %-le.abilist.
42827         * Makerules (abilist-pattern): New variable.
42828         (vpath): Use $(abilist-pattern) in place of %.abilist.
42829         (check-abi-% pattern rule): Likewise.
42830         (check-abi, update-abi): Likewise.
42832 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42836 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42838         * manual/startup.texi: Add next, previous, and top entries for
42839         the `Program Arguments' and `Environment Variables' nodes.
42841 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42843         * manual/macros.texi: Add comments before MTASC-safety macros.
42845         * manual/users.texi: Document MTASC-safety properties.
42847         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42848         (pthread_getspecific, pthread_setspecific): Format with
42849         @deftypefun, and add @safety note.
42850         * manual/signal.texi: Move comments that analyze the above
42851         functions to their home place.
42853 2014-02-03  Allan McRae  <allan@archlinux.org>
42855         * po/sl.po: Update Slovenian translation from translation project.
42857 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42859         * manual/time.texi (timegm): Add missing blank after @c.
42860         Reported by Joseph Myers <joseph@codesourcery.com>.
42862 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42864         * manual/check-safety.sh: New.
42865         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42867         * manual/terminal.texi: Document MTASC-safety properties.
42869         * manual/filesys.texi: Document MTASC-safety properties.
42871         * manual/errno.texi: Document MTASC-safety properties.
42873         * manual/intro.texi: Document safety identifiers and
42874         conditionals.
42876         * manual/string.texi (wcstok): Fix prototype.
42877         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42879         * manual/time.texi: Document MTASC-safety properties.
42881         * manual/string.texi: Document MTASC-safety properties.
42883         * manual/threads.texi: Document MTASC-safety properties.
42885         * manual/stdio.texi: Document MTASC-safety properties.
42887         * manual/syslog.texi: Document MTASC-safety properties.
42889         * manual/sysinfo.texi: Document MTASC-safety properties.
42891         * manual/startup.texi: Document MTASC-safety properties.
42893         * manual/socket.texi: Document MTASC-safety properties.
42895         * manual/signal.texi: Document MTASC-safety properties.
42897 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42899         * manual/setjmp.texi: Document MTASC-safety properties.
42901         * manual/search.texi: Document MTASC-safety properties.
42903         * manual/resource.texi: Document MTASC-safety properties.
42905         * manual/process.texi: Document MTASC-safety properties.
42907         * manual/platform.texi: Document MTASC-safety properties.
42909         * manual/pipe.texi: Document MTASC-safety properties.
42911         * manual/pattern.texi: Document MTASC-safety properties.
42913         * manual/message.texi: Document MTASC-safety properties.
42915         [BZ #12751]
42916         * manual/memory.texi: Document MTASC-safety properties.
42918         * manual/math.texi: Document MTASC-safety properties.
42920         * manual/locale.texi: Document MTASC-safety properties.
42922         * manual/llio.texi: Document MTASC-safety properties.
42924         * manual/libdl.texi: New.
42926         * manual/lang.texi: Document MTASC-safety properties.
42928         * manual/job.texi: Document MTASC-safety properties.
42930         * manual/getopt.texi: Document MTASC-safety properties.
42932         * manual/ctype.texi: Document MTASC-safety properties.
42934 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42936         [BZ #16046]
42937         * csu/libc-tls.c (static_map): Remove variable.
42938         (__libc_setup_tls): Use main executable's link map for TLS data.
42939         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42940         casing for LM_ID_BASE and GL(dl_nns).
42941         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42942         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42943         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42944         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42945         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42946         member.
42947         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42948         l_phnum members.
42950 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42952         * manual/debug.texi: Document MTASC-safety properties.
42954 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42956         [BZ #16510]
42957         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42958         of __x86_64__ when disabling x87 inline functions.
42960 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42962         * manual/charset.texi: Document MTASC-safety properties.
42964         * manual/crypt.texi: Document MTASC-safety properties.
42966         * manual/conf.texi: Document MTASC-safety properties.
42968         * manual/arith.texi: Document MTASC-safety properties.
42970         * manual/argp.texi: Document MTASC-safety properties.
42972         * manual/macros.texi: Introduce macros to document multi
42973         thread, asynchronous signal and asynchronous cancellation
42974         safety properties.
42975         * manual/intro.texi: Introduce the properties themselves.
42977 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42979         * sysdeps/sh/sh4/Makefile: New file.
42981 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42983         * math/gen-libm-test.pl ($srcdir): New variable.
42984         ($auto_input): Use it.
42986 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42988         [BZ #16506]
42989         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42990         access beyond array bounds when parsing netgroups file.
42992         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42993         the old buffer before realloc.
42995 2014-01-27  Allan McRae  <allan@archlinux.org>
42997         * po/fr.po: Update French translation from translation project.
42999 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43001         * sysdeps/sh/libm-test-ulps: Regenerate.
43003 2014-01-24  David S. Miller  <davem@davemloft.net>
43005         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
43007 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43009         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
43010         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
43012 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43014         [BZ #16474]
43015         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
43016         string pointers after reallocation.
43018 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43020         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
43021         __SH4A__ instead of __SH_FPU_ANY__.
43023 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43025         * sysdeps/sh/fpu_control.h: New file.
43026         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
43027         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43028         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
43029         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
43030         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
43031         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
43032         * sysdeps/sh/sys/ucontext.h: Remove.
43033         * sysdeps/sh/sys: Remove directory.
43035 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43037         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
43038         s390/sys/ucontext.h.
43039         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
43040         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
43042 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
43044         [BZ #15605]
43045         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
43047 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43049         [BZ#16431]
43050         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43051         Adjust the vDSO correctly for internal calls.
43052         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43054 2014-01-20  Allan McRae  <allan@archlinux.org>
43056         * po/ca.po: Update Catalan translation from translation project.
43058 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
43060         * sysdeps/s390/sotruss-lib.c: New file.
43062 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43064         [BZ#16430]
43065         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
43066         (__GI___gettimeofday): Alias for a different internal symbol to avoid
43067         local calls issues by not having a PLT stub required for IFUNC calls.
43068         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
43070 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
43072         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
43073         * math/test-fpucw-static.c: Likewise.
43075 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43077         [BZ #16453]
43078         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
43080 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43082         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
43083         implementation for powerpc.
43085 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
43087         [BZ #14782]
43088         * sysdeps/posix/system.c (__libc_system): Do not enable
43089         asynchronous cancellation.
43091 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43093         [BZ #16427]
43094         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
43095         handling only for numbers special also in the IEEE case.
43097 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43099         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43101 2014-01-11  Allan McRae  <allan@archlinux.org>
43103         * po/bg.po: Update Bulgarian translation from translation project.
43105         * po/de.po: Update German translation from translation project.
43107 2014-01-10  Roland McGrath  <roland@hack.frob.com>
43109         * sysdeps/generic/gcc-compat.h: New file.
43111 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43113         * benchtests/asin-inputs: Correct slow inputs.
43114         * benchtests/acos-inputs: Likewise.
43116 2014-01-10  Allan McRae  <allan@archlinux.org>
43118         * po:sv.po: Update Swedish translation from translation project.
43120         * po/vi.po: Update Vietnamese translation from translation project.
43122         * po/eo.po: Update Esperanto translation from translation project.
43124         * po/cs.po: Update Czech translation from translation project.
43126         * po/nl.po: Update Dutch translation from translation project.
43128         * po/pl.po: Update Polish translation from translation project.
43130         * po/ru.po: Update Russian translation from translation project.
43132         * po/uk.po: Update Ukrainian translation from translation project.
43134 2014-01-08  Brooks Moses  <bmoses@google.com>
43136         * elf/dl-load.c: Fix comment typo.
43138 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
43140         * po/header.pot: Rename to...
43141         * po/pot.header: ... this.
43142         * po/Makefile: Use pot.header.
43144 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
43145             Maxim Kuvyrkov  <maxim@kugelworks.com>
43147         [BZ #16394]
43148         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43149         SRC and DEST against LEN.
43151 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43153         [BZ #16414]
43154         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43155         implementation.
43156         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43158 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43162 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43164         [BZ #16408]
43165         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43166         for large positive arguments.
43168 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43170         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43172         * math/auto-libm-test-in: Mark various tests with
43173         xfail-rounding:ldbl-128ibm.
43174         * math/auto-libm-test-out: Regenerated.
43176         [BZ #16407]
43177         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43178         Increase overflow threshold.
43180 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43182         [BZ #14286]
43183         * stdio-common/vfprintf.c: Check for integer overflow.
43185 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43187         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43188         the first argument and return value of __tls_get_addr_internal.
43190 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43192         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43193         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43195 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43197         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43198         * sysdeps/s390/rtld-global-offsets.sym: New file.
43199         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43200         GLIBC_2.19 symbol.
43201         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43202         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43203         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43204         ... this.
43205         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43206         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43207         ... this.
43208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43209         Regenerate.
43210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43211         Regenerate.
43212         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43213         halfs of GPRs for high_gprs contexts.
43214         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43215         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43216         field.
43217         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43218         uc_flags field.
43219         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43220         64 bit versions:
43221         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43222         for high GPRs (uc_high_gprs) and for future extensions
43223         (__reserved).
43224         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43225         for future extensions (__reserved).
43226         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43227         64 bit versions:
43228         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43229         SC_HIGHGPRS offset definition.
43230         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43231         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43233         * Versions.def: Add GLIBC_2.19 for libpthread.
43234         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43235         siglongjmp for libpthread with GLIBC_2.19 symver.
43236         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43237         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43238         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43239         * sysdeps/s390/__longjmp.c: New file.
43240         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43241         * sysdeps/s390/longjmp.c: New file.
43242         * sysdeps/s390/setjmp.S: New file.
43243         * sysdeps/s390/sigjmp.S: New file.
43244         * sysdeps/s390/v1-longjmp.c: New file.
43245         * sysdeps/s390/v1-setjmp.h: New file.
43246         * sysdeps/s390/v1-sigjmp.c: New file.
43247         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43248         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43249         GLIBC_2.19 version.
43250         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43251         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43252         versioned symbols for ____longjmp_chk.
43253         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43254         Likewise.
43255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43256         Regenerate.
43257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43258         Regenerate.
43259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43260         Regenerate.
43261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43262         Regenerate.
43263         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43264         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43265         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43266         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43267         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43268         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43269         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43270         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43271         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43272         * sysdeps/s390/rtld-__longjmp.c: New file.
43273         * sysdeps/s390/rtld-setjmp.S: New file.
43275 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43277         [BZ #16400]
43278         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43279         Return -__logl (x) for small positive arguments without evaluating
43280         a polynomial.
43282 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43284         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43285         Rename to ...
43286         (__ptrace_peeksiginfo_args): ... this.
43287         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43288         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43289         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43291 2014-01-06  Allan McRae  <allan@archlinux.org>
43293         * inet/netinet/in.h: Fix typo in comment.
43295 2014-01-05  Andreas Jaeger  <aj@suse.de>
43297         * sysdeps/i386/fpu/libm-test-ulps: Update.
43299 2014-01-05  Allan McRae  <allan@archlinux.org>
43301         * po/libc.pot: Regenerated.
43303         * malloc/memusagestat.c: Fix gettext call formatting.
43305 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43307         * nscd/nscd.c: Improve usage() output.
43309 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43311         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43312         * sysdeps/unix/sysv/linux/configure: Regenerated.
43313         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43314         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43316 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43318         [BZ #16390]
43319         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43320         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43322 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43324         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43325         extra tokens at end of #undef directive.
43326         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43327         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43328         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43330 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43332         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43334         * math/auto-libm-test-in: Mark various tests with
43335         xfail-rounding:ldbl-128ibm.
43336         * math/auto-libm-test-out: Regenerated.
43338 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43340         [BZ #16386]
43341         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43342         numbers with subnormal high part when calculating exponent.
43344         [BZ #16385]
43345         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43346         fabs.
43348         [BZ #16384]
43349         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43350         M_LN2l.
43351         (__ieee754_acoshl): Use __log1pl not __log1p.
43353 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43355         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43356         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43357         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43358         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43359         (reused_arena, arena_get2): Convert to GNU style.
43360         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43361         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43362         (memalign_check, __malloc_set_state): Likewise.
43363         * malloc/mallocbug.c (main): Likewise.
43364         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43365         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43366         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43367         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43368         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43369         (__posix_memalign, malloc_info): Likewise.
43370         * malloc/malloc.h: Likewise.
43371         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43372         (mallochook, memalignhook, reallochook, mabort): Likewise.
43373         * malloc/mcheck.h: Likewise.
43374         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43375         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43376         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43377         * malloc/morecore.c (__default_morecore): Likewise.
43378         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43379         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43380         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43381         (print_and_abort): Likewise.
43382         * malloc/obstack.h: Likewise.
43383         * malloc/set-freeres.c (__libc_freeres): Likewise.
43384         * malloc/tst-mallocstate.c (main): Likewise.
43385         * malloc/tst-mtrace.c (main): Likewise.
43386         * malloc/tst-realloc.c (do_test): Likewise.
43388 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43390         [BZ #16366]
43391         * nscd/netgroupcache.c (do_notfound): New function.
43392         (addgetnetgrentX): Use it.
43394         [BZ # 16365]
43395         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43396         NSS_STATUS_NOTFOUND.
43398 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43400         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43403 2014-01-01  Allan McRae  <allan@archlinux.org>
43405         * scripts/update-copyrights: Update configure input file suffix.
43407         * NEWS: Update copyright year.
43408         * catgets/gencat.c: Likewise.
43409         * csu/version.c: Likewise.
43410         * debug/catchsegv.sh: Likewise.
43411         * debug/pcprofiledump.c: Likewise.
43412         * debug/xtrace.sh: Likewise.
43413         * elf/ldconfig.c: Likewise.
43414         * elf/ldd.bash.in: Likewise.
43415         * elf/pldd.c: Likewise.
43416         * elf/sotruss.ksh: Likewise.
43417         * elf/sprof.c: Likewise.
43418         * iconv/iconv_prog.c: Likewise.
43419         * iconv/iconvconfig.c: Likewise.
43420         * locale/programs/locale.c: Likewise.
43421         * locale/programs/localedef.c: Likewise.
43422         * login/programs/pt_chown.c: Likewise.
43423         * malloc/memusage.sh: Likewise.
43424         * malloc/memusagestat.c: Likewise.
43425         * malloc/mtrace.pl: Likewise.
43426         * manual/libc.texinfo: Likewise.
43427         * nscd/nscd.c: Likewise.
43428         * nss/getent.c: Likewise.
43429         * nss/makedb.c: Likewise.
43430         * posix/getconf.c: Likewise.
43431         * scripts/test-installation.pl: Likewise.
43433         * All files with FSF copyright notices: Update copyright dates
43434         using scripts/update-copyrights.
43435         * intl/plural.c: Regenerated.
43436         * locale/programs/charmap-kw.h: Likewise.
43437         * locale/programs/locfile-kw.h: Likewise.
43439 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43441         * sysdeps/unix/sysv/linux/configure: Regenerated.
43442         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43443         the linux/fanotify.h header.
43444         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43445         HAVE_LINUX_FANOTIFY_H is defined.
43447 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43449         * benchtests/cos-inputs: New inputs.
43450         * benchtests/sin-inputs: Likewise.
43452         * benchtests/atan-inputs: New inputs. Fix name of multiple
43453         precision fallback inputs.
43455         * benchtests/atanh-inputs: New inputs.
43456         * benchtests/tanh-inputs: Likewise.
43458         * benchtests/acosh-inputs: New inputs.
43459         * benchtests/asinh-inputs: Likewise.
43461         * benchtests/cosh-inputs: New inputs.
43462         * benchtests/sinh-inputs: Likewise.
43464         * benchtests/acos-inputs: Add more inputs.
43465         * benchtests/asin-inputs: Likewise.
43467 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43469         [BZ #16375]
43470         * manual/arith.texi: Fix spelling.
43471         * manual/charset.texi: Likewise.
43472         * manual/errno.texi: Likewise.
43473         * manual/filesys.texi: Likewise.
43474         * manual/lang.texi: Likewise.
43475         * manual/llio.texi: Likewise.
43476         * manual/locale.texi: Likewise.
43477         * manual/message.texi: Likewise.
43478         * manual/resource.texi: Likewise.
43479         * manual/search.texi: Likewise.
43480         * manual/setjmp.texi: Likewise.
43481         * manual/stdio.texi: Likewise.
43482         * manual/string.texi: Likewise.
43483         * manual/sysinfo.texi: Likewise.
43484         * manual/time.texi: Likewise.
43486 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43488         * po/sl.po: New file.
43490 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43492         * .gitignore: Add core/.gdbinit/.gdb_history.
43494 2013-12-27  Allan McRae  <allan@archlinux.org>
43496         [BZ #16369]
43497         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43498         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43500 2013-12-24  Brooks Moses  <bmoses@google.com>
43502         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43503         all compilers that claim C++98 compliance, not just GCC.
43504         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43505         Likewise.
43507 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43509         * NEWS: Restore accidentally deleted bug-fix entries.
43511 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43512             Ondřej Bílka  <neleai@seznam.cz>
43514         [BZ #15073]
43515         * malloc/malloc.c (_int_free): Perform sanity check only if we
43516         have_lock.
43518 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43520         [BZ #12986]
43521         * manual/stdio.texi (String Input Conversions): Clarify that character
43522         classes are not supported.
43524 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43528 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43530         [BZ #16337]
43531         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43532         Calculate results for small negative arguments directly rather
43533         than using reflection formula with special underflow handling.
43535         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43536         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43537         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43538         (fchflags): Likewise.
43539         (revoke): Likewise.
43540         (setlogin): Likewise.
43541         (sigaltstack): Likewise.
43542         (wait4): Likewise.
43543         (sigblock): Remove.
43544         (sigsetmask): Likewise.
43545         (wait3): Likewise.
43546         (waitpid): Likewise.
43547         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43548         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43549         file.
43550         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43551         * sysdeps/unix/bsd/Makefile: ... here.
43552         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43553         * sysdeps/unix/bsd/Versions: ... here.
43554         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43555         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43556         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43557         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43558         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43559         * sysdeps/unix/bsd/sigblock.c: ... here.
43560         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43561         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43562         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43563         * sysdeps/unix/bsd/sigvec.c: ... here.
43564         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43565         * sysdeps/unix/bsd/tcdrain.c: ... here.
43566         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43567         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43568         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43569         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43570         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43571         * sysdeps/unix/bsd/wait.c: ... here.
43572         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43573         * sysdeps/unix/bsd/wait3.c: ... here.
43574         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43575         * sysdeps/unix/bsd/waitpid.c: ... here.
43577 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43579         [BZ #16356]
43580         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43581         round-to-nearest for [!USE_AS_EXPM1L].
43582         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43583         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43584         more tests of exp and exp10.  Expect some exp10 tests to miss
43585         exceptions or fail in directed rounding modes.
43586         * math/auto-libm-test-out: Regenerated.
43587         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43588         (exp10_test_tonearest): New function.
43589         (exp10_towardzero_test_data): New array.
43590         (exp10_test_towardzero): New function.
43591         (exp10_downward_test_data): New array.
43592         (exp10_test_downward): New function.
43593         (exp10_upward_test_data): New array.
43594         (exp10_test_upward): New function.
43595         (main): Call the new functions.
43596         * sysdeps/i386/fpu/libm-test-ulps: Update.
43597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43599 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43601         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43602         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43603         * math/auto-libm-test-out: Regenerated.
43604         * math/libm-test.inc (acosh_test_data): Add more tests.
43605         (atanh_test_data): Likewise.
43606         (ceil_test_data): Likewise.
43607         (copysign_test_data): Likewise.
43608         * sysdeps/i386/fpu/libm-test-ulps: Update.
43609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43611         * timezone/checktab.awk: Update from tzcode 2013i.
43612         * timezone/private.h: Likewise.
43613         * timezone/scheck.c: Likewise.
43614         * timezone/tzfile.h: Likewise.
43615         * timezone/tzselect.ksh: Likewise.
43616         * timezone/zdump.c: Likewise.
43617         * timezone/zic.c: Likewise.
43619         * math/auto-libm-test-in: Add tests of cpow.
43620         * math/auto-libm-test-out: Regenerated.
43621         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43622         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43623         mpc_cc_c.
43624         (func_calc_desc): Add mpc_cc_c union field.
43625         (test_functions): Add cpow.
43626         (special_fill_2pi): New function.
43627         (special_real_inputs): Add 2pi.
43628         (calc_generic_results): Handle mpc_cc_c.
43629         * sysdeps/i386/fpu/libm-test-ulps: Update.
43630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43632         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43633         csqrt, ctan and ctanh.
43634         * math/auto-libm-test-out: Regenerated.
43635         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43636         (TEST_COND_x86): Likewise.
43637         (ccos_test_data): Use AUTO_TESTS_c_c.
43638         (ccosh_test_data): Likewise.
43639         (cexp_test_data): Likewise.
43640         (clog_test_data): Likewise.
43641         (csqrt_test_data): Likewise.
43642         (ctan_test_data): Likewise.
43643         (ctan_tonearest_test_data): Likewise.
43644         (ctan_towardzero_test_data): Likewise.
43645         (ctan_downward_test_data): Likewise.
43646         (ctan_upward_test_data): Likewise.
43647         (ctanh_test_data): Likewise.
43648         (ctanh_tonearest_test_data): Likewise.
43649         (ctanh_towardzero_test_data): Likewise.
43650         (ctanh_downward_test_data): Likewise.
43651         (ctanh_upward_test_data): Likewise.
43652         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43653         mpc_c_c.
43654         (func_calc_desc): Add mpc_c_c union field.
43655         (FUNC_mpc_c_c): New macro.
43656         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43657         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43658         ctanh.
43659         (special_fill_min_subnorm_p120): New function.
43660         (special_real_inputs): Add min_subnorm_p120.
43661         (calc_generic_results): Handle mpc_c_c.
43662         * sysdeps/i386/fpu/libm-test-ulps: Update.
43663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43665 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43667         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43668         (do_sin_slow): New functions.
43669         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43670         (cslow2, csloww1, csloww2): Use the new functions.
43672         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43673         Use M to change sign of result instead of X.  Assume X is
43674         positive.
43675         (csloww1): Likewise.
43676         (__sin): Adjust.
43677         (__cos): Adjust.
43679         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43680         arguments A and DA.
43681         (__sin): Adjust.
43682         (__cos): Likewise.
43684         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43685         (__cos): Likewise.
43686         (sloww1): Don't adjust sign of DX.
43687         (csloww1): Likewise.
43688         (sloww2): Use X directly and don't adjust sign of DX.
43689         (csloww2): Likewise.
43691 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43693         * math/auto-libm-test-in: Add tests of cabs and carg.
43694         * math/auto-libm-test-out: Regenerated.
43695         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43696         (carg_test_data): Likewise.
43697         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43698         mpc_c_f.
43699         (func_calc_desc): Add mpc_c_f union field.
43700         (test_functions): Add cabs and carg.
43701         (calc_generic_results): Handle mpc_c_f.
43703         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43704         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43705         as a macro and a compat symbol.
43706         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43707         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43708         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43709         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43710         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43711         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43712         not use .hidden.
43713         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43714         Likewise.
43715         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43716         Likewise.
43717         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43718         Likewise.
43719         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43720         Likewise.
43721         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43722         Likewise.
43723         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43724         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43725         from GLIBC_2.3.2.
43727 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43731 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43733         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43734         trailing whitespace removed.
43735         * scripts/config.guess: Update to version 2013-11-29.
43736         * scripts/config.sub: Update to version 2013-10-01.
43738         * math/auto-libm-test-in: Add tests of sincos.
43739         * math/auto-libm-test-out: Regenerated.
43740         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43741         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43742         mpfr_f_11.
43743         (func_calc_desc): Add mpfr_f_11 union field.
43744         (test_functions): Add sincos.
43745         (calc_generic_results): Handle mpfr_f_11.
43746         * sysdeps/i386/fpu/libm-test-ulps: Update.
43747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43749 2013-12-19  Andreas Schwab  <schwab@suse.de>
43751         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43752         CALL_MCOUNT.
43753         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43754         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43755         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43757 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43759         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43760         * sysdeps/i386/fpu/libm-test-ulps: Update.
43761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43763         [BZ #16293]
43764         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43765         round-to-nearest mode when using frndint.
43766         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43767         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43768         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43769         Likewise.
43770         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43771         sinh test to fail.
43772         * math/auto-libm-test-out: Regenerated.
43773         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43774         (TEST_COND_x86): Likewise.
43775         (expm1_tonearest_test_data): New array.
43776         (expm1_test_tonearest): New function.
43777         (expm1_towardzero_test_data): New array.
43778         (expm1_test_towardzero): New function.
43779         (expm1_downward_test_data): New array.
43780         (expm1_test_downward): New function.
43781         (expm1_upward_test_data): New array.
43782         (expm1_test_upward): New function.
43783         (main): Run the new test functions.
43784         * sysdeps/i386/fpu/libm-test-ulps: Update.
43785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43787         * include/features.h: Update comment documenting feature test
43788         macros.  Mention _DEFAULT_SOURCE in comment.
43789         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43790         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43791         _BSD_SOURCE and _SVID_SOURCE.
43792         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43793         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43794         !_SVID_SOURCE]: Likewise.
43795         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43796         (__USE_POSIX_IMPLICITLY): Define.
43797         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43798         (_POSIX_SOURCE): Undefine and redefine.
43799         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43800         (_POSIX_C_SOURCE): Likewise.
43801         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43802         (Feature Test Macros): Update documentation of default features.
43804 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43806         * benchtests/Makefile: Add bench-strtok.
43807         * benchtests/bench-strtok.c: New file: strtok benchtest.
43809 2013-12-19  Allan McRae  <allan@archlinux.org>
43811         * manual/install.texi: Suppress menu for plain text output.
43812         * INSTALL: Regenerated.
43814 2013-12-18  Brooks Moses  <bmoses@google.com>
43816         [BZ #15846]
43817         * misc/getauxval.c: Include errno.h.
43818         (__getauxval): Set errno to ENOENT if the requested type is not
43819         found.
43820         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43821         don't declare with __attribute_const__.
43822         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43823         * manual/startup.texi: Document that getauxval sets errno.
43825 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43827         * math/auto-libm-test-in: Add tests of jn and yn.
43828         * math/auto-libm-test-out: Regenerated.
43829         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43830         (yn_test_data): Likewise.
43831         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43832         mpfr_if_f.
43833         (func_calc_desc): Add mpfr_if_f union field.
43834         (FUNC_mpfr_if_f): New macro.
43835         (test_functions): Add jn and yn.
43836         (calc_generic_results): Assert type of second input for
43837         mpfr_ff_f.  Handle mpfr_if_f.
43838         (output_for_one_input_case): Disable all checking for arguments
43839         fitting floating-point types in case of an integer argument.
43840         * sysdeps/i386/fpu/libm-test-ulps: Update.
43841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43844         Don't expect fegetround reference in libm.so.
43846 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43848         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43849         $(config-cflags-nofma).
43851 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43853         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43854         * math/auto-libm-test-out: Regenerated.
43856         [BZ #16338]
43857         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43858         to determine exponent and adjust argument to have exponent of -1.
43859         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43860         log2.
43861         * math/auto-libm-test-out: Regenerated.
43862         * sysdeps/i386/fpu/libm-test-ulps: Update.
43863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43865 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43867         * manual/probes.texi: Remove cases when per-thread arenas are
43868         disabled.
43870 2013-12-18  Andreas Schwab  <schwab@suse.de>
43872         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43873         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43874         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43875         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43876         * sysdeps/i386/i686/multiarch/Makefile: Update.
43877         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43879 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43881         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43882         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43884 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43886         [BZ #15968]
43887         Support TZ transition times < 00:00:00.
43888         This is needed for version-3 tz-format files; it supports time
43889         stamps past 2037 for America/Godthab (the only entry in the tz
43890         database for which this change is relevant).
43891         * manual/time.texi (TZ Variable): Document transition times
43892         from -167:59:59 through -00:00:01.
43893         * time/tzset.c (tz_rule): Time of day is now signed.
43894         (__tzset_parse_tz): Parse negative time of day.
43896         Document TZ transition times >= 25:00:00.
43897         * manual/time.texi (TZ Variable): Document transition times from
43898         25:00:00 through 167:59:59.  These are already supported, and this
43899         support will help with version-3 tz-format files.
43901         * manual/time.texi (TZ Variable): Modernize North America example
43902         to reflect current (i.e., 2007-and-later) daylight saving rules.
43904         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43906 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43908         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43909         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43910         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43912         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43913         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43914         * sysdeps/unix/bsd/clock.c: Likewise.
43915         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43916         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43917         * sysdeps/unix/bsd/init-posix.c: Likewise.
43918         * sysdeps/unix/bsd/poll.c: Likewise.
43919         * sysdeps/unix/bsd/ptsname.c: Likewise.
43920         * sysdeps/unix/bsd/seekdir.c: Likewise.
43921         * sysdeps/unix/bsd/setegid.c: Likewise.
43922         * sysdeps/unix/bsd/seteuid.c: Likewise.
43923         * sysdeps/unix/bsd/setgid.c: Likewise.
43924         * sysdeps/unix/bsd/setrgid.c: Likewise.
43925         * sysdeps/unix/bsd/setruid.c: Likewise.
43926         * sysdeps/unix/bsd/setsid.c: Likewise.
43927         * sysdeps/unix/bsd/setuid.c: Likewise.
43928         * sysdeps/unix/bsd/sigaction.c: Likewise.
43929         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43930         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43931         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43932         * sysdeps/unix/bsd/telldir.c: Likewise.
43933         * sysdeps/unix/bsd/times.c: Likewise.
43934         * sysdeps/unix/bsd/usleep.c: Likewise.
43936         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43937         ($(objpfx)libbsd-compat.a): Remove rule.
43939         * include/features.h (__FAVOR_BSD): Do not define.
43940         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43941         features conflicting with POSIX.
43942         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43943         (_BSD_SOURCE): Remove description of not being a subset of other
43944         feature test macros.
43945         * manual/job.texi (getpgrp): Do not document BSD version.
43946         (getpgid): Do not document by reference to BSD getpgrp.
43947         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43948         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43949         * signal/signal.h [__FAVOR_BSD]: Likewise.
43950         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43951         instead of making contents conditional on [__FAVOR_BSD].
43952         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43954 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43958 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43960         [BZ #16314]
43961         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43962         values below 2**-450, not 2**-500.
43963         * math/auto-libm-test-in: Don't allow spurious underflow from
43964         hypot.
43965         * math/auto-libm-test-out: Regenerated.
43967         [BZ #16316]
43968         [BZ #16330]
43969         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43970         values of ha and hb and sort them after adjusting subnormal
43971         arguments.
43972         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43973         Likewise.
43974         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43975         values of ea and eb and sort them after adjusting subnormal
43976         arguments.
43977         * math/auto-libm-test-in: Do not expect some hypot tests of
43978         subnormals to fail.  Add more hypot tests.
43979         * math/auto-libm-test-out: Regenerated.
43981 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43983         [BZ #13304]
43984         * sysdeps/sh/s_fma.c: New file.
43985         * sysdeps/sh/s_fmaf.c: New file.
43986         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43987         version.
43988         * sysdeps/sh/Implies: Add sh/soft-fp.
43990 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43992         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43993         level of indirection to members `objname', `errstring', `malloced'.
43994         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43995         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43996         it as the __longjmp argument (just pass 1 instead).
43997         (_dl_catch_error): Initialize C with argument pointers and address of
43998         volatile local ERRCODE rather than copying values out of C at return.
44000 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
44002         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
44003         * math/auto-libm-test-out: Regenerated.
44004         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
44005         (hypot_test_data): Likewise.
44006         (pow_test_data): Likewise.
44007         (pow_tonearest_test_data): Likewise.
44008         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44009         mpfr_ff_f.
44010         (func_calc_desc): Add mpfr_ff_f union field.
44011         (FUNC_mpfr_ff_f): New macro.
44012         (test_functions): Add atan2, hypot and pow.
44013         (special_fill_min): New function.
44014         (special_fill_minus_min): Likewise.
44015         (special_fill_min_subnorm): Likewise.
44016         (special_fill_minus_min_subnorm): Likewise.
44017         (special_real_inputs): Add min, -min, min_subnorm and
44018         -min_subnorm.
44019         (calc_generic_results): Handle mpfr_ff_f.
44020         * sysdeps/i386/fpu/libm-test-ulps: Update.
44021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44023 2013-12-16  Will Newton  <will.newton@linaro.org>
44025         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
44026         (Aligned Memory Blocks): Add documentation for aligned_alloc
44027         and suggest it as an alternative to posix_memalign.
44028         (Hooks for Malloc): Document __memalign_hook is also called
44029         for aligned_alloc.  (Summary of Malloc): Add summary for
44030         aligned alloc.  Document __memalign_hook is also called
44031         for aligned_alloc.
44033 2013-12-16  Will Newton  <will.newton@linaro.org>
44035         * manual/memory.texi (Malloc Examples): Clarify default
44036         alignment documentation.  Suggest posix_memalign rather
44037         than memalign or valloc.
44038         (Aligned Memory Blocks): Remove suggestion to use memalign
44039         or valloc.  Remove obsolete comment about BSD.
44040         Document memalign errno values and mark the function obsolete.
44041         Document posix_memalign returned error codes.  Mark valloc
44042         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44043         called for posix_memalign and valloc.
44044         (Summary of Malloc): Add posix_memalign to function summary.
44045         __memalign_hook is also called for posix_memalign and valloc.
44047 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44049         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
44050         TAYLOR_SIN.
44051         (__sin): Adjust.
44052         (__cos): Likewise.
44053         (sloww): Use mynumber union.  Expand ternary operator into
44054         if-else statements.
44055         (cslow): use mynumber union.
44057 2013-12-16  Allan McRae  <allan@archlinux.org>
44059         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
44060         * configure: Regenerated.
44062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
44064         [BZ #14120]
44065         * configure.ac: Added --enable-maintainer-mode. Check for
44066         autoconf when enabled.
44067         * configure: Regenerated.
44069         * nscd/nscd.service: New file.
44070         * nscd/nscd.tmpfiles: New file.
44072 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
44074         [BZ #12100]
44075         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
44076         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
44077         * sysdeps/x86_64/multiarch/strstr.c: ... here.
44078         (strstr): Add __strstr_sse2_unaligned ifunc.
44079         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
44080         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
44081         (strcasestr): Remove __strcasestr_sse42 ifunc.
44082         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
44083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44084         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44086 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44088         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
44089         * sysdeps/sh/bits/fenv.h: ... here.
44090         * sysdeps/sh/sh4/fpu/bits: Remove directory.
44092 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44094         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
44096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
44097         hypotf multiarch implementations.
44098         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
44099         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
44100         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
44101         multiarch hypot for PPC64.
44102         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44103         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
44104         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
44105         multiarch hypotf for PPC64.
44107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
44108         modff multiarch implementations.
44109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
44110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
44111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
44112         multiarch modf for PPC64.
44113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
44114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
44115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
44116         multiarch modff for PPC64.
44118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
44119         and logl multiarch implementations.
44120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
44121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44123         multiarch logb for PPC64.
44124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44127         multiarch logb for PPC64.
44128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44131         multiarch logb for PPC64.
44133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44134         isinff multiarch implementation.
44135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44136         file.
44137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44139         multiarch isinf for PPC64.
44140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
44141         file.
44142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
44143         multiarch isinff for PPC64.
44145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44146         finitef multiarch implementation.
44147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
44148         file.
44149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
44150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
44151         multiarch finite for PPC64.
44152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
44153         file.
44154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44155         multiarch finitef for PPC64.
44157         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44158         lrint multiarch implementation.
44159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44160         file.
44161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44163         multiarch llrint for PPC64.
44164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44165         multiarch lrint for PPC64.
44167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44168         copysignf multiarch implementation.
44169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44170         file.
44171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44172         file.
44173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44174         multiarch copysign for PPC64.
44175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44176         multiarch copysignf for PPC64.
44178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44179         multiarch implementation.
44180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44181         file.
44182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44183         file.
44184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44185         file.
44186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44187         file.
44188         multiarch llround for PPC64.
44189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44190         multiarch trunc for PPC64.
44191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44192         multiarch truncf for PPC64.
44194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44195         multiarch implementation.
44196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44197         file.
44198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44199         file.
44200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44201         file.
44202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44203         file.
44204         multiarch llround for PPC64.
44205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44206         multiarch round for PPC64.
44207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44208         multiarch roundf for PPC64.
44210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44211         multiarch implementation.
44212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44213         file.
44214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44215         file.
44216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44217         file.
44218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44219         file.
44220         multiarch llround for PPC64.
44221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44222         multiarch floor for PPC64.
44223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44224         multiarch floorf for PPC64.
44226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44227         multiarch implementation.
44228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44229         file.
44230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44231         file.
44232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44233         file.
44234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44235         file.
44236         multiarch llround for PPC64.
44237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44238         multiarch ceil for PPC64.
44239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44240         multiarch ceilf for PPC64.
44242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44243         multiarch implementation.
44244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44245         file.
44246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44247         file.
44248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44249         file.
44250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44251         multiarch llround for PPC64.
44252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44253         multiarch lround for PPC64.
44255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44256         multiarch implementation.
44257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44260         file.
44261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44264         multiarch isnan for PPC64.
44265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44266         multiarch isnanf for PPC64.
44268         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44269         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44270         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44271         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44272         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44275         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44276         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44277         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44278         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44281         multiarch implementations.
44282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44283         (__libc_ifunc_impl_list): Likewise.
44284         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44285         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44286         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44287         multiarch stpcpy for PPC64.
44289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44290         multiarch implementations.
44291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44292         (__libc_ifunc_impl_list): Likewise.
44293         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44294         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44295         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44296         multiarch strcpy for PPC64.
44298         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44299         redefine function name.
44300         (_wordcopy_fwd_dest_aligned): Likewise.
44301         (_wordcopy_bwd_aligned): Likewise.
44302         (_wordcopy_bwd_dest_aligned): Likewise.
44303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44304         multiarch implementations.
44305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44306         (__libc_ifunc_impl_list): Likewise.
44307         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44308         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44309         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44310         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44311         multiarch wcscpy for PPC64.
44313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44314         multiarch implementations.
44315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44316         (__libc_ifunc_impl_list): Likewise.
44317         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44318         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44319         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44320         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44321         multiarch wcscpy for PPC64.
44323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44324         multiarch implementations.
44325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44326         (__libc_ifunc_impl_list): Likewise.
44327         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44328         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44329         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44330         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44331         multiarch wcsrchr for PPC64.
44333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44334         multiarch implementations.
44335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44336         (__libc_ifunc_impl_list): Likewise.
44337         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44338         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44339         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44340         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44341         multiarch wcschr for PPC64.
44343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44344         multiarch implementations.
44345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44346         (__libc_ifunc_impl_list): Likewise.
44347         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44348         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44349         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44350         multiarch strchrnul for PPC64.
44352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44353         implementations.
44354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44355         (__libc_ifunc_impl_list): Likewise.
44356         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44357         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44358         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44359         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44360         strchr for PPC64.
44362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44363         implementations.
44364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44365         (__libc_ifunc_impl_list): Likewise.
44366         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44367         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44368         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44369         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44370         strncmp for PPC64.
44372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44373         multiarch implementations.
44374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44375         (__libc_ifunc_impl_list): Likewise.
44376         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44377         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44378         strncasecmp for PPC64.
44379         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44380         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44381         multiarch strncasecmp_l for PPC64.
44383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44384         multiarch implementations.
44385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44386         (__libc_ifunc_impl_list): Likewise.
44387         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44388         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44389         multiarch strcasecmp for PPC64.
44390         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44391         file.
44392         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44393         multiarch strcasecmp_l for PPC64.
44395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44396         implementations.
44397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44398         (__libc_ifunc_impl_list): Likewise.
44399         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44400         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44401         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44402         strnlen for PPC64.
44404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44405         implementations.
44406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44407         (__libc_ifunc_impl_list): Likewise.
44408         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44409         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44410         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44411         strlen for PPC64.
44413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44414         implementations.
44415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44416         (__libc_ifunc_impl_list): Likewise.
44417         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44418         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44419         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44420         rawmemrchr for PPC64.
44422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44423         implementation.
44424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44425         (__libc_ifunc_impl_list): Likewise.
44426         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44427         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44428         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44429         memrchr for PPC64.
44431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44432         implementation.
44433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44434         (__libc_ifunc_impl_list): Likewise.
44435         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44436         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44437         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44438         memchr for PPC64.
44440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44441         implementation.
44442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44443         (__libc_ifunc_impl_list): Likewise.
44444         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44445         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44446         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44447         mempcpy for PPC64.
44449         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44450         avoid cretion of __bzero symbol.
44451         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44452         Likewise.
44453         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44454         Likewise.
44455         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44456         Likewise.
44457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44458         multiarch implementations.
44459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44460         (__libc_ifunc_impl_list): Likewise.
44461         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44462         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44463         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44464         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44465         bzero for PPC32.
44466         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44467         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44468         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44469         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44470         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44471         memset for PPC64.
44472         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44474         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44476         implementations.
44477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44478         (__libc_ifunc_impl_list): Likewise.
44479         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44480         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44481         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44482         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44483         memcmp for PPC64.
44485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44486         multiarch for POWER/PPC64.
44487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44488         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44489         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44490         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44491         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44492         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44493         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44494         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44495         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44496         memcpy for PPC64.
44498         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44499         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44500         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44501         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44502         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44503         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44504         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44505         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44506         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44507         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44508         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44509         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44510         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44511         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44512         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44521 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44523         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44525 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44527         * benchtests/Makefile (bench): Add exp2 and log2.
44528         (LDLIBS-bench-exp2): Add -lm.
44529         (LDLIBS-bench-log2): Likewise.
44530         * benchtests/exp2-inputs: New inputs file.
44531         * benchtests/log2-inputs: New inputs file.
44532         * benchtests/log-inputs: Add new inputs.
44533         * benchtests/tan-inputs: Likewise.
44535 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44537         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44538         definition...
44539         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44540         (csloww2): ... from here.
44542         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44543         instead of structures.
44544         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44545         (POLYNOMIAL): Likewise.
44546         (TAYLOR_SLOW): Likewise.
44547         (__sin): Likewise.
44548         (__cos): Likewise.
44549         (slow1): Likewise.
44550         (slow2): Likewise.
44551         (sloww): Likewise.
44552         (sloww1); Likewise.
44553         (sloww2): Likewise.
44554         (bsloww1): Likewise.
44555         (bsloww2): Likewise.
44556         (cslow2): Likewise.
44557         (csloww): Likewise.
44558         (csloww1): Likewise.
44559         (csloww2): Likewise.
44561 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44563         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44564         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44565         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44566         * malloc/hooks.c (realloc_check): Likewise.
44568         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44569         * malloc/arena.c: Remove PER_THREAD conditional.
44570         [!PER_THREAD]: Remove code.
44571         (ptmalloc_unlock_all2): Likewise.
44572         (ptmalloc_init): Likewise.
44573         (_int_new_arena): Likewise.
44574         (arena_get2): Likewise.
44575         * malloc/hooks.c (__malloc_get_state): Likewise.
44576         (__malloc_set_state): Likewise.
44577         * malloc/malloc.c: Likewise.
44578         (struct malloc_state): Likewise.
44579         (struct malloc_par): Likewise.
44580         (__libc_realloc): Likewise.
44581         (__libc_mallopt): Likewise.
44583 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44585         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44587 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44589         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44590         macro to a function.  Check for zero perturb_byte.
44591         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44593         * malloc/malloc.c: (force_reg): Remove.
44594         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44595         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44596         force_reg by atomic_forced_read.
44597         * malloc/arena.c (ptmalloc_init): Likewise.
44598         * malloc/hooks.c (top_check): Likewise.
44600 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44604 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44608 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44610         * math/auto-libm-test-in: Add tests of lgamma.
44611         * math/auto-libm-test-out: Regenerated.
44612         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44613         (M_LOG_2_SQRT_PIl): Likewise.
44614         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44615         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44616         mpfr_f_f1.
44617         (func_calc_desc): Add mpfr_f_f1 union field.
44618         (ARGS1): New macro.
44619         (ARGS2): Likewise.
44620         (ARGS3): Likewise.
44621         (ARGS4): Likewise.
44622         (RET1): Likewise.
44623         (RET2): Likewise.
44624         (CALC): Likewise.
44625         (FUNC): Likewise.
44626         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44627         (test_functions): Add lgamma.
44628         (calc_generic_results): Handle mpfr_f_f1.
44629         * sysdeps/i386/fpu/libm-test-ulps: Update.
44630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44632 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44634         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44635         __mpn_add_n for PowerPC64/POWER7.
44636         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44637         __mpn_sub_n for PowerPC64/POWER7.
44639         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44640         __mpn_addmul_1 for PowerPC64.
44641         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44642         __mpn_submul_1 for PowerPC64.
44643         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44644         for PowerPC64.
44645         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44646         for PowerPC64.
44648 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44650         [BZ #15089]
44651         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44653 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44655         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44657         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44658         add multiarch folders.
44659         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44660         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44661         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44662         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44663         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44664         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44665         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44666         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44667         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44668         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44669         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44678         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44680         New file.
44681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44682         New file.
44683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44684         multiarch __ieee754_hypot for PowerPC32.
44685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44686         New file.
44687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44688         New file.
44689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44690         multiarch __ieee754_hypotf for PowerPC32.
44692         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44693         long_double_symbol only if __logbl is defined.
44694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44695         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44696         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44697         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44698         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44699         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44700         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44701         path for implementation.
44702         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44703         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44705         logb, and logbl multiarch implementations for PowerPC32.
44706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44707         file.
44708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44709         file.
44710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44711         multiarch logb for PowerPC32.
44712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44713         file.
44714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44715         file.
44716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44717         multiarch logbf for PowerPC32.
44718         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44720         file.
44721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44722         multiarch logbl implementation for PowerPC32.
44724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44725         and modff multiarch implementations.
44726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44727         New file.
44728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44729         New file.
44730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44731         multiarch modf for PowerPC32.
44732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44733         New file.
44734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44735         New file.
44736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44737         multiarch modff for PowerPC32.
44739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44740         and lrintf multiarch implementations.
44741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44742         New file.
44743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44744         New file.
44745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44746         multiarch lrint for PowerPC32.
44747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44748         file: multiarch lrintf for PowerPC32.
44750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44751         and lroundf multiarch implementations.
44752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44753         New file.
44754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44755         New file.
44756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44757         New file.
44758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44759         multiarch lround for PowerPC32.
44760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44761         file: multiarch lroundf for PowerPC32.
44763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44764         copysign and copysignf multiarch implementations.
44765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44766         New file.
44767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44768         New file.
44769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44770         file: multiarch copysign for PowerPC32.
44771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44772         file: multiarch copysignf for PowerPC32.
44774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44775         and truncf multiarch implementations.
44776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44777         New file.
44778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44779         file.
44780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44781         multiarch trunc for PowerPC32.
44782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44783         New file.
44784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44785         New file.
44786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44787         multiarch truncf for PowerPC32.
44789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44790         and roundf multiarch implementations.
44791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44792         New file.
44793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44794         file.
44795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44796         multiarch round for PowerPC32.
44797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44798         New file.
44799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44800         New file.
44801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44802         multiarch roundf for PowerPC32.
44804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44805         and floorf multiarch implementations.
44806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44807         New file.
44808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44809         file.
44810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44811         multiarch floor for PowerPC32.
44812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44813         New file.
44814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44815         New file.
44816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44817         multiarch floorf for PowerPC32.
44819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44820         and ceilf multiarch implementations.
44821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44822         New file.
44823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44824         file.
44825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44826         multiarch ceil for PowerPC32.
44827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44828         New file.
44829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44830         file.
44831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44832         multiarch ceilf for PowerPC32.
44834         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44835         is defined.
44836         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44837         FINITEF is defined.
44838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44839         and finitef multiarch implementations.
44840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44841         New file.
44842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44843         file.
44844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44845         multiarch finite for PowerPC32.
44846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44847         New file.
44848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44849         file: multiarch finitef for PowerPC32.
44851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44852         and isinff multiarch implementations.
44853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44854         file.
44855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44856         file.
44857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44858         multiarch isinf for PowerPC32.
44859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44860         New file.
44861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44862         multiarch isinff for PowerPC32.
44864         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44865         alias when __isnan is defined.
44866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44867         and isnanf multiarch implementations.
44868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44869         file.
44870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44871         file.
44872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44873         file.
44874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44875         file.
44876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44877         multiarch isnan for PowerPC32.
44878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44879         New file.
44880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44881         New file.
44882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44883         multiarch isnanf for PowerPC32.
44885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44886         and sqrtf multiarch implementations.
44887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44888         file.
44889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44890         file.
44891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44892         multiarch sqrt for PowerPC32.
44893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44894         file.
44895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44896         file.
44897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44898         multiarch sqrtf for PowerPC32.
44900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44901         and llroundf multiarch implementations.
44902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44903         New file.
44904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44905         New file.
44906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44907         New file.
44908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44909         file: multiarch llround for PowerPC32.
44910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44911         file: multiarch llroundf for PowerPC32.
44913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44914         multiarch PowerPC32 fpu implementations.
44915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44916         New file.
44917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44918         New file.
44919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44920         multiarch llrint for PowerPC32.
44921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44922         New file.
44923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44924         New file.
44925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44926         file.
44928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44930         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44931         file.
44932         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44933         file.
44934         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44935         file.
44936         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44937         multiarch wordcopy for PPC32.
44938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44939         wordcopy objects.
44940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44941         (__libc_ifunc_impl_list): Likewise.
44942         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44943         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44944         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44945         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44946         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44947         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44949         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44951         file.
44952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44953         file.
44954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44955         file.
44956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44957         multiarch wcscpy for PPC32.
44958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44959         multiarch objects.
44960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44961         (__libc_ifunc_impl_list): Likewise.
44962         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44963         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44964         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44965         sysdeps/powerpc/power6/wcscpy.c.
44967         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44969         file.
44970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44971         file.
44972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44973         file.
44974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44975         multiarch wcsrchr for PPC32.
44976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44977         multiarch objects.
44978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44979         (__libc_ifunc_impl_list): Likewise.
44980         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44981         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44982         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44983         sysdeps/powerpc/power6/wcsrchr.c.
44985         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44986         file.
44987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44988         file.
44989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44991         multiarch wcschr 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/wcschr.c: Move ...
44997         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44998         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44999         sysdeps/powerpc/power6/wcschr.c.
45001         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
45002         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
45003         file.
45004         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45005         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
45006         file: multiarch strchr for PPC32.
45007         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
45008         multiarch objects.
45009         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45010         (__libc_ifunc_impl_list): Likewise.
45012         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
45013         name.
45014         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
45015         file.
45016         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
45017         file.
45018         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
45019         multiarch strchrnul for PPC32.
45020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
45021         multiarch objects.
45022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45023         (__libc_ifunc_impl_list): Likewise.
45025         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
45026         file.
45027         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
45028         multiarch strncasecmp for PPC32.
45029         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
45030         file.
45031         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
45032         multiarch strncasecmp_l for PPC32.
45033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
45034         strncasecmp multiarch objects.
45035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45036         (__libc_ifunc_impl_list): Likewise.
45038         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
45039         file.
45040         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
45041         multiarch strncasecmp for PPC32.
45042         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45043         New file.
45044         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
45045         multiarch strcasecmp_l for PPC32.
45046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
45047         multiarch objects.
45048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45049         (__libc_ifunc_impl_list): Likewise.
45051         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
45052         file.
45053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
45054         file.
45055         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
45056         multiarch strncmp for PPC32.
45057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
45058         multiarch objects.
45059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45060         (__libc_ifunc_impl_list): Likewise.
45062         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
45063         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
45064         file.
45065         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
45066         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
45067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
45068         multiarch objects.
45069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45070         (__libc_ifunc_impl_list): Likewise.
45072         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
45073         file.
45074         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
45075         file.
45076         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
45077         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
45078         multiarch objects.
45079         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45080         (__libc_ifunc_impl_list): Likewise.
45082         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
45083         file.
45084         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
45085         file.
45086         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
45087         multiarch rawmemchr for PPC32.
45088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
45089         multiarch objects.
45090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45091         (__libc_ifunc_impl_list): Likewise.
45093         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
45094         file.
45095         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
45096         file.
45097         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
45098         file: memrchr multiarch for PPC32.
45099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
45100         multiarch objects.
45101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45102         (__libc_ifunc_impl_list): Likewise.
45104         * string/memchr.c (__memchr): Using macro to redefine symbol name.
45105         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
45106         file.
45107         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
45108         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
45109         multiarch memchr for PPC32.
45110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
45111         multiarch objects.
45112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45113         (__libc_ifunc_impl_list): Likewise.
45115         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
45116         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
45117         file.
45118         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
45119         file.
45120         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
45121         file: multiarch mempcpy for PPC32.
45122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45123         multiarch objects.
45124         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45125         (__libc_ifunc_impl_list): Likewise.
45127         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45128         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45129         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45130         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45131         multiarch bzero for PPC32.
45132         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45133         file.
45134         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45135         file.
45136         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45137         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45138         file: multiarch memset for PPC32.
45139         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
45141         memset multiarch objects.
45142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45143         (__libc_ifunc_impl_list): Likewise.
45145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45146         file.
45147         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
45148         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
45149         memcmp for PPC32.
45150         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
45151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
45152         multiarch objects.
45153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45154         (__libc_ifunc_impl_list): Likewise.
45156         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
45157         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45159         file.
45160         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45161         file.
45162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45163         file.
45164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45165         multiarch memcpy for PPC32.
45166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45167         multiarch objects.
45168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45169         (__libc_ifunc_impl_list): Likewise.
45171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45172         support multiarch for POWER/PPC32.
45173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45174         Likewise.
45175         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45177         Implies file to make multiarch folder appers before the fpu and
45178         default folder for power4 configuration.
45180 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45182         * scripts/bench.pl: Append volatile keyword to type.
45184 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45186         * sysdeps/sh/sotruss-lib.c: New file.
45187         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45189 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45193 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45195         [BZ #6810]
45196         * math/w_tgamma.c: Include <errno.h>.
45197         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45198         * math/w_tgammaf.c: Include <errno.h>.
45199         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45200         * math/w_tgammal.c: Include <errno.h>.
45201         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45202         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45203         underflow.  Add more tgamma tests.
45204         * math/auto-libm-test-out: Regenerated.
45205         * sysdeps/i386/fpu/libm-test-ulps: Update.
45206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45208         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45209         sin, sinh, tan, tanh, tgamma, y0 and y1.
45210         * math/auto-libm-test-out: Regenerated.
45211         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45212         (TEST_COND_x86): Likewise.
45213         (M_E2l): Remove macro.
45214         (M_E3l): Likewise.
45215         (M_2_SQRT_PIl): Likewise.
45216         (M_SQRT_PIl): Likewise.
45217         (M_1_DIV_El): Likewise.
45218         (log_test_data): Use AUTO_TESTS_f_f.
45219         (log10_test_data): Likewise.
45220         (log1p_test_data): Likewise.
45221         (log2_test_data): Likewise.
45222         (sin_test_data): Likewise.
45223         (sin_tonearest_test_data): Likewise.
45224         (sin_towardzero_test_data): Likewise.
45225         (sin_downward_test_data): Likewise.
45226         (sin_upward_test_data): Likewise.
45227         (sinh_test_data): Likewise.
45228         (sinh_tonearest_test_data): Likewise.
45229         (sinh_towardzero_test_data): Likewise.
45230         (sinh_downward_test_data): Likewise.
45231         (sinh_upward_test_data): Likewise.
45232         (tan_test_data): Likewise.
45233         (tan_tonearest_test_data): Likewise.
45234         (tan_towardzero_test_data): Likewise.
45235         (tan_downward_test_data): Likewise.
45236         (tan_upward_test_data): Likewise.
45237         (tanh_test_data): Likewise.
45238         (tgamma_test_data): Likewise.
45239         (y0_test_data): Likewise.
45240         (y1_test_data): Likewise.
45241         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45242         (special_real_inputs): Add pi/4.
45243         * sysdeps/i386/fpu/libm-test-ulps: Update.
45244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45246 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45248         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45249         "longjmp_target" static probes.
45250         (__longjmp): Rename to __longjmp_symbol.
45251         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45252         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45253         on which longjmp to generate.
45254         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45255         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45256         probe.
45257         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45258         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45259         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45260         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45261         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45262         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45264         __longjmp_symbol based on which __longjmp to generate.
45265         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45266         probe.
45267         (setjmp): Rename to setjmp_symbol.
45268         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45269         (_setjmp): Rename to _setjmp_symbol.
45270         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45271         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45272         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45273         which setjmp to generate.
45274         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45275         "longjmp_target" static probes.
45277 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45279         * benchtests/README: Add note about output arguments.
45280         * benchtests/bench-sincos.c: Remove file.
45281         * benchtests/sincos-inputs: New file.
45282         * scripts/bench.pl: Identify output arguments and define
45283         static variables for them.
45285         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45287         [BZ #15941]
45288         * Makefile (INSTALL): Add install-plain.texi as the primary
45289         dependency.
45290         * manual/install-plain.texi: New file.
45291         * manual/install.texi: Include node directive only for
45292         non-plaintext output.
45294 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45296         * stdlib/longlong.h: Update from GCC.
45298         [BZ #6807]
45299         [BZ #15901]
45300         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45301         * math/w_j0f.c (y0f): Likewise.
45302         * math/w_j0l.c (__y0l): Likewise.
45303         * math/w_j1.c (y1): Likewise.
45304         * math/w_j1f.c (y1f): Likewise.
45305         * math/w_j1l.c (__y1l): Likewise.
45306         * math/w_jn.c (yn): Likewise.
45307         * math/w_jnf.c (ynf): Likewise.
45308         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45309         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45310         value for Bessel function domain errors outside _SVID_ mode.
45311         Adjust sign of return value for yn (negative integer, 0).
45312         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45313         by zero in return for negative x and set sign appropriately for
45314         negative n.
45315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45316         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45317         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45318         expectations in error cases.
45319         (y1_test_data): Likewise.
45320         (yn_test_data): Likewise.
45321         * sysdeps/i386/fpu/libm-test-ulps: Update.
45322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45324 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45326         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45327         "64" to "64-v1".  Add "64-v2".
45328         (abi-64-options): Rename to ...
45329         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45330         (abi-64-condition): Rename to ...
45331         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45332         (abi-64-ld-soname): Rename to ...
45333         (abi-64-v1-ld-soname): ... this.
45334         (abi-64-v2-options): Define.
45335         (abi-64-v2-condition): Likewise.
45336         (abi-64-v2-ld-soname): Likewise.
45337         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45338         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45343 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45344             Alan Modra  <amodra@gmail.com>
45346         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45347         New versions for use with the ELFv2 ABI.
45348         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45349         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45350         declaration.
45351         (struct La_ppc64v2_retval): Likewise.
45352         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45353         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45354         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45355         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45356         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45357         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45358         Do not save or restore CR.
45359         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45360         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45361         return values for ELFv2 ABI.  Fix location of FPR return registers.
45362         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45363         updated values for _CALL_ELF == 2.
45364         (La_regs, La_retval, int_retval): Likewise.
45366 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45368         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45369         (FRAME_MIN_SIZE_PARM): Likewise.
45370         (FRAME_BACKCHAIN): Likewise.
45371         (FRAME_CR_SAVE): Likewise.
45372         (FRAME_LR_SAVE): Likewise.
45373         (FRAME_TOC_SAVE): Likewise.
45374         (FRAME_PARM_SAVE): Likewise.
45375         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45376         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45377         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45378         (call_mcount_parm_offset): New macro.
45379         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45380         (PROF): Use symbolic stack frame offsets.
45381         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45382         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45383         Redefine in terms of FRAME_MIN_SIZE.
45384         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45385         (_dl_profile_resolve): Likewise.  Update comment.
45386         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45387         symbols stack frame offsets.
45388         (__sigsetjmp): Likewise.
45389         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45390         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45391         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45392         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45395         (FRAME_BACKCHAIN): Remove.
45396         (FRAME_CR_SAVE): Likewise.
45397         (FRAME_LR_SAVE): Likewise.
45398         (FRAME_COMPILER_DW): Likewise.
45399         (FRAME_LINKER_DW): Likewise.
45400         (FRAME_TOC_SAVE): Likewise.
45401         (FRAME_PARM_SAVE): Likewise.
45402         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45403         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45404         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45406         (CHECK_SP): Use symbolic stack frame offsets.
45407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45408         zone" instead of caller's parameter save area for temp storage.
45409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45410         Likewise.  Also, use symbolic stack frame offsets.
45411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45412         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45413         our own stack frame instead of the caller's.
45414         (__socket): Use symbolic stack frame offsets.
45416 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45417             Alan Modra  <amodra@gmail.com>
45419         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45420         Define.
45421         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45422         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45423         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45424         New function.
45425         (elf_machine_fixup_plt): Call it.
45426         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45427         reloc arguments.
45428         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45429         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45430         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45431         r2 before calling target.
45433 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45434             Alan Modra  <amodra@gmail.com>
45436         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45437         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45438         versions of macros to support ELFv2 ABI.
45439         (LOCALENTRY): New macro.
45440         (ENTRY, EALIGN): Use it.
45441         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45442         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45443         fall through into ENTRY entry point.
45444         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45445         Only define if _CALL_ELF != 2.
45447         (elf_machine_matches_host): Verify ABI version matches.
45448         (RTLD_START): Use LOCALENTRY.
45449         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45450         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45451         (PLT_ENTRY_WORDS): New macro.
45452         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45453         (elf_machine_runtime_setup): Support ELFv2 ABI.
45454         (elf_machine_fixup_plt): Likewise.
45455         (elf_machine_plt_conflict): Likewise.
45456         (resolve_ifunc): Likewise.
45457         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45458         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45459         Likewise.
45460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45461         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45463         (makecontext): Support ELFv2 ABI.
45464         * elf/elf.h (EF_PPC64_ABI): Define.
45466 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45468         * sysdeps/powerpc/powerpc64/sysdep.h
45469         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45470         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45471         (ENTRY) [ASSEMBLER]: ... but instead here ...
45472         (EALIGN) [ASSEMBLER]: ... and here.
45473         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45474         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45475         (ENTRY_2) [!ASSEMBLER]: Use it.
45476         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45477         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45478         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45479         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45480         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45482         Use PPC64_LOAD_FUNCPTR.
45484         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45486 2013-12-04  Alan Modra  <amodra@gmail.com>
45488         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45489         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45490         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45491         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45493         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45494         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45495         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45496         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45497         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45498         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45500 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45503         (__makecontext): Fix incorrect CFI when backtracing out of
45504         context created via makecontext.
45505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45506         (__setcontext): Fix incorrect CFI during switch to new context.
45507         (__novec_setcontext): Likewise.
45509 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45511         [BZ #4772]
45512         * time/strptime_l.c (__strptime_internal): Allow modifiers
45513         in strptime.
45514         * time/tst-strptime.c (day_tests): Add testcase.
45516 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45518         * scripts/bench.pl: Skip over blank lines.
45520 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45522         [BZ #926]
45523         * manual/time.texi (Calendar Time): Clarify what timezone functions
45524         use.
45526 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45530 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45532         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45533         implementation.
45534         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45535         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45536         * debug/memset_chk.c (__memset_chk): Likewise.
45537         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45538         * debug/strncpy_chk.c: Likewise.
45540 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45542         [BZ #15268]
45543         [BZ #15425]
45544         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45545         (__ieee754_exp): For possibly underflowing results, check size of
45546         result and force underflow exception if required.
45547         * math/auto-libm-test-in: Add more tests of exp.
45548         * math/auto-libm-test-out: Regenerated.
45549         * sysdeps/i386/fpu/libm-test-ulps: Update.
45550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45552         [BZ #16283]
45553         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45554         * math/w_exp2f.c (__exp2f): Likewise.
45555         * math/w_exp2l.c (__exp2l): Likewise.
45556         * math/auto-libm-test-in: Do not allow missing errno on exp2
45557         underflow.
45558         * math/auto-libm-test-out: Regenerated.
45560 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45562         [BZ #16274]
45563         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45564         handle filename validation.
45565         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45566         (do_open): Delete.
45568 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45570         [BZ #6786]
45571         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45572         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45573         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45574         <float.h>.
45575         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45576         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45577         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45578         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45579         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45580         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45581         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45582         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45583         Add more erfc tests.
45584         * math/auto-libm-test-out: Regenerated.
45585         * sysdeps/i386/fpu/libm-test-ulps: Update.
45586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45588         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45589         exp2, expm1, j0 and j1.
45590         * math/auto-libm-test-out: Regenerated.
45591         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45592         (erfc_test_data): Likewise.
45593         (exp_test_data): Likewise.
45594         (exp_tonearest_test_data): Likewise.
45595         (exp_towardzero_test_data): Likewise.
45596         (exp_downward_test_data): Likewise.
45597         (exp_upward_test_data): Likewise.
45598         (exp10_test_data): Likewise.
45599         (exp2_test_data): Likewise.
45600         (expm1_test_data): Likewise.
45601         (j0_test_data): Likewise.
45602         (j1_test_data): Likewise.
45603         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45604         (input_flag_type): Add flag_xfail_rounding.
45605         (input_flags): Add xfail-rounding.
45606         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45607         (output_for_one_input_case): Handle flag_xfail_rounding.
45608         * sysdeps/i386/fpu/libm-test-ulps: Update.
45609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45611 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45613         [BZ #16289]
45614         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45615         division by 0.
45617 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45619         [BZ #16195]
45620         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45621         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45622         (STAP_PROBE0): New macro.
45623         (STAP_PROBE1): Likewise.
45624         (STAP_PROBE2): Likewise.
45625         (STAP_PROBE3): Likewise.
45626         (STAP_PROBE4): Likewise.
45628 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45630         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45632 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45634         * benchtests/Makefile (bench): Add sqrt.
45635         (LDLIBS-bench-sqrt): New.
45636         * benchtests/sqrt-input: New.
45638 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45640         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45641         (GAIH_EAI): Likewise.
45642         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45643         (gaih_inet): Likewise.
45644         (getaddrinfo): Don't use GAIH_EAI.
45646         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45647         (struct gaih): Remove definition.
45649 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45651         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45652         Use HERRNOP directly.
45654 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45658 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45660         * math/gen-auto-libm-tests.c (test_functions): Add more
45661         single-argument functions.
45662         (special_fill_pi_2): New function.
45663         (special_fill_minus_pi_2): Likewise.
45664         (special_fill_pi_6): Likewise.
45665         (special_fill_minus_pi_6): Likewise.
45666         (special_fill_pi_3): Likewise.
45667         (special_fill_2pi_3): Likewise.
45668         (special_fill_e): Likewise.
45669         (special_fill_1_e): Likewise.
45670         (special_fill_e_minus_1): Likewise.
45671         (special_real_inputs): Add more special inputs.
45672         (output_for_one_input_case): Do not require ERANGE on underflow to
45673         zero if round-to-nearest result does not underflow to zero, unless
45674         exact results required.
45675         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45676         atan, atanh, cbrt, cos and cosh.
45677         * math/auto-libm-test-out: Regenerated.
45678         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45679         (acos_tonearest_test_data): Likewise.
45680         (acos_towardzero_test_data): Likewise.
45681         (acos_downward_test_data): Likewise.
45682         (acos_upward_test_data): Likewise.
45683         (acosh_test_data): Likewise.
45684         (asin_test_data): Likewise.
45685         (asin_tonearest_test_data): Likewise.
45686         (asin_towardzero_test_data): Likewise.
45687         (asin_upward_test_data): Likewise.
45688         (asinh_test_data): Likewise.
45689         (atan_test_data): Likewise.
45690         (atanh_test_data): Likewise.
45691         (cbrt_test_data): Likewise.
45692         (cos_test_data): Likewise.
45693         (cos_tonearest_test_data): Likewise.
45694         (cos_towardzero_test_data): Likewise.
45695         (cos_downward_test_data): Likewise.
45696         (cos_upward_test_data): Likewise.
45697         (cosh_test_data): Likewise.
45698         (cosh_tonearest_test_data): Likewise.
45699         (cosh_towardzero_test_data): Likewise.
45700         (cosh_downward_test_data): Likewise.
45701         (cosh_upward_test_data): Likewise.
45702         * sysdeps/i386/fpu/libm-test-ulps: Update.
45703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45705 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45707         [BZ #6787]
45708         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45709         * math/w_exp10f.c (__exp10f): Likewise.
45710         * math/w_exp10l.c (__exp10l): Likewise.
45711         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45712         errno settings in existing tests.
45714         [BZ #14032]
45715         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45716         precision control set to double precision.
45717         * sysdeps/i386/fpu/w_sqrt.c: New file.
45718         * math/auto-libm-test-in: Add more tests.
45719         * math/auto-libm-test-out: Update.
45721         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45722         (sqrt_test_tonearest): New function.
45723         (sqrt_towardzero_test_data): New variable.
45724         (sqrt_test_towardzero): New function.
45725         (sqrt_downward_test_data): New variable.
45726         (sqrt_test_downward): New function.
45727         (sqrt_upward_test_data): New variable.
45728         (sqrt_test_upward): New function.
45729         (main): Call the new functions.
45731         * math/gen-auto-libm-tests.c: New file.
45732         * math/auto-libm-test-in: Likewise.
45733         * math/auto-libm-test-out: New generated file.
45734         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45735         variables.
45736         (%beautify): Add generated representations of zero.
45737         (top level): Set $auto_input and call parse_auto_input.
45738         (beautify): Remove trailing "f" from hex float constants.
45739         (parse_args): Handle XFAIL_TEST.
45740         (convert_condition): New function.
45741         (or_value): Likewise.
45742         (or_cond_value): Likewise.
45743         (generate_testfile): Handle AUTO_TESTS_* lines.
45744         (parse_auto_input): New function.
45745         * math/libm-test.inc (XFAIL_TEST): New macro.
45746         (ERRNO_UNCHANGED): Update value.
45747         (ERRNO_EDOM): Likewise.
45748         (ERRNO_ERANGE): Likewise.
45749         (IGNORE_RESULT): Likewise.
45750         (TEST_COND_flt_32): New macro.
45751         (TEST_COND_dbl_64): Likewise.
45752         (TEST_COND_ldbl_96_intel): Likewise.
45753         (TEST_COND_ldbl_96_m68k): Likewise.
45754         (TEST_COND_ldbl_128): Likewise.
45755         (TEST_COND_ldbl_128ibm): Likewise.
45756         (TEST_COND_long32): Likewise.
45757         (TEST_COND_long64): Likewise.
45758         (TEST_COND_before_rounding): Likewise.
45759         (TEST_COND_after_rounding): Likewise.
45760         (enable_test): Handle XFAIL_TEST flag.
45761         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45762         with finite results.
45763         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45764         auto-libm-test-out.
45766 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45767             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45769         [BZ #16214]
45770         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45771         __tls_get_addr_internal instead of __tls_get_offset in order to
45772         avoid GOT pointer dependency.  Make rtld export
45773         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45774         __tls_get_addr since we are a __tls_get_offset platform.
45775         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45776         GOT pointer being set up before.
45777         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45779 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45781         * manual/math.texi (Errors in Math Functions): Document accuracy
45782         goals.
45784         [BZ #15004]
45785         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45786         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45787         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45788         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45789         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45790         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45791         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45792         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45793         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45794         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45795         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45796         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45797         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45798         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45799         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45800         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45802         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45803         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45804         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45805         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45806         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45807         Likewise.
45808         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45809         Likewise.
45810         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45811         Likewise.
45812         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45813         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45814         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45815         atomic-feupdateenv and flt-rounds.
45816         * sysdeps/powerpc/nofpu/Versions (libc): Add
45817         __atomic_feholdexcept, __atomic_feclearexcept,
45818         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45819         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45820         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45821         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45822         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45823         here.
45824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45825         Update.
45827         * manual/arith.texi (FP Exceptions): Document that exceptions may
45828         not be raised when matherr is used.
45829         (Math Error Reporting): Document overflow in directed rounding
45830         modes.  Document that errno may not be set when finite values are
45831         returned on overflow.  Document intent to set errno on underflow
45832         only for underflow to zero.
45834         [BZ #16271]
45835         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45836         round-to-nearest then adjust result for other rounding modes.
45837         * include/fenv.h (fegetround): Use libm_hidden_proto.
45838         * math/fegetround.c (fegetround): Use libm_hidden_def.
45839         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45840         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45841         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45842         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45843         Likewise.
45844         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45845         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45846         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45847         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45849 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45851         [BZ #16077]
45852         * nss/Versions (libnss_files): Add
45853         _nss_files_gethostbyname3_r.
45854         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45855         New function.
45856         (HOST_DB_LOOKUP): Remove macro.
45857         (_nss_files_gethostbyname_r): Implement function without the
45858         HOST_DB_LOOKUP macro.
45859         (_nss_files_gethostbyname2_r): Likewise.
45861 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45863         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45865 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45867         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45868         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45869         warning.
45871 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45873         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45874         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45875         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45876         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45877         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45878         __fe_nomask_env_priv and attribute_hidden.
45879         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45880         (libc_feupdateenv_test_ppc): Likewise.
45881         (libc_feresetround_ppc): Likewise.
45882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45883         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45884         compat_symbol macro.
45885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45886         (__fe_nomask_env): Likewise.
45887         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45889 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45891         * string/Makefile: Remove ifunc tests.
45892         * string/test-string.h: Define TEST_IFUNC.
45893         * string/test-bcopy-ifunc.c: Remove.
45894         * string/test-bzero-ifunc.c: Likewise.
45895         * string/test-memccpy-ifunc.c: Likewise.
45896         * string/test-memchr-ifunc.c: Likewise.
45897         * string/test-memcmp-ifunc.c: Likewise.
45898         * string/test-memcpy-ifunc.c: Likewise.
45899         * string/test-memmem-ifunc.c: Likewise.
45900         * string/test-memmove-ifunc.c: Likewise.
45901         * string/test-mempcpy-ifunc.c: Likewise.
45902         * string/test-memrchr-ifunc.c: Likewise.
45903         * string/test-memset-ifunc.c: Likewise.
45904         * string/test-rawmemchr-ifunc.c: Likewise.
45905         * string/test-stpcpy-ifunc.c: Likewise.
45906         * string/test-stpncpy-ifunc.c: Likewise.
45907         * string/test-strcasecmp-ifunc.c: Likewise.
45908         * string/test-strcasestr-ifunc.c: Likewise.
45909         * string/test-strcat-ifunc.c: Likewise.
45910         * string/test-strchr-ifunc.c: Likewise.
45911         * string/test-strchrnul-ifunc.c: Likewise.
45912         * string/test-strcmp-ifunc.c: Likewise.
45913         * string/test-strcpy-ifunc.c: Likewise.
45914         * string/test-strcspn-ifunc.c: Likewise.
45915         * string/test-strlen-ifunc.c: Likewise.
45916         * string/test-strncasecmp-ifunc.c: Likewise.
45917         * string/test-strncat-ifunc.c: Likewise.
45918         * string/test-strncmp-ifunc.c: Likewise.
45919         * string/test-strncpy-ifunc.c: Likewise.
45920         * string/test-strnlen-ifunc.c: Likewise.
45921         * string/test-strpbrk-ifunc.c: Likewise.
45922         * string/test-strrchr-ifunc.c: Likewise.
45923         * string/test-strspn-ifunc.c: Likewise.
45924         * string/test-strstr-ifunc.c: Likewise.
45926 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45928         * benchtests/Makefile: Remove ifunc tests.
45929         * benchtests/bench-string.h: Define TEST_IFUNC.
45930         * benchtests/bench-bcopy-ifunc.c: Remove.
45931         * benchtests/bench-bzero-ifunc.c: Likewise.
45932         * benchtests/bench-memccpy-ifunc.c: Likewise.
45933         * benchtests/bench-memchr-ifunc.c: Likewise.
45934         * benchtests/bench-memcmp-ifunc.c: Likewise.
45935         * benchtests/bench-memcpy-ifunc.c: Likewise.
45936         * benchtests/bench-memmem-ifunc.c: Likewise.
45937         * benchtests/bench-memmove-ifunc.c: Likewise.
45938         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45939         * benchtests/bench-memrchr-ifunc.c: Likewise.
45940         * benchtests/bench-memset-ifunc.c: Likewise.
45941         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45942         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45943         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45944         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45945         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45946         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45947         * benchtests/bench-strcat-ifunc.c: Likewise.
45948         * benchtests/bench-strchr-ifunc.c: Likewise.
45949         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45950         * benchtests/bench-strcmp-ifunc.c: Likewise.
45951         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45952         * benchtests/bench-strcpy-ifunc.c: Likewise.
45953         * benchtests/bench-strcspn-ifunc.c: Likewise.
45954         * benchtests/bench-strlen-ifunc.c: Likewise.
45955         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45956         * benchtests/bench-strncat-ifunc.c: Likewise.
45957         * benchtests/bench-strncmp-ifunc.c: Likewise.
45958         * benchtests/bench-strncpy-ifunc.c: Likewise.
45959         * benchtests/bench-strnlen-ifunc.c: Likewise.
45960         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45961         * benchtests/bench-strrchr-ifunc.c: Likewise.
45962         * benchtests/bench-strsep-ifunc.c: Likewise.
45963         * benchtests/bench-strspn-ifunc.c: Likewise.
45964         * benchtests/bench-strstr-ifunc.c: Likewise.
45966 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45968         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45970 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45972         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45973         * rt/aio.h: Likewise.
45974         * sysdeps/gnu/bits/utmp.h: Likewise.
45975         * sysdeps/gnu/bits/utmpx.h: Likewise.
45976         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45977         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45978         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45979         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45980         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45981         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45982         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45983         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45984         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45985         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45986         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45987         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45988         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45990         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45991         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45992         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45993         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45994         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45995         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45996         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45997         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45998         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45999         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46000         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
46001         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46002         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
46003         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
46004         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
46005         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
46006         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
46007         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
46008         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
46009         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46010         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
46011         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
46012         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46013         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
46014         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
46015         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46016         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
46017         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46019 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
46021         [BZ #16245]
46022         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
46023         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
46025 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
46027         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
46028         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
46029         Likewise.
46031 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46033         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
46034         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
46035         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
46036         (__fesetround): Remove define.
46037         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
46038         rounding and exceptions handling.
46039         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
46040         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
46041         (__fe_nomask_env): Likewise.
46042         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
46043         __fegetround instead of fegetround.
46044         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46045         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
46047 2013-11-21  Roland McGrath  <roland@hack.frob.com>
46049         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
46050         it's there.
46052         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
46054 2013-11-21  Meador Inge  <meadori@codesourcery.com>
46056         [BZ #11157]
46057         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
46058         (encrypt_r): Likewise.
46059         * malloc/obstack.h (obstack_free): Likewise.
46060         * posix/unistd.h (encrypt): Likewise.
46062 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
46064         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
46065         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
46066         DL_CALL_DT_FINI() that call the functions directly.
46067         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
46068         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
46069         * elf/dl-fini.c: Likewise.
46071 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
46073         * malloc/hooks.c (memalign_check): Add alignment rounding.
46074         * malloc/malloc.c (_mid_memalign): New function.
46075         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
46076         Implement by calling _mid_memalign.
46077         * manual/probes.texi (Memory Allocation Probes): Remove
46078         memory_valloc_retry and memory_pvalloc_retry.
46080 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46082         * locale/programs/locarchive.c (open_archive): Add const
46083         qualifier to ARCHIVEFNAME and copy default fname to
46084         DEFAULT_FNAME.
46086         [BZ #15601]
46087         * libio/tst-widetext.input: Rename Oriya to Odia.
46088         * locale/iso-639.def: Likewise.
46090         * manual/probes.texi (Mathematical Function Probes): Add
46091         documentation for sin, cos, asin and acos probes.
46092         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
46093         (__sin32): Add slowasin probe.
46094         (__cos32): Add slowacos probe.
46095         (__mpsin): Add slowsin probe.
46096         (__mpcos): Add slowcos probe.
46098 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
46100         [BZ #15483]
46101         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
46102         thread-local __sim_exceptions_thread and global
46103         __sim_exceptions_global.
46104         (__sim_disabled_exceptions): Change to thread-local
46105         __sim_disabled_exceptions_thread and global
46106         __sim_disabled_exceptions_global.
46107         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46108         and global __sim_round_mode_global.
46109         (__simulate_exceptions): Use thread-local floating-point state and
46110         set global state from it as needed.
46111         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
46112         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
46113         __sim_round_mode_thread.
46114         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
46115         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46116         and global __sim_exceptions_global.
46117         (__sim_disabled_exceptions): Change to thread-local
46118         __sim_disabled_exceptions_thread and global
46119         __sim_disabled_exceptions_global.
46120         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46121         and global __sim_round_mode_global.
46122         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46123         (SIM_SET_GLOBAL): Likewise.
46124         * sysdeps/powerpc/soft-fp/sfp-machine.h
46125         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46126         __sim_round_mode_thread.
46127         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46128         __sim_disabled_exceptions_thread.
46129         (__sim_exceptions): Change to __sim_exceptions_thread.
46130         (__sim_disabled_exceptions): Change to
46131         __sim_disabled_exceptions_thread.
46132         (__sim_round_mode): Change to __sim_round_mode_thread.
46133         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46134         thread-local floating-point state and set global state from it as
46135         needed.
46136         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46137         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46138         (__sim_disabled_exceptions): Remove extern declaration.
46139         (feenableexcept): Use thread-local floating-point state and set
46140         global state from it as needed.
46141         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
46142         extern declaration.
46143         (__sim_disabled_exceptions): Likewise.
46144         (__sim_round_mode): Likewise.
46145         (__fegetenv): Use thread-local floating-point state.
46146         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46147         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46148         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
46149         floating-point state and set global state from it as needed.
46150         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
46151         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
46152         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
46153         Likewise.
46154         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46155         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46156         Likewise.
46157         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46158         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46159         Use __sim_round_mode_thread.
46160         * math/test-fenv-tls.c: New file.
46161         * math/Makefile (tests): Add test-fenv-tls.
46162         ($(objpfx)test-fenv-tls): Depend on
46163         $(common-objpfx)nptl/libpthread.so.
46165 2013-11-19  Andreas Schwab  <schwab@suse.de>
46167         * locale/programs/locale.c (show_info): Decode wordarray elements.
46168         * locale/categories.def (LC_MONETARY): Add element for
46169         _NL_MONETARY_CRNCYSTR.
46170         * locale/C-monetary.c (conversion_rate): New variable.
46171         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46172         element.
46174 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46176         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46177         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46179 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46181         * elf/Makefile (tst-auxv): New test.
46182         * elf/tst-auxv.c: New
46183         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46185 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46187         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46188         (hidden_proto): Caller changed.
46189         (hidden_tls_proto): New macro.
46190         (libc_hidden_tls_proto): Likewise.
46191         (rtld_hidden_tls_proto): Likewise.
46192         (libm_hidden_tls_proto): Likewise.
46193         (libresolv_hidden_tls_proto): Likewise.
46194         (librt_hidden_tls_proto): Likewise.
46195         (libdl_hidden_tls_proto): Likewise.
46196         (libnss_files_hidden_tls_proto): Likewise.
46197         (libnsl_hidden_tls_proto): Likewise.
46198         (libnss_nisplus_hidden_tls_proto): Likewise.
46199         (libutil_hidden_tls_proto): Likewise.
46201 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46203         [BZ #10253]
46204         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46205         (decompose_rpath): Defer expansion to fillin_rpath.
46206         (_dl_init_paths): Pass linkmap to fillin_rpath.
46208 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46210         * benchtests/Makefile: Add strsep.
46211         * benchtests/bench-strsep.c: New file: strsep benchtest.
46212         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46214 2013-11-18  Andreas Schwab  <schwab@suse.de>
46216         * locale/programs/locale.c (show_info) [case byte]: Check for
46217         '\377' instead of '\177'.
46218         * locale/C-monetary.c (not_available): Always use "\377".
46219         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46220         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46221         detect unavailable sign_posn locale elements.
46222         * locale/localeconv.c (__localeconv): For grouping and
46223         mon_grouping handle "\177" and "\377" like no grouping.
46224         (INT_ELEM): New macro.  Use it to set all numeric members.
46225         * locale/programs/ld-monetary.c (monetary_read)
46226         <tok_mon_grouping>: Normalize single -1 to the empty string.
46227         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46228         Likewise.
46230 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46232         [BZ #16055]
46233         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46234         when we match (nil).
46235         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46237 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46239         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46240         (NO_TEST_INLINE): Update value.
46241         (ERRNO_UNCHANGED): Likewise.
46242         (ERRNO_EDOM): Likewise.
46243         (ERRNO_ERANGE): Likewise.
46244         (IGNORE_RESULT): Likewise.
46245         (check_float_internal): Check signs of NaN results if
46246         TEST_NAN_SIGN used.
46247         (check_complex): Pass TEST_NAN_SIGN flag through to second
46248         check_float_internal call.
46249         (copysign_test_data): Add tests with quiet NaNs as second
46250         argument.  Use TEST_NAN_SIGN.
46251         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46252         TEST_NAN_SIGN.
46253         (signbit_test_data): Add tests of quiet NaN argument.
46254         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46256         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46257         $ignore_result.
46258         (parse_args): Handle function results specified as IGNORE.
46259         * math/libm-test.inc (IGNORE_RESULT): New macro.
46260         (check_float_internal): Do not check numerical result if flag
46261         IGNORE_RESULT set.
46262         (check_complex): Pass through IGNORE_RESULT to second
46263         check_float_internal call.
46264         (check_int): Do not check numerical result if flag IGNORE_RESULT
46265         set.
46266         (check_long): Likewise.
46267         (check_bool): Likewise.
46268         (check_longlong): Likewise.
46269         (lrint_test_data): Add tests of infinite and NaN arguments.
46270         (lrint_tonearest_test_data): Likewise.
46271         (lrint_towardzero_test_data): Likewise.
46272         (lrint_downward_test_data): Likewise.
46273         (lrint_upward_test_data): Likewise.
46274         (llrint_test_data): Likewise.
46275         (llrint_tonearest_test_data): Likewise.
46276         (llrint_towardzero_test_data): Likewise.
46277         (llrint_downward_test_data): Likewise.
46278         (llrint_upward_test_data): Likewise.
46279         (lround_test_data): Likewise.
46280         (llround_test_data): Likewise.
46282         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46283         (ERRNO_UNCHANGED): Update value.
46284         (ERRNO_EDOM): Likewise.
46285         (ERRNO_ERANGE): Likewise.
46286         (NO_TEST_INLINE_FLOAT): New macro.
46287         (NO_TEST_INLINE_DOUBLE): Likewise.
46288         (enable_test): New function.
46289         (RUN_TEST_f_f): Check enable_test before running test.
46290         (RUN_TEST_2_f): Likewise.
46291         (RUN_TEST_fff_f): Likewise.
46292         (RUN_TEST_c_f): Likewise.
46293         (RUN_TEST_f_f1): Likewise.
46294         (RUN_TEST_fF_f1): Likewise.
46295         (RUN_TEST_fI_f1): Likewise.
46296         (RUN_TEST_ffI_f1): Likewise.
46297         (RUN_TEST_c_c): Likewise.
46298         (RUN_TEST_cc_c): Likewise.
46299         (RUN_TEST_f_i): Likewise.
46300         (RUN_TEST_f_i_tg): Likewise.
46301         (RUN_TEST_ff_i_tg): Likewise.
46302         (RUN_TEST_f_b): Likewise.
46303         (RUN_TEST_f_b_tg): Likewise.
46304         (RUN_TEST_f_l): Likewise.
46305         (RUN_TEST_f_L): Likewise.
46306         (RUN_TEST_fFF_11): Likewise.
46307         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46308         conditionals.
46309         (cosh_test_data): Likewise.
46310         (exp_test_data): Likewise.
46311         (expm1_test_data): Likewise.
46312         (hypot_test_data): Likewise.
46313         (pow_test_data): Likewise.
46314         (sinh_test_data): Likewise.
46315         (tanh_test_data): Likewise.
46316         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46317         flags argument.
46319         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46320         tests with quiet NaN input and output.
46321         (acosh_test_data): Likewise.
46322         (asin_test_data): Likewise.
46323         (asinh_test_data): Likewise.
46324         (atan_test_data): Likewise.
46325         (atanh_test_data): Likewise.
46326         (atan2_test_data): Likewise.
46327         (cbrt_test_data): Likewise.
46328         (cos_test_data): Likewise.
46329         (cosh_test_data): Likewise.
46330         (erf_test_data): Likewise.
46331         (erfc_test_data): Likewise.
46332         (exp_test_data): Likewise.
46333         (exp10_test_data): Likewise.
46334         (exp2_test_data): Likewise.
46335         (expm1_test_data): Likewise.
46336         (hypot_test_data): Likewise.
46337         (j0_test_data): Likewise.
46338         (j1_test_data): Likewise.
46339         (jn_test_data): Likewise.
46340         (lgamma_test_data): Likewise.
46341         (log_test_data): Likewise.
46342         (log10_test_data): Likewise.
46343         (log1p_test_data): Likewise.
46344         (log2_test_data): Likewise.
46345         (pow_test_data): Likewise.
46346         (scalb_test_data): Likewise.
46347         (sin_test_data): Likewise.
46348         (sincos_test_data): Likewise.
46349         (sinh_test_data): Likewise.
46350         (tan_test_data): Likewise.
46351         (tanh_test_data): Likewise.
46352         (tgamma_test_data): Likewise.
46353         (y0_test_data): Likewise.
46354         (y1_test_data): Likewise.
46355         (yn_test_data): Likewise.
46357         [BZ #16167]
46358         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46359         argument being NaN and avoid computations with second argument in
46360         that case.
46361         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46362         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46363         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46365 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46367         * locale/iso-639.def: Add Chitwani Tharu (the).
46369 2013-11-14  Andreas Schwab  <schwab@suse.de>
46371         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46372         word instead of empty string.
46374 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46377         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46379         (__fe_nomask_env): Likewise.
46381 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46383         * benchtests/bench-timing.h: Include time.h.
46385 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46387         [BZ #15997]
46388         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46389         to 3.4.0 for x32.
46390         * sysdeps/unix/sysv/linux/configure: Regenerated.
46392 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46394         [BZ #16151]
46395         * stdlib/strtod_l.c (round_and_return): Do not consider
46396         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46397         exponent one less than half the least subnormal exponent.
46398         * stdlib/test-strtod-round-data: Add more tests.
46399         * stdlib/tst-strtod-round.c (tests): Regenerated.
46401 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46403         [BZ #14143]
46404         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46405         (__fe_mask_env): Likewise.
46406         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46407         libm_hidden_proto and add function prototype.
46408         (__fe_mask_env): Add function prototype.
46409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46410         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46412         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46414         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46416 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46418         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46419         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46421 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46423         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46424         of htab_find_slot().
46426 2013-11-11  David S. Miller  <davem@davemloft.net>
46428         [BZ #16150]
46429         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46430         symbol in the non-vis3 case in static builds.
46431         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46432         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46433         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46434         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46436 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46438         [BZ #387]
46439         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46440         it is empty.
46442 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46444         * benchtests/Makefile: Add bench-strtod.
46445         * benchtests/bench-strtod.c: New file: strtod benchtest
46447 2013-11-11  Andreas Schwab  <schwab@suse.de>
46449         [BZ #16153]
46450         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46451         terminating NUL in key length.
46453 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46455         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46456         Add artificial ODP entry for vDSO symbol for PPC64.
46457         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46458         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46460 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46462         [BZ #15374]
46463         * nss/getent.c (services_keys): Recognize services starting with digit.
46465 2013-11-06  David S. Miller  <davem@davemloft.net>
46467         [BZ #15985]
46468         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46469         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46471 2013-11-06  Will Newton  <will.newton@linaro.org>
46473         * manual/memory.texi (Malloc Examples): Remove register
46474         keyword from examples.
46476 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46478         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46480 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46482         [BZ #6981]
46483         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46484         depending on [__GCC_IEC_559 > 0].
46485         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46486         depending on [__GCC_IEC_559_COMPLEX > 0].
46488 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46490         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46491         to iso-639.def.
46493 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46495         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46497 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46499         [BZ #16112]
46500         * malloc/malloc (malloc_info): Do not handle first bin as
46501         special case.
46503 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46505         * locale/iso-639.def: Add Central Nahuatl (nhn).
46507 2013-11-01  Bruno Haible  <bruno@clisp.org>
46509         [BZ #7003]
46510         * manual/math.texi (BSD Random): Specify range upper bound as
46511         in POSIX.
46513 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46515         * locale/iso-639.def: Add Meadow Mari (mhr).
46517 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46519         [BZ #14752], [BZ #15763]
46520         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46521         Validate name.
46522         * rt/tst_shm.c: Add test for escaping directory.
46524 2013-10-31  Andreas Schwab  <schwab@suse.de>
46526         [BZ #15917]
46527         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46528         followed by 'x' as part of digit sequence.
46529         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46531 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46533         [BZ #16037]
46534         * configure.ac: allow GNU Make 4.0 and greater.
46535         * configure: Regenerated.
46537 2013-10-30  Will Newton  <will.newton@linaro.org>
46539         [BZ #16038]
46540         * malloc/hooks.c (memalign_check): Limit alignment to the
46541         maximum representable power of two.
46542         * malloc/malloc.c (__libc_memalign): Likewise.
46543         * malloc/tst-memalign.c (do_test): Add test for very
46544         large alignment values.
46545         * malloc/tst-posix_memalign.c (do_test): Likewise.
46547 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46549         [BZ #11087]
46550         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46551         (munmap_chunk): Likewise.
46552         (mremap_chunk): Likewise.
46554 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46556         [BZ #15799]
46557         * stdlib/div.c (div): Remove obsolete code.
46558         * stdlib/ldiv.c (ldiv): Likewise.
46559         * stdlib/lldiv.c (lldiv): Likewise.
46561 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46563         [BZ #16071]
46564         * nss/nss_files/files-XXX.c (get_contents_ret): New
46565         enumerator.
46566         (get_contents): New function.
46567         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46569 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46571         * configure.in: Moved to ...
46572         * configure.ac: ... here. Change reference to configure.in
46573         to configure.ac.
46574         * sysdeps/arm/preconfigure.ac: ... here.
46575         configure.in to configure.ac.
46576         * sysdeps/gnu/configure.in: Moved to ...
46577         * sysdeps/gnu/configure.ac: ... here.
46578         * sysdeps/i386/configure.in: Moved to ...
46579         * sysdeps/i386/configure.ac: ... here.
46580         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46581         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46582         * sysdeps/mach/configure.in: Moved to ...
46583         * sysdeps/mach/configure.ac: ... here.
46584         * sysdeps/mach/hurd/configure.in: Moved to ...
46585         * sysdeps/mach/hurd/configure.ac: ... here.
46586         * sysdeps/powerpc/configure.in: Moved to ...
46587         * sysdeps/powerpc/configure.ac: ... here.
46588         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46589         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46590         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46591         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46592         * sysdeps/s390/s390-32/configure.in: Moved to ...
46593         * sysdeps/s390/s390-32/configure.ac: ... here.
46594         * sysdeps/s390/s390-64/configure.in: Moved to ...
46595         * sysdeps/s390/s390-64/configure.ac: ... here.
46596         * sysdeps/sh/configure.in: Moved to ...
46597         * sysdeps/sh/configure.ac: ... here.
46598         * sysdeps/sparc/configure.in: Moved to ...
46599         * sysdeps/sparc/configure.ac: ... here.
46600         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46601         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46602         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46603         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46604         * sysdeps/x86_64/configure.in: Moved to ...
46605         * sysdeps/x86_64/configure.ac: ... here.
46606         * sysdeps/x86_64/preconfigure.in: Moved to ...
46607         * sysdeps/x86_64/preconfigure.ac: ... here.
46608         * aclocal.m4: Change reference to configure.in to configure.ac.
46609         * config.h.in: Likewise.
46610         * manual/install.texi: Likewise.
46611         * manual/maint.texi: Likewise.
46612         * Makefile: Likewise.
46613         * malloc/Makefile: Likewise.
46614         * nscd/Makefile: Likewise.
46615         * Makeconfig: Change reference to configure.in and
46616         preconfigure.in to configure.ac and preconfigure.ac
46617         respectively.
46618         * INSTALL: Regenerated.
46619         * configure: Likewise.
46620         * sysdeps/gnu/configure: Likewise.
46621         * sysdeps/i386/configure: Likewise.
46622         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46623         * sysdeps/mach/configure: Likewise.
46624         * sysdeps/mach/hurd/configure: Likewise.
46625         * sysdeps/powerpc/configure: Likewise.
46626         * sysdeps/powerpc/powerpc32/configure: Likewise.
46627         * sysdeps/powerpc/powerpc64/configure: Likewise.
46628         * sysdeps/s390/s390-32/configure: Likewise.
46629         * sysdeps/s390/s390-64/configure: Likewise.
46630         * sysdeps/sh/configure: Likewise.
46631         * sysdeps/sparc/configure: Likewise.
46632         * sysdeps/unix/sysv/linux/configure: Likewise.
46633         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46634         * sysdeps/x86_64/configure: Likewise.
46635         * sysdeps/x86_64/preconfigure: Likewise.
46637 2013-10-29  Andreas Schwab  <schwab@suse.de>
46639         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46641 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46643         * benchtests/pow-inputs: Add new inputs.
46645         * benchtests/exp-inputs: Add new inputs.
46647         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46648         conditional check for return value.
46649         (__cos32): Likewise.
46651 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46653         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46654         to provide a boost for large inputs with word alignment.
46655         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46656         implementation based on optimized PPC64 strcpy.
46657         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46658         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46659         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46660         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46662 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46664         [BZ #2801]
46665         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46667 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46669         [BZ #14876]
46670         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46671         * time/tst-strptime.c (day_tests): Add testcase.
46673 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46675         [BZ #14029]
46676         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46678 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46680         [BZ #16074]
46681         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46682         MAP_FAILED on error.
46684 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46686         [BZ #16072]
46687         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46688         heap for large requests.
46690 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46692         [BZ #9954]
46693         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46694         result if the result has no associated interface.
46695         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46696         interface for all 127.X.Y.Z addresses.
46698 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46700         * locale/iso-639.def: Add Ligurian (lij)
46702 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46704         [BZ #15825]
46705         * sunrpc/rpc_main.c: Document rpcgen -5.
46707 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46709         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46711 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46713         [BZ #10278]
46714         * posix/glob.c: Match only directories when trailing slash is present.
46715         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46716         (main): Add testcase.
46718 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46720         [BZ #15670]
46721         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46723 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46725         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46726         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46727         AUTH_DES and cindex for FIPS 140-2.
46728         (DES Encryption): Add cindex FIPS 46-3.
46730         * locale/locarchive.h (struct locarhandle): Add fname.
46731         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46732         if an optional argument was specified to --list-archive,
46733         otherwise NULL.
46734         * locale/programs/locarchive.c (show_archive_content): Take new
46735         argument fname and pass it via ah.fname to open_archive.
46736         * locale/programs/localedef.h: Update decl.
46737         (open_archive): If AH->fname is non-null, open that file
46738         rather than the default file name, and don't ignore ENOENT.
46739         (create_archive): Set AH.fname to NULL.
46740         (delete_locales_from_archive): Likewise.
46741         (add_locales_to_archive): Likewise.
46742         * locale/programs/locfile.c (write_all_categories): Likewise.
46744 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46745             Aldy Hernandez  <aldyh@redhat.com>
46747         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46748         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46749         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46750         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46751         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46752         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46753         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46754         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46755         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46756         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46757         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46758         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46759         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46760         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46761         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46762         Likewise.
46763         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46764         Likewise.
46765         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46766         Likewise.
46767         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46768         Likewise.
46769         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46770         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46771         Likewise.
46772         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46773         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46774         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46775         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46776         Likewise.
46777         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46778         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46779         * sysdeps/powerpc/preconfigure: Likewise.
46780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46781         Likewise.
46782         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46783         Replace contents of file by #include of <fenv_libc.h>.
46784         * sysdeps/powerpc/soft-fp/sfp-machine.h
46785         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46786         and <sys/prctl.h>.
46787         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46788         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46789         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46790         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46791         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46792         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46793         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46794         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46795         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46796         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46797         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46798         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46800         Allow copysignl PLT reference to be missing.
46802 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46803             Joseph Myers  <joseph@codesourcery.com
46805         [BZ #15948]
46806         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46807         single character.
46808         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46810 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46812         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46813         * elf/tst-tls1.c: Likewise.
46814         * elf/tst-tls10.h: Likewise.
46815         * elf/tst-tls14.c: Likewise.
46816         * elf/tst-tls2.c: Likewise.
46817         * elf/tst-tls3.c: Likewise.
46818         * elf/tst-tls4.c: Likewise.
46819         * elf/tst-tls5.c: Likewise.
46820         * elf/tst-tls6.c: Likewise.
46821         * elf/tst-tls7.c: Likewise.
46822         * elf/tst-tls8.c: Likewise.
46823         * elf/tst-tls9.c: Likewise.
46824         * elf/tst-tlsmod1.c: Likewise.
46825         * elf/tst-tlsmod13.c: Likewise.
46826         * elf/tst-tlsmod13a.c: Likewise.
46827         * elf/tst-tlsmod14a.c: Likewise.
46828         * elf/tst-tlsmod16a.c: Likewise.
46829         * elf/tst-tlsmod16b.c: Likewise.
46830         * elf/tst-tlsmod2.c: Likewise.
46831         * elf/tst-tlsmod3.c: Likewise.
46832         * elf/tst-tlsmod4.c: Likewise.
46833         * elf/tst-tlsmod5.c: Likewise.
46834         * elf/tst-tlsmod6.c: Likewise.
46836 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46838         [BZ #12486]
46839         * malloc/malloc.c: remove checks for statistics.
46841 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46843         [BZ #15277]
46844         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46845         * inet/tst-network.c: Add testcase.
46847 2013-10-17  Andreas Schwab  <schwab@suse.de>
46849         [BZ #15218]
46850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46851         to determine canonical name.
46853 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46855         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46856         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46857         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46858         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46859         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46860         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46861         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46862         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46863         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46864         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46865         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46866         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46867         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46868         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46869         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46870         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46871         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46872         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46873         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46874         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46875         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46876         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46877         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46878         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46879         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46880         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46881         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46882         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46883         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46884         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46885         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46886         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46887         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46888         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46889         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46890         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46891         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46892         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46893         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46894         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46895         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46896         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46897         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46898         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46899         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46900         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46901         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46902         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46903         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46904         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46905         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46906         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46907         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46908         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46909         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46910         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46911         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46912         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46914 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46916         [BZ #16041]
46917         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46918         make result into a quiet NaN.
46920 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46922         * soft-fp/adddf3.c: Fix horizontal whitespace.
46923         * soft-fp/addsf3.c: Likewise.
46924         * soft-fp/addtf3.c: Likewise.
46925         * soft-fp/divdf3.c: Likewise.
46926         * soft-fp/divsf3.c: Likewise.
46927         * soft-fp/divtf3.c: Likewise.
46928         * soft-fp/double.h: Likewise.
46929         * soft-fp/eqdf2.c: Likewise.
46930         * soft-fp/eqsf2.c: Likewise.
46931         * soft-fp/eqtf2.c: Likewise.
46932         * soft-fp/extenddftf2.c: Likewise.
46933         * soft-fp/extended.h: Likewise.
46934         * soft-fp/extendsfdf2.c: Likewise.
46935         * soft-fp/extendsftf2.c: Likewise.
46936         * soft-fp/extendxftf2.c: Likewise.
46937         * soft-fp/fixdfdi.c: Likewise.
46938         * soft-fp/fixdfsi.c: Likewise.
46939         * soft-fp/fixdfti.c: Likewise.
46940         * soft-fp/fixsfdi.c: Likewise.
46941         * soft-fp/fixsfsi.c: Likewise.
46942         * soft-fp/fixsfti.c: Likewise.
46943         * soft-fp/fixtfdi.c: Likewise.
46944         * soft-fp/fixtfsi.c: Likewise.
46945         * soft-fp/fixtfti.c: Likewise.
46946         * soft-fp/fixunsdfdi.c: Likewise.
46947         * soft-fp/fixunsdfsi.c: Likewise.
46948         * soft-fp/fixunsdfti.c: Likewise.
46949         * soft-fp/fixunssfdi.c: Likewise.
46950         * soft-fp/fixunssfsi.c: Likewise.
46951         * soft-fp/fixunssfti.c: Likewise.
46952         * soft-fp/fixunstfdi.c: Likewise.
46953         * soft-fp/fixunstfsi.c: Likewise.
46954         * soft-fp/fixunstfti.c: Likewise.
46955         * soft-fp/floatdidf.c: Likewise.
46956         * soft-fp/floatdisf.c: Likewise.
46957         * soft-fp/floatditf.c: Likewise.
46958         * soft-fp/floatsidf.c: Likewise.
46959         * soft-fp/floatsisf.c: Likewise.
46960         * soft-fp/floatsitf.c: Likewise.
46961         * soft-fp/floattidf.c: Likewise.
46962         * soft-fp/floattisf.c: Likewise.
46963         * soft-fp/floattitf.c: Likewise.
46964         * soft-fp/floatundidf.c: Likewise.
46965         * soft-fp/floatundisf.c: Likewise.
46966         * soft-fp/floatunditf.c: Likewise.
46967         * soft-fp/floatunsidf.c: Likewise.
46968         * soft-fp/floatunsisf.c: Likewise.
46969         * soft-fp/floatunsitf.c: Likewise.
46970         * soft-fp/floatuntidf.c: Likewise.
46971         * soft-fp/floatuntisf.c: Likewise.
46972         * soft-fp/floatuntitf.c: Likewise.
46973         * soft-fp/fmadf4.c: Likewise.
46974         * soft-fp/fmasf4.c: Likewise.
46975         * soft-fp/fmatf4.c: Likewise.
46976         * soft-fp/gedf2.c: Likewise.
46977         * soft-fp/gesf2.c: Likewise.
46978         * soft-fp/getf2.c: Likewise.
46979         * soft-fp/ledf2.c: Likewise.
46980         * soft-fp/lesf2.c: Likewise.
46981         * soft-fp/letf2.c: Likewise.
46982         * soft-fp/muldf3.c: Likewise.
46983         * soft-fp/mulsf3.c: Likewise.
46984         * soft-fp/multf3.c: Likewise.
46985         * soft-fp/negdf2.c: Likewise.
46986         * soft-fp/negsf2.c: Likewise.
46987         * soft-fp/negtf2.c: Likewise.
46988         * soft-fp/op-1.h: Likewise.
46989         * soft-fp/op-2.h: Likewise.
46990         * soft-fp/op-4.h: Likewise.
46991         * soft-fp/op-8.h: Likewise.
46992         * soft-fp/op-common.h: Likewise.
46993         * soft-fp/quad.h: Likewise.
46994         * soft-fp/single.h: Likewise.
46995         * soft-fp/soft-fp.h: Likewise.
46996         * soft-fp/sqrtdf2.c: Likewise.
46997         * soft-fp/sqrtsf2.c: Likewise.
46998         * soft-fp/sqrttf2.c: Likewise.
46999         * soft-fp/subdf3.c: Likewise.
47000         * soft-fp/subsf3.c: Likewise.
47001         * soft-fp/subtf3.c: Likewise.
47002         * soft-fp/truncdfsf2.c: Likewise.
47003         * soft-fp/trunctfdf2.c: Likewise.
47004         * soft-fp/trunctfsf2.c: Likewise.
47005         * soft-fp/trunctfxf2.c: Likewise.
47006         * soft-fp/unorddf2.c: Likewise.
47007         * soft-fp/unordsf2.c: Likewise.
47008         * soft-fp/unordtf2.c: Likewise.
47010 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
47012         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
47013         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
47015 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
47017         * elf/dl-libc.c: Clear initfini list after freeing.
47019 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
47021         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
47022         * soft-fp/addsf3.c: Likewise.
47023         * soft-fp/addtf3.c: Likewise.
47024         * soft-fp/divdf3.c: Likewise.
47025         * soft-fp/divsf3.c: Likewise.
47026         * soft-fp/divtf3.c: Likewise.
47027         * soft-fp/double.h: Likewise.
47028         * soft-fp/eqdf2.c: Likewise.
47029         * soft-fp/eqsf2.c: Likewise.
47030         * soft-fp/eqtf2.c: Likewise.
47031         * soft-fp/extenddftf2.c: Likewise.
47032         * soft-fp/extended.h: Likewise.
47033         * soft-fp/extendsfdf2.c: Likewise.
47034         * soft-fp/extendsftf2.c: Likewise.
47035         * soft-fp/extendxftf2.c: Likewise.
47036         * soft-fp/fixdfdi.c: Likewise.
47037         * soft-fp/fixdfsi.c: Likewise.
47038         * soft-fp/fixdfti.c: Likewise.
47039         * soft-fp/fixsfdi.c: Likewise.
47040         * soft-fp/fixsfsi.c: Likewise.
47041         * soft-fp/fixsfti.c: Likewise.
47042         * soft-fp/fixtfdi.c: Likewise.
47043         * soft-fp/fixtfsi.c: Likewise.
47044         * soft-fp/fixtfti.c: Likewise.
47045         * soft-fp/fixunsdfdi.c: Likewise.
47046         * soft-fp/fixunsdfsi.c: Likewise.
47047         * soft-fp/fixunsdfti.c: Likewise.
47048         * soft-fp/fixunssfdi.c: Likewise.
47049         * soft-fp/fixunssfsi.c: Likewise.
47050         * soft-fp/fixunssfti.c: Likewise.
47051         * soft-fp/fixunstfdi.c: Likewise.
47052         * soft-fp/fixunstfsi.c: Likewise.
47053         * soft-fp/fixunstfti.c: Likewise.
47054         * soft-fp/floatdidf.c: Likewise.
47055         * soft-fp/floatdisf.c: Likewise.
47056         * soft-fp/floatditf.c: Likewise.
47057         * soft-fp/floatsidf.c: Likewise.
47058         * soft-fp/floatsisf.c: Likewise.
47059         * soft-fp/floatsitf.c: Likewise.
47060         * soft-fp/floattidf.c: Likewise.
47061         * soft-fp/floattisf.c: Likewise.
47062         * soft-fp/floattitf.c: Likewise.
47063         * soft-fp/floatundidf.c: Likewise.
47064         * soft-fp/floatundisf.c: Likewise.
47065         * soft-fp/floatunsidf.c: Likewise.
47066         * soft-fp/floatunsisf.c: Likewise.
47067         * soft-fp/floatuntidf.c: Likewise.
47068         * soft-fp/floatuntisf.c: Likewise.
47069         * soft-fp/floatuntitf.c: Likewise.
47070         * soft-fp/fmadf4.c: Likewise.
47071         * soft-fp/fmasf4.c: Likewise.
47072         * soft-fp/fmatf4.c: Likewise.
47073         * soft-fp/gedf2.c: Likewise.
47074         * soft-fp/gesf2.c: Likewise.
47075         * soft-fp/getf2.c: Likewise.
47076         * soft-fp/ledf2.c: Likewise.
47077         * soft-fp/lesf2.c: Likewise.
47078         * soft-fp/letf2.c: Likewise.
47079         * soft-fp/muldf3.c: Likewise.
47080         * soft-fp/mulsf3.c: Likewise.
47081         * soft-fp/multf3.c: Likewise.
47082         * soft-fp/negdf2.c: Likewise.
47083         * soft-fp/negsf2.c: Likewise.
47084         * soft-fp/negtf2.c: Likewise.
47085         * soft-fp/op-1.h: Likewise.
47086         * soft-fp/op-2.h: Likewise.
47087         * soft-fp/op-4.h: Likewise.
47088         * soft-fp/op-8.h: Likewise.
47089         * soft-fp/op-common.h: Likewise.
47090         * soft-fp/quad.h: Likewise.
47091         * soft-fp/single.h: Likewise.
47092         * soft-fp/soft-fp.h: Likewise.
47093         * soft-fp/sqrtdf2.c: Likewise.
47094         * soft-fp/sqrtsf2.c: Likewise.
47095         * soft-fp/sqrttf2.c: Likewise.
47096         * soft-fp/subdf3.c: Likewise.
47097         * soft-fp/subsf3.c: Likewise.
47098         * soft-fp/subtf3.c: Likewise.
47099         * soft-fp/truncdfsf2.c: Likewise.
47100         * soft-fp/trunctfdf2.c: Likewise.
47101         * soft-fp/trunctfsf2.c: Likewise.
47102         * soft-fp/trunctfxf2.c: Likewise.
47103         * soft-fp/unorddf2.c: Likewise.
47104         * soft-fp/unordsf2.c: Likewise.
47105         * soft-fp/unordtf2.c: Likewise.
47107 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
47109         [BZ #15672]
47110         * misc/error.c (error_tail): Fix possible buffer overflow.
47112 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
47114         [BZ #13028]
47115         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
47116         address.
47118 2013-10-14  P. J. McDermott  <pj@pehjota.net>
47120         [BZ #832]
47121         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
47122         testing pipefail option.
47124 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47126         * soft-fp/double.h: Indent preprocessor directives inside #if.
47127         * soft-fp/extended.h: Likewise.
47128         * soft-fp/op-2.h: Likewise.
47129         * soft-fp/op-4.h: Likewise.
47130         * soft-fp/op-common.h: Likewise.
47131         * soft-fp/quad.h: Likewise.
47132         * soft-fp/single.h: Likewise.
47133         * soft-fp/soft-fp.h: Likewise.
47135 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
47137         * iconv/iconv_prog.c: Fix typos.
47138         * stdio-common/psiginfo-data.h: Likewise.
47140 2013-10-12   Reuben Thomas <rrt@sc3d.org>
47142         [BZ #15764]
47143         * locale/setlocale.c: Fix typo.
47145 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47147         [BZ #16036]
47148         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
47149         signaling NaN arguments.
47150         * soft-fp/unordsf2.c (__unordsf2): Likewise.
47151         * soft-fp/unordtf2.c (__unordtf2): Likewise.
47153         [BZ #14910]
47154         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47155         unordered operands.
47156         * soft-fp/gesf2.c (__gesf2): Likewise.
47157         * soft-fp/getf2.c (__getf2): Likewise.
47158         * soft-fp/ledf2.c (__ledf2): Likewise.
47159         * soft-fp/lesf2.c (__lesf2): Likewise.
47160         * soft-fp/letf2.c (__letf2): Likewise.
47162         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47163         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47164         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47165         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47166         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47167         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47168         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47169         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47170         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47171         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47172         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47173         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47174         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47175         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47176         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47177         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47178         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47179         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47180         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47181         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47182         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47183         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47184         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47185         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47186         * soft-fp/floattidf.c (__floattidf): Likewise.
47187         * soft-fp/floattisf.c (__floattisf): Likewise.
47188         * soft-fp/floattitf.c (__floattitf): Likewise.
47189         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47190         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47191         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47192         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47193         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47194         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47195         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47196         * soft-fp/gesf2.c (__gesf2): Likewise.
47197         * soft-fp/getf2.c (__getf2): Likewise.
47198         * soft-fp/ledf2.c (__ledf2): Likewise.
47199         * soft-fp/lesf2.c (__lesf2): Likewise.
47200         * soft-fp/letf2.c (__letf2): Likewise.
47202         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47203         Undefine and redefine.
47204         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47205         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47206         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47207         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47208         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47209         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47210         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47211         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47212         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47213         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47214         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47215         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47216         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47217         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47218         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47220         [BZ #16032]
47221         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47222         without decrementing exponent if mantissa >= that for the
47223         denominator, not >.
47224         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47225         denominator, not >.  Decrement exponent in < case instead of
47226         incrementing in >= case.
47227         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47228         without decrementing exponent if mantissa >= that for the
47229         denominator, not >.
47231         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47232         computing saturated result for unsigned overflow.
47234 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47235             Jeff Law  <law@redhat.com>
47237         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47238         (atan2Mp): Add systemtap probe marker.
47239         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47240         (__ieee754_log): Add systemtap probe marker.
47241         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47242         (atanMp): Add systemtap probe marker.
47243         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47244         (tanMp): Add systemtap probe marker.
47245         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47246         (__slowexp): Add systemtap probe marker.
47247         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47248         (__slowpow): Add systemtap probe marker.
47249         * manual/probes.texi: Document probes.
47251 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47253         [BZ #15362]
47254         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47255         written.
47256         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47257         written.
47258         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47259         written to buffer but not flushed.
47260         * libio/iofwrite_u.c:  Likewise.
47261         * libio/iopadn.c:  Return bytes returned even if EOF was
47262         encountered.
47263         * libio/iowpadn.c:  Likewise.
47264         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47265         if _IO_padn does not write the whole buffer.
47266         [!COMPILE_WPRINTF] (PAD): Likewise.
47268 2013-10-10  David S. Miller  <davem@davemloft.net>
47270         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47271         directory block.
47273 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47275         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47276         instead of FSF address.
47277         * soft-fp/fixdfti.c: Likewise.
47278         * soft-fp/fixsfti.c: Likewise.
47279         * soft-fp/fixtfti.c: Likewise.
47280         * soft-fp/fixunsdfti.c: Likewise.
47281         * soft-fp/fixunssfti.c: Likewise.
47282         * soft-fp/fixunstfti.c: Likewise.
47283         * soft-fp/floattidf.c: Likewise.
47284         * soft-fp/floattisf.c: Likewise.
47285         * soft-fp/floattitf.c: Likewise.
47286         * soft-fp/floatuntidf.c: Likewise.
47287         * soft-fp/floatuntisf.c: Likewise.
47288         * soft-fp/floatuntitf.c: Likewise.
47289         * soft-fp/trunctfxf2.c: Likewise.
47291         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47292         * soft-fp/fixdfti.c: Likewise.
47293         * soft-fp/fixsfti.c: Likewise.
47294         * soft-fp/fixtfti.c: Likewise.
47295         * soft-fp/fixunsdfti.c: Likewise.
47296         * soft-fp/fixunssfti.c: Likewise.
47297         * soft-fp/fixunstfti.c: Likewise.
47298         * soft-fp/floattidf.c: Likewise.
47299         * soft-fp/floattisf.c: Likewise.
47300         * soft-fp/floattitf.c: Likewise.
47301         * soft-fp/floatuntidf.c: Likewise.
47302         * soft-fp/floatuntisf.c: Likewise.
47303         * soft-fp/floatuntitf.c: Likewise.
47304         * soft-fp/trunctfxf2.c: Likewise.
47306 2013-10-10  David S. Miller  <davem@davemloft.net>
47308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47310 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47312         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47313         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47314         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47315         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47316         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47317         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47318         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47320         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47321         for NaNs before doing comparisons on argument.
47322         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47323         Likewise.
47325 2013-10-10  Will Newton  <will.newton@linaro.org>
47327         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47328         passed to _int_memalign does not overflow.
47330 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47332         * scripts/bench.pl: Add include-sources directive.
47333         * benchtests/README: Update documentation.
47335 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47337         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47338         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47339         instead of FP_INIT_ROUNDMODE.
47340         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47341         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47343         [BZ #16034]
47344         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47345         copy class of input value.
47346         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47347         not handle exceptions.
47348         * soft-fp/negsf2.c (__negsf2): Likewise.
47349         * soft-fp/negtf2.c (__negtf2): Likewise.
47350         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47352 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47354         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47355         semicolon.  From Linux kernel.
47357 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47359         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47361 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47363         [BZ #156]
47364         * manual/socket.texi: Added statement about buffer
47365         for gethostbyname2_r.
47367 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47369         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47370         Use .p2align directive instead, throughout.
47371         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47372         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47373         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47374         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47375         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47376         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47377         * sysdeps/x86_64/strchr.S: Likewise.
47378         * sysdeps/x86_64/strrchr.S: Likewise.
47380 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47382         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47384         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47386         * sysdeps/generic/math_private.h (__mpsin1): Remove
47387         declaration.
47388         (__mpcos1): Likewise.
47389         (__mpsin): New argument __range_reduce.
47390         (__mpcos): Likewise.
47391         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47392         (slow): Use __mpsin and __mpcos.
47393         (slow1): Likewise.
47394         (slow2): Likewise.
47395         (sloww): Likewise.
47396         (sloww1): Likewise.
47397         (sloww2): Likewise.
47398         (bsloww): Likewise.
47399         (bsloww1): Likewise.
47400         (bsloww2): Likewise.
47401         (cslow2): Likewise.
47402         (csloww): Likewise.
47403         (csloww1): Likewise.
47404         (csloww2): Likewise.
47405         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47406         range_reduce.  Merge in __mpsin1.
47407         (__mpcos): Likewise.
47408         (__mpsin1): Remove.
47409         (__mpcos1): Likewise.
47411 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47413         * locale/loadlocale.c (_nl_intern_locale_data): Use
47414         LOCFILE_ALIGNED_P.
47415         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47416         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47417         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47418         obstack data is appropriately aligned.
47419         (obstack_int32_grow_fast): Likewise.
47420         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47421         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47422         (add_locale_uint32_array): Likewise.
47424 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47426         * benchtests/Makefile: Remove ARGLIST and RET variables.
47427         ($(objpfx)bench-%.c): Pass only function name to the script.
47428         * benchtests/README: Update documentation.
47429         * benchtests/acos-inputs: Add new directives.
47430         * benchtests/acosh-inputs: Likewise.
47431         * benchtests/asin-inputs: Likewise.
47432         * benchtests/asinh-inputs: Likewise.
47433         * benchtests/atan-inputs: Likewise.
47434         * benchtests/atanh-inputs: Likewise.
47435         * benchtests/cos-inputs: Likewise.
47436         * benchtests/cosh-inputs: Likewise.
47437         * benchtests/exp-inputs: Likewise.
47438         * benchtests/log-inputs: Likewise.
47439         * benchtests/pow-inputs: Likewise.
47440         * benchtests/rint-inputs: Likewise.
47441         * benchtests/sin-inputs: Likewise.
47442         * benchtests/sinh-inputs: Likewise.
47443         * benchtests/tan-inputs: Likewise.
47444         * benchtests/tanh-inputs: Likewise.
47445         * scripts/bench.pl: Add support for new directives.
47447 2013-10-07  Alan Modra  <amodra@gmail.com>
47449         * README: Fix careless merge.
47451 2013-10-05  Alan Modra  <amodra@gmail.com>
47453         * NEWS: Mention powerpc64le support and bugs fixed.
47454         * README: Both big-endian and little-endian powerpc64 supported.
47456 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47458         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47459         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47460         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47461         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47463 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47465         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47466         match prototype.
47468 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47470         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47471         Move -mhard-float appending from
47472         ports/sysdeps/powerpc/powerpc32/Makefile.
47473         [$(with-fp) = yes] (ASFLAGS): Likewise.
47474         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47475         * sysdeps/powerpc/nofpu: Move directory from
47476         ports/sysdeps/powerpc/nofpu.
47477         * sysdeps/powerpc/soft-fp: Move directory from
47478         ports/sysdeps/powerpc/soft-fp.
47479         * sysdeps/powerpc/powerpc32/405: Move directory from
47480         ports/sysdeps/powerpc/powerpc32/405.
47481         * sysdeps/powerpc/powerpc32/440: Move directory from
47482         ports/sysdeps/powerpc/powerpc32/440.
47483         * sysdeps/powerpc/powerpc32/464: Move directory from
47484         ports/sysdeps/powerpc/powerpc32/464.
47485         * sysdeps/powerpc/powerpc32/476: Move directory from
47486         ports/sysdeps/powerpc/powerpc32/476.
47487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47488         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47490         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47492         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47494         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47496         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47497         * README: Update for powerpc-*-linux-gnu software floating point
47498         support in libc.
47500         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47501         case to powerpc/powerpc32*.
47502         * sysdeps/unix/sysv/linux/configure: Regenerated.
47504         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47505         (_FPU_MASK_OM): Define as 0x04.
47506         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47507         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47508         0x00c10080.
47509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47510         0x0000003c.
47511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47514         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47515         getcontext_e500.
47516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47517         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47518         setcontext_e500.
47519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47520         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47521         and setcontext_e500.
47523 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47525         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47527 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47529         * manual/threads.texi (Default Thread Attributes): Fix typo.
47531 2013-10-04  Will Newton  <will.newton@linaro.org>
47533         * malloc/Makefile: Add tst-memalign.
47534         * malloc/tst-memalign.c: New file.
47536         * malloc/tst-posix_memalign.c: Add comments.
47537         (do_test): Add comments and call free on all potentially
47538         allocated pointers. Add space after cast.
47540         * malloc/tst-pvalloc.c: Add comments.
47541         (do_test): Add comments and call free on all potentially
47542         allocated pointers. Remove duplicate check for NULL pointer.
47543         Add space after cast.
47545         * malloc/tst-valloc.c: Add comments.
47546         (do_test): Add comments and call free on all potentially
47547         allocated pointers. Remove duplicate check for NULL pointer.
47548         Add space after cast.
47550 2013-10-04  Alan Modra  <amodra@gmail.com>
47552         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47553         Use stdint types in rather than __attribute__((mode())).
47554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47556 2013-10-04  Alan Modra  <amodra@gmail.com>
47558         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47559         Correct handling of unaligned relocs for little-endian.
47560         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47562 2013-10-04  Alan Modra  <amodra@gmail.com>
47564         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47565         * configure: Regenerate.
47566         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47567         * shlib-versions: Likewise.
47569 2013-10-04  Alan Modra  <amodra@gmail.com>
47571         * string/tester.c (test_memrchr): Increment reported test cycle.
47573 2013-10-04  Alan Modra  <amodra@gmail.com>
47575         * string/test-memcpy.c (do_one_test): When reporting errors, print
47576         string address and don't overrun end of string.
47578 2013-10-04  Alan Modra  <amodra@gmail.com>
47580         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47581         insrdi.  Make better use of reg selection to speed exit slightly.
47582         Schedule entry path a little better.  Remove useless "are we done"
47583         checks on entry to main loop.  Handle wrapping around zero address.
47584         Correct main loop count.  Handle single left-over word from main
47585         loop inline rather than by using loop_small.  Remove extra word
47586         case in loop_small caused by wrong loop count.  Add little-endian
47587         support.
47588         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47589         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47590         cache hint.
47591         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47592         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47593         support.  Avoid rlwimi.
47594         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47596 2013-10-04  Alan Modra  <amodra@gmail.com>
47598         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47599         insrdi.  Formatting.
47600         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47601         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47602         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47603         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47604         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47605         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47607 2013-10-04  Alan Modra  <amodra@gmail.com>
47609         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47610         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47611         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47612         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47613         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47614         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47615         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47616         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47617         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47618         use of regs.  Use power7 mtocrf.  Tidy function tails.
47620 2013-10-04  Alan Modra  <amodra@gmail.com>
47622         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47623         Formatting.  Consistently use rXXX register defines or rN defines.
47624         Use early exit labels that avoid restoring unused non-volatile regs.
47625         Make cr field use more consistent with rWORDn compares.  Rename
47626         regs used as shift registers for unaligned loop, using rN defines
47627         for short lifetime/multiple use regs.
47628         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47629         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47630         addi 1,1,64 to pop stack frame.  Simplify return value code.
47631         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47633 2013-10-04  Alan Modra  <amodra@gmail.com>
47635         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47636         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47637         rather than rlwimi.
47638         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47639         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47640         little-endian support.  Correct typos.
47641         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47642         rather than rlwimi.
47643         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47644         in loop and entry code to keep "and." results.
47645         (strchr): Add little-endian support.  Comment.  Move cntlzd
47646         earlier in tail.
47647         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47649 2013-10-04  Alan Modra  <amodra@gmail.com>
47651         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47652         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47653         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47654         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47656 2013-10-04  Alan Modra  <amodra@gmail.com>
47658         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47659         (rTMP): Define as r11.
47660         (strcmp): Add little-endian support.  Optimise tail.
47661         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47662         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47663         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47664         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47665         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47666         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47667         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47669 2013-10-04  Alan Modra  <amodra@gmail.com>
47671         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47672         little-endian support.  Remove unnecessary "are we done" tests.
47673         Handle "s" wrapping around zero and extremely large "size".
47674         Correct main loop count.  Handle single left-over word from main
47675         loop inline rather than by using small_loop.  Correct comments.
47676         Delete "zero" tail, use "end_max" instead.
47677         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47679 2013-10-04  Alan Modra  <amodra@gmail.com>
47681         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47682         support.  Don't branch over align.
47683         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47684         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47685         support.  Rearrange tmp reg use to suit.  Comment.
47686         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47688 2013-10-04  Alan Modra  <amodra@gmail.com>
47690         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47692 2013-10-04  Alan Modra  <amodra@gmail.com>
47694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47695         conditional form of branch and link when obtaining pc.
47696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47698 2013-10-04  Alan Modra  <amodra@gmail.com>
47700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47701         HIWORD/LOWORD.
47702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47705 2013-10-04  Alan Modra  <amodra@gmail.com>
47707         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47708         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47709         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47710         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47711         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47712         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47713         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47714         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47715         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47716         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47718 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47719             Alistair Popple <alistair@ozlabs.au.ibm.com>
47720             Alan Modra <amodra@gmail.com>
47722         [BZ #15723]
47723         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47724         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47725         _dl_hwcap access for little-endian.
47726         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47727         destroy vmx regs when saving unaligned.
47728         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47729         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47730         destroy vmx regs when saving unaligned.
47732 2013-10-04  Alan Modra  <amodra@gmail.com>
47734         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47735         Don't use a union to pack hi/low value.
47737 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47739         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47740         for little-endian.
47741         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47742         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47743         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47744         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47745         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47747 2013-10-04  Alan Modra  <amodra@gmail.com>
47749         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47750         constants to usual value for .cst8 section, and remove redundant
47751         high address load.
47752         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47753         constant for 0x1p52.  Load little-endian words of double from
47754         correct stack offsets.
47756 2013-10-04  Alan Modra  <amodra@gmail.com>
47758         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47759         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47760         words of double from correct stack offsets.
47761         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47762         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47763         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47764         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47765         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47766         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47767         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47768         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47769         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47770         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47771         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47772         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47773         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47774         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47775         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47776         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47777         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47779 2013-10-04  Alan Modra  <amodra@gmail.com>
47781         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47782         64-bit int/double union.
47783         (_FPU_SETCW): Likewise.
47784         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47785         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47787 2013-10-04  Alan Modra  <amodra@gmail.com>
47789         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47790         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47792 2013-10-04  Alan Modra  <amodra@gmail.com>
47794         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47795         use vector int constants.
47796         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47798 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47800         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47801         array with long long.
47802         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47803         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47804         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47805         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47806         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47807         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47808         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47809         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47810         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47811         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47812         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47813         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47814         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47816 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47818         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47819         (__signbit): Likewise.  Correct for little-endian.
47820         (__signbitl): Call __signbit.
47821         (lrint): Correct for little-endian.
47822         (lrintf): Call lrint.
47824 2013-10-04  Alan Modra  <amodra@gmail.com>
47826         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47827         union 32-bit int array member with 64-bit int array.
47828         (t515, tm256): Double rather than long double.
47829         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47831 2013-10-04  Alan Modra  <amodra@gmail.com>
47833         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47834         Delete.
47835         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47836         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47837         version of math_ldbl.h.
47839 2013-10-04  Alan Modra  <amodra@gmail.com>
47841         [BZ #15734], [BZ #15735]
47842         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47843         all uses of ieee875 long double macros and unions.  Simplify test
47844         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47845         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47846         normalize after ldbl_extract_mantissa, and don't add hidden bit
47847         already handled.  Don't treat low word of ieee854 mantissa like
47848         low word of IBM long double and mask off bit when testing for
47849         zero.
47850         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47851         all uses of ieee875 long double macros and unions.  Simplify tests
47852         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47853         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47854         two1022, instead use their values.  Recognise that tests for large
47855         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47856         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47857         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47858         test for 0.0L and nan.  Correct negation.
47859         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47860         ieee875 long double macros and unions.  Correct output for large
47861         magnitude x.  Correct absolute value calculation.
47862         (__erfcl): Likewise.
47863         * math/libm-test.inc: Add tests for errors discovered in IBM long
47864         double versions of fmodl, remainderl, erfl and erfcl.
47866 2013-10-04  Alan Modra  <amodra@gmail.com>
47868         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47869         all uses of ieee854 long double macros and unions.  Simplify tests
47870         for long doubles that are fully specified by the high double.
47871         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47872         Likewise.
47873         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47874         Remove dead code too.
47875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47876         (__ieee754_ynl): Likewise.
47877         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47878         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47879         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47880         Remove dead code too.
47881         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47882         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47883         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47884         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47885         Simplify.
47886         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47887         Simplify.
47888         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47889         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47890         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47891         Comment on variable precision.
47892         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47893         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47894         Likewise.
47895         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47896         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47897         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47898         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47899         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47901 2013-10-04  Alan Modra  <amodra@gmail.com>
47903         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47904         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47905         all uses of ieee854 long double macros and unions.
47906         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47907         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47908         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47909         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47910         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47911         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47912         Likewise.
47913         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47914         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47915         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47916         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47917         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47918         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47919         Simplify sign and nan test too.
47920         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47921         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47922         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47923         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47924         Likewise.
47925         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47926         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47927         Likewise.
47928         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47929         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47930         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47931         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47932         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47933         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47935 2013-10-04  Alan Modra  <amodra@gmail.com>
47937         * stdio-common/printf_size.c (__printf_size): Don't use
47938         union ieee854_long_double in fpnum union.
47939         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47940         signbit macro to retrieve sign from long double.
47941         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47942         retrieve sign from long double.
47943         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47944         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47945         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47946         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47947         * math/test-misc.c (main): Don't use union ieee854_long_double.
47949 2013-10-04  Alan Modra  <amodra@gmail.com>
47951         [BZ #15680]
47952         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47953         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47954         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47955         calculation.  Remove unnecessary test for denormal exponent.
47956         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47957         Correct handling of denormals.  Avoid undefined shift behaviour.
47958         Correct normalisation of low mantissa when low double is denormal.
47959         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47960         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47961         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47962         Correct normalisation of low mantissa.  Test for overflow of high
47963         mantissa and normalise.
47964         (ldbl_nearbyint): Use more readable constant for two52.
47965         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47966         (__mpn_construct_long_double): Fix test for overflow of high
47967         mantissa and correct normalisation.  Avoid undefined shift.
47969 2013-10-04  Alan Modra  <amodra@gmail.com>
47971         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47972         (union ibm_extended_long_double): Define as an array of ieee754_double.
47973         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47974         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47975         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47976         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47977         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47978         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47979         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47980         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47981         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47982         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47983         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47985 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47987         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47988         page size instead of calling getpagesize.
47990         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47991         (LOCFILE_ALIGN_MASK): Likewise.
47992         (LOCFILE_ALIGN_UP): Likewise.
47993         (LOCFILE_ALIGNED_P): Likewise.
47994         * locale/programs/ld-collate.c (collate_output): Use the new
47995         macros instead of __alignof__ (int32_t).
47996         * locale/weight.h (findidx): Likewise.
47998 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
48000         [BZ #431]
48001         * manual/string.texi: Fix strncat and wcsncat.
48003 2013-10-03  Brooks Moses  <bmoses@google.com>
48005         [BZ #15915]
48006         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
48007         * Makerules: ...here, and adjust associated comments.
48009 2013-10-02  Will Newton  <will.newton@linaro.org>
48011         * malloc/Makefile: Add tst-pvalloc.
48012         * malloc/tst-pvalloc.c: New file.
48014 2013-10-02  Will Newton  <will.newton@linaro.org>
48016         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
48017         improve test coverage.
48019 2013-10-02  Will Newton  <will.newton@linaro.org>
48021         * malloc/Makefile: Add tst-posix_memalign.
48022         * malloc/tst-posix_memalign.c: New file.
48024 2013-10-01  Eric Blake  <eblake@redhat.com>
48026         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
48027         Use __THROWNL rather than __THROW on static functions.
48029 2013-09-30  Petr Machata  <pmachata@redhat.com>
48031         * elf/elf.h (R_AARCH64_ABS16): New macro.
48032         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
48033         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
48034         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48035         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
48036         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
48037         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
48038         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
48039         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
48040         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
48041         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
48042         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
48043         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
48044         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
48045         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
48046         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
48047         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
48048         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
48049         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48050         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
48051         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
48052         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
48053         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
48054         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
48055         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48056         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
48057         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
48058         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
48059         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
48060         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
48061         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
48062         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
48063         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
48064         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
48065         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
48066         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
48067         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
48068         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
48069         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
48070         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
48071         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
48072         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
48073         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
48074         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
48075         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
48076         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
48077         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
48078         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
48079         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
48080         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
48081         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
48082         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
48083         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
48084         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
48085         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
48086         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
48087         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
48088         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
48089         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
48090         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
48091         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
48092         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
48093         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
48094         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
48095         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
48096         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
48097         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
48098         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
48099         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
48100         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
48101         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
48102         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
48103         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
48104         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
48105         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
48106         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
48107         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
48108         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
48109         (R_AARCH64_TLSDESC_LDR): Likewise.
48110         (R_AARCH64_TLSDESC_ADD): Likewise.
48111         (R_AARCH64_TLSDESC_CALL): Likewise.
48113 2013-09-30  Andreas Schwab  <schwab@suse.de>
48115         [BZ #15048]
48116         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
48117         the nss database lookup.
48118         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48121 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
48123         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48125 2013-09-28  P. J. McDermott  <pj@pehjota.net>
48127         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48128         ${Bash-specific parameter/pattern/string} parameter expansion.
48129         * sysdeps/unix/make-syscalls.sh: Likewise.
48131 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48133         * sysdeps/sh/stackguard-macros.h: New file.
48135 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
48137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48139         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48140         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
48141         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48142         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
48144 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48146         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48147         Fix thread ID register.
48149 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
48151         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
48152         [POSIX || UNIX98]: Require rather than permitting all symbols from
48153         <time.h>.
48154         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48155         element of struct sched_param.
48156         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48157         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48158         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48159         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48160         constant.
48162 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48164         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48165         argument calculation.
48167 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48169         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48170         Expect macro.
48171         [POSIX] (pthread_attr_t): Do not require type.
48172         [POSIX] (pthread_cond_t): Likewise.
48173         [POSIX] (pthread_condattr_t): Likewise.
48174         [POSIX] (pthread_key_t): Likewise.
48175         [POSIX] (pthread_mutex_t): Likewise.
48176         [POSIX] (pthread_mutexattr_t): Likewise.
48177         [POSIX] (pthread_once_t): Likewise.
48178         [POSIX] (pthread_t): Likewise.
48179         [POSIX-based standards] (pthread_atfork): Expect function.
48181 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48182             Richard Sandiford  <richard@codesourcery.com>
48184         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48185         (swap_endianness_p): New extern variable.
48186         (set_big_endian): New inline function.
48187         (maybe_swap_uint32): Likewise.
48188         (maybe_swap_uint32_array): Likewise.
48189         (maybe_swap_uint32_obstack): Likewise.
48190         * locale/programs/locfile.c: Include <stdbool.h>.
48191         (swap_endianness_p): New variable.
48192         (add_locale_uint32): Call maybe_swap_uint32.
48193         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48194         (write_locale_data): Call maybe_swap_uint32_array.
48195         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48196         maybe_swap_uint32.
48197         (obstack_int32_grow_fast): Likewise.
48198         (output_weightwc): Call maybe_swap_uint32_obstack.
48199         (collate_output): Likewise.
48200         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48201         (OPT_LITTLE_ENDIAN): Likewise.
48202         (options): Add --little-endian and --big-endian options.
48203         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48204         * locale/programs/locarchive.c: Include "locfile.h".
48205         (GET): New macro.
48206         (SET): Likewise.
48207         (INC): Likewise.
48208         (create_archive): Use the new macros to access fields of
48209         structures directly mapped from or written to locale archives.
48210         (oldlocrecentcmp): Likewise.
48211         (enlarge_archive): Likewise.
48212         (insert_name): Likewise.
48213         (add_alias): Likewise.
48214         (add_locale): Likewise.
48215         (delete_locales_from_archive): Likewise.
48216         (show_archive_content): Likewise.
48217         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48218         locale data.
48220 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48222         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48223         http://www.gnu.org/doc/freemanuals.texi.
48224         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48226 2013-09-24  Will Newton  <will.newton@linaro.org>
48228         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48229         macro.
48231 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48233         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48234         unsigned char.
48236 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48238         * manual/threads.texi (POSIX Threads): Fix a typo.
48240 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48242         [BZ #14547]
48243         * string/tst-strcoll-overflow.c: New test case.
48244         * string/Makefile (xtests): Add tst-strcoll-overflow.
48245         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48246         cache if string sizes may cause integer overflow.
48248         [BZ #14547]
48249         * string/strcoll_l.c (coll_seq): New members rule, idx,
48250         save_idx and back_us.
48251         (get_next_seq_nocache): New function.
48252         (do_compare_nocache): New function.
48253         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48254         when malloc fails.
48256 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48258         [BZ #15754]
48259         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48260         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48261         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48263         [BZ #15754]
48264         * elf/Makefile (tests): Add tst-ptrguard1.
48265         (tests-static): Add tst-ptrguard1-static.
48266         (tst-ptrguard1-ARGS): Define.
48267         (tst-ptrguard1-static-ARGS): Define.
48268         * elf/tst-ptrguard1.c: New file.
48269         * elf/tst-ptrguard1-static.c: New file.
48270         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48271         * sysdeps/i386/stackguard-macros.h: Likewise.
48272         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48273         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48274         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48275         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48276         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48277         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48279 2013-09-23  Hector Marco  <hecmargi@upv.es>
48280             Ismael Ripoll  <iripoll@disca.upv.es>
48281             Carlos O'Donell  <carlos@redhat.com>
48283         [BZ #15754]
48284         * sysdeps/generic/stackguard-macros.h: Define
48285         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48286         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48287         Define __pointer_chk_guard_local.
48288         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48289         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48291 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48293         [BZ #15859]
48294         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48296 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48298         * include/string.h (__ffs): Declare as hidden.
48299         * string/ffs.c (__ffs): Define as hidden.
48300         * sysdeps/i386/ffs.c (__ffs): Likewise.
48301         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48302         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48303         * sysdeps/s390/ffs.c (__ffs): Likewise.
48304         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48306 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48308         * NEWS: Mention malloc probes.
48310         * malloc/arena.c (new_heap): New memory_heap_new probe.
48311         (grow_heap): New memory_heap_more probe.
48312         (shrink_heap): New memory_heap_less probe.
48313         (heap_trim): New memory_heap_free probe.
48314         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48315         (systrim): New memory_sbrk_less probe.
48316         * manual/probes.texi: Document them.
48318         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48319         * manual/probes.texi: Document it.
48321         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48322         (__libc_realloc): Add memory_realloc_retry probe.
48323         (__libc_memalign): Add memory_memalign_retry probe.
48324         (__libc_valloc): Add memory_valloc_retry probe.
48325         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48326         (__libc_calloc): Add memory_calloc_retry probe.
48327         * manual/probes.texi: Document them.
48329         * malloc/arena.c (get_free_list): Add probe
48330         memory_arena_reuse_free_list.
48331         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48332         and memory_arena_reuse.
48333         (arena_get2) [!PER_THREAD]: Likewise.
48334         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48335         memory_arena_reuse_realloc.
48336         * manual/probes.texi: Document them.
48338         * malloc/malloc.c (__libc_free): Add
48339         memory_mallopt_free_dyn_thresholds probe.
48340         (__libc_mallopt): Add multiple memory_mallopt probes.
48341         * manual/probes.texi: Document them.
48343         * malloc/malloc.c: Include stap-probe.h.
48344         (__libc_mallopt): Add memory_mallopt probe.
48345         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48346         * manual/probes.texi: New.
48347         * manual/Makefile (chapters): Add probes.
48348         * manual/threads.texi: Set next node.
48350 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48352         [BZ #15963, #13985]
48353         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48354         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48355         Add `Chinese' to `nan' entry name.
48357 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48359         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48360         (POLYNOMIAL): Likewise.
48361         (TAYLOR_SINCOS): Likewise.
48362         (TAYLOR_SLOW): Likewise.
48363         (__sin): Use TAYLOR_SINCOS.
48364         (__cos): Likewise.
48365         (slow): Use TAYLOR_SLOW.
48366         (sloww): Likewise.
48367         (bsloww): Likewise.
48368         (csloww): Likewise.
48370 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48372         * stdlib/strtod_l.c: Fix buffer overrun.
48374 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48376         * benchtests/Makefile (bench): Add sincos.
48377         * benchtests/bench-sincos.c: New file.
48379         * math/libm-test.inc (cos_test_data): New test inputs.
48380         (sin_test_data): Likewise.
48382         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48383         macro.
48384         (__sin): Use it.
48385         (__cos): Likewise.
48386         (slow1): Likewise.
48387         (slow2): Likewise.
48388         (sloww1): Likewise.
48389         (sloww2): Likewise.
48390         (bsloww1): Likewise.
48391         (bsloww2): Likewise.
48392         (cslow2): Likewise.
48393         (csloww1): Likewise.
48394         (csloww2): Likewise.
48396         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48397         function.
48398         (__sin): Use it.
48399         (__cos): Likewise.
48401         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48402         gotos.
48403         (__cos): Likewise.
48405 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48407         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48408         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48409         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48410         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48411         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48412         * elf/cache.c (print_entry): Handle the new cache flags.
48414 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48415             Aldy Hernandez  <aldyh@redhat.com>
48417         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48418         Change condition to [_SOFT_FLOAT].
48419         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48429         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48431         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48433         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48434         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48435         declaration.
48437 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48439         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48440         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48441         (__longjmp): Use LOAD_GP to load saved GPRs.
48442         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48443         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48444         (__sigsetjmp): Use SAVE_GP to save GPRs.
48446         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48447         Do not append -msoft-float.
48448         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48450 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48452         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48454 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48456         [BZ #15966]
48457         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48458         (_FPU_GETCW): Use initial "__" on variable and field names but not
48459         on macro parameter name.
48460         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48461         parentheses around reference to macro parameter.
48463 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48465         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48466         prototype.
48467         (ctype_startup): Use uint32_t in cast and sizeof for
48468         ctype->charnames.
48470 2013-09-11  Jia Liu  <proljc@gmail.com>
48472         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48473         __daddr_t_defined.
48474         [__FreeBSD__]: Likewise.
48476 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48479         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48480         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48481         (strchr): Remove __strchr_sse42 ifunc selection.
48482         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48483         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48485 2013-09-11  Will Newton  <will.newton@linaro.org>
48487         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48488         parameter to RES. Remove hardcoded 1000 value.
48489         * benchtests/bench-skeleton.c (main): Pass RES parameter
48490         to TIMING_INIT and multiply result by 1000.
48492 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48496 2013-09-11  Andreas Schwab  <schwab@suse.de>
48498         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48499         if not defined.
48500         (O_TMPFILE) [__USE_GNU]: Define.
48501         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48502         Define.
48504 2013-09-11  Will Newton  <will.newton@linaro.org>
48506         [BZ #15857]
48507         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48508         does not overflow.
48510 2013-09-11  Will Newton  <will.newton@linaro.org>
48512         [BZ #15856]
48513         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48514         does not overflow.
48516 2013-09-11  Will Newton  <will.newton@linaro.org>
48518         [BZ #15855]
48519         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48520         does not overflow.
48522 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48524         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48525         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48526         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48527         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48528         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48530 2013-09-10  Allan McRae  <allan@archlinux.org>
48532         [BZ #15748]
48533         * manual/arith.texi (Parsing of Floats): Clarify
48534         cross-reference.
48536         [BZ #15849]
48537         * manual/install.texi (Running make install): Mention
48538         --enable-pt-chown.
48539         * INSTALL: Regenerated.
48541 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48543         * csu/init-first.c (_init): Remove the !SHARED condition around
48544         FPU control word initialization.
48545         * elf/dl-support.c (_dl_fpu_control): New variable.
48546         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48547         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48548         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48549         * math/test-fpucw-static.c: New file.
48550         * math/test-fpucw-ieee.c: New file.
48551         * math/test-fpucw-ieee-static.c: New file.
48552         * math/Makefile (tests): Add `test-fpucw-ieee' and
48553         `$(tests-static)'.
48554         (tests-static): New variable.
48555         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48556         dependency to...
48557         [($(build-shared),yes)]
48558         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48559         ... this.
48560         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48561         New dependency.
48563 2013-09-09  Allan McRae  <allan@archlinux.org>
48565         [BZ #15939]
48566         * manual/string.texi (Collation Functions): Fix typo in
48567         strcoll example.
48568         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48570         [BZ #15893]
48571         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48573         [BZ #15892]
48574         * libio/memstream.c (open_memstream): Fix memory leak.
48575         * libio/wmemstream.c (open_wmemstream): Likewise.
48577         [BZ #15895]
48578         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48580 2013-09-09  Will Newton  <will.newton@linaro.org>
48582         * malloc/Makefile: Add tst-realloc to tests.
48583         * malloc/tst-realloc.c: New file.
48585 2013-09-09  Allan McRae  <allan@archlinux.org>
48587         [BZ #15844]
48588         * COPYING: Update from GNU website to fix FSF address.
48589         * COPYING.LIB: Likewise.
48591 2013-09-06  David S. Miller  <davem@davemloft.net>
48593         * po/zh_TW.po: Update Chinese (traditional) translation from
48594         translation project.
48596 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48597             Joseph Myers  <joseph@codesourcery.com>
48599         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48600         "localeinfo.h".
48601         (obstack_chunk_alloc): New macro.
48602         (obstack_chunk_free): Likewise.
48603         (record_offset): New function.
48604         (init_locale_data): Likewise.
48605         (align_locale_data): Likewise.
48606         (add_locale_empty): Likewise.
48607         (add_locale_raw_data): Likewise.
48608         (add_locale_raw_obstack): Likewise.
48609         (add_locale_string): Likewise.
48610         (add_locale_wstring): Likewise.
48611         (add_locale_uint32): Likewise.
48612         (add_locale_uint32_array): Likewise.
48613         (add_locale_char): Likewise.
48614         (start_locale_structure): Likewise.
48615         (end_locale_structure): Likewise.
48616         (start_locale_prelude): Likewise.
48617         (end_locale_prelude): Likewise.
48618         (write_locale_data): Take locale_file structure rather than an
48619         iovec.
48620         * locale/programs/locfile.h: Include "obstack.h".
48621         (struct locale_file): Change to store locale file contents instead
48622         of header.
48623         (init_locale_data): New prototype.
48624         (align_locale_data): Likewise.
48625         (add_locale_empty): Likewise.
48626         (add_locale_raw_data): Likewise.
48627         (add_locale_raw_obstack): Likewise.
48628         (add_locale_string): Likewise.
48629         (add_locale_wstring): Likewise.
48630         (add_locale_uint32): Likewise.
48631         (add_locale_uint32_array): Likewise.
48632         (add_locale_char): Likewise.
48633         (start_locale_structure): Likewise.
48634         (end_locale_structure): Likewise.
48635         (start_locale_prelude): Likewise.
48636         (end_locale_prelude): Likewise.
48637         (write_locale_data): Update prototype.
48638         * locale/programs/3level.h (struct TABLE): Remove result field.
48639         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48640         Use new locale_file interface.
48641         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48642         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48643         * locale/programs/ld-address.c (address_output): Use new
48644         locale_file interface.
48645         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48646         NO_ADD_LOCALE.
48647         (collate_finish): Don't call collseq_table_finalize.
48648         (collate_output): Use new locale_file interface.
48649         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48650         in file.
48651         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48652         (TABLE): Move defines earlier in file.
48653         (ELEMENT): Likewise.
48654         (DEFAULT): Likewise.
48655         (wctrans_table_add): Move macro and inline function earlier in
48656         file.
48657         (struct wctype_table): Move type earlier in file.
48658         (add_locale_wctype_table): New static prototype.
48659         (struct locale_ctype_t): Use logical types instead of struct iovec
48660         pointers for members.
48661         (ctype_output): Use new locale_file interface.
48662         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48663         new locale_file interface.
48664         (allocate_arrays): Update for use of new locale_file interface.
48665         * locale/programs/ld-identification.c (identification_output): Use
48666         new locale_file interface.
48667         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48668         * locale/programs/ld-messages.c (messages_output): Likewise.
48669         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48670         * locale/programs/ld-name.c (name_output): Likewise.
48671         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48672         * locale/programs/ld-paper.c (paper_output): Likewise.
48673         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48674         * locale/programs/ld-time.c (time_output): Likewise.
48676 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48678         * benchtests/Makefile: Add memrchr benchmark.
48679         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48680         benchmark as memrchr.
48681         * benchtests/bench-memrchr-ifunc.c: New file.
48682         * benchtests/bench-memrchr.c: New file.
48684 2013-09-06   Will Newton  <will.newton@linaro.org>
48686         * benchtests/Makefile (string-bench): Add memcpy.
48688 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48689             Cong Wang  <amwang@redhat.com>
48691         [BZ #15850]
48692         * sysdeps/unix/sysv/linux/bits/in.h
48693         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48694         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48695         before __USE_KERNEL_IPV6_DEFS uses.
48696         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48697         IPPROTO_BEETPH.
48698         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48699         sockaddr_in6, or ipv6_mreq.
48701 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48703         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48704         memory access for final bytes in some large inputs.
48705         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48707 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48709         * string/test-memrchr.c: New file.
48710         * string/test-memrchr-ifunc.c: New file.
48711         * string/Makefile: Add new memrchr testcase.
48713 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48715         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48716         fanotify_init returns EPERM.
48718 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48720         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48721         errors.
48722         (top level): Treat second token from macro or constant entries for
48723         allowed headers as allowed.
48724         * include/complex.h: Condition internal declarations on
48725         [!_ISOMAC].
48726         * include/fenv.h: Condition include of <stdbool.h> and internal
48727         declarations on [!_ISOMAC].
48729 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48731         [BZ #15923]
48732         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48734 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48736         * configure.in (--enable-versioning): Remove configure option.
48737         (libc_cv_asm_symver_directive): Remove configure test.
48738         (libc_cv_ld_version_script_option): Likewise.
48739         (VERSIONING): Remove variable and AC_SUBST.
48740         (DO_VERSIONING): Remove AC_DEFINE.
48741         * configure: Regenerated.
48742         * config.h.in (DO_VERSIONING): Remove macro.
48743         * Makerules [$(versioning) = yes]: Change conditionals to
48744         [$(build-shared) = yes].
48745         * config.make.in (versioning): Remove variable.
48746         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48747         [$(build-shared) = yes].
48748         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48749         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48750         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48751         [$(build-shared) = yes].
48752         * extra-lib.mk [$(versioning) = yes]: Likewise.
48753         * hurd/Makefile [$(versioning) = yes]: Likewise.
48754         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48755         [SHARED].
48756         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48757         [SHARED].
48758         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48759         [SHARED && !NO_HIDDEN].
48760         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48761         [SHARED].
48762         [SHARED && DO_VERSIONING]: Likewise..
48763         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48764         [$(build-shared) = yes].
48765         * manual/install.texi (--disable-versioning): Remove
48766         documentation.
48767         * INSTALL: Regenerated.
48768         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48769         to [SHARED].
48770         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48771         [$(build-shared) = yes].
48772         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48773         * sysdeps/i386/i686/multiarch/strstr-c.c
48774         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48775         [SHARED && !NO_HIDDEN].
48776         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48777         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48778         * sysdeps/powerpc/powerpc32/dl-machine.c
48779         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48780         * sysdeps/powerpc/powerpc32/sysdep.h
48781         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48782         to [SHARED && PIC && !NO_HIDDEN].
48783         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48784         conditional to [SHARED].
48786 2013-09-04   Will Newton  <will.newton@linaro.org>
48788         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48789         * benchtests/bench-string.h: Include bench-timing.h instead
48790         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48791         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48792         call to HP_TIMING_DIFF_INIT.
48793         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48794         instead of hp-timing.h macros.
48795         * benchtests/bench-memchr.c: Likewise.
48796         * benchtests/bench-memcmp.c: Likewise.
48797         * benchtests/bench-memcpy.c: Likewise.
48798         * benchtests/bench-memmem.c: Likewise.
48799         * benchtests/bench-memmove.c: Likewise.
48800         * benchtests/bench-memset.c: Likewise.
48801         * benchtests/bench-rawmemchr.c: Likewise.
48802         * benchtests/bench-strcasecmp.c: Likewise.
48803         * benchtests/bench-strcasestr.c: Likewise.
48804         * benchtests/bench-strcat.c: Likewise.
48805         * benchtests/bench-strchr.c: Likewise.
48806         * benchtests/bench-strcmp.c: Likewise.
48807         * benchtests/bench-strcpy.c: Likewise.
48808         * benchtests/bench-strcpy_chk.c: Likewise.
48809         * benchtests/bench-strlen.c: Likewise.
48810         * benchtests/bench-strncasecmp.c: Likewise.
48811         * benchtests/bench-strncat.c: Likewise.
48812         * benchtests/bench-strncmp.c: Likewise.
48813         * benchtests/bench-strncpy.c: Likewise.
48814         * benchtests/bench-strnlen.c: Likewise.
48815         * benchtests/bench-strpbrk.c: Likewise.
48816         * benchtests/bench-strrchr.c: Likewise.
48817         * benchtests/bench-strspn.c: Likewise.
48818         * benchtests/bench-strstr.c: Likewise.
48820 2013-09-04  Will Newton  <will.newton@linaro.org>
48822         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48824 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48826         [BZ #15427]
48827         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48828         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48829         * math/libm-test.inc (lgamma_test_data): Add more tests.
48830         * sysdeps/i386/fpu/libm-test-ulps: Update.
48831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48833 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48835         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48837         Add ifunc.
48838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48839         Add strcmp-sse2-unaligned
48840         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48842 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48844         * Versions.def (libc): Add GLIBC_2.19.
48846 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48848         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48849         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48851 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48853         [BZ #14155]
48854         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48855         intermediate calculations in recurrence.
48856         (__ieee754_ynf): Likewise.
48857         * math/libm-test.inc (jn_test_data): Do not allow spurious
48858         underflow exception.  Add more tests.
48859         (yn_test_data): Add more tests.
48860         * sysdeps/i386/fpu/libm-test-ulps: Update.
48861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48863 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48865         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48867 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48869         * csu/init-first.c: Fix then/than typos.
48870         * locale/programs/ld-collate.c: Likewise.
48871         * locale/programs/linereader.h: Likewise.
48872         * manual/charset.texi: Likewise.
48873         * manual/filesys.texi: Likewise.
48874         * manual/stdio.texi: Likewise.
48875         * manual/string.texi: Likewise.
48876         * stdlib/fmtmsg.c: Likewise.
48877         * sysdeps/i386/stpncpy.S: Likewise.
48878         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48879         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48880         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48881         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48883 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48885         * elf/dl-open.c: Fix typos.
48886         * iconvdata/gbbig5.c: Likewise.
48887         * iconvdata/iso-2022-jp.c: Likewise.
48888         * iconv/gconv_int.h: Likewise.
48889         * iconv/loop.c: Likewise.
48890         * nis/rpcsvc/nis.h: Likewise.
48891         * resolv/ns_name.c: Likewise.
48892         * stdio-common/vfscanf.c: Likewise.
48893         * streams/stropts.h: Likewise.
48894         * sunrpc/rpc_thread.c: Likewise.
48895         * sysdeps/i386/strpbrk.S: Likewise.
48896         * sysdeps/ieee754/k_standard.c: Likewise.
48897         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48898         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48899         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48900         * sysdeps/mach/hurd/profil.c: Likewise.
48901         * sysdeps/s390/dl-procinfo.h: Likewise.
48902         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48903         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48904         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48905         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48906         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48908 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48910         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48913 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48915         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48916         aix specific files.
48917         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48918         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48919         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48920         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48921         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48922         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48923         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48924         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48926 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48927             Roland McGrath  <roland@hack.frob.com>
48929         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48930         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48932 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48934         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48935         __executable_start symbol instead of _start.
48937 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48939         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48940         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48941         Move macros to...
48942         * sysdeps/gnu/ldsodefs.h: ... this new file.
48944         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48945         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48946         instead of ELFOSABI_LINUX.
48948         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48949         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48950         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48951         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48952         Likewise.
48953         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48954         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48955         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48956         Likewise.
48957         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48958         (ibm_extended_long_double): Add ieee_nan member.
48959         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48960         (do_test): New function.
48962         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48963         TEST_TRUNC.
48964         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48965         functions, renamed from truncdfsf_test, trunctfsf_test,
48966         trunctfdf_test.
48967         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48968         functions.
48969         (do_test): Run all these.
48971 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48973         * argp/argp-help.c: Fix typos.
48974         * argp/argp-parse.c: Likewise.
48975         * debug/backtracesyms.c: Likewise.
48976         * elf/elf.h: Likewise.
48977         * malloc/malloc.c: Likewise.
48978         * nis/nis_print.c: Likewise.
48979         * resolv/res_comp.c: Likewise.
48980         * stdlib/stdlib.h: Likewise.
48981         * sunrpc/clnt_tcp.c: Likewise.
48982         * sunrpc/clnt_udp.c: Likewise.
48983         * sunrpc/clnt_unix.c: Likewise.
48984         * sysdeps/unix/bsd/ptsname.c: Likewise.
48985         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48986         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48988         Likewise.
48989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48990         Likewise.
48991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48992         Likewise.
48993         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48995 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48997         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48998         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49000 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
49002         [BZ #15897]
49003         * dlfcn/Makefile (tests): Add bug-dl-leaf.
49004         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
49005         ($(objpfx)bug-dl-leaf): New rule.
49006         ($(objpfx)bug-dl-leaf.so): Likewise.
49007         ($(objpfx)bug-dl-leaf.out): Likewise.
49008         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
49009         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
49010         * dlfcn/bug-dl-leaf.c: New test.
49011         * dlfcn/bug-dl-leaf-lib.c: Likewise.
49012         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
49013         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
49014         (dlclose): Likewise.
49015         (dlmopen): Likewise.
49017 2013-08-27  Roland McGrath  <roland@hack.frob.com>
49019         * include/netdb.h [!_ISOMAC]:
49020         Don't include <tls.h>.
49021         (h_errno, __libc_h_errno): Move declaration and macros out of
49022         [_LIBC_REENTRANT].
49024         * include/resolv.h [_RESOLV_H_]:
49025         Don't include <tls.h>.
49026         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
49027         * resolv/res_libc.c: Don't include <tls.h>.
49028         (_res): Use __attribute__ ((nocommon)) in place of
49029         __attribute__ ((section (".bss"))).
49031         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
49032         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
49034         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
49036         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
49037         only under [SIOCGIFCONF && SIOCGIFNETMASK].
49039         * resolv/res_mkquery.c: Include <sys/time.h>.
49041         * inet/ifreq.c: Moved to ...
49042         * sysdeps/unix/ifreq.c: ... here.
49043         * inet/ifreq.c: New file, true stub version.
49045         * socket/sa_len.c: New file.
49046         * socket/Makefile (aux): Add it.
49047         * sysdeps/unix/sysv/linux/Makefile
49048         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
49049         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
49050         and #include <socket/sa_len.c>.
49051         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
49052         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
49054         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
49055         * bits/socket.h: ... here.
49057         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
49058         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
49059         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
49061 2013-08-27  Andreas Schwab  <schwab@suse.de>
49063         [BZ #15736]
49064         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
49065         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
49066         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
49067         * string/test-strcasecmp.c (test_main): Run tests in several
49068         locales.
49069         * string/test-strncasecmp.c (test_main): Likewise.
49071         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
49072         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
49073         to __strcasecmp_nonascii and __strncasecmp_nonascii.
49074         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
49075         (__strncasecmp_ssse3) [PIC]: Likewise.
49077 2013-08-26  Roland McGrath  <roland@hack.frob.com>
49079         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
49081         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
49082         instead of explicitly declaring xdecrypt.
49083         * nis/nss_nis/nis-publickey.c: Likewise.
49085 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49087         [BZ #15890]
49088         * nscd/aicache.c: Include res_hconf.h.
49089         (addhstaiX): Initialize res_hconf.
49091 2013-08-26  Andreas Schwab  <schwab@suse.de>
49093         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
49094         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
49096 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49098         * nscd/aicache.c (addhstaiX): Fix indentation.
49100 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
49102         * configure.ac: Quote $build_pt_chown test.
49103         * configure: Regenerated.
49105 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
49107         [BZ #15532]
49108         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
49109         * math/s_cexpf.c (__cexpf): Likewise.
49110         * math/s_cexpl.c (__cexpl): Likewise.
49111         * math/libm-test.inc (cexp_test_data): Correct expected return
49112         value for NaN + i0.  Add another test.
49114 2013-08-22  David S. Miller  <davem@davemloft.net>
49116         * po/ca.po: Update Catalan translation from translation project.
49117         * po/uk.po: Add Ukrainian translations from translation project.
49119 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
49121         [BZ #15797]
49122         * math/s_fdim.c (__fdim): Check for infinite arguments if result
49123         is infinite, not alongside NaN test.
49124         * math/s_fdimf.c (__fdimf): Likewise.
49125         * math/s_fdiml.c (__fdiml): Likewise.
49126         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
49127         errno is unchanged.
49129 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
49131         * argp/argp-help.c: Fix typos.
49132         * crypt/speeds.c: Likewise.
49133         * csu/check_fds.c: Likewise.
49134         * elf/dl-load.c: Likewise.
49135         * elf/dl-open.c: Likewise.
49136         * elf/reldep3.c: Likewise.
49137         * elf/reldep.c: Likewise.
49138         * elf/sprof.c: Likewise.
49139         * iconv/iconv_charmap.c: Likewise.
49140         * iconv/skeleton.c: Likewise.
49141         * iconv/strtab.c: Likewise.
49142         * io/lockf64.c: Likewise.
49143         * libio/libioP.h: Likewise.
49144         * resolv/gai_notify.c: Likewise.
49145         * resolv/ns_name.c: Likewise.
49146         * resolv/ns_samedomain.c: Likewise.
49147         * resolv/res_send.c: Likewise.
49148         * stdlib/random.c: Likewise.
49149         * sunrpc/rpc/xdr.h: Likewise.
49150         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
49151         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49152         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49153         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49154         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49155         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49156         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49157         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49158         * sysdeps/mach/hurd/check_fds.c: Likewise.
49159         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49160         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49161         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49162         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49163         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49164         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49165         * sysdeps/pthread/aio_notify.c: Likewise.
49166         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49167         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49168         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49169         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49170         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49172 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49174         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49175         version if bit_Slow_SSE4_2 is set.
49176         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49177         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49179 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49181         [BZ #15867]
49182         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49183         trampoline stack frame information.
49184         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49185         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49186         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49187         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49188         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49189         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49190         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49191         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49192         sa_flags value.
49193         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49194         interrupting a syscall and set with option SA_SIGINFO.
49196 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49198         [BZ #15531]
49199         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49200         argument is infinite.
49201         * math/s_cprojf.c (__cprojf): Likewise.
49202         * math/s_cprojl.c (__cprojl): Likewise.
49203         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49204         * math/libm-test.inc (cproj_test_data): Add more tests.
49206         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49208         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49209         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49210         size.  Use __ffs to determine corresponding shift.
49212 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49213             Roland McGrath  <roland@hack.frob.com>
49215         * Makefile (INSTALL): Remove trailing blank lines from output of
49216         makeinfo.
49218 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49220         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49221         Align 32 bit compat elf_greg to 8 bytes.
49223 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49225         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49227 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49229         * string/strcoll_l.c (coll_seq): New structure.
49230         (get_next_seq_cached): New function.
49231         (get_next_seq): New function.
49232         (do_compare): New function.
49233         (STRCOLL): Use GNU style definition.  Simplify implementation
49234         by using get_next_seq, get_next_seq_cached and do_compare.
49236 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49238         [BZ #14699]
49239         CVE-2013-4237
49240         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49241         member.
49242         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49243         member.
49244         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49245         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49246         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49247         conditional.
49248         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49249         GETDENTS_64BIT_ALIGNED.
49250         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49251         * manual/filesys.texi (Reading/Closing Directory): Document
49252         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49253         strongly.
49254         * manual/conf.texi (Limits for Files): Add portability note to
49255         NAME_MAX, PATH_MAX.
49256         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49258 2013-08-13  Andreas Schwab  <schwab@suse.de>
49260         [BZ #15749]
49261         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49262         of fabs.
49263         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49264         LDBL_MAX_EXP >= 16384]: Add tests for it.
49266 2013-08-12  David S. Miller  <davem@davemloft.net>
49268         * version.h (RELEASE): Set to "development".
49269         (VERSION): Set to "2.18.90".
49270         * NEWS: Add 2.19 section.
49272 2013-08-03  David S. Miller  <davem@davemloft.net>
49274         * po/ko.po: Update Korean translation from translation project.
49276 2013-08-01  David S. Miller  <davem@davemloft.net>
49278         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49279         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49280         Bilka.
49282 2013-07-30  David S. Miller  <davem@davemloft.net>
49284         * po/fr.po: Update French translation from translation project.
49286 2013-07-28  David S. Miller  <davem@davemloft.net>
49288         * po/cs.po: Update Czech translation from translation project.
49290         * po/sv.po: Update Swedish translation from translation project.
49292 2013-07-27  David S. Miller  <davem@davemloft.net>
49294         * po/eo.po: Update Esperanto translation from translation project.
49296         * po/vi.po: Update Vietnamese translation from translation project.
49298         * po/de.po: Update German translation from translation project.
49300 2013-07-26  David S. Miller  <davem@davemloft.net>
49302         * po/bg.po: Update Bulgarian translation from translation project.
49304         * po/nl.po: Update Dutch translation from translation project.
49305         * po/pl.po: Update Polish translation from translation project.
49306         * po/ru.po: Update Russian translation from translation project.
49308 2013-07-24  David S. Miller  <davem@davemloft.net>
49310         * po/libc.pot: Update.
49312 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49314         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49315         variable page size.
49316         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49317         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49318         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49320 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49322         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49324 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49325             Andreas Schwab  <schwab@suse.de>
49326             Roland McGrath  <roland@hack.frob.com>
49327             Joseph Myers  <joseph@codesourcery.com>
49328             Carlos O'Donell  <carlos@redhat.com>
49330         [BZ #15755]
49331         * config.h.in: Define HAVE_PT_CHOWN.
49332         * config.make.in (build-pt-chown): New variable.
49333         * configure.in (--enable-pt_chown): New configure option.
49334         * configure: Regenerate.
49335         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49336         build-pt-chown is enabled.
49337         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49338         pt_chown to fix pty ownership.
49339         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49340         CLOSE_ALL_FDS.
49341         * manual/install.texi (Configuring and compiling): Mention
49342         --enable-pt_chown. Add @findex for grantpt.
49343         * INSTALL: Regenerate.
49345 2013-07-20  David S. Miller  <davem@davemloft.net>
49347         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49348         difference between 32-bit and 64-bit.
49350 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49352         [BZ #15711]
49353         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49354         Avoid system header dependency with -ffreestanding.
49355         ($(objpfx)bits/syscall%d): Likewise.
49357 2013-07-13  David S. Miller  <davem@davemloft.net>
49359         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49360         underflows from atanl/atan2l due to bug 15319.
49361         (casinh_test_data): Likewise.
49363 2013-07-07  David S. Miller  <davem@davemloft.net>
49365         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49367 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49369         * sysdeps/i386/fpu/libm-test-ulps: Update.
49370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49372 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49374         * configure.in (--enable-lock-elision): Fix message text.
49375         * INSTALL: Regenerate.
49376         * configure: Regenerate.
49378 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49382 2013-07-03  Andreas Jaeger  <aj@suse.de>
49384         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49385         define.
49386         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49387         (ptrace_peeksiginfo_args): Add.
49388         (__ptrace_peeksiginfo_flags): Add.
49389         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49390         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49391         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49393 2013-07-03  Allan McRae  <allan@archlinux.org>
49395         * sysdeps/i386/fpu/libm-test-ulps: Update.
49397 2013-07-02  David S. Miller  <davem@davemloft.net>
49399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49401 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49405 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49407         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49410 2013-07-02  Andi Kleen <ak@linux.intel.com>
49412         * config.h.in (ENABLE_LOCK_ELISION): Add.
49413         * configure.in (--enable-lock-elision): Add option.
49414         * manual/install.texi: Document --enable lock elision.
49415         * configure: Regenerate
49416         * INSTALL: Regenerate.
49418 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49420         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49421         SSE4.2 strcasecmp for libc.a.
49422         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49424 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49426         [BZ #13304]
49427         * soft-fp/op-common.h (_FP_FMA): New macro.
49428         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49429         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49430         (_FP_MUL_MEAT_1_imm): ... here.
49431         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49432         (_FP_MUL_MEAT_1_wide): ... here.
49433         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49434         (_FP_MUL_MEAT_1_hard): ... here.
49435         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49436         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49437         (_FP_MUL_MEAT_2_wide): ... here.
49438         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49439         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49440         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49441         (_FP_MUL_MEAT_2_gmp): ... here.
49442         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49443         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49444         (_FP_MUL_MEAT_4_wide): ... here.
49445         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49446         (_FP_MUL_MEAT_4_gmp): ... here.
49447         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49448         (_FP_WFRACBITS_DW_S): Likewise.
49449         (_FP_WFRACXBITS_DW_S): Likewise.
49450         (_FP_HIGHBIT_DW_S): Likewise.
49451         (FP_FMA_S): Likewise.
49452         (_FP_FRAC_HIGH_DW_S): Likewise.
49453         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49454         (_FP_WFRACBITS_DW_D): Likewise.
49455         (_FP_WFRACXBITS_DW_D): Likewise.
49456         (_FP_HIGHBIT_DW_D): Likewise.
49457         (FP_FMA_D): Likewise.
49458         (_FP_FRAC_HIGH_DW_D): Likewise.
49459         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49460         (_FP_WFRACBITS_DW_E): Likewise.
49461         (_FP_WFRACXBITS_DW_E): Likewise.
49462         (_FP_HIGHBIT_DW_E): Likewise.
49463         (FP_FMA_E): Likewise.
49464         (_FP_FRAC_HIGH_DW_E): Likewise.
49465         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49466         (_FP_WFRACBITS_DW_Q): Likewise.
49467         (_FP_WFRACXBITS_DW_Q): Likewise.
49468         (_FP_HIGHBIT_DW_Q): Likewise.
49469         (FP_FMA_Q): Likewise.
49470         (_FP_FRAC_HIGH_DW_Q): Likewise.
49471         * soft-fp/fmasf4.c: New file.
49472         * soft-fp/fmadf4.c: Likewise.
49473         * soft-fp/fmatf4.c: Likewise.
49475 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49478         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49479         Silvermont.
49480         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49481         macro.
49482         (index_Slow_SSE4_2): Likewise.
49483         (index_Prefer_PMINUB_for_stringop): Likewise.
49484         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49485         bit_Slow_SSE4_2 is set.
49486         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49487         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49489 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49491         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49492         rtld_global._dl_hwcap2.
49493         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49494         POWER8.
49495         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49496         POWER8 feature descriptions defined in _dl_hwcap2.
49497         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49498         string handling for POWER8 feature bits.
49499         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49500         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49501         _dl_powerpc_cap_flags.
49502         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49503         * sysdeps/powerpc/rtld-global-offsets.sym
49504         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49505         _dl_hwcap2 in the rtld_global_ro structure.
49507 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49509         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49510         hardware capabilities in support of AT_HWCAP2.
49511         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49512         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49513         GLRO(dl_hwcap2).
49514         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49515         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49516         explicitly the unknown a_type display mechanism is used.
49517         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49518         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49519         struct member.
49520         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49521         to macro prototype for AT_HWCAP2 support.
49522         * sysdeps/i386/dl-procinfo.h: Likewise.
49523         * sysdeps/s390/dl-procinfo.h: Likewise.
49524         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49525         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49526         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49527         return -1 for unknown a_type display fallback.
49528         * sysdeps/sparc/dl-procinfo.h: Likewise.
49529         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49530         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49532 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49534         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49535         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49537 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49539         [BZ #12492]
49540         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49541         mprotect making __stack_prot writable.
49543 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49544             Joseph Myers  <joseph@codesourcery.com>
49546         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49547         as being properly aligned.
49549 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49551         * dlfcn/modstatic5.c: New file.
49552         * dlfcn/tststatic5.c: New file.
49553         * dlfcn/Makefile (tests): Add tststatic5.
49554         (tests-static): Likewise.
49555         (modules-names): Add modstatic5.
49556         (tststatic5-ENV): New variable.
49557         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49559         [BZ #15022]
49560         * elf/dl-support.c (_dl_main_map): New variable.
49561         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49562         (_dl_nns, _dl_load_adds): Set to 1.
49563         (_dl_initial_searchlist): Refer to _dl_main_map.
49564         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49565         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49566         call to _dl_get_origin.
49567         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49568         around call_map.
49569         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49570         * dlfcn/modstatic3.c: New file.
49571         * dlfcn/tststatic3.c: New file.
49572         * dlfcn/tststatic4.c: New file.
49573         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49574         (tests-static): Likewise.
49575         (modules-names): Add modstatic3.
49576         (tststatic3-ENV, tststatic4-ENV): New variables.
49577         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49578         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49580 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49582         * configure.in (CC): Require GCC version 4.4 or later.
49583         * configure: Regenerated.
49584         * manual/install.texi (Tools for Compilation): Update GCC version
49585         requirement.
49586         * INSTALL: Regenerated.
49588 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49590         [BZ #15674]
49591         * string/test-memcmp.c (check2): New.
49592         (main): Call check2.
49594         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49596 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49598         [BZ #15022]
49599         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49600         over to...
49601         (dl_open_worker) [!SHARED]: ... here.
49603 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49605         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49607 2013-06-25  Richard Henderson  <rth@redhat.com>
49609         * locale/programs/locarchive.c: Include <libc-internal.h>
49611 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49613         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49614         trailing whitespace removed.
49616 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49618         [BZ #10283]
49619         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49620         * locale/programs/locarchive.c: Include libc-mmap.h.
49621         (prepare_address_space): Take two new outputs (the mmap base and len).
49622         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49623         values.
49624         (create_archive): Declare new mmap base and len values for
49625         prepare_address_space, and store the result in ah.
49626         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49627         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49628         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49629         Declare new mmap base and len values for
49630         prepare_address_space, and store the result in new_ah.
49631         (open_archive): Declare new mmap base and len values for
49632         prepare_address_space, and store the result in ah.
49633         (close_archive): If ah->mmap_base is not NULL, use that and
49634         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49635         * sysdeps/generic/libc-mmap.h: New file.
49637 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49639         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49640         (ALIGN_UP): Likewise.
49641         (PTR_ALIGN_DOWN): Likewise.
49642         (PTR_ALIGN_UP): Likewise.
49644 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49646         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49647         entry mapped to PPC_PLATFORM_POWER8.
49648         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49649         POWER8.
49650         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49651         (_dl_string_platform): Add case for exporting platform position for
49652         POWER8.
49653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49654         search path to sysdeps/powerpc/powerpc32/power8 directory.
49655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49656         search path to sysdeps/powerpc/powerpc64/power8 directory.
49657         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49658         power7 directories.
49659         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49660         power7 directories.
49662 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49664         * INSTALL: Regenerate.
49666         * nscd/connections.c (nscd_init): Fix comment.
49668 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49670         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49672         [BZ #15667]
49673         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49674         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49676 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49678         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49679         DL_DST_REQ_STATIC.
49680         (DL_DST_REQ_STATIC): Remove macro.
49682 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49684         [BZ #7006]
49685         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49686         with a shift of 0 bits.
49688 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49690         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49691         $(tststatic-ENV).
49693 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49695         [BZ #15655]
49696         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49698 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49700         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49701         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49702         accepts -fno-tree-loop-distribute-patterns.
49703         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49704         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49705         recursive call.
49706         * string/memset.c (memset): Likewise.
49707         * string/test-memmove.c (simple_memmove): Disable loop transformation
49708         to library calls.
49709         * string/test-memset.c (simple_memset): Likewise.
49710         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49711         * benchtests/bench-memset.c (simple_memset): Likewise.
49712         * configure: Regenerated.
49714 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49716         * math/test-misc.c (main): Ignore fesetround failure when failures
49717         of subsequent rounding tests would be ignored.
49719         [BZ #15654]
49720         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49721         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49722         * math/fegetenv.c (__fegetenv): Return 0.
49723         * math/fegetexcept.c (fegetexcept): Return 0.
49724         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49725         FE_TONEAREST.
49726         * math/feholdexcpt.c (feholdexcept): Return 0.
49727         * math/fesetenv.c (__fesetenv): Return 0.
49728         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49729         argument FE_TONEAREST.
49730         * math/feupdateenv.c (__feupdateenv): Return 0.
49731         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49733 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49735         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49736         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49737         ($(objpfx)rtld-%.os rules): Use them.
49739 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49741         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49742         fields.
49744 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49746         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49747         length of target pattern, then descending length of dependency pattern.
49748         * configure.in (AWK): Require gawk 3.1.2 or newer.
49749         * manual/install.texi (Tools for Compilation): Say that we do.
49750         * configure: Regenerated.
49752         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49753         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49754         * scripts/sysd-rules.awk: ... this new script.
49755         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49756         than a glob-style pattern.
49758 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49760         * math/test-misc.c (main): Do not treat incorrectly rounded
49761         conversions as failure unless ROUNDING_TESTS passes.
49763 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49765         [BZ #15631]
49766         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49767         restore exception state around main square root computation, then
49768         check for inexactness explicitly.
49770         * math/libm-test.inc (fma_test_data): Add another test.
49772 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49774         * manual/threads.texi (Non-POSIX Extensions): New document
49775         node.  Document pthread_getattr_default_np and
49776         pthread_setattr_default_np.
49778         * Versions.def (libpthread): Add GLIBC_2.18.
49779         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49781         Likewise.
49782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49783         Likewise.
49784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49785         Likewise.
49786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49787         Likewise.
49788         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49789         Likewise.
49790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49791         Likewise.
49792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49793         Likewise.
49794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49795         Likewise.
49796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49797         Likewise.
49799 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49801         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49802         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49804 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49805             H.J. Lu  <hjl.tools@gmail.com>
49807         [BZ #15627]
49808         * sysdeps/x86_64/rtld-memset.c: Remove file.
49809         * sysdeps/x86_64/rtld-memset.S: New file.
49811 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49813         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49814         (test_in_one_mode): Take arguments for whether the rounding mode
49815         is supported for each floating-point type.
49816         (do_test): Pass new arguments to test_in_one_mode using
49817         ROUNDING_TESTS.
49819 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49821         * posix/tst-waitid.c (do_test): Distinguish different instances of
49822         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49823         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49824         before entering the kernel for waitpid.
49826 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49828         * NEWS: Fix note on clock function precision.  Text by Roland
49829         McGrath.
49831 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49833         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49834         it into place only when and if the sanity check passes.
49836 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49838         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49839         output for whether conversion result is exact.  Take argument
49840         indicating whether type is IBM long double.
49841         (round_for_all): Change need_exact field to ibm_ld.
49842         * stdlib/tst-strtod-round.c (struct exactness): New type.
49843         (struct test): Change bool ld_ok field to struct exactness exact.
49844         (TEST): Update all definitions for change to field.
49845         (tests): Regenerate array contents.
49846         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49847         field value.  Check for IBM long double here.
49848         (do_test): Update calls to test_in_one_mode.
49850 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49852         [BZ #12515]
49853         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49854         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49856 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49858         [BZ #15605]
49859         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49860         generated by the compiler on loop optimizations.
49861         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49862         general definitions.
49864 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49866         * math/bug-nextafter.c: Include <math-tests.h>.
49867         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49868         the relevant type.
49869         * math/bug-nexttoward.c: Include <math-tests.h>.
49870         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49871         the relevant type.
49872         * math/test-misc.c: Include <math-tests.h>.
49873         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49874         the relevant type.
49876 2013-06-12  Andreas Jaeger  <aj@suse.de>
49878         * po/ia.po: Update Interlingua translation from translation
49879         project.
49881 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49883         * include/fenv.h: Include stdbool.h.
49884         (struct rm_ctx): New structure.
49885         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49886         Define macro.
49887         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49888         (SET_RESTORE_ROUNDF): Likewise.
49889         (SET_RESTORE_ROUNDL): Likewise.
49890         (SET_RESTORE_ROUND_NOEX): Likewise.
49891         (SET_RESTORE_ROUND_NOEXF): Likewise.
49892         (SET_RESTORE_ROUND_NOEXL): Likewise.
49893         (SET_RESTORE_ROUND_53BIT): Likewise.
49894         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49895         (libc_feresetround_noexf_ctx): Likewise.
49896         (libc_feresetround_noexl_ctx): Likewise.
49897         (libc_feholdsetround_53bit_ctx): Likewise.
49898         (libc_feresetround_53bit_ctx): Likewise.
49899         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49900         (libc_feholdexcept_setround_sse_ctx): New function.
49901         (libc_fesetenv_sse_ctx): Likewise.
49902         (libc_feupdateenv_sse_ctx): Likewise.
49903         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49904         (libc_feholdexcept_setround_387_ctx): Likewise.
49905         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49906         (libc_feholdsetround_387_prec_ctx): Likewise.
49907         (libc_feholdsetround_387_ctx): Likewise.
49908         (libc_feholdsetround_387_53bit_ctx): Likewise.
49909         (libc_feholdsetround_sse_ctx): Likewise.
49910         (libc_feresetround_sse_ctx): Likewise.
49911         (libc_feresetround_387_ctx): Likewise.
49912         (libc_feupdateenv_387_ctx): Likewise.
49913         (libc_feholdexcept_setroundf_ctx): Define macro.
49914         (libc_fesetenvf_ctx): Likewise.
49915         (libc_feupdateenvf_ctx): Likewise.
49916         (libc_feholdsetroundf_ctx): Likewise.
49917         (libc_feresetroundf_ctx): Likewise.
49918         (libc_feholdexcept_setround_ctx): Likewise.
49919         (libc_fesetenv_ctx): Likewise.
49920         (libc_feupdateenv_ctx): Likewise.
49921         (libc_feholdsetround_ctx): Likewise.
49922         (libc_feresetround_ctx): Likewise.
49923         (libc_feholdexcept_setroundl_ctx): Likewise.
49924         (libc_feupdateenvl_ctx): Likewise.
49925         (libc_feholdsetroundl_ctx): Likewise.
49926         (libc_feresetroundl_ctx): Likewise.
49927         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49928         (libc_feresetround_53bit_ctx): Likewise.
49930 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49932         * locale/iso-639.def: Convert to UTF-8.
49934 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49936         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49937         (EXCEPTION_TESTS_double): Likewise.
49938         (EXCEPTION_TESTS_long_double): Likewise.
49939         (EXCEPTION_TESTS): Likewise.
49940         * math/libm-test.inc (test_exceptions): Only test exceptions if
49941         EXCEPTION_TESTS (FLOAT).
49943 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49945         * benchtests/Makefile (string-bench): Add strcpy_chk and
49946         stpcpy_chk.
49947         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49948         * benchtests/bench-stpcpy_chk.c: New file.
49949         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49950         * benchtests/bench-strcpy_chk.c: New file.
49951         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49952         code.
49953         (do_test): Likewise.
49955 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49957         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49958         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49959         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49960         with tabs where appropriate.
49961         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49962         dl-procinfo.h.
49963         [PPC_PLATFORM_PPC440]: Likewise.
49964         [PPC_PLATFORM_PPC464]: Likewise.
49965         [PPC_PLATFORM_PPC476]: Likewise.
49966         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49967         ppc464, and ppc476 platform strings merging from ports/
49968         dl-procinfo.h.
49970 2013-06-11  Andreas Schwab  <schwab@suse.de>
49972         [BZ #14991]
49973         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49974         (from_ucs4_idx): Regenerate.
49975         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49976         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49977         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49978         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49979         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49980         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49981         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49982         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49983         from FROM_LOOP and TO_LOOP specific macros.
49984         (BODY): Handle combining characters.
49985         * iconvdata/BIG5HKSCS.irreversible: Update.
49986         * iconvdata/BIG5HKSCS.precomposed: New file.
49987         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49988         characters.
49989         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49991 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49993         * include/sys/time.h: Fix indentation and add copyright header.
49995         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49996         (do_test): Likewise.
49997         * string/test-memchr.c (do_one_test): Likewise.
49998         (do_test): Likewise.
49999         * string/test-memcmp.c (do_one_test): Likewise.
50000         (do_test): Likewise.
50001         * string/test-memcpy.c (do_one_test): Likewise.
50002         (do_test): Likewise.
50003         * string/test-memmem.c (do_one_test): Likewise.
50004         (do_test): Likewise.
50005         (do_random_tests): Likewise.
50006         * string/test-memmove.c (do_one_test): Likewise.
50007         (do_test): Likewise.
50008         * string/test-memset.c (do_one_test): Likewise.
50009         (do_test): Likewise.
50010         * string/test-rawmemchr.c (do_one_test): Likewise.
50011         (do_test): Likewise.
50012         * string/test-strcasecmp.c (do_one_test): Likewise.
50013         (do_test): Likewise.
50014         * string/test-strcasestr.c (do_one_test): Likewise.
50015         (do_test): Likewise.
50016         * string/test-strcat.c (do_one_test): Likewise.
50017         (do_test): Likewise.
50018         * string/test-strchr.c (do_one_test): Likewise.
50019         (do_test): Likewise.
50020         * string/test-strcmp.c (do_one_test): Likewise.
50021         (do_test): Likewise.
50022         * string/test-strcpy.c (do_one_test): Likewise.
50023         (do_test): Likewise.
50024         * string/test-string.h: Likewise.
50025         (test_init): Likewise.
50026         * string/test-strlen.c (do_one_test): Likewise.
50027         (do_test): Likewise.
50028         * string/test-strncasecmp.c (do_one_test): Likewise.
50029         (do_test): Likewise.
50030         * string/test-strncat.c (do_one_test): Likewise.
50031         (do_test): Likewise.
50032         * string/test-strncmp.c (do_one_test): Likewise.
50033         (do_test_limit): Likewise.
50034         (do_test): Likewise.
50035         * string/test-strncpy.c (do_one_test): Likewise.
50036         (do_test): Likewise.
50037         * string/test-strnlen.c (do_one_test): Likewise.
50038         (do_test): Likewise.
50039         * string/test-strpbrk.c (do_one_test): Likewise.
50040         (do_test): Likewise.
50041         * string/test-strrchr.c (do_one_test): Likewise.
50042         (do_test): Likewise.
50043         * string/test-strspn.c (do_one_test): Likewise.
50044         (do_test): Likewise.
50045         * string/test-strstr.c (do_one_test): Likewise.
50046         (do_test): Likewise.
50048         * benchtests/Makefile (string-bench): Add string benchmarks.
50049         * benchtests/bench-bcopy-ifunc.c: New file.
50050         * benchtests/bench-bcopy.c: New file.
50051         * benchtests/bench-bzero-ifunc.c: New file.
50052         * benchtests/bench-bzero.c: New file.
50053         * benchtests/bench-memccpy-ifunc.c: New file.
50054         * benchtests/bench-memccpy.c: New file.
50055         * benchtests/bench-memchr-ifunc.c: New file.
50056         * benchtests/bench-memchr.c: New file.
50057         * benchtests/bench-memcmp-ifunc.c: New file.
50058         * benchtests/bench-memcmp.c: New file.
50059         * benchtests/bench-memmem-ifunc.c: New file.
50060         * benchtests/bench-memmem.c: New file.
50061         * benchtests/bench-memmove-ifunc.c: New file.
50062         * benchtests/bench-memmove.c: New file.
50063         * benchtests/bench-mempcpy-ifunc.c: New file.
50064         * benchtests/bench-mempcpy.c: New file.
50065         * benchtests/bench-memset-ifunc.c: New file.
50066         * benchtests/bench-memset.c: New file.
50067         * benchtests/bench-rawmemchr-ifunc.c: New file.
50068         * benchtests/bench-rawmemchr.c: New file.
50069         * benchtests/bench-stpcpy-ifunc.c: New file.
50070         * benchtests/bench-stpcpy.c: New file.
50071         * benchtests/bench-stpncpy-ifunc.c: New file.
50072         * benchtests/bench-stpncpy.c: New file.
50073         * benchtests/bench-strcasecmp-ifunc.c: New file.
50074         * benchtests/bench-strcasecmp.c: New file.
50075         * benchtests/bench-strcasestr-ifunc.c: New file.
50076         * benchtests/bench-strcasestr.c: New file.
50077         * benchtests/bench-strcat-ifunc.c: New file.
50078         * benchtests/bench-strcat.c: New file.
50079         * benchtests/bench-strchr-ifunc.c: New file.
50080         * benchtests/bench-strchr.c: New file.
50081         * benchtests/bench-strchrnul-ifunc.c: New file.
50082         * benchtests/bench-strchrnul.c: New file.
50083         * benchtests/bench-strcmp-ifunc.c: New file.
50084         * benchtests/bench-strcmp.c: New file.
50085         * benchtests/bench-strcpy-ifunc.c: New file.
50086         * benchtests/bench-strcpy.c: New file.
50087         * benchtests/bench-strcspn-ifunc.c: New file.
50088         * benchtests/bench-strcspn.c: New file.
50089         * benchtests/bench-strlen-ifunc.c: New file.
50090         * benchtests/bench-strlen.c: New file.
50091         * benchtests/bench-strncasecmp-ifunc.c: New file.
50092         * benchtests/bench-strncasecmp.c: New file.
50093         * benchtests/bench-strncat-ifunc.c: New file.
50094         * benchtests/bench-strncat.c: New file.
50095         * benchtests/bench-strncmp-ifunc.c: New file.
50096         * benchtests/bench-strncmp.c: New file.
50097         * benchtests/bench-strncpy-ifunc.c: New file.
50098         * benchtests/bench-strncpy.c: New file.
50099         * benchtests/bench-strnlen-ifunc.c: New file.
50100         * benchtests/bench-strnlen.c: New file.
50101         * benchtests/bench-strpbrk-ifunc.c: New file.
50102         * benchtests/bench-strpbrk.c: New file.
50103         * benchtests/bench-strrchr-ifunc.c: New file.
50104         * benchtests/bench-strrchr.c: New file.
50105         * benchtests/bench-strspn-ifunc.c: New file.
50106         * benchtests/bench-strspn.c: New file.
50107         * benchtests/bench-strstr-ifunc.c: New file.
50108         * benchtests/bench-strstr.c: New file.
50110         * benchtests/Makefile: Disable parallel execution of targets.
50111         (string-bench): Add memcpy.
50112         (benchset): New variable to store a list of benchmark sets.
50113         (bench-func): Renamed from bench.
50114         (bench-set): New target.
50115         (bench): Depend on bench-func and bench-set.
50116         * benchtests/README: Add section on benchmark sets.
50117         * benchtests/bench-memcpy-ifunc.c: New file.
50118         * benchtests/bench-memcpy.c: New file.
50119         * benchtests/bench-string.h: New file.
50121 2013-06-11  Andreas Schwab  <schwab@suse.de>
50123         [BZ #15577]
50124         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50125         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50126         values in the triple.
50127         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50128         terminator in the group key.
50130 2013-06-11  Andreas Jaeger  <aj@suse.de>
50132         * po/zh_TW.po: Update Chinese (traditional) translation from
50133         translation project.
50135 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50137         * include/time.h (__clock_gettime): Add libc_hidden_proto.
50138         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50139         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
50140         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50141         (clock_getcpuclockid): Likewise.
50142         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
50143         Add weak_alias and libc_hidden_def.
50144         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
50145         * rt/clock_gettime.c (clock_gettime): Rename to
50146         __clock_gettime.  Add weak_alias and libc_hidden_def.
50147         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
50148         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
50149         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
50150         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
50151         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
50152         Likewise.
50153         * rt/clock_settime.c (clock_settime): Rename to
50154         __clock_settime.  Add weak_alias and libc_hidden_def.
50155         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50157 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
50159         * mach/err_boot.sub: Remove trailing whitespace.
50160         * mach/err_ipc.sub: Likewise.
50161         * mach/err_mach.sub: Likewise.
50163         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50164         (ROUNDING_TESTS_double): Likewise.
50165         (ROUNDING_TESTS_long_double): Likewise.
50166         (ROUNDING_TESTS): Likewise.
50167         * math/libm-test.inc: Include <math-tests.h>.
50168         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50169         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50170         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50171         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50173 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50175         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50176         of assigning.
50178 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50180         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50181         otherwise empty TRANS lines.
50182         * sysdeps/gnu/errlist.c: Regenerated.
50184         * catgets/gencat.c (error_print): Use (void) in function
50185         definition.
50186         * crypt/crypt_util.c (__init_des): Likewise.
50187         * crypt/speeds.c (Stop): Likewise.
50188         (main): Likewise.
50189         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50190         * inet/ruserpass.c (token): Likewise.
50191         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50192         * intl/localealias.c (extend_alias_table): Likewise.
50193         * intl/plural-exp.c (init_germanic_plural): Likewise.
50194         * libio/fcloseall.c (__fcloseall): Likewise.
50195         * libio/genops.c (_IO_flush_all): Likewise.
50196         (_IO_flush_all_linebuffered): Likewise.
50197         (_IO_cleanup): Likewise.
50198         (_IO_iter_begin): Likewise.
50199         (_IO_iter_end): Likewise.
50200         (_IO_list_lock): Likewise.
50201         (_IO_list_unlock): Likewise.
50202         (_IO_list_resetlock): Likewise.
50203         * libio/getchar.c (getchar): Likewise.
50204         * libio/getchar_u.c (getchar_unlocked): Likewise.
50205         * libio/getwchar.c (getwchar): Likewise.
50206         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50207         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50208         * login/getpt.c (__getpt): Likewise.
50209         * login/tst-utmp.c (main): Likewise.
50210         * malloc/hooks.c (__malloc_check_init): Likewise.
50211         * malloc/malloc.c (__malloc_stats): Likewise.
50212         * malloc/mtrace.c (tr_break): Likewise.
50213         (mtrace): Likewise.
50214         (muntrace): Likewise.
50215         * misc/fstab.c (endfsent): Likewise.
50216         * misc/getclktck.c (__getclktck): Likewise.
50217         * misc/getdtsz.c (__getdtablesize): Likewise.
50218         * misc/gethostid.c (gethostid): Likewise.
50219         * misc/getpagesize.c (__getpagesize): Likewise.
50220         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50221         (__get_nprocs): Likewise.
50222         (__get_phys_pages): Likewise.
50223         (__get_avphys_pages): Likewise.
50224         * misc/getttyent.c (getttyent): Likewise.
50225         (setttyent): Likewise.
50226         (endttyent): Likewise.
50227         * misc/getusershell.c (getusershell): Likewise.
50228         (endusershell): Likewise.
50229         (setusershell): Likewise.
50230         (initshells): Likewise.
50231         * misc/hsearch.c (__hdestroy): Likewise.
50232         * misc/sync.c (sync): Likewise.
50233         * misc/syslog.c (closelog_internal): Likewise.
50234         (closelog): Likewise.
50235         * misc/ttyslot.c (ttyslot): Likewise.
50236         * misc/vhangup.c (vhangup): Likewise.
50237         * posix/fork.c (__fork): Likewise.
50238         * posix/getegid.c (__getegid): Likewise.
50239         * posix/geteuid.c (__geteuid): Likewise.
50240         * posix/getgid.c (__getgid): Likewise.
50241         * posix/getpid.c (__getpid): Likewise.
50242         * posix/getppid.c (__getppid): Likewise.
50243         * posix/getuid.c (__getuid): Likewise.
50244         * posix/pause.c (pause): Likewise.
50245         * posix/setpgrp.c (setpgrp): Likewise.
50246         * posix/setsid.c (__setsid): Likewise.
50247         * posix/test-vfork.c (noop): Likewise.
50248         * resolv/gethnamaddr.c (_endhtent): Likewise.
50249         (_gethtent): Likewise.
50250         (ht_endhostent): Likewise.
50251         (gethostent): Likewise.
50252         (dns_service): Likewise.
50253         * stdlib/drand48.c (drand48): Likewise.
50254         * stdlib/lrand48.c (lrand48): Likewise.
50255         * stdlib/mrand48.c (mrand48): Likewise.
50256         * stdlib/rand.c (rand): Likewise.
50257         * stdlib/random.c (__random): Likewise.
50258         * stdlib/setenv.c (clearenv): Likewise.
50259         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50260         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50261         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50262         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50263         (__get_nprocs): Likewise.
50264         (__get_phys_pages): Likewise.
50265         (__get_avphys_pages): Likewise.
50266         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50267         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50268         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50269         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50270         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50271         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50272         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50273         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50274         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50275         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50276         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50277         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50278         * sysdeps/posix/clock.c (clock): Likewise.
50279         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50280         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50281         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50282         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50283         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50284         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50285         (__get_nprocs_conf): Likewise.
50286         (__get_phys_pages): Likewise.
50287         (__get_avphys_pages): Likewise.
50288         * time/clock.c (clock): Likewise.
50289         * time/tzset.c (__tzname_max): Likewise.
50291 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50293         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50294         (__bswap_32): Do not use "register".
50295         * crypt/crypt.c (_ufc_doit_r): Likewise.
50296         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50297         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50298         * gmon/gmon.c (__monstartup): Likewise.
50299         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50300         * hurd/hurdmalloc.c (more_memory): Likewise.
50301         (malloc): Likewise.
50302         (free): Likewise.
50303         (realloc): Likewise.
50304         (malloc_fork_prepare): Likewise.
50305         (malloc_fork_parent): Likewise.
50306         (malloc_fork_child): Likewise.
50307         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50308         (_svcauth_des): Likewise.
50309         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50310         * inet/inet_net.c (inet_network): Likewise.
50311         * inet/inet_netof.c (inet_netof): Likewise.
50312         * inet/rcmd.c (__validuser2_sa): Likewise.
50313         * io/fts.c (fts_open): Likewise.
50314         (fts_load): Likewise.
50315         (fts_close): Likewise.
50316         (fts_read): Likewise.
50317         (fts_children): Likewise.
50318         (fts_build): Likewise.
50319         (fts_stat): Likewise.
50320         (fts_sort): Likewise.
50321         (fts_alloc): Likewise.
50322         (fts_lfree): Likewise.
50323         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50324         (_IO_file_xsgetn): Likewise.
50325         (_IO_file_xsgetn_mmap): Likewise.
50326         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50327         (_IO_cookie_write): Likewise.
50328         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50329         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50330         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50331         * malloc/obstack.c (_obstack_begin): Likewise.
50332         (_obstack_begin_1): Likewise.
50333         (_obstack_newchunk): Likewise.
50334         (_obstack_allocated_p): Likewise.
50335         (obstack_free): Likewise.
50336         (_obstack_memory_used): Likewise.
50337         * misc/getttyent.c (getttynam): Likewise.
50338         (getttyent): Likewise.
50339         (skip): Likewise.
50340         (value): Likewise.
50341         * misc/getusershell.c (initshells): Likewise.
50342         * misc/syslog.c (__vsyslog_chk): Likewise.
50343         * misc/ttyslot.c (ttyslot): Likewise.
50344         * nis/nis_hash.c (__nis_hash): Likewise.
50345         * posix/fnmatch_loop.c (FCT): Likewise.
50346         * posix/getconf.c (print_all): Likewise.
50347         (main): Likewise.
50348         * posix/getopt.c (exchange): Likewise.
50349         * posix/glob.c (globfree): Likewise.
50350         (prefix_array): Likewise.
50351         (__glob_pattern_type): Likewise.
50352         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50353         (NS_GET32): Likewise.
50354         (NS_PUT16): Likewise.
50355         (NS_PUT32): Likewise.
50356         * resolv/gethnamaddr.c (getanswer): Likewise.
50357         (gethostbyname2): Likewise.
50358         (gethostbyaddr): Likewise.
50359         (_gethtent): Likewise.
50360         (_gethtbyname2): Likewise.
50361         (_gethtbyaddr): Likewise.
50362         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50363         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50364         * resolv/res_init.c (__res_vinit): Likewise.
50365         (net_mask): Likewise.
50366         * resolv/res_mkquery.c (outchar): Likewise.
50367         (PRINT): Likewise.
50368         * stdio-common/printf_fp.c (outchar): Likewise.
50369         (PRINT): Likewise.
50370         * stdio-common/printf_fphex.c (outchar): Likewise.
50371         (PRINT): Likewise.
50372         * stdio-common/printf_size.c (outchar): Likewise.
50373         (PRINT): Likewise.
50374         * stdio-common/test_rdwr.c (main): Likewise.
50375         * stdio-common/tfformat.c (matches): Likewise.
50376         * stdio-common/vfprintf.c (outchar): Likewise.
50377         (printf_unknown): Likewise.
50378         (buffered_vfprintf): Likewise.
50379         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50380         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50381         (ReadFile): Likewise.
50382         * stdlib/qsort.c (SWAP): Likewise.
50383         (_quicksort): Likewise.
50384         * stdlib/setenv.c (__add_to_environ): Likewise.
50385         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50386         * stdlib/strtol_l.c (__strtol_l): Likewise.
50387         * stdlib/tst-strtod.c (main): Likewise.
50388         * stdlib/tst-strtol.c (main): Likewise.
50389         * stdlib/tst-strtoll.c (main): Likewise.
50390         * string/bits/string2.h (__strcmp_cc): Likewise.
50391         (__strcmp_cg): Likewise.
50392         (__strcspn_c1): Likewise.
50393         (__strcspn_c2): Likewise.
50394         (__strcspn_c3): Likewise.
50395         (__strspn_c1): Likewise.
50396         (__strspn_c2): Likewise.
50397         (__strspn_c3): Likewise.
50398         (__strsep_1c): Likewise.
50399         (__strsep_2c): Likewise.
50400         (__strsep_3c): Likewise.
50401         * string/memccpy.c (__memccpy): Likewise.
50402         * string/stpcpy.c (__stpcpy): Likewise.
50403         * string/strcmp.c (strcmp): Likewise.
50404         * string/strrchr.c (strrchr): Likewise.
50405         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50406         Likewise.
50407         * sysdeps/mach/hurd/getcwd.c
50408         (_hurd_canonicalize_directory_name_internal): Likewise.
50409         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50410         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50411         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50412         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50413         Likewise, in both definitions.
50414         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50415         definitions.
50416         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50417         64] (__bswap_64): Likewise.
50418         * time/test_time.c (main): Likewise.
50419         * time/tzfile.c (__tzfile_read): Likewise.
50420         (__tzfile_compute): Likewise.
50421         * time/tzset.c (__tzset_parse_tz): Likewise.
50422         (tzset_internal): Likewise.
50423         (compute_change): Likewise.
50424         * wcsmbs/wcscat.c (__wcscat): Likewise.
50425         * wcsmbs/wcschr.c (wcschr): Likewise.
50426         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50427         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50428         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50429         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50430         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50431         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50432         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50433         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50434         * wcsmbs/wmemset.c (wmemset): Likewise.
50436 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50438         * scripts/config.guess: Update to version 2013-05-16.
50439         * scripts/config.sub: Update to version 2013-04-24.
50440         * scripts/install-sh: Update to version 2011-11-20.07.
50441         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50442         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50444 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50446         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50447         * elf/sln.c: Likewise.
50448         * hurd/hurd/ioctl.h: Likewise.
50449         * hurd/hurdmalloc.c: Likewise.
50450         * hurd/xattr.c: Likewise.
50451         * include/shlib-compat.h: Likewise.
50452         * inet/ruserpass.c: Likewise.
50453         * libio/iofgets_u.c: Likewise.
50454         * libio/iofgetws_u.c: Likewise.
50455         * locale/programs/ld-identification.c: Likewise.
50456         * locale/programs/ld-time.c: Likewise.
50457         * mach/msg-destroy.c: Likewise.
50458         * nss/nss_files/files-netgrp.c: Likewise.
50459         * resolv/res_data.c: Likewise.
50460         * soft-fp/op-1.h: Likewise.
50461         * soft-fp/op-2.h: Likewise.
50462         * soft-fp/op-4.h: Likewise.
50463         * soft-fp/op-common.h: Likewise.
50464         * stdio-common/printf_fphex.c: Likewise.
50465         * stdlib/strtod_l.c: Likewise.
50466         * sunrpc/rpc/clnt.h: Likewise.
50467         * sysdeps/generic/framestate.c: Likewise.
50468         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50469         * sysdeps/i386/bsd-setjmp.S: Likewise.
50470         * sysdeps/i386/__longjmp.S: Likewise.
50471         * sysdeps/i386/setjmp.S: Likewise.
50472         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50473         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50474         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50475         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50476         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50477         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50478         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50479         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50480         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50481         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50482         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50483         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50484         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50485         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50486         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50487         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50488         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50489         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50490         * sysdeps/ieee754/support.c: Likewise.
50491         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50492         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50493         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50494         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50495         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50496         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50497         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50498         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50499         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50500         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50501         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50502         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50503         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50504         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50505         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50506         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50507         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50510 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50512         * posix/transbug.c: Remove executable mode.
50514 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50516         * crypt/speeds.c: Remove trailing whitespace.
50517         * dlfcn/default.c: Likewise.
50518         * elf/ifuncdep2.c: Likewise.
50519         * elf/ifuncmain1.c: Likewise.
50520         * elf/ifuncmain1vis.c: Likewise.
50521         * elf/testobj.h: Likewise.
50522         * elf/tst-stackguard1.c: Likewise.
50523         * gmon/sys/gmon.h: Likewise.
50524         * hurd/hurdmsg.c: Likewise.
50525         * hurd/new-fd.c: Likewise.
50526         * hurd/ports-get.c: Likewise.
50527         * iconvdata/ibm1008_420.c: Likewise.
50528         * inet/tst-getni1.c: Likewise.
50529         * inet/tst-getni2.c: Likewise.
50530         * libio/ioungetc.c: Likewise.
50531         * libio/wfiledoalloc.c: Likewise.
50532         * manual/libm-err-tab.pl: Likewise.
50533         * math/w_dremf.c: Likewise.
50534         * misc/ftruncate.c: Likewise.
50535         * posix/bug-glob2.c: Likewise.
50536         * posix/tst-pcre.c: Likewise.
50537         * posix/wait4.c: Likewise.
50538         * resolv/README: Likewise.
50539         * resolv/res_debug.h: Likewise.
50540         * resolv/tst-inet_ntop.c: Likewise.
50541         * setjmp/bug269-setjmp.c: Likewise.
50542         * soft-fp/extended.h: Likewise.
50543         * soft-fp/op-1.h: Likewise.
50544         * soft-fp/op-2.h: Likewise.
50545         * soft-fp/op-4.h: Likewise.
50546         * soft-fp/op-8.h: Likewise.
50547         * soft-fp/testit.c: Likewise.
50548         * stdio-common/bug16.c: Likewise.
50549         * stdlib/random.c: Likewise.
50550         * sunrpc/rpcsvc/rquota.x: Likewise.
50551         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50552         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50553         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50554         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50555         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50556         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50557         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50558         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50559         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50560         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50561         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50562         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50563         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50564         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50565         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50566         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50567         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50568         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50569         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50570         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50571         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50572         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50573         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50574         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50575         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50576         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50577         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50578         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50579         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50580         * sysdeps/ieee754/s_lib_version.c: Likewise.
50581         * sysdeps/mach/hurd/check_fds.c: Likewise.
50582         * sysdeps/mach/hurd/getsockname.c: Likewise.
50583         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50584         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50585         * sysdeps/powerpc/bits/link.h: Likewise.
50586         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50587         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50588         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50589         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50590         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50591         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50592         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50593         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50594         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50595         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50596         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50597         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50598         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50599         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50600         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50601         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50602         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50603         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50604         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50605         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50606         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50607         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50608         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50609         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50610         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50611         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50612         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50613         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50614         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50615         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50616         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50617         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50618         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50619         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50620         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50621         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50622         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50623         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50624         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50625         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50626         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50627         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50628         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50629         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50630         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50631         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50632         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50633         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50634         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50635         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50636         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50637         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50638         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50639         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50640         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50641         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50642         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50643         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50644         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50645         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50646         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50647         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50648         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50649         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50650         * sysdeps/powerpc/sysdep.h: Likewise.
50651         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50652         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50653         * sysdeps/sh/dl-trampoline.S: Likewise.
50654         * sysdeps/sh/memset.S: Likewise.
50655         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50656         * sysdeps/sh/strlen.S: Likewise.
50657         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50658         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50659         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50660         * sysdeps/sparc/sparc32/rem.S: Likewise.
50661         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50662         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50663         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50664         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50665         * sysdeps/sparc/sparc32/urem.S: Likewise.
50666         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50667         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50668         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50669         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50670         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50671         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50672         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50673         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50674         * sysdeps/unix/bsd/times.c: Likewise.
50675         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50676         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50680         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50681         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50682         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50683         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50684         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50685         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50686         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50687         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50688         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50689         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50690         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50691         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50692         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50693         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50694         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50695         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50696         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50697         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50698         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50699         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50700         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50701         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50702         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50703         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50704         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50705         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50706         * sysdeps/x86_64/strcspn.S: Likewise.
50708 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50710         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50711         generated file.  Regenerate properly from gen-translit.pl.
50712         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50713         locale/C-translit.h.
50715 2013-06-05  Andreas Schwab  <schwab@suse.de>
50717         [BZ #15100]
50718         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50719         week as 6 instead of -1.
50720         * time/tst-strptime.c (day_tests): Add test case.
50722 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50724         * sysdeps/generic/math_private.h
50725         (libc_feholdexcept_setround_53bit): Replace with
50726         libc_feholdsetround_53bit.
50727         (libc_feupdateenv_53bit): Replace with
50728         libc_feresetround_53bit.
50729         (SET_RESTORE_ROUND_53BIT): Adjust.
50731 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50733         * string/test-strchrnul.c: Add copyright header.
50735         * posix/tst-getaddrinfo4.c: Increase test timeout.
50737 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50739         [BZ #15536]
50740         * math/libm-test.inc (MAX_EXP): Remove
50741         (MIN_EXP): Define.
50742         (ulp): Use MIN_EXP - MANT_DIG.
50743         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50745 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50747         * po/be.po: Revert last change.
50748         * po/zh_CN.po: Likewise.
50749         * po/header.pot: Likewise.
50751 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50753         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50754         link-libc-deps to empty as target-specific variable.
50755         * Makerules (link-libc-args): New variable.
50756         (libc-for-link): Likewise.
50757         (link-libc-deps): Likewise.
50758         (lib%.so): Depend on $(link-libc-deps).  Link with
50759         $(link-libc-args).
50760         (build-module): Link with $(link-libc-args).
50761         (build-module-asneeded): Likewise.
50762         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50763         list of objects.
50764         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50765         target-specific variable.
50766         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50767         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50768         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50769         libc.
50770         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50771         libc and ld.so.
50772         ($(objpfx)libpcprofile.so): Likewise.
50773         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50774         libc_nonshared.a.
50775         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50776         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50777         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50778         $(link-libc-deps).
50779         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50780         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50781         * login/Makefile ($(objpfx)libutil.so): Likewise.
50782         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50783         * math/Makefile ($(objpfx)libm.so): Likewise.
50784         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50785         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50786         variable instead of depending directly on libc.
50787         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50788         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50789         $(link-libc-deps).
50790         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50791         libc.
50792         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50793         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50794         ($(objpfx)libanl.so): Likewise.
50795         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50796         ld.so.
50797         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50798         $(link-libc-deps).
50799         * sysdeps/i386/fpu/Makefile: Remove file.
50800         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50801         ($(objpfx)libm.so): Remove dependency on ld.so.
50803 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50805         [BZ # 15553]
50806         * nis/yp_xdr.c (XDRMAXNAME): Define.
50807         (XDRMAXRECORD): Define.
50808         (xdr_domainname): Use XDRMAXNAME.
50809         (xdr_mapname): Likewise.
50810         (xdr_peername): Likewise.
50811         (xdr_keydat): Use XDRMAXRECORD.
50812         (xdr_valdat): Likewise.
50814 2013-05-30  Jeff Law  <law@redhat.com>
50816         [BZ #14256]
50817         * manual/errno.texi (ESTALE): Update to account for more than
50818         just NFS file systems.
50819         * sysdeps/gnu/errlist.c: Regenerated.
50821 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50823         [BZ #15465]
50824         * elf/Makefile (tests): Add tst-null-argv.
50825         (modules-names):  Add tst-null-argv-lib.
50826         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50827         (tst-null-argv-ENV): Set environment for tst-null-argv.
50828         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50829         (RTLD_PROGNAME): New macro.
50830         * elf/tst-null-argv.c: New test case.
50831         * elf/tst-null-argv-lib.c: Library for test case.
50832         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50833         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50834         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50835         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50836         * elf/dl-init.c (call_init): Likewise.
50837         (_dl_init): Likewise.
50838         * elf/dl-load.c (print_search_path): Likewise.
50839         (_dl_map_object): Likewise.
50840         * elf/dl-lookup.c (do_lookup_x): Likewise.
50841         (add_dependency): Likewise.
50842         (_dl_lookup_symbol_x): Likewise.
50843         (_dl_debug_bindings): Likewise.
50844         * elf/dl-open.c (_dl_show_scope): Likewise.
50845         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50846         * elf/dl-version.c (match_symbol): Likewise.
50847         (_dl_check_map_versions): Likewise.
50848         * elf/rtld.c (dl_main): Likewise.
50849         (print_unresolved): Use RTLD_PROGNAME.
50850         (print_missing_version): Likewise.
50851         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50852         (elf_machine_rela): Likewise.
50853         * sysdeps/powerpc/powerpc32/dl-machine.c
50854         (__process_machine_rela): Likewise.
50855         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50856         Likewise.
50857         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50858         Likewise.
50859         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50860         Likewise.
50861         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50862         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50863         Likewise.
50864         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50865         Likewise.
50866         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50868 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50870         * po/be.po: Add descriptive title.
50871         * po/zh_CN.po: Likewise.
50872         * po/header.pot: Likewise.
50874 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50876         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50877         error message.
50878         (enlarge_archive): Likewise.
50880 2013-05-28  Ben North  <ben@redfrontdoor.org>
50882         * manual/arith.texi (frexp): It is the magnitude of the return
50883         value which lies in [0.5, 1), not the return value itself.
50885 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50889 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50891         * stdio-common/bug26.c (main): Correct fscanf template.
50893         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50894         declare _dl_skip_args.
50896         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50897         Don't declare.
50899         * manual/platform.texi: Add missing @end deftypefun.
50901 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50903         [BZ #15529]
50904         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50905         bit of mantissa of 2^16382.
50906         * math/libm-test.inc (hypot_test_data): Add more tests.
50908         * math/libm-test.inc: Add drem and pow10 to list of tested
50909         functions.
50910         (pow10_test): New function.
50911         (drem_test): Likewise.
50912         (drem_test_tonearest): Likewise.
50913         (drem_test_towardzero): Likewise.
50914         (drem_test_downward): Likewise.
50915         (drem_test_upward): Likewise.
50916         (main): Call the new functions.
50918         * math/libm-test.inc (finite_test_data): Remove.
50919         (finite_test): Run tests from isfinite_test_data.
50920         (gamma_test_data): Remove.
50921         (gamma_test): Run tests from lgamma_test_data.
50922         * sysdeps/i386/fpu/libm-test-ulps: Update.
50923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50925 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50927         * manual/platform.texi: Add PowerPC PPR function set documentation.
50928         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50929         implementation.
50931 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50933         * math/libm-test.inc (MAX_EXP): Define.
50934         (ULPDIFF): Define.
50935         (ulp): New function.
50936         (check_float_internal): Use ULPDIFF.
50937         (cpow_test): Disable failing test.
50938         (check_ulp): Test ulp() implemetnation.
50939         (main): Call check_ulp before starting tests.
50941 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50943         * math/gen-libm-test.pl (generate_testfile): Do not handle
50944         START_DATA and END_DATA.
50945         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50946         END_DATA.
50947         (acos_tonearest_test_data): Likewise.
50948         (acos_towardzero_test_data): Likewise.
50949         (acos_downward_test_data): Likewise.
50950         (acos_upward_test_data): Likewise.
50951         (acosh_test_data): Likewise.
50952         (asin_test_data): Likewise.
50953         (asin_tonearest_test_data): Likewise.
50954         (asin_towardzero_test_data): Likewise.
50955         (asin_downward_test_data): Likewise.
50956         (asin_upward_test_data): Likewise.
50957         (asinh_test_data): Likewise.
50958         (atan_test_data): Likewise.
50959         (atanh_test_data): Likewise.
50960         (atan2_test_data): Likewise.
50961         (cabs_test_data): Likewise.
50962         (cacos_test_data): Likewise.
50963         (cacosh_test_data): Likewise.
50964         (carg_test_data): Likewise.
50965         (casin_test_data): Likewise.
50966         (casinh_test_data): Likewise.
50967         (catan_test_data): Likewise.
50968         (catanh_test_data): Likewise.
50969         (cbrt_test_data): Likewise.
50970         (ccos_test_data): Likewise.
50971         (ccosh_test_data): Likewise.
50972         (ceil_test_data): Likewise.
50973         (cexp_test_data): Likewise.
50974         (cimag_test_data): Likewise.
50975         (clog_test_data): Likewise.
50976         (clog10_test_data): Likewise.
50977         (conj_test_data): Likewise.
50978         (copysign_test_data): Likewise.
50979         (cos_test_data): Likewise.
50980         (cos_tonearest_test_data): Likewise.
50981         (cos_towardzero_test_data): Likewise.
50982         (cos_downward_test_data): Likewise.
50983         (cos_upward_test_data): Likewise.
50984         (cosh_test_data): Likewise.
50985         (cosh_tonearest_test_data): Likewise.
50986         (cosh_towardzero_test_data): Likewise.
50987         (cosh_downward_test_data): Likewise.
50988         (cosh_upward_test_data): Likewise.
50989         (cpow_test_data): Likewise.
50990         (cproj_test_data): Likewise.
50991         (creal_test_data): Likewise.
50992         (csin_test_data): Likewise.
50993         (csinh_test_data): Likewise.
50994         (csqrt_test_data): Likewise.
50995         (ctan_test_data): Likewise.
50996         (ctan_tonearest_test_data): Likewise.
50997         (ctan_towardzero_test_data): Likewise.
50998         (ctan_downward_test_data): Likewise.
50999         (ctan_upward_test_data): Likewise.
51000         (ctanh_test_data): Likewise.
51001         (ctanh_tonearest_test_data): Likewise.
51002         (ctanh_towardzero_test_data): Likewise.
51003         (ctanh_downward_test_data): Likewise.
51004         (ctanh_upward_test_data): Likewise.
51005         (erf_test_data): Likewise.
51006         (erfc_test_data): Likewise.
51007         (exp_test_data): Likewise.
51008         (exp_tonearest_test_data): Likewise.
51009         (exp_towardzero_test_data): Likewise.
51010         (exp_downward_test_data): Likewise.
51011         (exp_upward_test_data): Likewise.
51012         (exp10_test_data): Likewise.
51013         (exp2_test_data): Likewise.
51014         (expm1_test_data): Likewise.
51015         (fabs_test_data): Likewise.
51016         (fdim_test_data): Likewise.
51017         (finite_test_data): Likewise.
51018         (floor_test_data): Likewise.
51019         (fma_test_data): Likewise.
51020         (fma_towardzero_test_data): Likewise.
51021         (fma_downward_test_data): Likewise.
51022         (fma_upward_test_data): Likewise.
51023         (fmax_test_data): Likewise.
51024         (fmin_test_data): Likewise.
51025         (fmod_test_data): Likewise.
51026         (fpclassify_test_data): Likewise.
51027         (frexp_test_data): Likewise.
51028         (gamma_test_data): Likewise.
51029         (hypot_test_data): Likewise.
51030         (ilogb_test_data): Likewise.
51031         (isfinite_test_data): Likewise.
51032         (isgreater_test_data): Likewise.
51033         (isgreaterequal_test_data): Likewise.
51034         (isinf_test_data): Likewise.
51035         (isless_test_data): Likewise.
51036         (islessequal_test_data): Likewise.
51037         (islessgreater_test_data): Likewise.
51038         (isnan_test_data): Likewise.
51039         (isnormal_test_data): Likewise.
51040         (issignaling_test_data): Likewise.
51041         (isunordered_test_data): Likewise.
51042         (j0_test_data): Likewise.
51043         (j1_test_data): Likewise.
51044         (jn_test_data): Likewise.
51045         (ldexp_test_data): Likewise.
51046         (lgamma_test_data): Likewise.
51047         (lrint_test_data): Likewise.
51048         (lrint_tonearest_test_data): Likewise.
51049         (lrint_towardzero_test_data): Likewise.
51050         (lrint_downward_test_data): Likewise.
51051         (lrint_upward_test_data): Likewise.
51052         (llrint_test_data): Likewise.
51053         (llrint_tonearest_test_data): Likewise.
51054         (llrint_towardzero_test_data): Likewise.
51055         (llrint_downward_test_data): Likewise.
51056         (llrint_upward_test_data): Likewise.
51057         (log_test_data): Likewise.
51058         (log10_test_data): Likewise.
51059         (log1p_test_data): Likewise.
51060         (log2_test_data): Likewise.
51061         (logb_test_data): Likewise.
51062         (logb_downward_test_data): Likewise.
51063         (lround_test_data): Likewise.
51064         (llround_test_data): Likewise.
51065         (modf_test_data): Likewise.
51066         (nearbyint_test_data): Likewise.
51067         (nextafter_test_data): Likewise.
51068         (nexttoward_test_data): Likewise.
51069         (pow_test_data): Likewise.
51070         (pow_tonearest_test_data): Likewise.
51071         (pow_towardzero_test_data): Likewise.
51072         (pow_downward_test_data): Likewise.
51073         (pow_upward_test_data): Likewise.
51074         (remainder_test_data): Likewise.
51075         (remainder_tonearest_test_data): Likewise.
51076         (remainder_towardzero_test_data): Likewise.
51077         (remainder_downward_test_data): Likewise.
51078         (remainder_upward_test_data): Likewise.
51079         (remquo_test_data): Likewise.
51080         (rint_test_data): Likewise.
51081         (rint_tonearest_test_data): Likewise.
51082         (rint_towardzero_test_data): Likewise.
51083         (rint_downward_test_data): Likewise.
51084         (rint_upward_test_data): Likewise.
51085         (round_test_data): Likewise.
51086         (scalb_test_data): Likewise.
51087         (scalbn_test_data): Likewise.
51088         (scalbln_test_data): Likewise.
51089         (signbit_test_data): Likewise.
51090         (sin_test_data): Likewise.
51091         (sin_tonearest_test_data): Likewise.
51092         (sin_towardzero_test_data): Likewise.
51093         (sin_downward_test_data): Likewise.
51094         (sin_upward_test_data): Likewise.
51095         (sincos_test_data): Likewise.
51096         (sinh_test_data): Likewise.
51097         (sinh_tonearest_test_data): Likewise.
51098         (sinh_towardzero_test_data): Likewise.
51099         (sinh_downward_test_data): Likewise.
51100         (sinh_upward_test_data): Likewise.
51101         (sqrt_test_data): Likewise.
51102         (tan_test_data): Likewise.
51103         (tan_tonearest_test_data): Likewise.
51104         (tan_towardzero_test_data): Likewise.
51105         (tan_downward_test_data): Likewise.
51106         (tan_upward_test_data): Likewise.
51107         (tanh_test_data): Likewise.
51108         (tgamma_test_data): Likewise.
51109         (trunc_test_data): Likewise.
51110         (y0_test_data): Likewise.
51111         (y1_test_data): Likewise.
51112         (yn_test_data): Likewise.
51113         (significand_test_data): Likewise.
51115         * math/gen-libm-test.pl (@functions): Remove variable.
51116         (generate_testfile): Don't handle START and END lines.
51117         * math/libm-test.inc (START): New macro.
51118         (END): Likewise.
51119         (END_COMPLEX): Likewise.
51120         (acos_test): Use END macro without arguments.
51121         (acos_test_tonearest): Likewise.
51122         (acos_test_towardzero): Likewise.
51123         (acos_test_downward): Likewise.
51124         (acos_test_upward): Likewise.
51125         (acosh_test): Likewise.
51126         (asin_test): Likewise.
51127         (asin_test_tonearest): Likewise.
51128         (asin_test_towardzero): Likewise.
51129         (asin_test_downward): Likewise.
51130         (asin_test_upward): Likewise.
51131         (asinh_test): Likewise.
51132         (atan_test): Likewise.
51133         (atanh_test): Likewise.
51134         (atan2_test): Likewise.
51135         (cabs_test): Likewise.
51136         (cacos_test): Use END_COMPLEX macro without arguments.
51137         (cacosh_test): Likewise.
51138         (carg_test): Use END macro without arguments.
51139         (casin_test): Use END_COMPLEX macro without arguments.
51140         (casinh_test): Likewise.
51141         (catan_test): Likewise.
51142         (catanh_test): Likewise.
51143         (cbrt_test): Use END macro without arguments.
51144         (ccos_test): Use END_COMPLEX macro without arguments.
51145         (ccosh_test): Likewise.
51146         (ceil_test): Use END macro without arguments.
51147         (cexp_test): Use END_COMPLEX macro without arguments.
51148         (cimag_test): Use END macro without arguments.
51149         (clog_test): Use END_COMPLEX macro without arguments.
51150         (clog10_test): Likewise.
51151         (conj_test): Likewise.
51152         (copysign_test): Use END macro without arguments.
51153         (cos_test): Likewise.
51154         (cos_test_tonearest): Likewise.
51155         (cos_test_towardzero): Likewise.
51156         (cos_test_downward): Likewise.
51157         (cos_test_upward): Likewise.
51158         (cosh_test): Likewise.
51159         (cosh_test_tonearest): Likewise.
51160         (cosh_test_towardzero): Likewise.
51161         (cosh_test_downward): Likewise.
51162         (cosh_test_upward): Likewise.
51163         (cpow_test): Use END_COMPLEX macro without arguments.
51164         (cproj_test): Likewise.
51165         (creal_test): Use END macro without arguments.
51166         (csin_test): Use END_COMPLEX macro without arguments.
51167         (csinh_test): Likewise.
51168         (csqrt_test): Likewise.
51169         (ctan_test): Likewise.
51170         (ctan_test_tonearest): Likewise.
51171         (ctan_test_towardzero): Likewise.
51172         (ctan_test_downward): Likewise.
51173         (ctan_test_upward): Likewise.
51174         (ctanh_test): Likewise.
51175         (ctanh_test_tonearest): Likewise.
51176         (ctanh_test_towardzero): Likewise.
51177         (ctanh_test_downward): Likewise.
51178         (ctanh_test_upward): Likewise.
51179         (erf_test): Use END macro without arguments.
51180         (erfc_test): Likewise.
51181         (exp_test): Likewise.
51182         (exp_test_tonearest): Likewise.
51183         (exp_test_towardzero): Likewise.
51184         (exp_test_downward): Likewise.
51185         (exp_test_upward): Likewise.
51186         (exp10_test): Likewise.
51187         (exp2_test): Likewise.
51188         (expm1_test): Likewise.
51189         (fabs_test): Likewise.
51190         (fdim_test): Likewise.
51191         (finite_test): Likewise.
51192         (floor_test): Likewise.
51193         (fma_test): Likewise.
51194         (fma_test_towardzero): Likewise.
51195         (fma_test_downward): Likewise.
51196         (fma_test_upward): Likewise.
51197         (fmax_test): Likewise.
51198         (fmin_test): Likewise.
51199         (fmod_test): Likewise.
51200         (fpclassify_test): Likewise.
51201         (frexp_test): Likewise.
51202         (gamma_test): Likewise.
51203         (hypot_test): Likewise.
51204         (ilogb_test): Likewise.
51205         (isfinite_test): Likewise.
51206         (isgreater_test): Likewise.
51207         (isgreaterequal_test): Likewise.
51208         (isinf_test): Likewise.
51209         (isless_test): Likewise.
51210         (islessequal_test): Likewise.
51211         (islessgreater_test): Likewise.
51212         (isnan_test): Likewise.
51213         (isnormal_test): Likewise.
51214         (issignaling_test): Likewise.
51215         (isunordered_test): Likewise.
51216         (j0_test): Likewise.
51217         (j1_test): Likewise.
51218         (jn_test): Likewise.
51219         (ldexp_test): Likewise.
51220         (lgamma_test): Likewise.
51221         (lrint_test): Likewise.
51222         (lrint_test_tonearest): Likewise.
51223         (lrint_test_towardzero): Likewise.
51224         (lrint_test_downward): Likewise.
51225         (lrint_test_upward): Likewise.
51226         (llrint_test): Likewise.
51227         (llrint_test_tonearest): Likewise.
51228         (llrint_test_towardzero): Likewise.
51229         (llrint_test_downward): Likewise.
51230         (llrint_test_upward): Likewise.
51231         (log_test): Likewise.
51232         (log10_test): Likewise.
51233         (log1p_test): Likewise.
51234         (log2_test): Likewise.
51235         (logb_test): Likewise.
51236         (logb_test_downward): Likewise.
51237         (lround_test): Likewise.
51238         (llround_test): Likewise.
51239         (modf_test): Likewise.
51240         (nearbyint_test): Likewise.
51241         (nextafter_test): Likewise.
51242         (nexttoward_test): Likewise.
51243         (pow_test): Likewise.
51244         (pow_test_tonearest): Likewise.
51245         (pow_test_towardzero): Likewise.
51246         (pow_test_downward): Likewise.
51247         (pow_test_upward): Likewise.
51248         (remainder_test): Likewise.
51249         (remainder_test_tonearest): Likewise.
51250         (remainder_test_towardzero): Likewise.
51251         (remainder_test_downward): Likewise.
51252         (remainder_test_upward): Likewise.
51253         (remquo_test): Likewise.
51254         (rint_test): Likewise.
51255         (rint_test_tonearest): Likewise.
51256         (rint_test_towardzero): Likewise.
51257         (rint_test_downward): Likewise.
51258         (rint_test_upward): Likewise.
51259         (round_test): Likewise.
51260         (scalb_test): Likewise.
51261         (scalbn_test): Likewise.
51262         (scalbln_test): Likewise.
51263         (signbit_test): Likewise.
51264         (sin_test): Likewise.
51265         (sin_test_tonearest): Likewise.
51266         (sin_test_towardzero): Likewise.
51267         (sin_test_downward): Likewise.
51268         (sin_test_upward): Likewise.
51269         (sincos_test): Likewise.
51270         (sinh_test): Likewise.
51271         (sinh_test_tonearest): Likewise.
51272         (sinh_test_towardzero): Likewise.
51273         (sinh_test_downward): Likewise.
51274         (sinh_test_upward): Likewise.
51275         (sqrt_test): Likewise.
51276         (tan_test): Likewise.
51277         (tan_test_tonearest): Likewise.
51278         (tan_test_towardzero): Likewise.
51279         (tan_test_downward): Likewise.
51280         (tan_test_upward): Likewise.
51281         (tanh_test): Likewise.
51282         (tgamma_test): Likewise.
51283         (trunc_test): Likewise.
51284         (y0_test): Likewise.
51285         (y1_test): Likewise.
51286         (yn_test): Likewise.
51287         (significand_test): Likewise.
51289 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51291         [BZ #15381]
51292         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51294 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51296         [BZ #14894]
51297         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51298         __ppc_mdoio and __ppc_mdoom.
51299         * manual/platform.texi: Document new functions __ppc_yield,
51300         __ppc_mdoio and __ppc_mdoom.
51302 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51304         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51305         (main): Mention "tls" pseudo-hwcap is legacy.
51306         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51308 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51310         * math/gen-libm-test.pl (parse_args): Output only string of
51311         arguments as text for test name, not full call or descriptions of
51312         tests for extra outputs.
51313         (generate_testfile): Do not pass function name to parse_args.
51314         Generate this_func variable from START.
51315         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51316         field to arg_str.
51317         (struct test_ff_f_data): Likewise.
51318         (test_ff_f_data_nexttoward): Likewise.
51319         (struct test_fi_f_data): Likewise.
51320         (struct test_fl_f_data): Likewise.
51321         (struct test_if_f_data): Likewise.
51322         (struct test_fff_f_data): Likewise.
51323         (struct test_c_f_data): Likewise.
51324         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51325         (struct test_fF_f1_data): Likewise.
51326         (struct test_ffI_f1_data): Likewise.
51327         (struct test_c_c_data): Rename test_name field to arg_str.
51328         (struct test_cc_c_data): Likewise.
51329         (struct test_f_i_data): Likewise.
51330         (struct test_ff_i_data): Likewise.
51331         (struct test_f_l_data): Likewise.
51332         (struct test_f_L_data): Likewise.
51333         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51334         and extra2_name.
51335         (COMMON_TEST_SETUP): New macro.
51336         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51337         (COMMON_TEST_CLEANUP): Likewise.
51338         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51339         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51340         macros.
51341         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51342         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51343         macros.
51344         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51345         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51346         cleanup macros.
51347         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51348         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51349         macros.
51350         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51351         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51352         macros.
51353         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51354         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51355         cleanup macros.
51356         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51357         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51358         cleanup macros.
51359         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51360         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51361         cleanup macros.
51362         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51363         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51364         macros.
51365         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51366         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51367         macros.
51368         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51369         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51370         macros.
51371         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51372         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51373         cleanup macros.
51374         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51375         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51376         cleanup macros.
51377         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51378         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51379         macros.
51380         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51381         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51382         cleanup macros.
51383         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51384         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51385         macros.
51386         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51387         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51388         macros.
51389         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51390         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51391         cleanup macros.
51392         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51394 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51396         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51397         to _sifields.sigfault.
51398         (si_addr_lsb): Define new macro.
51399         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51400         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51401         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51403 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51405         [BZ #15441]
51406         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51407         returns -1.
51408         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51409         null return -1.
51410         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51411         loading the domain.
51413 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51415         * math/gen-libm-test.pl (parse_args): Do not include expected
51416         result in test name.
51417         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51418         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51419         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51420         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51421         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51424 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51426         * benchtests/Makefile: Sort function entries.
51428         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51429         tanh, asinh, acosh, atanh.
51430         * benchtests/acos-inputs: New file.
51431         * benchtests/acosh-inputs: New file.
51432         * benchtests/asin-inputs: New file.
51433         * benchtests/asinh-inputs: New file.
51434         * benchtests/atanh-inputs: New file.
51435         * benchtests/cosh-inputs: New file.
51436         * benchtests/log-inputs: New file.
51437         * benchtests/sinh-inputs: New file.
51438         * benchtests/tanh-inputs: New file.
51440 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51442         [BZ #15339]
51443         * posix/tst-getaddrinfo4.c: New test.
51444         * posix/Makefile (tests): Add it.
51446 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51448         [BZ #15339]
51449         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51450         when no services were used.
51451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51452         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51454 2013-05-21  Andreas Schwab  <schwab@suse.de>
51456         [BZ #15014]
51457         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51458         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51459         successful.
51460         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51461         redundant variable declarations and reallocation of buffer when
51462         parsing as IPv6 address.  Always set NSS status when called from
51463         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51464         buffer too small.  Correct computation of needed size.
51465         * nss/Makefile (tests): Add test-digits-dots.
51466         * nss/test-digits-dots.c: New test.
51468 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51470         * benchtests/Makefile: Remove instructions for adding
51471         benchmark tests.
51472         * benchtests/README: New file to explain how to execute and
51473         enhance the benchmark tests.
51475 2013-05-21  Andreas Schwab  <schwab@suse.de>
51477         [BZ #15493]
51478         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51479         * setjmp/tst-sigsetjmp.c: New test.
51481 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51483         * sysdeps/x86_64/memset.S (memset): New implementation.
51484         (__bzero): Likewise.
51485         (__memset_tail): New function.
51487 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51489         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51490         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51491         __memcpy_sse2_unaligned ifunc selection.
51492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51493         Add memcpy-sse2-unaligned.S.
51494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51495         Add: __memcpy_sse2_unaligned.
51497 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51499         [BZ #15490]
51500         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51501         math_force_eval before restoring floating-point envrionment.
51502         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51503         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51504         Likewise.
51505         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51506         <math_private.h>.
51507         (__nearbyintl): Use math_force_eval before restoring
51508         floating-point environment.
51509         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51511         * math/gen-libm-test.pl (special_functions): Remove.
51512         (parse_args): Don't handle TEST_extra.  Handle functions with no
51513         return value.
51514         * math/libm-test.inc (struct test_sincos_data): Replace with
51515         struct test_fFF_11_data.
51516         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51517         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51518         (sincos_test_data): Change element type to struct
51519         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51520         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51521         RUN_TEST_LOOP_sincos.
51522         * math/README.libm-test: Don't mention special handling of
51523         individual functions.
51524         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51525         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51526         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51527         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51528         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51531         * math/gen-libm-test.pl (get_variable): Remove function.
51532         (parse_args): Don't show pointer parameters to call in test
51533         names.  Use "extra output N" in test names for extra outputs
51534         rather than naming variables.
51536 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51538         [BZ #15488]
51539         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51540         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51541         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51542         double tests.
51543         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51544         disable.
51545         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51546         check_long_double.
51548         * math/gen-libm-test.pl (@tests): Remove variable.
51549         ($count): Likewise.
51550         (new_test): Remove function.
51551         (show_exceptions): New function.
51552         (special_functions): Use show_exceptions instead of new_test.
51553         (parse_args): Likewise.
51554         (generate_testfile): Pass only function name in generated call to
51555         print_max_error or print_complex_max_error.
51556         (get_ulps): Do not handle complex tests specially.
51557         (output_test): Rename to ...
51558         (get_all_ulps_for_test): ... this.  Return a string rather than
51559         printing to a file.  Require ulps to be present.
51560         (output_ulps): Generate arrays rather than #defines.
51561         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51562         (struct ulp_data): New type.
51563         (BUILD_COMPLEX_ULP): Remove macro.
51564         (compare_ulp_data): New function.
51565         (find_ulps): Likewise.
51566         (find_test_ulps): Likewise.
51567         (find_function_ulps): Likewise.
51568         (find_complex_function_ulps): Likewise.
51569         (print_max_error): Determine allowed ulps using
51570         find_function_ulps.
51571         (print_complex_max_error): Determine allowed ulps using
51572         find_complex_function_ulps.
51573         (check_float_internal): Determine max ulps using find_test_ulps.
51574         (check_float): Do not take max_ulp parameter.  Update call to
51575         check_float_internal.
51576         (check_complex): Likewise.
51577         (check_int): Do not take max_ulp parameter.
51578         (check_long): Likewise.
51579         (check_bool): Likewise.
51580         (check_longlong): Likewise.
51581         (struct test_f_f_data): Remove max_ulp field.
51582         (struct test_ff_f_data): Likewise.
51583         (struct test_ff_f_data_nexttoward): Likewise.
51584         (struct test_fi_f_data): Likewise.
51585         (struct test_fl_f_data): Likewise.
51586         (struct test_if_f_data): Likewise.
51587         (struct test_fff_f_data): Likewise.
51588         (struct test_c_f_data): Likewise.
51589         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51590         (struct test_fF_f1_data): Likewise.
51591         (struct test_ffI_f1_data): Likewise.
51592         (struct test_c_c_data): Remove max_ulp field.
51593         (struct test_cc_c_data): Likewise.
51594         (struct test_f_i_data): Likewise.
51595         (struct test_ff_i_data): Likewise.
51596         (struct test_f_l_data): Likewise.
51597         (struct test_f_L_data): Likewise.
51598         (struct test_sincos_data): Likewise.
51599         (RUN_TEST_f_f): Do not handle ulps.
51600         (RUN_TEST_LOOP_f_f): Likewise.
51601         (RUN_TEST_2_f): Likewise.
51602         (RUN_TEST_LOOP_2_f): Likewise.
51603         (RUN_TEST_fff_f): Likewise.
51604         (RUN_TEST_LOOP_fff_f): Likewise.
51605         (RUN_TEST_c_f): Likewise.
51606         (RUN_TEST_LOOP_c_f): Likewise.
51607         (RUN_TEST_f_f1): Likewise.
51608         (RUN_TEST_LOOP_f_f1): Likewise.
51609         (RUN_TEST_fF_f1): Likewise.
51610         (RUN_TEST_LOOP_fF_f1): Likewise.
51611         (RUN_TEST_fI_f1): Likewise.
51612         (RUN_TEST_LOOP_fI_f1): Likewise.
51613         (RUN_TEST_ffI_f1): Likewise.
51614         (RUN_TEST_LOOP_ffI_f1): Likewise.
51615         (RUN_TEST_c_c): Likewise.
51616         (RUN_TEST_LOOP_c_c): Likewise.
51617         (RUN_TEST_cc_c): Likewise.
51618         (RUN_TEST_LOOP_cc_c): Likewise.
51619         (RUN_TEST_f_i): Likewise.
51620         (RUN_TEST_LOOP_f_i): Likewise.
51621         (RUN_TEST_f_i_tg): Likewise.
51622         (RUN_TEST_LOOP_f_i_tg): Likewise.
51623         (RUN_TEST_ff_i_tg): Likewise.
51624         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51625         (RUN_TEST_f_b): Likewise.
51626         (RUN_TEST_LOOP_f_b): Likewise.
51627         (RUN_TEST_f_b_tg): Likewise.
51628         (RUN_TEST_LOOP_f_b_tg): Likewise.
51629         (RUN_TEST_f_l): Likewise.
51630         (RUN_TEST_LOOP_f_l): Likewise.
51631         (RUN_TEST_f_L): Likewise.
51632         (RUN_TEST_LOOP_f_L): Likewise.
51633         (RUN_TEST_sincos): Likewise.
51634         (RUN_TEST_LOOP_sincos): Likewise.
51636 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51638         [BZ #15480]
51639         [BZ #15485]
51640         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51641         main case of finite arguments, set rounding mode to FE_TONEAREST
51642         and discard exceptions.
51643         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51644         exceptions.
51645         (remainder_tonearest_test_data): New variable.
51646         (remainder_test_tonearest): New function.
51647         (remainder_towardzero_test_data): New variable.
51648         (remainder_test_towardzero): New function.
51649         (remainder_downward_test_data): New variable.
51650         (remainder_test_downward): New function.
51651         (remainder_upward_test_data): New variable.
51652         (remainder_test_upward): New function.
51653         (main): Call the new test functions.
51655         * math/libm-test.inc (struct test_f_f1_data): Remove field
51656         extra_init.
51657         (struct test_fF_f1_data): Likewise.
51658         (struct test_ffI_f1_data): Likewise.
51659         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51660         based on value of EXTRA_EXPECTED.
51661         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51662         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51663         EXTRA_VAR based on value of EXTRA_EXPECTED.
51664         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51665         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51666         EXTRA_VAR based on value of EXTRA_EXPECTED.
51667         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51668         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51669         EXTRA_VAR based on value of EXTRA_EXPECTED.
51670         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51671         * math/gen-libm-test.pl (parse_args): Don't output initializers
51672         for extra output values.
51674         * math/libm-test.inc (check_int): Expect result to be exactly
51675         equal to expected value and do not handle ulps.
51676         (check_long): Likewise.
51677         (check_longlong): Likewise.
51679         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51680         exceptions.
51681         (cimag_test_data): Likewise.
51682         (conj_test_data): Likewise.
51683         (copysign_test_data): Likewise.
51684         (cproj_test_data): Likewise.
51685         (creal_test_data): Likewise.
51686         (fabs_test_data): Likewise.
51687         (fdim_test_data): Likewise.
51688         (finite_test_data): Likewise.
51689         (floor_test_data): Likewise.
51690         (fmax_test_data): Likewise.
51691         (fmin_test_data): Likewise.
51692         (fmod_test_data): Likewise.
51693         (fpclassify_test_data): Likewise.
51694         (frexp_test_data): Likewise.
51695         (ilogb_test_data): Likewise.
51696         (isfinite_test_data): Likewise.
51697         (isgreater_test_data): Likewise.
51698         (isgreaterequal_test_data): Likewise.
51699         (isinf_test_data): Likewise.
51700         (isless_test_data): Likewise.
51701         (islessequal_test_data): Likewise.
51702         (islessgreater_test_data): Likewise.
51703         (isnan_test_data): Likewise.
51704         (isnormal_test_data): Likewise.
51705         (issignaling_test_data): Likewise.
51706         (isunordered_test_data): Likewise.
51707         (ldexp_test_data): Likewise.
51708         (lrint_test_data): Likewise.
51709         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51710         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51711         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51712         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51713         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51714         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51715         test input.
51716         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51717         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51718         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51719         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51720         that test input.
51721         (lrint_downward_test_data): Test for "inexact" exceptions.
51722         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51723         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51724         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51725         test input.
51726         (lrint_upward_test_data): Test for "inexact" exceptions.
51727         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51728         test input.
51729         (llrint_test_data): Test for "inexact" exceptions.
51730         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51731         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51732         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51733         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51734         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51735         (llrint_downward_test_data): Test for "inexact" exceptions.
51736         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51737         (llrint_upward_test_data): Test for "inexact" exceptions.
51738         (logb_test_data): Likewise.
51739         (logb_downward_test_data): Likewise.
51740         (nextafter_test_data): Likewise.
51741         (nexttoward_test_data): Likewise.
51742         (remainder_test_data): Likewise.
51743         (remquo_test_data): Likewise.
51744         (scalbn_test_data): Likewise.
51745         (scalbln_test_data): Likewise.
51746         (signbit_test_data): Likewise.
51747         (sqrt_test_data): Likewise.
51748         (significand_test_data): Likewise.
51750 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51752         [BZ #15424]
51753         * benchtests/bench-modf.c (struct args): Mark arg0 as
51754         volatile.
51755         * scripts/bench.pl: Mark members of struct args as volatile.
51757 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51759         [BZ # 15497]
51760         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51761         negative infinity on POWER6 or lower.
51762         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51764 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51766         [BZ #15442]
51767         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51768         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51769         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51770         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51771         (_FP_SETQNAN): New macro.
51772         (_FP_SETQNAN_SEMIRAW): Likewise.
51773         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51774         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51775         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51776         (FP_EXTEND): Use _FP_FRAC_SNANP.
51777         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51778         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51779         into account.
51780         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51781         New macro.
51782         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51783         Likewise.
51785 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51787         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51788         with DIVIDE_BY_ZERO_EXCEPTION.
51789         (gamma_test_data): Likewise.
51790         (lgamma_test_data): Likewise.
51791         (log_test_data): Likewise.
51792         (log10_test_data): Likewise.
51793         (log2_test_data): Likewise.
51794         (tgamma_test_data): Likewise.
51796         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51797         (acos_test_tonearest): Likewise.
51798         (acos_test_towardzero): Likewise.
51799         (acos_test_downward): Likewise.
51800         (acos_test_upward): Likewise.
51801         (acosh_test): Likewise.
51802         (asin_test): Likewise.
51803         (asin_test_tonearest): Likewise.
51804         (asin_test_towardzero): Likewise.
51805         (asin_test_downward): Likewise.
51806         (asin_test_upward): Likewise.
51807         (asinh_test): Likewise.
51808         (atan_test): Likewise.
51809         (atanh_test): Likewise.
51810         (atan2_test): Likewise.
51811         (cabs_test): Likewise.
51812         (cacos_test): Likewise.
51813         (cacosh_test): Likewise.
51814         (casin_test): Likewise.
51815         (casinh_test): Likewise.
51816         (catan_test): Likewise.
51817         (catanh_test): Likewise.
51818         (cbrt_test): Likewise.
51819         (ccos_test): Likewise.
51820         (ccosh_test): Likewise.
51821         (cexp_test): Likewise.
51822         (clog_test): Likewise.
51823         (clog10_test): Likewise.
51824         (cos_test): Likewise.
51825         (cos_test_tonearest): Likewise.
51826         (cos_test_towardzero): Likewise.
51827         (cos_test_downward): Likewise.
51828         (cos_test_upward): Likewise.
51829         (cosh_test): Likewise.
51830         (cosh_test_tonearest): Likewise.
51831         (cosh_test_towardzero): Likewise.
51832         (cosh_test_downward): Likewise.
51833         (cosh_test_upward): Likewise.
51834         (cpow_test): Likewise.
51835         (csin_test): Likewise.
51836         (csinh_test): Likewise.
51837         (csqrt_test): Likewise.
51838         (ctan_test): Likewise.
51839         (ctan_test_tonearest): Likewise.
51840         (ctan_test_towardzero): Likewise.
51841         (ctan_test_downward): Likewise.
51842         (ctan_test_upward): Likewise.
51843         (ctanh_test): Likewise.
51844         (ctanh_test_tonearest): Likewise.
51845         (ctanh_test_towardzero): Likewise.
51846         (ctanh_test_downward): Likewise.
51847         (ctanh_test_upward): Likewise.
51848         (erf_test): Likewise.
51849         (erfc_test): Likewise.
51850         (exp_test): Likewise.
51851         (exp_test_tonearest): Likewise.
51852         (exp_test_towardzero): Likewise.
51853         (exp_test_downward): Likewise.
51854         (exp_test_upward): Likewise.
51855         (exp10_test): Likewise.
51856         (exp2_test): Likewise.
51857         (expm1_test): Likewise.
51858         (fmod_test): Likewise.
51859         (gamma_test): Likewise.
51860         (hypot_test): Likewise.
51861         (j0_test): Likewise.
51862         (j1_test): Likewise.
51863         (jn_test): Likewise.
51864         (lgamma_test): Likewise.
51865         (log_test): Likewise.
51866         (log10_test): Likewise.
51867         (log1p_test): Likewise.
51868         (log2_test): Likewise.
51869         (logb_test_downward): Likewise.
51870         (pow_test): Likewise.
51871         (pow_test_tonearest): Likewise.
51872         (pow_test_towardzero): Likewise.
51873         (pow_test_downward): Likewise.
51874         (pow_test_upward): Likewise.
51875         (remainder_test): Likewise.
51876         (remquo_test): Likewise.
51877         (sin_test): Likewise.
51878         (sin_test_tonearest): Likewise.
51879         (sin_test_towardzero): Likewise.
51880         (sin_test_downward): Likewise.
51881         (sin_test_upward): Likewise.
51882         (sincos_test): Likewise.
51883         (sinh_test): Likewise.
51884         (sinh_test_tonearest): Likewise.
51885         (sinh_test_towardzero): Likewise.
51886         (sinh_test_downward): Likewise.
51887         (sinh_test_upward): Likewise.
51888         (sqrt_test): Likewise.
51889         (tan_test): Likewise.
51890         (tan_test_tonearest): Likewise.
51891         (tan_test_towardzero): Likewise.
51892         (tan_test_downward): Likewise.
51893         (tan_test_upward): Likewise.
51894         (tanh_test): Likewise.
51895         (tgamma_test): Likewise.
51896         (y0_test): Likewise.
51897         (y1_test): Likewise.
51898         (yn_test): Likewise.
51900         * math/gen-libm-test.pl (adjust_arg): Remove function.
51901         (special_function): Remove argument $in_func.  Only handle
51902         generating output for tables of tests, not inside functions.
51903         (parse_args): Likewise.
51904         (generate_testfile): Remove variable $in_func.  Update call to
51905         parse_args.
51906         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51907         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51908         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51909         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51910         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51911         (MAX_VALUE_INIT): Rename macro to max_value.
51912         (MIN_VALUE_INIT): Rename macro to min_value.
51913         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51914         (plus_zero): Remove variable.
51915         (minus_zero): Likewise.
51916         (plus_infty): Likewise.
51917         (minus_infty): Likewise.
51918         (qnan_value): Likewise.
51919         (max_value): Likewise.
51920         (min_value): Likewise.
51921         (min_subnorm_value): Likewise.
51923 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51925         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51926         uint64_t or uint32_t usage.
51927         * crypt/sha256-block.c: Likewise.
51928         * crypt/sha256-crypt.c: Likewise.
51929         * crypt/sha256.c: Likewise.
51930         * crypt/sha512-block.c: Likewise.
51931         * crypt/sha512-crypt.c: Likewise.
51932         * crypt/sha512.c: Likewise.
51933         * debug/backtrace-tst.c: Likewise.
51934         * debug/pcprofiledump.c: Likewise.
51935         * elf/cache.c: Likewise.
51936         * elf/dl-cache.c: Likewise.
51937         * elf/dl-misc.c: Likewise.
51938         * elf/dl-profile.c: Likewise.
51939         * elf/dl-support.c: Likewise.
51940         * elf/ldconfig.c: Likewise.
51941         * elf/sprof.c: Likewise.
51942         * iconv/dummy-repertoire.c: Likewise.
51943         * iconv/iconv_charmap.c: Likewise.
51944         * iconv/skeleton.c: Likewise.
51945         * iconvdata/8bit-generic.c: Likewise.
51946         * iconvdata/cp737.h: Likewise.
51947         * iconvdata/cp775.h: Likewise.
51948         * iconvdata/ibm1008.h: Likewise.
51949         * iconvdata/ibm1025.h: Likewise.
51950         * iconvdata/ibm1046.h: Likewise.
51951         * iconvdata/ibm1097.h: Likewise.
51952         * iconvdata/ibm1112.h: Likewise.
51953         * iconvdata/ibm1122.h: Likewise.
51954         * iconvdata/ibm1123.h: Likewise.
51955         * iconvdata/ibm1124.h: Likewise.
51956         * iconvdata/ibm1129.h: Likewise.
51957         * iconvdata/ibm1130.h: Likewise.
51958         * iconvdata/ibm1132.h: Likewise.
51959         * iconvdata/ibm1133.h: Likewise.
51960         * iconvdata/ibm1137.h: Likewise.
51961         * iconvdata/ibm1140.h: Likewise.
51962         * iconvdata/ibm1141.h: Likewise.
51963         * iconvdata/ibm1142.h: Likewise.
51964         * iconvdata/ibm1143.h: Likewise.
51965         * iconvdata/ibm1144.h: Likewise.
51966         * iconvdata/ibm1145.h: Likewise.
51967         * iconvdata/ibm1146.h: Likewise.
51968         * iconvdata/ibm1147.h: Likewise.
51969         * iconvdata/ibm1148.h: Likewise.
51970         * iconvdata/ibm1149.h: Likewise.
51971         * iconvdata/ibm1153.h: Likewise.
51972         * iconvdata/ibm1154.h: Likewise.
51973         * iconvdata/ibm1155.h: Likewise.
51974         * iconvdata/ibm1156.h: Likewise.
51975         * iconvdata/ibm1157.h: Likewise.
51976         * iconvdata/ibm1158.h: Likewise.
51977         * iconvdata/ibm1160.h: Likewise.
51978         * iconvdata/ibm1161.h: Likewise.
51979         * iconvdata/ibm1162.h: Likewise.
51980         * iconvdata/ibm1163.h: Likewise.
51981         * iconvdata/ibm1164.h: Likewise.
51982         * iconvdata/ibm1166.h: Likewise.
51983         * iconvdata/ibm1167.h: Likewise.
51984         * iconvdata/ibm12712.h: Likewise.
51985         * iconvdata/ibm1390.h: Likewise.
51986         * iconvdata/ibm1399.h: Likewise.
51987         * iconvdata/ibm16804.h: Likewise.
51988         * iconvdata/ibm4517.h: Likewise.
51989         * iconvdata/ibm4899.h: Likewise.
51990         * iconvdata/ibm4909.h: Likewise.
51991         * iconvdata/ibm4971.h: Likewise.
51992         * iconvdata/ibm5347.h: Likewise.
51993         * iconvdata/ibm803.h: Likewise.
51994         * iconvdata/ibm856.h: Likewise.
51995         * iconvdata/ibm901.h: Likewise.
51996         * iconvdata/ibm902.h: Likewise.
51997         * iconvdata/ibm9030.h: Likewise.
51998         * iconvdata/ibm9066.h: Likewise.
51999         * iconvdata/ibm921.h: Likewise.
52000         * iconvdata/ibm922.h: Likewise.
52001         * iconvdata/ibm9448.h: Likewise.
52002         * iconvdata/isiri-3342.h: Likewise.
52003         * iconvdata/jis0201.h: Likewise.
52004         * include/link.h: Likewise.
52005         * include/netdb.h: Likewise.
52006         * inet/check_native.c: Likewise.
52007         * inet/check_pf.c: Likewise.
52008         * inet/getipv4sourcefilter.c: Likewise.
52009         * inet/getnameinfo.c: Likewise.
52010         * inet/getsourcefilter.c: Likewise.
52011         * inet/htonl.c: Likewise.
52012         * inet/setipv4sourcefilter.c: Likewise.
52013         * inet/setsourcefilter.c: Likewise.
52014         * inet/test-inet6_opt.c: Likewise.
52015         * inet/tst-network.c: Likewise.
52016         * locale/C-collate.c: Likewise.
52017         * locale/C-ctype.c: Likewise.
52018         * locale/C-time.c: Likewise.
52019         * locale/C-translit.h: Likewise.
52020         * locale/loadarchive.c: Likewise.
52021         * locale/programs/3level.h: Likewise.
52022         * locale/programs/charmap.c: Likewise.
52023         * locale/programs/charmap.h: Likewise.
52024         * locale/programs/ld-address.c: Likewise.
52025         * locale/programs/ld-collate.c: Likewise.
52026         * locale/programs/ld-ctype.c: Likewise.
52027         * locale/programs/ld-identification.c: Likewise.
52028         * locale/programs/ld-measurement.c: Likewise.
52029         * locale/programs/ld-messages.c: Likewise.
52030         * locale/programs/ld-monetary.c: Likewise.
52031         * locale/programs/ld-name.c: Likewise.
52032         * locale/programs/ld-numeric.c: Likewise.
52033         * locale/programs/ld-paper.c: Likewise.
52034         * locale/programs/ld-telephone.c: Likewise.
52035         * locale/programs/ld-time.c: Likewise.
52036         * locale/programs/linereader.c: Likewise.
52037         * locale/programs/locale.c: Likewise.
52038         * locale/programs/locarchive.c: Likewise.
52039         * locale/programs/locfile.h: Likewise.
52040         * locale/programs/repertoire.c: Likewise.
52041         * locale/programs/simple-hash.c: Likewise.
52042         * locale/programs/simple-hash.h: Likewise.
52043         * malloc/memusage.c: Likewise.
52044         * malloc/memusagestat.c: Likewise.
52045         * nis/nis_defaults.c: Likewise.
52046         * nis/nis_hash.c: Likewise.
52047         * nis/nis_print.c: Likewise.
52048         * nis/nis_xdr.c: Likewise.
52049         * nscd/connections.c: Likewise.
52050         * nscd/hstcache.c: Likewise.
52051         * nscd/nscd_gethst_r.c: Likewise.
52052         * nscd/nscd_getserv_r.c: Likewise.
52053         * nscd/nscd_helper.c: Likewise.
52054         * nscd/servicescache.c: Likewise.
52055         * nss/makedb.c: Likewise.
52056         * nss/nss_db/db-XXX.c: Likewise.
52057         * nss/nss_db/db-initgroups.c: Likewise.
52058         * nss/nss_db/db-netgrp.c: Likewise.
52059         * nss/nss_files/files-network.c: Likewise.
52060         * nss/nss_files/files-parse.c: Likewise.
52061         * posix/bug-regex5.c: Likewise.
52062         * posix/fnmatch_loop.c: Likewise.
52063         * posix/regcomp.c: Likewise.
52064         * posix/regexec.c: Likewise.
52065         * posix/tst-rfc3484-2.c: Likewise.
52066         * posix/tst-rfc3484-3.c: Likewise.
52067         * posix/tst-rfc3484.c: Likewise.
52068         * resolv/nss_dns/dns-canon.c: Likewise.
52069         * resolv/nss_dns/dns-network.c: Likewise.
52070         * resolv/res_init.c: Likewise.
52071         * resolv/res_mkquery.c: Likewise.
52072         * resolv/tst-aton.c: Likewise.
52073         * stdlib/cxa_atexit.c: Likewise.
52074         * stdlib/cxa_finalize.c: Likewise.
52075         * stdlib/gen-fpioconst.c: Likewise.
52076         * stdlib/strtol_l.c: Likewise.
52077         * string/tst-endian.c: Likewise.
52078         * sunrpc/auth_des.c: Likewise.
52079         * sunrpc/clnt_udp.c: Likewise.
52080         * sunrpc/rtime.c: Likewise.
52081         * sunrpc/svcauth_des.c: Likewise.
52082         * sunrpc/xdr.c: Likewise.
52083         * sunrpc/xdr_intXX_t.c: Likewise.
52084         * sunrpc/xdr_rec.c: Likewise.
52085         * sysdeps/generic/ldconfig.h: Likewise.
52086         * sysdeps/generic/ldsodefs.h: Likewise.
52087         * sysdeps/generic/memusage.h: Likewise.
52088         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52089         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
52090         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
52091         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52092         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52093         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52094         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52095         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52096         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52097         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52098         * sysdeps/posix/getaddrinfo.c: Likewise.
52099         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52100         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52101         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52102         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52103         * sysdeps/powerpc/test-gettimebase.c: Likewise.
52104         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
52105         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
52106         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
52107         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
52108         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
52109         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52110         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52111         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
52112         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
52113         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
52114         * sysdeps/x86_64/dl-tls.h: Likewise.
52115         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
52116         * time/alt_digit.c: Likewise.
52117         * time/era.c: Likewise.
52118         * wcsmbs/tst-c16c32-1.c: Likewise.
52120 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52122         * math/libm-test.inc (struct test_sincos_data): New type.
52123         (RUN_TEST_LOOP_sincos): New macro.
52124         (sincos_test_data): New variable.
52125         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52127 2013-05-16  Richard Henderson  <rth@redhat.com>
52129         * math/atest-exp2.c (LIMB64): New macro.
52130         (CONSTSZ): New macro.
52131         (mp_exp1, mp_exp_m1, mp_log2): New variables.
52132         (hexdig): Move ...
52133         (print_mpn_fp): ... to function scope.
52134         (read_mpn_hex): Remove.
52135         (get_log2): Remove.
52136         (exp2_mpn): Use mp_log2.
52137         (main): Use mp_exp1.
52139 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52141         * math/libm-test.inc: Remove comment about not testing "inexact"
52142         exceptions.
52143         (INEXACT_EXCEPTION): New macro.
52144         (NO_INEXACT_EXCEPTION): Likewise.
52145         (INVALID_EXCEPTION_OK): Update value.
52146         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52147         (OVERFLOW_EXCEPTION_OK): Likewise.
52148         (UNDERFLOW_EXCEPTION_OK): Likewise.
52149         (IGNORE_ZERO_INF_SIGN): Likewise.
52150         (ERRNO_UNCHANGED): Likewise.
52151         (ERRNO_EDOM): Likewise.
52152         (ERRNO_ERANGE): Likewise.
52153         (test_exceptions): Handle testing "inexact" exceptions.
52154         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52155         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52156         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52157         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52158         INEXACT_EXCEPTION.
52159         (rint_towardzero_test_data): Likewise.
52160         (rint_downward_test_data): Likewise.
52161         (rint_upward_test_data): Likewise.
52163         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52164         with OVERFLOW_EXCEPTION.
52165         (exp10_test_data): Likewise.
52166         (exp2_test_data): Likewise.
52167         (expm1_test_data): Likewise.
52168         (lgamma_test_data): Likewise.
52169         (pow_test_data): Likewise.
52170         (tgamma_test_data): Likewise.
52171         (yn_test_data): Remove duplicate test of overflow.
52173         * math/libm-test.inc (struct test_cc_c_data): New type.
52174         (RUN_TEST_LOOP_cc_c): New macro.
52175         (cpow_test_data): New variable.
52176         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52178         * math/libm-test.inc (struct test_f_L_data): New type.
52179         (RUN_TEST_LOOP_f_L): New macro.
52180         (llrint_test_data): New variable.
52181         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52182         (llrint_tonearest_test_data): New variable.
52183         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52184         (llrint_towardzero_test_data): New variable.
52185         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52186         (llrint_downward_test_data): New variable.
52187         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52188         (llrint_upward_test_data): New variable.
52189         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52190         (llround_test_data): New variable.
52191         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52193 2013-05-13  Peter Collingbourne  <pcc@google.com>
52195         * math/atest-exp2.c (get_log2): Remove const attribute.
52197 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52199         * math/libm-test.inc (struct test_f_l_data): New type.
52200         (RUN_TEST_LOOP_f_l): New macro.
52201         (lrint_test_data): New variable.
52202         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52203         (lrint_tonearest_test_data): New variable.
52204         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52205         (lrint_towardzero_test_data): New variable.
52206         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52207         (lrint_downward_test_data): New variable.
52208         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52209         (lrint_upward_test_data): New variable.
52210         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52211         (lround_test_data): New variable.
52212         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52214 2013-05-15  Peter Collingbourne  <pcc@google.com>
52216         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52217         (EXTRACT_WORDS64) Use where appropriate.
52218         (INSERT_WORDS64) Likewise.
52220         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52221         constraints with x constraints.
52222         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52224         * malloc/obstack.c (_obstack_compat): Add initializer.
52226 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52228         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52229         si_trapno and add si_addr_lsb to _sifields.sigfault.
52230         (si_trapno): Remove macro.
52231         (si_addr_lsb): Define new macro.
52232         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52234 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52236         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52237         instead of TEST_f_l.
52238         (llrint_test_tonearest): Likewise.
52239         (llrint_test_towardzero): Likewise.
52240         (llrint_test_downward): Likewise.
52241         (llrint_test_upward): Likewise.
52242         (llround_test): Likewise.
52244         * math/libm-test.inc (struct test_f_i_data): Add comment.
52245         (RUN_TEST_LOOP_f_b): New macro.
52246         (RUN_TEST_LOOP_f_b_tg): Likewise.
52247         (finite_test_data): New variable.
52248         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52249         (isfinite_test_data): New variable.
52250         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52251         (isinf_test_data): New variable.
52252         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52253         (isnan_test_data): New variable.
52254         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52255         (isnormal_test_data): New variable.
52256         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52257         (issignaling_test_data): New variable.
52258         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52259         (signbit_test_data): New variable.
52260         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52262         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52263         with INVALID_EXCEPTION.
52264         (acosh_test_data): Likewise.
52265         (asin_test_data): Likewise.
52266         (atanh_test_data): Likewise.
52267         (fmod_test_data): Likewise.
52268         (log_test_data): Likewise.
52269         (log10_test_data): Likewise.
52270         (log2_test_data): Likewise.
52271         (pow_test_data): Likewise.
52272         (sqrt_test_data): Likewise.
52273         (y0_test_data): Likewise.
52274         (y1_test_data): Likewise.
52275         (yn_test_data): Likewise.
52277         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52278         function contents.
52280         * math/libm-test.inc (struct test_ff_i_data): New type.
52281         (RUN_TEST_LOOP_ff_i_tg): New macro.
52282         (isgreater_test_data): New variable.
52283         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52284         (isgreaterequal_test_data): New variable.
52285         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52286         (isless_test_data): New variable.
52287         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52288         (islessequal_test_data): New variable.
52289         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52290         (islessgreater_test_data): New variable.
52291         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52292         (isunordered_test_data): New variable.
52293         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52295 2013-05-14  David S. Miller  <davem@davemloft.net>
52297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52299 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52301         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52303         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52304         extra_test to int.
52305         (struct test_f_i_data): Change type of max_ulp to int.
52307         * math/libm-test.inc (test_ffI_f1_data): New type.
52308         (RUN_TEST_LOOP_ffI_f1): New macro.
52309         (remquo_test_data): New variable.
52310         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52312         * setjmp/tst-setjmp-fp.c: New file.
52313         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52314         (link-libm): New variable.
52315         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52317         * math/libm-test.inc (struct test_f_i_data): New type.
52318         (RUN_TEST_LOOP_f_i): New macro.
52319         (RUN_TEST_LOOP_f_i_tg): Likewise.
52320         (fpclassify_test_data): New variable.
52321         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52322         (ilogb_test_data): New variable.
52323         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52325         * math/libm-test.inc (scalbln_test): Correct function name in END
52326         call.
52328         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52329         (RUN_TEST_LOOP_fI_f1): New macro.
52330         (frexp_test_data): New variable.
52331         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52333         * math/libm-test.inc (struct test_fF_f1_data): New type.
52334         (RUN_TEST_LOOP_fF_f1): New macro.
52335         (modf_test_data): New variable.
52336         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52338         * math/libm-test.inc (struct test_f_f1_data): New type.
52339         (RUN_TEST_LOOP_f_f1): New macro.
52340         (gamma_test_data): New variable.
52341         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52342         (lgamma_test_data): New variable.
52343         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52345 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52347         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52348         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52349         (main): Comment "tls" pseudo-hwcap.
52351 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52353         * math/libm-test.inc (struct test_fl_f_data): New type.
52354         (RUN_TEST_LOOP_fl_f): New variable.
52355         (scalbln_test_data): New variable.
52356         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52358         * math/libm-test.inc (struct test_fi_f_data): New type.
52359         (RUN_TEST_LOOP_fi_f): New macro.
52360         (ldexp_test_data): New variable.
52361         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52362         (scalbn_test_data): New variable.
52363         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52365         * math/libm-test.inc (struct test_c_f_data): New type.
52366         (RUN_TEST_LOOP_c_f): New macro.
52367         (cabs_test_data): New variable.
52368         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52369         (carg_test_data): New variable.
52370         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52371         (cimag_test_data): New variable.
52372         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52373         (creal_test_data): New variable.
52374         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52376         * math/libm-test.inc (struct test_if_f_data): New type.
52377         (RUN_TEST_LOOP_if_f): New macro.
52378         (jn_test_data): New variable.
52379         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52380         (yn_test_data): New variable.
52381         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52383         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52385 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52387         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52388         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52390 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52392         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52393         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52394         (bench-deps): Add bench-timing.h.
52395         * benchtests-bench-skeleton.c: Include bench-timing.h.
52396         (main): Use TIMING_* macros instead of clock_gettime.
52397         * benchtests/bench-timing.h: New file.
52399         [BZ #14582]
52400         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52401         Renamed from _LIB_VERSION.
52402         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52404 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52406         * math/libm-test.inc (struct test_fff_f_data): New type.
52407         (RUN_TEST_LOOP_fff_f): New macro.
52408         (fma_test_data): New variable.
52409         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52410         (fma_towardzero_test_data): New variable.
52411         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52412         (fma_downward_test_data): New variable.
52413         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52414         (fma_upward_test_data): New variable.
52415         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52417         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52418         (struct test_c_c_data): New type.
52419         (RUN_TEST_LOOP_c_c): New macro.
52420         (cacos_test_data): New variable.
52421         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52422         (cacosh_test_data): New variable.
52423         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52424         (casin_test_data): New variable.
52425         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52426         (casinh_test_data): New variable.
52427         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52428         (catan_test_data): New variable.
52429         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52430         (catanh_test_data): New variable.
52431         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52432         (ccos_test_data): New variable.
52433         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52434         (ccosh_test_data): New variable.
52435         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52436         (cexp_test_data): New variable.
52437         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52438         (clog_test_data): New variable.
52439         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52440         (clog10_test_data): New variable.
52441         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52442         (conj_test_data): New variable.
52443         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52444         (cproj_test_data): New variable.
52445         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52446         (csin_test_data): New variable.
52447         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52448         (csinh_test_data): New variable.
52449         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52450         (csqrt_test_data): New variable.
52451         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52452         (ctan_test_data): New variable.
52453         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52454         (ctan_tonearest_test_data): New variable.
52455         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52456         (ctan_towardzero_test_data): New variable.
52457         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52458         (ctan_downward_test_data): New variable.
52459         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52460         (ctan_upward_test_data): New variable.
52461         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52462         (ctanh_test_data): New variable.
52463         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52464         (ctanh_tonearest_test_data): New variable.
52465         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52466         (ctanh_towardzero_test_data): New variable.
52467         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52468         (ctanh_downward_test_data): New variable.
52469         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52470         (ctanh_upward_test_data): New variable.
52471         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52472         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52473         of BUILD_COMPLEX.
52475         * math/libm-test.inc (struct test_ff_f_data): New type.
52476         (struct test_ff_f_data_nexttoward): Likewise.
52477         (RUN_TEST_LOOP_2_f): New macro.
52478         (RUN_TEST_LOOP_ff_f): Likewise.
52479         (atan2_test_data): New variable.
52480         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52481         (copysign_test_data): New variable.
52482         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52483         (fdim_test_data): New variable.
52484         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52485         (fmax_test_data): New variable.
52486         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52487         (fmin_test_data): New variable.
52488         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52489         (fmod_test_data): New variable.
52490         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52491         (hypot_test_data): New variable.
52492         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52493         (nextafter_test_data): New variable.
52494         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52495         (nexttoward_test_data): New variable.
52496         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52497         (pow_test_data): New variable.
52498         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52499         (pow_tonearest_test_data): New variable.
52500         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52501         (pow_towardzero_test_data): New variable.
52502         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52503         (pow_downward_test_data): New variable.
52504         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52505         (pow_upward_test_data): New variable.
52506         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52507         (remainder_test_data): New variable.
52508         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52509         (scalb_test_data): New variable.
52510         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52511         * sysdeps/i386/fpu/libm-test-ulps: Update.
52513 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52515         * math/libm-test.inc (fma_test): Use max_value instead of local
52516         variable fltmax.
52517         (nextafter_test): Likewise.
52519         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52520         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52521         (acos_downward_test_data): New variable.
52522         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52523         (acos_upward_test_data): New variable.
52524         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52525         (acosh_test_data): New variable.
52526         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52527         (asin_test_data): New variable.
52528         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52529         (asin_tonearest_test_data): New variable.
52530         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52531         (asin_towardzero_test_data): New variable.
52532         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52533         (asin_downward_test_data): New variable.
52534         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52535         (asin_upward_test_data): New variable.
52536         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52537         (asinh_test_data): New variable.
52538         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52539         (atan_test_data): New variable.
52540         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52541         (atanh_test_data): New variable.
52542         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52543         (cbrt_test_data): New variable.
52544         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52545         (ceil_test_data): New variable.
52546         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52547         (cos_test_data): New variable.
52548         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52549         (cos_tonearest_test_data): New variable.
52550         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52551         (cos_towardzero_test_data): New variable.
52552         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52553         (cos_downward_test_data): New variable.
52554         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52555         (cos_upward_test_data): New variable.
52556         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52557         (cosh_test_data): New variable.
52558         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52559         (cosh_tonearest_test_data): New variable.
52560         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52561         (cosh_towardzero_test_data): New variable.
52562         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52563         (cosh_downward_test_data): New variable.
52564         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52565         (cosh_upward_test_data): New variable.
52566         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52567         (erf_test_data): New variable.
52568         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52569         (erfc_test_data): New variable.
52570         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52571         (exp_test_data): New variable.
52572         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52573         (exp_tonearest_test_data): New variable.
52574         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52575         (exp_towardzero_test_data): New variable.
52576         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52577         (exp_downward_test_data): New variable.
52578         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52579         (exp_upward_test_data): New variable.
52580         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52581         (exp10_test_data): New variable.
52582         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52583         (exp2_test_data): New variable.
52584         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52585         (expm1_test_data): New variable.
52586         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52587         (fabs_test_data): New variable.
52588         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52589         (floor_test_data): New variable.
52590         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52591         (j0_test_data): New variable.
52592         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52593         (j1_test_data): New variable.
52594         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52595         (log_test_data): New variable.
52596         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52597         (log10_test_data): New variable.
52598         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52599         (log1p_test_data): New variable.
52600         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52601         (log2_test_data): New variable.
52602         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52603         (logb_test_data): New variable.
52604         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52605         (logb_downward_test_data): New variable.
52606         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52607         (nearbyint_test_data): New variable.
52608         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52609         (rint_test_data): New variable.
52610         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52611         (rint_tonearest_test_data): New variable.
52612         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52613         (rint_towardzero_test_data): New variable.
52614         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52615         (rint_downward_test_data): New variable.
52616         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52617         (rint_upward_test_data): New variable.
52618         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52619         (round_test_data): New variable.
52620         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52621         (sin_test_data): New variable.
52622         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52623         (sin_tonearest_test_data): New variable.
52624         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52625         (sin_towardzero_test_data): New variable.
52626         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52627         (sin_downward_test_data): New variable.
52628         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52629         (sin_upward_test_data): New variable.
52630         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52631         (sinh_test_data): New variable.
52632         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52633         (sinh_tonearest_test_data): New variable.
52634         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52635         (sinh_towardzero_test_data): New variable.
52636         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52637         (sinh_downward_test_data): New variable.
52638         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52639         (sinh_upward_test_data): New variable.
52640         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52641         (sqrt_test_data): New variable.
52642         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52643         (tan_test_data): New variable.
52644         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52645         (tan_tonearest_test_data): New variable.
52646         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52647         (tan_towardzero_test_data): New variable.
52648         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52649         (tan_downward_test_data): New variable.
52650         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52651         (tan_upward_test_data): New variable.
52652         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52653         (tanh_test_data): New variable.
52654         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52655         (tgamma_test_data): New variable.
52656         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52657         (trunc_test_data): New variable.
52658         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52659         (y0_test_data): New variable.
52660         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52661         (y1_test_data): New variable.
52662         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52663         (significand_test_data): New variable.
52664         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52666 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52668         [BZ #12387]
52669         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52671 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52673         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52675 2013-05-10  Andreas Jaeger  <aj@suse.de>
52677         [BZ #15448]
52678         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52679         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52681 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52683         * math/gen-libm-test.pl (adjust_arg): New function.
52684         (special_functions): Handle generating output in both functions
52685         and arrays.
52686         (parse_args): Likewise.
52687         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52688         $in_func argument to parse_args.
52689         * math/libm-test.inc (struct test_f_f_data): New type.
52690         (IF_ROUND_INIT_): New macro.
52691         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52692         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52693         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52694         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52695         (ROUND_RESTORE_): Likewise.
52696         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52697         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52698         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52699         (ROUND_RESTORE_FE_UPWARD): Likewise.
52700         (RUN_TEST_LOOP_f_f): New macro.
52701         (acos_test_data): New variable.
52702         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52703         (acos_tonearest_test_data): New variable.
52704         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52706 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52708         * benchtests/bench-skeleton.c (startup): Fix coding style.
52710 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52712         [BZ #6809]
52713         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52714         negative infinity argument.
52715         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52716         negative infinity argument.
52717         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52718         negative infinity argument.
52719         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52720         domain errors.
52722 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52724         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52725         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52726         * iconv/iconv_prog.c (main): Likewise.
52727         * locale/programs/charmap-dir.c (charmap_readdir)
52728         (fopen_uncompressed): Likewise.
52729         * locale/programs/locfile.c (siblings_uncached)
52730         (write_locale_data): Use lstat64 instead of lstat.
52731         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52732         stat.
52734 2013-05-10  Andreas Jaeger  <aj@suse.de>
52736         [BZ #15395]
52737         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52738         localization.
52739         Include <locale.h>.
52741 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52743         * elf/dl-close.c (_dl_close_worker): Add comments.
52745 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52747         [BZ #15359]
52748         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52749         high part of pi/2.
52750         (__ieee754_rem_pio2l): Update comments.
52752         [BZ #15429]
52753         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52754         high part of pi/2.
52755         (__ieee754_rem_pio2l): Update comments.
52757         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52758         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52760         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52761         M_PI_4l.
52763         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52764         (M_PI_34_LOG10El): Likewise.
52765         (M_PI2_LOG10El): Likewise.
52766         (M_PI4_LOG10El): Likewise.
52767         (M_PI_LOG10El): Likewise.
52769 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52773 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52775         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52776         (MINUS_ZERO_INIT): Likewise.
52777         (PLUS_INFTY_INIT): Likewise.
52778         (MINUS_INFTY_INIT): Likewise.
52779         (QNAN_VALUE_INIT): Likewise.
52780         (MAX_VALUE_INIT): Likewise.
52781         (MIN_VALUE_INIT): Likewise.
52782         (MIN_SUBNORM_VALUE_INIT): Likewise.
52783         (plus_zero): Initialize with PLUS_ZERO_INIT.
52784         (minus_zero): Initialize with MINUS_ZERO_INIT.
52785         (plus_infty): Initialize with PLUS_INFTY_INIT.
52786         (minus_infty): Initialize with MINUS_INFTY_INIT.
52787         (qnan_value): Initialize with QNAN_VALUE_INIT.
52788         (max_value): Initialize with MAX_VALUE_INIT.
52789         (min_value): Initialize with MIN_VALUE_INIT.
52790         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52792         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52793         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52794         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52795         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52797         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52798         (RUN_TEST_2_f): Likewise.
52799         (RUN_TEST_ff_f): Likewise.
52800         (RUN_TEST_fi_f): Likewise.
52801         (RUN_TEST_fl_f): Likewise.
52802         (RUN_TEST_fff_f): Likewise.
52803         (RUN_TEST_c_f): Likewise.
52804         (RUN_TEST_f_f1): Likewise.
52805         (RUN_TEST_fF_f1): Likewise.
52806         (RUN_TEST_fI_f1): Likewise.
52807         (RUN_TEST_ffI_f1): Likewise.
52808         (RUN_TEST_c_c): Likewise.
52809         (RUN_TEST_cc_c): Likewise.
52810         (RUN_TEST_f_i): Likewise.
52811         (RUN_TEST_f_i_tg): Likewise.
52812         (RUN_TEST_ff_i_tg): Likewise.
52813         (RUN_TEST_f_b): Likewise.
52814         (RUN_TEST_f_b_tg): Likewise.
52815         (RUN_TEST_f_l): Likewise.
52816         (RUN_TEST_f_L): Likewise.
52817         (RUN_TEST_sincos): Likewise.
52818         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52819         whether to show exceptions.  Do not include ");\n" in return
52820         value.
52821         (special_functions): Output call to RUN_TEST_sincos instead of
52822         check_float calls.  Update calls to new_test.
52823         (parse_args): Output call to single RUN_TEST_* macro instead of
52824         check_* calls and other assignments.  Update calls to new_test.
52826         [BZ #2546]
52827         [BZ #2560]
52828         [BZ #5159]
52829         [BZ #15426]
52830         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52831         input to result for tgamma overflow.
52832         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52833         (gamma_coeff): New variable.
52834         (NCOEFF): New macro.
52835         (gamma_positive): New function.
52836         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52837         underflow here.  Use gamma_positive instead of exp (lgamma) for
52838         other arguments.
52839         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52840         (gamma_coeff): New variable.
52841         (NCOEFF): New macro.
52842         (gammaf_positive): New function.
52843         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52844         underflow here.  Use gamma_positive instead of exp (lgamma) for
52845         other arguments.
52846         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52847         (gamma_coeff): New variable.
52848         (NCOEFF): New macro.
52849         (gammal_positive): New function.
52850         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52851         underflow here.  Use gamma_positive instead of exp (lgamma) for
52852         other arguments.
52853         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52854         (gamma_coeff): New variable.
52855         (NCOEFF): New macro.
52856         (gammal_positive): New function.
52857         (__ieee754_gammal_r): Handle positive infinity, overflow and
52858         underflow here.  Handle NaN the same as positive infinity.  Remove
52859         check x < 0xffffffff for negative integers.  Use gamma_positive
52860         instead of exp (lgamma) for other arguments.
52861         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52862         (gamma_coeff): New variable.
52863         (NCOEFF): New macro.
52864         (gammal_positive): New function.
52865         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52866         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52867         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52868         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52869         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52870         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52871         * sysdeps/generic/math_private.h (__gamma_productf): New
52872         prototype.
52873         (__gamma_product): Likewise.
52874         (__gamma_productl): Likewise.
52875         * math/Makefile (libm-calls): Add gamma_product.
52876         * math/libm-test.inc (tgamma_test): Add more tests.
52877         * sysdeps/i386/fpu/libm-test-ulps: Update.
52878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52880 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52882         * benchtests/bench-skeleton.c (main): Preheat CPU.
52884 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52886         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52888 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52890         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52891         and _dl_skip_args_internal.
52893 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52895         * manual/message.texi (Message Translation): Talk about users.
52896         Message to key mapping impacts design.
52898 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52900         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52902         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52904         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52905         * sysdeps/wordsize-64/glob64.c: ... here.
52907         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52908         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52909         New macros.
52911         * debug/getlogin_r_chk.c: Moved to ...
52912         * login/getlogin_r_chk.c: ... here.
52913         * debug/Makefile (routines): Move getlogin_r_chk to ...
52914         * login/Makefile (routines): ... here.
52915         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52916         * login/Versions (libc: GLIBC_2.4): ... here.
52918         * io/poll.c (__poll): Renamed from poll.
52919         Add libc_hidden_def.
52920         (poll): Define as weak alias.
52922         * debug/ptsname_r_chk.c: Moved to ...
52923         * login/ptsname_r_chk.c: ... here.
52924         * debug/Makefile (routines): Move ptsname_r_chk to ...
52925         * login/Makefile (routines): ... here.
52926         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52927         * login/Versions (libc: GLIBC_2.4): ... here.
52929         * posix/getlogin.c: Moved to ...
52930         * login/getlogin.c: ... here.
52931         * posix/getlogin_r.c: Moved to ...
52932         * login/getlogin_r.c: ... here.
52933         * posix/getlogin_r.c: Moved to ...
52934         * login/getlogin_r.c: ... here.
52935         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52936         * login/Makefile (routines): ... here.
52937         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52938         * login/Versions (libc: GLIBC_2.0): ... here.
52940         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52941         (setrlimit): Define as weak alias.
52943         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52944         Call __ names for open, ftruncate, and close.
52945         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52946         (truncate): Define as weak alias.
52948 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52950         * math/gen-libm-test.pl (parse_args): Initialize x before each
52951         test of frexp, modf and remquo.
52953         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52954         test signgam value.
52956 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52958         [BZ #15418]
52959         [BZ #15419]
52960         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52961         internal tests.
52962         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52964 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52966         * elf/dl-writev.h: New file.
52967         * elf/dl-misc.c: Include it.
52968         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52969         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52971 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52973         * math/libm-test.inc (noXFails): Remove variable.
52974         (noXPasses): Likewise.
52975         (BUILD_COMPLEX_INT): Remove macro.
52976         (print_screen): Remove xfail argument.
52977         (print_screen_max_error): Likewise.
52978         (update_stats): Likewise.
52979         (print_max_error): Likewise.  Update calls to other affected
52980         functions.
52981         (print_complex_max_error): Likewise.
52982         (test_single_exception): Update calls to print_screen.
52983         (test_single_errno): Likewise.
52984         (check_float_internal): Remove xfail argument.  Update calls to
52985         other affected functions.
52986         (check_float): Likewise.
52987         (check_complex): Likewise.
52988         (check_int): Likewise.
52989         (check_long): Likewise.
52990         (check_bool): Likewise.
52991         (check_longlong): Likewise.
52992         (main): Don't print noXFails and noXPasses.
52993         * math/gen-libm-test.pl (top level): Don't mention expected
52994         failure handling in comment.
52995         (new_test): Don't handle expected failures.
52996         (parse_args): Don't mention expected failure handling in comment.
52997         (generate_testfile): Don't handle expected failures.
52998         (parse_ulps): Likewise.
52999         (print_ulps_file): Likewise.
53000         (get_failure): Remove function.
53001         (output_test): Don't handle expected failures.
53002         * make/README.libm-test: Don't mention expected failure handling.
53004         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
53005         (minus_zero): Likewise.
53006         (plus_infty): Likewise.
53007         (minus_infty): Likewise.
53008         (qnan_value): Likewise.
53009         (max_value): Likewise.
53010         (min_value): Likewise.
53011         (min_subnorm_value): Likewise.
53012         (initialize): Do not initialize those variables dynamically.
53014 2013-05-03  Roland McGrath  <roland@hack.frob.com>
53016         * io/open.c (__open_2): Moved to ...
53017         * io/open_2.c: ... this new file.
53018         * io/open64.c (__open64_2): Moved to ...
53019         * io/open64_2.c: ... this new file.
53020         * io/openat.c (__openat_2): Moved to ...
53021         * io/openat_2.c: ... this new file.
53022         * io/openat64.c (__openat64_2): Moved to ...
53023         * io/openat64_2.c: ... this new file.
53024         * io/Makefile (routines): Add them.
53025         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
53026         * sysdeps/unix/sysv/linux/open_2.c: File removed.
53027         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
53028         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
53029         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
53030         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
53031         (__openat64): Add hidden_ver.
53032         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
53033         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
53035         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
53036         Separately conditionalize setting of GLRO(dl_sysinfo) so
53037         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
53038         as well, but the actual setting is only under [NEED_DL_SYSINFO].
53040 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53042         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
53043         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
53044         definition.
53045         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
53046         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53047         (_libc_vdso_platform_setup): Add __vdso_time initialization.
53048         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
53049         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
53051 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
53053         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
53054         test signgam value.
53056         * math/libm-test.inc (hypot_test): Do not use
53057         IGNORE_ZERO_INF_SIGN.
53059 2013-05-03  Andreas Jaeger  <aj@suse.de>
53061         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
53062         Linux 3.9.
53063         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
53064         (PF_MAX): Adjust for VSOCK change.
53066 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53070 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
53072         [BZ #15264]
53073         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
53074         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
53075         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
53077 2013-05-02  David S. Miller  <davem@davemloft.net>
53079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53081 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
53083         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
53085 2013-05-01  Roland McGrath  <roland@hack.frob.com>
53087         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
53089 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
53091         [BZ #14952]
53092         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
53093         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53094         Use __attribute__ ((__gnu_inline__)).
53095         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53096         Don't use __attribute__ ((__gnu_inline__)).
53098 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
53100         [BZ #15423]
53101         * math/s_catan.c (__catan): Handle small real or imaginary part of
53102         input specially to avoid spurious underflow.
53103         * math/s_catanf.c (__catanf): Likewise.
53104         * math/s_catanh.c (__catanh): Likewise.
53105         * math/s_catanhf.c (__catanhf): Likewise.
53106         * math/s_catanhl.c (__catanhl): Likewise.
53107         * math/s_catanl.c (__catanl): Likewise.
53108         * math/libm-test.inc (catan_test): Add more tests.
53109         (catanh_test): Likewise.
53110         * sysdeps/i386/fpu/libm-test-ulps: Update.
53111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53113 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53117 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53119         [BZ #15416]
53120         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
53121         accurately for denominator in atan2.
53122         * math/s_catanf.c (__catanf): Likewise.
53123         * math/s_catanh.c (__catanh): Likewise.
53124         * math/s_catanhf.c (__catanhf): Likewise.
53125         * math/s_catanhl.c (__catanhl): Likewise.
53126         * math/s_catanl.c (__catanl): Likewise.
53127         * math/libm-test.inc (catan_test): Add more tests.
53128         (catanh_test): Likewise.
53129         * sysdeps/i386/fpu/libm-test-ulps: Update.
53130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53132 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53134         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53136         * benchtests/Makefile (bench): Remove slow benchmarks.
53137         * benchtests/atan-inputs: Add slow benchmark inputs.
53138         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53139         (BENCH_FUNC): Accept variant offset.
53140         (VARIANT): Define.
53141         * benchtests/bench-skeleton.c (main): Run benchmark for each
53142         variant.
53143         * benchtests/cos-inputs: Add slow benchmark inputs.
53144         * benchtests/exp-inputs: Likewise.
53145         * benchtests/pow-inputs: Likewise.
53146         * benchtests/sin-inputs: Likewise.
53147         * benchtests/slowatan-inputs: Remove.
53148         * benchtests/slowatan.c: Remove.
53149         * benchtests/slowcos-inputs: Remove.
53150         * benchtests/slowcos.c: Remove.
53151         * benchtests/slowexp-inputs: Remove.
53152         * benchtests/slowexp.c: Remove.
53153         * benchtests/slowpow-inputs: Remove.
53154         * benchtests/slowpow.c: Remove.
53155         * benchtests/slowsin-inputs: Remove.
53156         * benchtests/slowsin.c: Remove.
53157         * benchtests/slowtan-inputs: Remove.
53158         * benchtests/slowtan.c: Remove.
53159         * benchtests/tan-inputs: Add slow benchmark inputs.
53160         * scripts/bench.pl: Parse comments and directives.
53162         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53163         in CPPFLAGS.
53164         ($(objpfx)bench-%.c): Remove *-ITER.
53165         * benchtests/bench-modf.c: Remove definition of ITER.
53166         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53167         (main): Loop for DURATION seconds instead of fixed number of
53168         iterations.
53169         * scripts/bench.pl: Don't expect iterations in parameters.
53171 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53173         * io/fchdir.c (__fchdir): Renamed from fchdir.
53174         (fchdir): Define as weak alias.
53176 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53178         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53179         (ERRNO_EDOM): Likewise.
53180         (ERRNO_ERANGE): Likewise.
53181         (noErrnoTests): New variable.
53182         (init_max_error): Set errno to 0.
53183         (test_single_errno): New function.
53184         (test_errno): Likewise.
53185         (check_float_internal): Call test_errno.  Set errno to 0.
53186         (check_complex): Refer to errno tests in comment.
53187         (check_int): Call test_errno.  Set errno to 0.
53188         (check_long): Likewise.
53189         (check_bool): Likewise.
53190         (check_longlong): Likewise.
53191         (cos_test): Use ERRNO_* flags for errno tests instead of
53192         check_int.
53193         (expm1_test): Likewise.
53194         (fmod_test): Likewise.
53195         (ilogb_test): Likewise.
53196         (lgamma_test): Likewise.
53197         (pow_test): Likewise.
53198         (remainder_test): Likewise.
53199         (sin_test): Likewise.
53200         (tan_test): Likewise.
53201         (yn_test): Likewise.
53202         (initialize): Set errno to 0.
53203         (main): Print number of errno tests.
53204         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53206 2013-04-29  Andreas Jaeger  <aj@suse.de>
53208         [BZ #15084]
53209         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53210         and RES_USEVC.
53212         [BZ #15085]
53213         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53214         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53215         unimplemented.
53217         [BZ #15380]
53218         * stdlib/random.c (__initstate): Return NULL if
53219         __initstate fails.
53221         [BZ #15086]
53222         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53223         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53224         RES_SNGLKUPREOP.
53226 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53230 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53232         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53233         of individual tests.
53234         (casin_test): Likewise.
53235         (casinh_test): Likewise.
53237 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53239         [BZ #15409]
53240         * math/s_catan.c (__catan): Handle arguments with large real or
53241         imaginary part separately without squaring.
53242         * math/s_catanf.c (__catanf): Likewise.
53243         * math/s_catanh.c (__catanh): Likewise.
53244         * math/s_catanhf.c (__catanhf): Likewise.
53245         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53246         and redefine.
53247         (__catanhl): Handle arguments with large real or imaginary part
53248         separately without squaring.
53249         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53250         and redefine.
53251         (__catanl): Handle arguments with large real or imaginary part
53252         separately without squaring.
53253         * math/libm-test.inc (catan_test): Add more tests.
53254         (catanh_test): Likewise.
53255         * sysdeps/i386/fpu/libm-test-ulps: Update.
53256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53258 2013-04-27  Andreas Jaeger  <aj@suse.de>
53260         [BZ #15007]
53261         * stdlib/stdlib.h: Update guards for qecvt.
53262         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53263         <stdlib.h>.
53265 2013-04-27  Allan McRae  <allan@archlinux.org>
53267         * sysdeps/i386/fpu/libm-test-ulps: Update.
53269 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53271         [BZ #15406]
53272         * math/s_catan.c: Include <float.h>.
53273         (__catan): Ensure underflow exception occurs for underflowed
53274         result.
53275         * math/s_catanf.c: Include <float.h>.
53276         (__catanf): Ensure underflow exception occurs for underflowed
53277         result.
53278         * math/s_catanh.c: Include <float.h>.
53279         (__catanh): Ensure underflow exception occurs for underflowed
53280         result.
53281         * math/s_catanhf.c: Include <float.h>.
53282         (__catanhf): Ensure underflow exception occurs for underflowed
53283         result.
53284         * math/s_catanhl.c: Include <float.h>.
53285         (__catanhl): Ensure underflow exception occurs for underflowed
53286         result.
53287         * math/s_catanl.c: Include <float.h>.
53288         (__catanl): Ensure underflow exception occurs for underflowed
53289         result.
53290         * math/libm-test.inc (catan_test): Add more tests.
53291         (catanh_test): Likewise.
53293         [BZ #15405]
53294         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53295         underflowed result.
53296         * math/s_ccoshf.c (__ccoshf): Likewise.
53297         * math/s_ccoshl.c (__ccoshl): Likewise.
53298         * math/s_csin.c (__csin): Likewise.
53299         * math/s_csinf.c (__csinf): Likewise.
53300         * math/s_csinh.c (__csinh): Likewise.
53301         * math/s_csinhf.c (__csinhf): Likewise.
53302         * math/s_csinhl.c (__csinhl): Likewise.
53303         * math/s_csinl.c (__csinl): Likewise.
53304         * math/libm-test.inc (ccos_test): Add more tests.
53305         (ccosh_test): Likewise.
53306         (csin_test): Likewise.
53307         (csinh_test): Likewise.
53309 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53311         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53312         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53313         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53314         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53315         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53316         powerpc/power5+/fpu folders.
53317         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53320 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53324 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53326         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53327         additions to variable.
53328         [$(config-machine) = x86_64] (modules-names): Likewise.
53329         ($(objpfx)tst-audit3): Remove dependency.
53330         ($(objpfx)tst-audit3.out): Likewise.
53331         ($(objpfx)tst-audit4): Likewise.
53332         ($(objpfx)tst-audit4.out): Likewise.
53333         ($(objpfx)tst-audit5): Likewise.
53334         ($(objpfx)tst-audit5.out): Likewise.
53335         ($(objpfx)tst-audit6): Likewise.
53336         ($(objpfx)tst-audit6.out): Likewise.
53337         ($(objpfx)tst-audit7): Likewise.
53338         ($(objpfx)tst-audit7.out): Likewise.
53339         (tst-audit3-ENV): Remove variable.
53340         (tst-audit4-ENV): Likewise.
53341         (tst-audit5-ENV): Likewise.
53342         (tst-audit6-ENV): Likewise.
53343         (tst-audit7-ENV): Likewise.
53344         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53345         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53346         addition to variable.
53347         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53348         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53349         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53350         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53351         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53352         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53353         tst-audit3, tst-audit4 and tst-audit5.
53354         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53355         tst-audit6 and tst-audit7.
53356         [$(subdir) = elf] (modules-names): Add audit modules for those
53357         tests.
53358         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53359         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53360         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53361         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53362         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53363         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53364         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53365         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53366         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53367         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53368         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53369         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53370         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53371         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53372         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53373         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53374         Likewise.
53375         [$(subdir) = elf && $(config-cflags-avx) = yes]
53376         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53377         [$(subdir) = elf && $(config-cflags-avx) = yes]
53378         (CFLAGS-tst-auditmod4a.c): Likewise.
53379         [$(subdir) = elf && $(config-cflags-avx) = yes]
53380         (CFLAGS-tst-auditmod4b.c): Likewise.
53381         [$(subdir) = elf && $(config-cflags-avx) = yes]
53382         (CFLAGS-tst-auditmod6b.c): Likewise.
53383         [$(subdir) = elf && $(config-cflags-avx) = yes]
53384         (CFLAGS-tst-auditmod6c.c): Likewise.
53385         [$(subdir) = elf && $(config-cflags-avx) = yes]
53386         (CFLAGS-tst-auditmod7b.c): Likewise.
53387         * elf/tst-audit3.c: Move to ...
53388         * sysdeps/x86_64/tst-audit3.c: ... here.
53389         * elf/tst-audit4.c: Move to ...
53390         * sysdeps/x86_64/tst-audit4.c: ... here.
53391         * elf/tst-audit5.c: Move to ...
53392         * sysdeps/x86_64/tst-audit5.c: ... here.
53393         * elf/tst-audit6.c: Move to ...
53394         * sysdeps/x86_64/tst-audit6.c: ... here.
53395         * elf/tst-audit7.c: Move to ...
53396         * sysdeps/x86_64/tst-audit7.c: ... here.
53397         * elf/tst-auditmod3a.c: Move to ...
53398         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53399         * elf/tst-auditmod3b.c: Move to ...
53400         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53401         * elf/tst-auditmod4a.c: Move to ...
53402         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53403         * elf/tst-auditmod4b.c: Move to ...
53404         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53405         * elf/tst-auditmod5a.c: Move to ...
53406         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53407         * elf/tst-auditmod5b.c: Move to ...
53408         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53409         * elf/tst-auditmod6a.c: Move to ...
53410         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53411         * elf/tst-auditmod6b.c: Move to ...
53412         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53413         * elf/tst-auditmod6c.c: Move to ...
53414         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53415         * elf/tst-auditmod7a.c: Move to ...
53416         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53417         * elf/tst-auditmod7b.c: Move to ...
53418         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53420 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53422         [BZ #15366]
53423         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53424         define unconditionally.
53425         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53426         define unconditionally.
53427         (INT8_C, INT16_C, etc.): Likewise.
53429 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53431         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53432         __ehdr_start with hidden visibility.
53434         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53436 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53438         * math/libm-test.inc (cos_test): Use accurate hex constants.
53439         (sincost_test): Likewise.
53441 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53443         * math/libm-test.inc (catan_test): Add more tests.
53444         (catanh_test): Likewise.
53446         * math/s_catanf.c (__catanf): Use suffixed floating-point
53447         constants.
53448         * math/s_catanhf.c (__catanhf): Likewise.
53449         * math/s_catanhl.c (__catanhl): Likewise.
53450         * math/s_catanl.c (__catanl): Likewise.
53452         [BZ #15394]
53453         * math/s_catan.c (__catan): Calculate imaginary part of result
53454         with log1p not log unless computing log of number close to 0.
53455         * math/s_catanf.c (__catanf): Likewise.
53456         * math/s_catanl.c (__catanl): Likewise.
53457         * math/s_catanh.c (__catanh): Calculate real part of result with
53458         log1p not log unless computing log of number close to 0.
53459         * math/s_catanhf.c (__catanhf): Likewise.
53460         * math/s_catanhl.c (__catanhl): Likewise.
53461         * math/libm-test.inc (catan_test): Add more tests.
53462         (catanh_test): Likewise.
53463         * sysdeps/i386/fpu/libm-test-ulps: Update.
53464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53466 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53468         * benchtests/Makefile: Mention files in which fast and slow
53469         paths of math functions are implemented.
53471 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53473         * sysdeps/posix/timespec_get.c: New file.
53475 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53477         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53478         POWER.
53479         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53480         for POWER.
53481         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53482         powerpc/power5/fpu folders.
53483         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53484         * benchtests/Makefile: Add modf testcase.
53485         * benchtests/bench-modf.c: New file: Benchmark test for mo
53487 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53489         [BZ #14888]
53490         * time/Makefile (tests): Add tst-strptime-whitespace.
53491         * time/strptime_l.c (get_number): Use ISSPACE.
53492         (__strptime_internal): Likewise.
53493         * time/tst-strptime-whitespace.c: New test case.
53495 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53497         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53498         member.
53499         (_nss_files_init): Set it here.
53501 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53503         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53504         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53505         unsigned.
53507 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53509         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53511 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53513         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53514         size just once.
53516 2013-04-21  David S. Miller  <davem@davemloft.net>
53518         * po/ru.po: Update Russion translation from translation project.
53520 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53522         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53523         and setfsgid.
53525 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53527         * configure.in: Remove i386 configure warning. Remove i386 case.
53528         * configure: Regenerate.
53529         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53530         Add example to error message.
53531         * sysdeps/i386/configure: Regenerate.
53533 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53535         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53536         slowtan.
53537         * benchtests/cos-inputs: New file.
53538         * benchtests/slowcos-inputs: New file.
53539         * benchtests/slowcos.c: New file.
53540         * benchtests/slowtan-inputs: New file.
53541         * benchtests/slowtan.c: New file.
53542         * benchtests/tan-inputs: New file.
53544 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53546         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53547         considered kosher.
53549 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53551         * benchtests/Makefile: Include cppflags-iterator.mk to add
53552         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53554         * Makefile.in (bench-clean): New target.
53555         * benchtests/Makefile (bench-clean): Likewise.
53557 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53559         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53561 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53563         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53565 2013-04-15  Andreas Schwab  <schwab@suse.de>
53567         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53568         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53569         * nscd/pwdcache.c (cache_addpw): Likewise.
53570         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53571         more than recsize.
53573 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53575         * benchtests/Makefile (bench): Write all output to
53576         bench-out.tmp together.
53578 2013-04-15  Andreas Schwab  <schwab@suse.de>
53580         * nscd/nscd.c (main): Don't fork again after closing files.
53582 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53584         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53586         * benchtests/Rules (bench-deps): Collect dependencies into a
53587         single variable.  Add Makefile to dependencies.
53588         ($(objpfx)bench-%.c): Depend on bench-deps.
53590 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53591             Xavier Roche  <roche+kml2@exalead.com>
53593         [BZ #15361]
53594         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53595         just that it's a file descriptor.
53596         * manual/llio.texi (Synchronizing AIO Operations): Update description
53597         for EBADF error from aio_fsync.
53599 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53601         * Rules (bench): Move target definition...
53602         * benchtests/Makefile: ... here.
53604 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53606         * math/libm-test.inc (cos_test): Fix PI/2 test.
53607         (sincos_test): Likewise.
53608         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53609         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53611 2013-04-11  Andreas Schwab  <schwab@suse.de>
53613         [BZ #13988]
53614         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53615         accept exponent character only when digits were seen.
53616         * stdio-common/Makefile (tests): Add bug26.
53617         * stdio-common/bug26.c: New file.
53619         [BZ #14293]
53620         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53621         non-freeable.
53623 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53625         * Makeconfig (rtld-prefix): Define built linker prefix.
53626         * Rules (run-bench): Use it.
53627         * math/Makefile (run-regen-ulps): Likewise.
53629         * Rules (bench): Remove eval.
53631 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53632             Roland McGrath  <roland@hack.frob.com>
53633             Ondrej Bilka  <neleai@seznam.cz>
53635         [BZ #15346]
53636         * time/getdate.c: Include ctype.h and alloca.h.
53637         (__getdate_r): Trim leading and trailing spaces of input.
53638         * time/tst-getdate.c (tests): Add tests with leading and
53639         trailing spaces.
53641 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53643         [BZ #14280]
53644         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53645         when computing value.
53647 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53649         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53650         Use testrun.sh to run libm tests.
53652         [BZ #15309]
53653         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53655 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53657         [BZ #15264]
53658         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53660 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53662         * Makefile.in (regen-ulps): New target.
53663         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53664         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53665         [ifneq (no,$(PERL)] (regen-ulps): New target.
53666         [ifeq (no,$(PERL)] (regen-ulps): New target.
53667         * math/libm-test.inc (ulps_file_name): Define.
53668         (output_dir): New variable.
53669         (options): Add "output-dir" option.
53670         (parse_opt): Handle 'o' case.
53671         (main): If output_dir is non-NULL use it as a prefix
53672         otherwise use "".
53673         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53675 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53677         [BZ #10060, #10062]
53678         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53679         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53680         fail configure if __sync_val_compare_and_swap is not inlined.
53681         * sysdeps/i386/configure: Regenerate.
53682         * configure.in: Build for i686 when configured for i386.
53683         * configure: Regenerate.
53684         * README: Remove i386 reference.
53686 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53688         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53689         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53691 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53693         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53694         (lmsnanval): New variables.
53695         (F): Add conversion tests.
53696         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53697         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53699         * stdio-common/tstdiomisc.c (F): Properly collect individual
53700         tests' results.
53702         [BZ #14686, #15336]
53703         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53704         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53705         Instead, use input NaN values or generate a qNaN by arithmetic
53706         operation.  Also fix bugs to comply with the standard.
53707         * math/libm-test.inc (remainder_test): Add more tests.
53709         [BZ #15335, #15342]
53710         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53711         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53712         input NaN values or generate a qNaN by arithmetic operation.
53714         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53715         unreachable code.
53717         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53718         definitions.
53720 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53722         [BZ #14478]
53723         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53724         underflowed result.
53725         * math/s_cexpf.c (__cexpf): Likewise.
53726         * math/s_cexpl.c (__cexpl): Likewise.
53727         * math/libm-test.inc (cexp_test): Add more tests.
53729 2013-04-03  Andreas Schwab  <schwab@suse.de>
53731         [BZ #15330]
53732         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53733         order arrays from heap if bigger than alloca cutoff.
53735 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53737         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53738         (SNAN_TESTS_double): Refer to GCC PR56831.
53739         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53740         GCC PR56828.
53742 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53744         * Rules (bench): Move bench.out after the run is complete.
53746         * Rules (bench): Echo currently running benchmark.
53748         * benchtests/Makefile (bench): Add atan and slowatan.
53749         * benchtests/atan-inputs: New file.
53750         * benchtests/slowatan-inputs: New file.
53751         * benchtests/slowatan.c: New file.
53753         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53754         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53755         its value.
53757         [BZ #15305]
53758         * sysdeps/unix/sysv/linux/kernel-features.h
53759         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53760         __ASSUME_XFS_RESTRICTED_CHOWN.
53761         * sysdeps/unix/sysv/linux/pathconf.c
53762         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53763         Save and restore errno.
53765 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53767         [BZ #15327]
53768         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53769         arguments using __kernel_casinh.
53770         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53771         arguments using __kernel_casinhf.
53772         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53773         arguments using __kernel_casinhl.
53774         * math/libm-test.inc (cacosh_test): Add more tests.
53775         * sysdeps/i386/fpu/libm-test-ulps: Update.
53776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53778 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53780         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53781         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53783         * bench/Makefile (bench): Add sin and slowsin.
53784         * benchtests/sin-inputs: New file.
53785         * benchtests/slowsin-inputs: New file.
53786         * benchtests/slowsin.c: New file.
53788         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53789         (bench): Add slowexp and slowpow.
53790         (exp-ITER): Increase iterations.
53791         (pow-ITER): Likewise.
53792         * benchtests/exp-inputs: Change input.
53793         * benchtests/pow-inputs: Likewise.
53794         * benchtests/slowexp-inputs: New file.
53795         * benchtests/slowexp.c: New file.
53796         * benchtests/slowpow-inputs: New file.
53797         * benchtests/slowpow.c: New file.
53799 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53801         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53802         instructions.
53803         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53804         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53805         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53806         * benchtests/Makefile: Add rint benchtest.
53807         * benchtests/rint-inputs: Input for rint benchtest.
53809 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53811         * Versions.def (libm): Add GLIBC_2.18.
53812         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53813         hidden libm prototypes.
53814         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53815         * math/Makefile (libm-calls): Add s_issignaling.
53816         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53817         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53818         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53819         declaration.
53820         * math/math.h [__USE_GNU] (issignaling): New macro.
53821         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53822         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53823         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53824         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53825         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53826         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53827         * manual/arith.texi (issignaling): New section.
53828         * manual/libm-err-tab.pl (@all_functions): Update comment.
53829         * math/gen-libm-test.pl (parse_args): Apply special handling for
53830         issignaling.
53831         * math/libm-test.inc (print_float, issignaling_test): New
53832         functions.
53833         (check_float_internal): Add issignaling checks.
53834         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53835         default definition.
53836         * sysdeps/powerpc/math-tests.h: New file.
53837         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53838         tests.
53839         * math/test-snan.c (TEST_FUNC): Likewise.
53841 2013-03-30  David S. Miller  <davem@davemloft.net>
53843         * po/de.po: Update from translation team.
53845 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53847         [BZ #10357]
53848         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53849         imaginary part less than 1.0 and real part less than 0.5
53850         specially.
53851         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53852         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53853         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53854         (cacos_test): Add more tests.
53855         (casin_test): Likewise.
53856         (casinh_test): Likewise.
53857         * sysdeps/i386/fpu/libm-test-ulps: Update.
53858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53860 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53862         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53863         ONE with its value.
53865         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53866         (__pow_mp): Replace ONE and MONE with their values.
53867         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53868         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53869         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53870         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53871         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53872         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53874         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53876         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53877         (__pow_mp): Replace ZERO and MZERO with their values.
53878         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53879         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53880         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53881         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53882         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53883         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53884         (__sqr): Likewise.
53886         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53888         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53890 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53892         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53893         Declare with __attribute__ ((weak)).
53894         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53895         Call __call_tls_dtors only if it's not NULL.
53897 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53899         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53900         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53901         magic __ehdr_start linker symbol if it's defined.
53902         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53903         them up here if it was already done.
53905         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53906         (_dl_aux_init): Use const in cast when setting it.
53907         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53908         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53909         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53911         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53912         Declare them here.
53913         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53914         * csu/libc-tls.c: Nor here.
53915         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53917         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53918         (__libc_message): Never call vsyslog.
53920 2013-03-28  Alan Modra  <amodra@gmail.com>
53922         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53923         Define as empty.
53924         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53925         Likewise.
53927 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53929         [BZ #15214]
53930         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53931         underflow.
53932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53934 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53936         [BZ #15304]
53937         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53938         Don't add gid passed as argument.
53940         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53942 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53944         [BZ #15307]
53945         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53946         imaginary part between 1.0 and 1.5 and real part less than 0.5
53947         specially.
53948         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53949         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53950         * math/libm-test.inc (cacos_test): Add more tests.
53951         (casin_test): Likewise.
53952         (casinh_test): Likewise.
53953         * sysdeps/i386/fpu/libm-test-ulps: Update.
53954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53956 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53958         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53959         constants.
53960         (norm): Likewise.
53961         (denorm): Likewise.
53962         (__dbl_mp): Likewise.
53963         (add_magnitudes): Likewise.
53964         (sub_magnitudes): Likewise.
53965         (__add): Likewise.
53966         (__sub): Likewise.
53967         (__mul): Likewise.
53968         (__sqr): Likewise.
53969         (__inv): Likewise.
53970         (__dvd): Likewise.
53972         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53973         commented code.
53974         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53975         (__dubcos): Likewise.
53976         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53977         (__ieee754_acos): Likewise.
53978         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53979         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53980         (__exp1): Likewise.
53981         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53982         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53983         (log1): Likewise.
53984         (my_log2): Likewise.
53985         (checkint): Likewise.
53986         * sysdeps/ieee754/dbl-64/e_remainder.c
53987         (__ieee754_remainder): Likewise.
53988         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53989         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53990         (bsloww): Likewise.
53991         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53993         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53994         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53995         MANTISSA_STORE_T to store computations on mantissa.  Use
53996         macros for rounding and division.
53997         (denorm): Likewise.
53998         (__dbl_mp): Likewise.
53999         (add_magnitudes): Likewise.
54000         (sub_magnitudes): Likewise.
54001         (__mul): Likewise.
54002         (__sqr): Likewise.
54003         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54004         powers of two in terms of TWOPOW macro.
54005         (mp_no): Make type of mantissa as MANTISSA_T.
54006         [!RADIXI]: Define RADIXI.
54007         [!TWO52]: Define TWO52.
54008         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54010 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54012         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
54013         llroundl symbol when building for PPC32.
54015 2013-03-24  Mark H Weaver  <mhw@netris.org>
54017         * manual/arith.texi (Normalization Functions): Fix prototypes for
54018         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
54020 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54022         [BZ #13889]
54023         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
54024         high value to check if expl overflow.
54025         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
54026         to check for underflow and overflow.
54027         * math/libm-test.inc: Add exp test.
54029 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
54031         [BZ #11120]
54032         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
54033         with NOT_IN_libc.
54035 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54037         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
54038         symbol.
54040 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54042         * math/gen-libm-test.pl (parse_args, special_functions): Properly
54043         wrap blocks consisting of several statements.
54045         * sysdeps/generic/math-tests.h: New file.
54046         * sysdeps/i386/fpu/math-tests.h: Likewise.
54047         * math/test-snan.c: Include it.
54048         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
54050 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54052         [BZ #15285]
54053         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
54054         (__ieee754_j0l): Do not improve calculations using cos of twice
54055         input for inputs above LDBL_MAX / 2.0L.
54056         (__ieee754_y0l): Likewise.
54057         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
54058         (__ieee754_j1l): Do not improve calculations using cos of twice
54059         input for inputs above LDBL_MAX / 2.0L.
54060         (__ieee754_y1l): Likewise.
54061         * math/libm-test.inc (j0_test): Add another test.
54062         (j1_test): Likewise.
54063         (y0_test): Likewise.
54064         (y1_test): Likewise.
54065         * sysdeps/i386/fpu/libm-test-ulps: Update.
54067 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54069         * Rules ($(objpfx)bench-%.c): Include code from a C source
54070         file.
54072 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54074         [BZ #15287]
54075         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54076         imaginary part 1.0 and real part less than 0.5 specially.
54077         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54078         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54079         * math/libm-test.inc (cacos_test): Add more tests.
54080         (casin_test): Likewise.
54081         (casinh_test): Likewise.
54082         * sysdeps/i386/fpu/libm-test-ulps: Update.
54083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54085 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54087         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
54088         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
54090 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
54092         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
54093         * config.make.in (config-cflags-sse4): Remove variable.
54094         (config-cflags-avx): Likewise.
54095         (config-cflags-sse2avx): Likewise.
54096         (config-cflags-novzeroupper): Likewise.
54097         (config-asflags-i686): Likewise.
54098         (have-mfma4): Likewise.
54099         (have-as-vis3): Likewise.
54100         (MIG): Likewise.
54101         * configure.in (MIG): Do not AC_SUBST.
54102         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
54103         (libc_cv_cc_sse4): Do not AC_SUBST.
54104         (libc_cv_cc_avx): Likewise.
54105         (libc_cv_cc_sse2avx): Likewise.
54106         (libc_cv_cc_novzeroupper): Likewise.
54107         (libc_cv_cc_fma4): Likewise.
54108         (libc_cv_as_i686): Likewise.
54109         (libc_cv_sparc_as_vis3): Likewise.
54110         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
54111         LIBC_CONFIG_VAR.
54112         (config-asflags-i686): Likewise.
54113         (config-cflags-avx): Likewise.
54114         (config-cflags-sse2avx): Likewise.
54115         (have-mfma4): Likewise.
54116         (config-cflags-novzeroupper): Likewise.
54117         * sysdeps/mach/configure.in (MIG): Likewise.
54118         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
54119         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54120         LIBC_CONFIG_VAR.
54121         (config-cflags-avx): Likewise.
54122         (config-cflags-sse2avx): Likewise.
54123         (have-mfma4): Likewise.
54124         (config-cflags-novzeroupper): Likewise.
54125         * configure: Regenerated.
54126         * sysdeps/i386/configure: Likewise.
54127         * sysdeps/mach/configure: Likewise.
54128         * sysdeps/sparc/configure: Likewise.
54129         * sysdeps/x86_64/configure: Likewise.
54131 2013-03-20  Roland McGrath  <roland@hack.frob.com>
54133         [BZ #14812]
54134         * locale/programs/localedef.c (options): Put N_ translation marker
54135         on argument names, not just descriptions.
54137 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54139         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
54141 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
54143         [BZ #14176]
54144         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54146 2013-03-19  Roland McGrath  <roland@hack.frob.com>
54148         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
54149         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
54150         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
54151         [!BEFORE_ABORT] (before_abort): New function.
54152         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
54153         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
54154         (writev_for_fatal): New function.
54155         (WRITEV_FOR_FATAL): New macro; call that.
54156         (backtrace_and_maps): New function.
54157         (BEFORE_ABORT): New macro; call that.
54158         (struct str_list): Type removed.
54159         (__libc_message, __libc_fatal): Functions removed.
54160         Include <sysdeps/posix/libc_fatal.c> instead.
54162 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54164         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54165         constants.
54166         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54167         double constants.
54169 2013-03-19  Andreas Schwab  <schwab@suse.de>
54171         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54172         * sysdeps/gnu/configure: Regenerate.
54174         * configure.in: Substitute libc_cv_rtlddir.
54175         * configure: Regenerate.
54176         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54177         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54178         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54179         * elf/Makefile (install-others, CFLAGS-interp.c)
54180         (ldso_install, common-ldd-rewrite): Likewise.
54181         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54182         $(inst_slibdir)/$(rtld-installed-name).
54183         * scripts/rellns-sh: Add -p option.
54184         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54185         for source.
54187 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54189         * manual/nptl.texi: Renamed to ...
54190         * manual/threads.texi: ... this.
54191         * manual/Makefile (chapters): Update.
54193 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54195         [BZ #14812]
54196         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54197         on argument names, not just descriptions.
54198         * malloc/memusagestat.c (options): Likewise.
54199         * nss/getent.c (options): Likewise.
54201 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54203         [BZ #14812]
54204         * iconv/iconv_prog.c (options): Put N_ translation marker
54205         on argument names, not just descriptions.
54206         * iconv/iconvconfig.c (options): Likewise.
54208 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54210         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54211         implementation which is faster on all x86_64 architectures.
54212         Tested on AMD, Intel Nehalem, SNB, IVB.
54213         * sysdeps/x86_64/strnlen.S: Likewise.
54215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54216         Remove all multiarch strlen and strnlen versions.
54217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54218         Remove strlen and strnlen related parts.
54220         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54221         Inline strlen part.
54222         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54224         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54225         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54226         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54227         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54228         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54229         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54231 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54233         * manual/memory.texi (Malloc Tunable Parameters):
54234         Sort parameters alphabetically. Add comments for missing entries.
54236 2013-03-17  David S. Miller  <davem@davemloft.net>
54238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54240 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54242         [BZ #15283]
54243         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54244         for arguments at most half maximum finite value.
54245         * math/libm-test.inc (j0_test): Add more tests.
54246         (j1_test): Likewise.
54247         (y0_test): Likewise.
54248         (y1_test): Likewise.
54249         * sysdeps/i386/fpu/libm-test-ulps: Update.
54250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54252         [BZ #14155]
54253         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54254         1 / x and functions P and Q for arguments above 0x1p256L.
54255         (__ieee754_y0l): Likewise.
54256         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54257         (__ieee754_y1l): Likewise.
54258         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54259         (j1_test): Likewise.
54260         (y0_test): Likewise.
54261         (y1_test): Likewise.
54263 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54265         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54266         variable.
54268 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54270         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54271         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54272         zero since it's initialized to EXEC_PAGESIZE.
54274         * sysdeps/unix/sysv/linux/ldsodefs.h
54275         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54276         * sysdeps/generic/ldsodefs.h: ... here.
54278 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54280         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54282         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54283         math/test-snan.c.
54284         * math/test-snan.c: Renamed from
54285         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54286         * math/Makefile (tests): Add test-snan.
54287         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54288         test-powerpc-snan.
54290         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54291         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54292         functions.
54293         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54294         __builtin_nan family of functions.
54295         * math/libm-test.inc (initialize): Initialize qnan_value with
54296         __builtin_nan family of functions.
54297         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54298         Remove variables.
54299         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54300         Remove functions.
54301         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54302         storage class.  Initialize qNaN_var and sNaN_var with
54303         __builtin_nan and __builtin_nans families of functions,
54304         respectively.
54306         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54307         (sqrt_test): Remove duplicate test with qNaN input.
54308         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54309         (round_test, signbit_test, significand_test): Note missing +/-Inf
54310         as well as qNaN tests.
54312         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54313         qNaN_var.  Fix a few strings, too.
54314         * math/libm-test.inc (nan_value): Rename to qnan_value.
54315         * math/gen-libm-test.pl (%beautify): Adjust to that.
54316         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54317         * math/test-misc.c (main): Likewise.
54318         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54319         to __qnan_bytes, and __qnan_union, respectively.
54320         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54321         Likewise.
54322         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54323         and lqnanval, respectively.
54324         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54325         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54326         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54327         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54329         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54330         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54331         doubles.
54333         * math/test-misc.c (main): Fix copy'n'pastos.
54334         * misc/tst-efgcvt.c (special): Likewise.
54336         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54337         Remove declarations.
54339 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54341         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54342         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54343         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54344         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54346 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54348         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54349         macro to return vdso values correctly in IFUNC implementations.
54350         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54351         Optimization by using IFUNC.
54353 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54354             Richard Henderson  <rth@redhat.com>
54355             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54357         * Makefile.in (bench): New target.
54358         * NEWS: Mention the benchmark framework.
54359         * Rules (bench): Likewise.
54360         (binaries-bench): Generate binaries for functions to
54361         benchmark.
54362         * benchtests/Makefile: New makefile for benchmark tests.
54363         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54364         programs.
54365         * benchtests/exp-inputs: New input file for EXP function.
54366         * benchtests/pow-inputs: New input file for POW function.
54367         * scripts/bench.pl: New script to generate source files for
54368         benchmark programs.
54370 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54372         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54373         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54374         computations on mantissa.  Use macros for rounding and
54375         division.
54376         (denorm): Likewise.
54377         (__dbl_mp): Likewise.
54378         (add_magnitudes): Likewise.
54379         (sub_magnitudes): Likewise.
54380         (__mul): Likewise.
54381         (__sqr): Likewise.
54382         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54383         powers of two in terms of TWOPOW macro.
54384         (mp_no): Make type of mantissa as MANTISSA_T.
54385         [!RADIXI]: Define RADIXI.
54386         [!TWO52]: Define TWO52.
54387         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54389         * manual/nptl.texi (cindex): Modify threads to pthreads.
54391 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54393         * sysdeps/x86_64/preconfigure: Regenerated.
54395 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54397         [BZ #14155]
54398         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54399         0x1p28 and above.
54400         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54401         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54402         0x1p28 and above.
54403         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54404         * math/libm-test.inc (j0_test): Do not allow one spurious
54405         underflow exception.
54406         (y1_test): Likewise.
54408 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54410         * manual/Makefile (chapters): Add nptl.
54411         * manual/debug.texi (Debugging Support): Add link to Threads
54412         chapter.
54413         * manual/nptl.texi: New file.
54415         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54417 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54419         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54420         for non-NULL pointer before the memory validity test. Pointed
54421         out by Holger Brunck <holger.brunck@keymile.com>.
54423 2013-03-13  Andreas Schwab  <schwab@suse.de>
54425         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54426         instead of .os.
54428 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54430         * timezone/zic.c: Update from tzcode 2013b.
54432 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54434         * manual/install.texi (Configuring and compiling):
54435         Mention i686 and i586.
54436         * INSTALL: Regenerate.
54438 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54440         * sysdeps/init_array/elf-init.c: New file.
54441         * csu/elf-init.c
54442         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54443         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54445         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54446         __gmon_start__ as global, but as static with a .preinit_array pointer.
54447         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54448         * sysdeps/init_array/crti.S: New file, empty except for comments.
54449         * sysdeps/init_array/crtn.S: Likewise.
54451 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54453         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54454         definining bcopy.
54455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54456         Remove Prefer_SSE_for_memop.
54457         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54458         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54459         HAS_PREFER_SSE_FOR_MEMOP.
54460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54461         memset-x86-64.
54462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54463         Remove bzero, memset ifunc support.
54464         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54465         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54466         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54467         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54469 2013-03-11  Andreas Schwab  <schwab@suse.de>
54471         [BZ #15234]
54472         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54473         by SHLIB_COMPAT.
54474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54475         (GLIBC_2.16): Remove pthread_atfork.
54477 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54479         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54480         (ptestcases.h): Likewise.
54482 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54484         * Makeconfig ($(common-objpfx)config.status): Depend on
54485         sysdeps/*/preconfigure{,.in} too.
54487 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54489         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54490         (__free_hook): Use void * instead of __malloc_ptr_t.
54491         (__malloc_hook): Likewise.
54492         (__realloc_hook): Likewise.
54493         (__memalign_hook): Likewise.
54494         (__after_morecore_hook): Likewise.
54495         * malloc/arena.c (save_malloc_hook): Likewise.
54496         (save_free_hook): Likewise.
54497         * malloc/hooks.c (malloc_hook_ini): Likewise.
54498         (realloc_hook_ini): Likewise.
54499         (memalign_hook_ini): Likewise.
54500         * malloc/malloc.c (malloc_hook_ini): Likewise.
54501         (realloc_hook_ini): Likewise.
54502         (memalign_hook_ini): Likewise.
54503         (__free_hook): Likewise.
54504         (__malloc_hook): Likewise.
54505         (__realloc_hook): Likewise.
54506         (__memalign_hook): Likewise.
54507         (__libc_malloc): Likewise.
54508         (__libc_free): Likewise.
54509         (__libc_realloc): Likewise.
54510         (__libc_memalign): Likewise.
54511         (__libc_valloc): Likewise.
54512         (__libc_pvalloc): Likewise.
54513         (__libc_calloc): Likewise.
54514         (__posix_memalign): Likewise.
54515         * malloc/morecore.c (__sbrk): Likewise.
54516         (__default_morecore): Likewise.
54518         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54520         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54521         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54522         __malloc_ptrdiff_t.
54524         * malloc/malloc.h (__malloc_size_t): Remove macro.
54525         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54526         __malloc_size_t.
54527         (old_memalign_hook): Likewise.
54528         (old_realloc_hook): Likewise.
54529         (struct hdr): Likewise.
54530         (flood): Likewise.
54531         (mallochook): Likewise.
54532         (memalignhook): Likewise.
54533         (reallochook): Likewise.
54534         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54535         (tr_old_realloc_hook): Likewise.
54536         (tr_old_memalign_hook): Likewise.
54537         (tr_mallochook): Likewise.
54538         (tr_reallochook): Likewise.
54539         (tr_memalignhook): Likewise.
54541 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54543         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54544         default_ldbl_pack and using as default implementation.
54545         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54546         implementation.
54547         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54548         redundant definition.
54549         (ldbl_insert_mantissa): Likewise.
54550         (ldbl_canonicalize): Likewise.
54551         (ldbl_nearbyint): Likewise.
54552         (ldbl_pack): Rename to ldbl_pack_ppc.
54553         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54554         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54555         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54557 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54559         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54560         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54561         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54562         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54564         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54565         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54566         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54568 2013-03-07  Andreas Jaeger  <aj@suse.de>
54570         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54571         bits/mman-linux.h.
54573 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54575         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54576         Include mpa.h and declare __MPEXP.
54577         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54578         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54579         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54580         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54581         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54582         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54583         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54585         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54586         (__slowpow): Use long double EXPL and LOGL functions to
54587         compute POW.
54588         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54589         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54590         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54591         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54592         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54593         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54596         intermediate variable to calculate exponent.
54597         (__sqr): Likewise.
54598         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54599         Likewise.
54600         (__sqr): Likewise.
54602         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54603         [!NO__SQR]: Define __sqr.
54604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54605         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54606         sysdeps/ieee754/dbl-64/mpa.c.
54607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54609         [BZ #12723]
54610         * posix/Makefile (tests): Add tst-pathconf.
54611         * posix/tst-pathconf.c: New test case.
54612         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54613         _PC_PIPE_BUF.
54614         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54616 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54618         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54620 2013-03-06  Andreas Jaeger  <aj@suse.de>
54622         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54623         definition via __MAP_ANONYMOUS.
54625         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54626         it's not part of Linux headers.
54628         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54629         (MAP_HUGE_MASK): Define.
54631         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54632         Define.
54633         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54635         Define.
54636         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54637         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54638         Define.
54639         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54640         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54641         Define.
54642         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54644         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54645         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54646         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54647         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54648         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54649         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54651         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54652         Handle f2fs.
54654         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54655         Handle f2fs and efivarfs.
54657         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54658         f2fs.
54660         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54661         (EFIVARFS_MAGIC): Add.
54662         (F2FS_LINK_MAX): Add.
54664 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54666         * stdio-common/vfprintf.c: Replace __builtin_expect with
54667         __glibc_unlikely.
54669 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54671         [BZ #13550]
54672         * sysdeps/generic/bp-sym.h: Remove file.
54673         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54674         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54675         <bp-sym.h> and <bp-asm.h>.
54676         (__longjmp): Don't use BP_SYM.
54677         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54678         and <bp-asm.h>.
54679         (memcpy): Don't use BP_SYM.
54680         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54681         <bp-sym.h> and <bp-asm.h>.
54682         (memcpy): Don't use BP_SYM.
54683         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54684         <bp-asm.h>.
54685         (memcpy): Don't use BP_SYM.
54686         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54687         <bp-asm.h>.
54688         (memset): Don't use BP_SYM.
54689         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54690         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54691         (__bzero): Don't use BP_SYM.
54692         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54693         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54694         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54695         <bp-sym.h> and <bp-asm.h>.
54696         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54697         pointers.
54698         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54699         <bp-sym.h> and <bp-asm.h>.
54700         (memcpy): Don't use BP_SYM.
54701         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54702         <bp-sym.h> and <bp-asm.h>.
54703         (memset): Don't use BP_SYM.
54704         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54705         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54706         (__bzero): Don't use BP_SYM.
54707         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54708         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54709         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54710         <bp-sym.h> and <bp-asm.h>.
54711         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54712         pointers.
54713         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54714         <bp-sym.h> and <bp-asm.h>.
54715         (memcpy): Don't use BP_SYM.
54716         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54717         <bp-sym.h> and <bp-asm.h>.
54718         (memset): Don't use BP_SYM.
54719         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54720         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54721         (__bzero): Don't use BP_SYM.
54722         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54723         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54724         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54725         <bp-sym.h> and <bp-asm.h>.
54726         (__memchr): Don't use BP_SYM.
54727         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54728         <bp-sym.h> and <bp-asm.h>.
54729         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54730         pointers.
54731         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54732         <bp-sym.h> and <bp-asm.h>.
54733         (memcpy): Don't use BP_SYM.
54734         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54735         <bp-sym.h> and <bp-asm.h>.
54736         (__mempcpy): Don't use BP_SYM.
54737         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54738         <bp-sym.h> and <bp-asm.h>.
54739         (__memrchr): Don't use BP_SYM.
54740         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54741         <bp-sym.h> and <bp-asm.h>.
54742         (memset): Don't use BP_SYM.
54743         (__bzero): Likewise.
54744         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54745         <bp-sym.h> and <bp-asm.h>.
54746         (__rawmemchr): Don't use BP_SYM.
54747         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54748         <bp-sym.h> and <bp-asm.h>.
54749         (__STRCMP): Don't use BP_SYM.
54750         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54751         <bp-sym.h> and <bp-asm.h>.
54752         (strchr): Don't use BP_SYM.
54753         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54754         <bp-sym.h> and <bp-asm.h>.
54755         (__strchrnul): Don't use BP_SYM.
54756         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54757         <bp-sym.h> and <bp-asm.h>.
54758         (strlen): Don't use BP_SYM.
54759         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54760         <bp-sym.h> and <bp-asm.h>.
54761         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54762         pointers.
54763         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54764         <bp-sym.h> and <bp-asm.h>.
54765         (__strnlen): Don't use BP_SYM.
54766         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54767         <bp-sym.h> and <bp-asm.h>.
54768         (__GI__setjmp): Don't use BP_SYM.
54769         (_setjmp): Likewise.
54770         (__sigsetjmp): Likewise.
54771         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54772         (L(start_addresses)): Don't use BP_SYM.
54773         (_start): Likewise.
54774         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54775         <bp-asm.h>.
54776         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54777         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54778         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54779         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54780         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54781         <bp-asm.h>.
54782         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54783         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54784         about bounded pointers.
54785         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54786         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54787         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54788         <bp-asm.h>.
54789         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54790         about bounded pointers.  Remove GKM FIXME comments.
54791         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54792         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54793         <bp-asm.h>.
54794         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54795         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54796         Remove GKM FIXME comments.
54797         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54798         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54799         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54800         <bp-asm.h>.
54801         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54802         about bounded pointers.  Remove GKM FIXME comment.
54803         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54804         and <bp-asm.h>.
54805         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54806         pointers.
54807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54808         <bp-sym.h> and <bp-asm.h>.
54809         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54811         <bp-sym.h> and <bp-asm.h>.
54812         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54813         comment.
54815 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54817         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54818         call free(NULL).
54820 2013-03-05  David S. Miller  <davem@davemloft.net>
54822         * po/es.po: Update from translation team.
54824 2013-03-05  Andreas Jaeger  <aj@suse.de>
54826         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54827         <bits/mman-linux.h>.
54828         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54829         is fine.
54830         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54831         <bits/mman-linux.h> to end of file.
54832         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54833         is fine.
54834         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54835         <bits/mman-linux.h> to end of file.
54836         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54837         is fine.
54838         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54839         <bits/mman-linux.h> to end of file.
54841         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54842         (MCL_CURRENT, MCL_FUTURE): Define here.
54844 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54846         [BZ #15232]
54847         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54848         attribute_hidden.
54849         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54851 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54853         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54854         fourth parameter needed for rt_sigprocmask syscall.
54855         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54856         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54857         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54858         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54859         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54860         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54862 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54864         [BZ #13550]
54865         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54866         comment about bounded pointers.
54867         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54868         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54870 2013-03-04  Andreas Jaeger  <aj@suse.de>
54872         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54873         common definitions.
54875         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54876         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54877         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54878         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54879         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54880         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54882 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54884         [BZ #15055]
54885         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54886         __ieee754_sqrl instead of __sqrl.
54888 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54890         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54891         * sysdeps/powerpc/fpu_control.h: ... here.
54892         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54893         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54894         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54895         * sysdeps/powerpc/bits/mathinline.h: ... here.
54897 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54899         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54900         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54901         to just [NEED_DL_SYSINFO_DSO].
54902         * elf/dl-support.c: Likewise.
54903         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54904         * elf/rtld.c (dl_main): Likewise.
54905         * elf/setup-vdso.h (setup_vdso): Likewise.
54906         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54907         * sysdeps/unix/sysv/linux/dl-sysdep.c
54908         (_dl_discover_osversion): Likewise.
54910 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54912         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54913         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54915 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54917         * NEWS: Mention libm performance improvements and non-x86 PI
54918         futex support.
54920         * csu/libc-start.c (__pthread_initialize_minimal): Change
54921         function arguments.
54922         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54924 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54926         [BZ #13550]
54927         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54928         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54929         <bp-sym.h> and <bp-asm.h>.
54930         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54931         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54932         and <bp-asm.h>.
54933         (memcpy): Don't use BP_SYM.
54934         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54935         <bp-asm.h>.
54936         (__mpn_add_n): Don't use BP_SYM.
54937         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54938         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54939         and <bp-asm.h>.
54940         (__mpn_addmul_1): Don't use BP_SYM.
54941         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54942         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54943         <bp-sym.h>.
54944         (_setjmp): Don't use BP_SYM.
54945         (__novmx_setjmp): Likewise.
54946         (__GI__setjmp): Likewise.
54947         (__vmx_setjmp): Likewise.
54948         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54949         <bp-sym.h>.
54950         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54951         (__bzero): Don't use BP_SYM.
54952         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54953         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54954         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54955         <bp-sym.h> and <bp-asm.h>.
54956         (memcpy): Don't use BP_SYM.
54957         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54958         <bp-sym.h> and <bp-asm.h>.
54959         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54960         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54961         <bp-sym.h> and <bp-asm.h>.
54962         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54963         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54964         <bp-asm.h>.
54965         (__mpn_lshift): Don't use BP_SYM.
54966         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54967         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54968         <bp-asm.h>.
54969         (memset): Don't use BP_SYM.
54970         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54971         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54972         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54973         <bp-asm.h>.
54974         (__mpn_mul_1): Don't use BP_SYM.
54975         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54976         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54977         <bp-sym.h> and <bp-asm.h>.
54978         (memcmp): Don't use BP_SYM.
54979         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54980         <bp-sym.h> and <bp-asm.h>.
54981         (memcpy): Don't use BP_SYM.
54982         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54983         <bp-sym.h> and <bp-asm.h>.
54984         (memset): Don't use BP_SYM.
54985         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54986         <bp-sym.h> and <bp-asm.h>.
54987         (strncmp): Don't use BP_SYM.
54988         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54989         <bp-sym.h> and <bp-asm.h>.
54990         (memcpy): Don't use BP_SYM.
54991         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54992         <bp-sym.h> and <bp-asm.h>.
54993         (memset): Don't use BP_SYM.
54994         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54995         <bp-sym.h> and <bp-asm.h>.
54996         (__memchr): Don't use BP_SYM.
54997         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54998         <bp-sym.h> and <bp-asm.h>.
54999         (memcmp): Don't use BP_SYM.
55000         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
55001         <bp-sym.h> and <bp-asm.h>.
55002         (memcpy): Don't use BP_SYM.
55003         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
55004         <bp-sym.h> and <bp-asm.h>.
55005         (__mempcpy): Don't use BP_SYM.
55006         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
55007         <bp-sym.h> and <bp-asm.h>.
55008         (__memrchr): Don't use BP_SYM.
55009         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
55010         <bp-sym.h> and <bp-asm.h>.
55011         (memset): Don't use BP_SYM.
55012         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
55013         <bp-sym.h> and <bp-asm.h>.
55014         (__rawmemchr): Don't use BP_SYM.
55015         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
55016         <bp-sym.h> and <bp-asm.h>.
55017         (__STRCMP): Don't use BP_SYM.
55018         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
55019         <bp-sym.h> and <bp-asm.h>.
55020         (strchr): Don't use BP_SYM.
55021         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
55022         <bp-sym.h> and <bp-asm.h>.
55023         (__strchrnul): Don't use BP_SYM.
55024         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
55025         <bp-sym.h> and <bp-asm.h>.
55026         (strlen): Don't use BP_SYM.
55027         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
55028         <bp-sym.h> and <bp-asm.h>.
55029         (strncmp): Don't use BP_SYM.
55030         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
55031         <bp-sym.h> and <bp-asm.h>.
55032         (__strnlen): Don't use BP_SYM.
55033         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
55034         <bp-asm.h>.
55035         (__mpn_rshift): Don't use BP_SYM.
55036         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55037         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
55038         <bp-sym.h> and <bp-asm.h>.
55039         (__sigsetjmp): Don't use BP_SYM.
55040         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
55041         (L(start_addresses)): Don't use BP_SYM.
55042         (_start): Likewise.
55043         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
55044         <bp-asm.h>.
55045         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
55046         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55047         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55048         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
55049         <bp-asm.h>.
55050         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
55051         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55052         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55053         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
55054         <bp-asm.h>.
55055         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55056         comments.
55057         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55058         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
55059         <bp-asm.h>.
55060         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
55061         FIXME comments.
55062         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55063         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55064         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
55065         <bp-asm.h>.
55066         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55067         comment.
55068         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
55069         and <bp-asm.h>.
55070         (strncmp): Don't use BP_SYM,
55071         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
55072         <bp-asm.h>.
55073         (__mpn_sub_n): Don't use BP_SYM.
55074         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55075         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
55076         and <bp-asm.h>.
55077         (__mpn_submul_1): Don't use BP_SYM.
55078         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
55080         <bp-sym.h> and <bp-asm.h>.
55081         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
55083         <bp-sym.h> and <bp-asm.h>.
55084         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55085         comment.
55087 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
55090         Use ZK to minimize writes to Z.
55091         (sub_magnitudes): Simplify code a bit.
55092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
55093         Use ZK to minimize writes to Z.
55094         (sub_magnitudes): Simplify code a bit.
55096 2013-02-27  Roland McGrath  <roland@hack.frob.com>
55098         * csu/gmon-start.c: Add special exception to license text.
55100 2013-02-27  Richard Henderson  <rth@redhat.com>
55102         * scripts/config.guess: Update from config.git.
55103         * scripts/config.sub: Likewise.
55105 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55107         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
55109         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
55111         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
55113         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
55115         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
55117 2013-02-26  Roland McGrath  <roland@hack.frob.com>
55119         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
55120         [$(build-shared = yes].
55122 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55124         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55125         (__mul): Reduce iterations for calculating mantissa.
55127         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55128         MPTWO.
55129         (__mpranred): Likewise.
55131         [BZ #15160]
55132         * malloc/memusagestat.c (main): Draw graphs for heap and stack
55133         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55135 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
55137         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55138         Define __attribute__.
55140 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55142         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
55143         unused.
55144         * posix/regex_internal.h (__attribute): Remove.
55145         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55146         (re_string_context_at): Likewise.
55147         (bitset_not): Use __attribute__ and mark function as possibly
55148         unused.
55149         (bitset_merge): Likewise.
55150         (bitset_mask): Likewise.
55151         (re_string_char_size_at): Likewise.
55152         (re_string_wchar_at): Likewise.
55153         (re_string_elem_size_at): Likewise.
55155 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55157         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55158         code.
55159         (cc32): Likewise.
55161         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55162         (__acr): Likewise.
55163         (__cpy): Likewise.
55164         (norm): Likewise.
55165         (denorm): Likewise.
55166         (__dbl_mp): Likewise.
55167         (add_magnitudes): Likewise.
55168         (sub_magnitudes): Likewise.
55169         (__mul): Likewise.
55170         (__inv): Likewise.
55172         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55173         style.
55175         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55176         style.
55178         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55179         code.
55181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55182         up changes with default code.
55183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55184         Likewise.
55186 2013-02-24  Allan McRae  <allan@archlinux.org>
55188         * manual/socket.texi (The Internet Namespace): Order menu items
55189         to match that in the file.
55191         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55192         node listing of the info page menu.
55194 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55196         [BZ #13550]
55197         * sysdeps/i386/bp-asm.h: Remove file.
55198         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55199         (PARMS): Do not use macros from bp-asm.h.
55200         (S1): Likewise.
55201         (S2): Likewise.
55202         (SIZE): Likewise.
55203         (__mpn_add_n): Do not use BP_SYM
55204         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55205         "bp-asm.h".
55206         (PARMS): Do not use macros from bp-asm.h.
55207         (S1): Likewise.
55208         (SIZE): Likewise.
55209         (__mpn_addmul_1): Do not use BP_SYM
55210         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55211         "bp-asm.h".
55212         (PARMS): Do not use macros from bp-asm.h.
55213         (SIGMSK): Likewise.
55214         (_setjmp): Likewise.  Do not use BP_SYM.
55215         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55216         "bp-asm.h".
55217         (PARMS): Do not use macros from bp-asm.h.
55218         (SIGMSK): Likewise.
55219         (setjmp): Likewise.  Do not use BP_SYM.
55220         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55221         "bp-asm.h".
55222         (PARMS): Do not use macros from bp-asm.h.
55223         (__frexp): Do not use BP_SYM.
55224         (frexp): Likewise.
55225         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55226         "bp-asm.h".
55227         (PARMS): Do not use macros from bp-asm.h.
55228         (__frexpf): Do not use BP_SYM.
55229         (frexpf): Likewise.
55230         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55231         "bp-asm.h".
55232         (PARMS): Do not use macros from bp-asm.h.
55233         (__frexpl): Do not use BP_SYM.
55234         (frexpl): Likewise.
55235         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55236         "bp-asm.h".
55237         (PARMS): Do not use macros from bp-asm.h.
55238         (__remquo): Do not use BP_SYM.
55239         (remquo): Likewise.
55240         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55241         "bp-asm.h".
55242         (PARMS): Do not use macros from bp-asm.h.
55243         (__remquof): Do not use BP_SYM.
55244         (remquof): Likewise.
55245         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55246         "bp-asm.h".
55247         (PARMS): Do not use macros from bp-asm.h.
55248         (__remquol): Do not use BP_SYM.
55249         (remquol): Likewise.
55250         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55251         "bp-asm.h".
55252         (PARMS): Do not use macros from bp-asm.h.
55253         (DEST): Likewise.
55254         (SRC): Likewise.
55255         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55256         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55257         "bp-asm.h".
55258         (PARMS): Do not use macros from bp-asm.h.
55259         (strlen): Do not use BP_SYM.
55260         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55261         "bp-asm.h".
55262         (PARMS): Do not use macros from bp-asm.h.
55263         (S1): Likewise.
55264         (S2): Likewise.
55265         (SIZE): Likewise.
55266         (__mpn_add_n): Do not use BP_SYM.
55267         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55268         "bp-asm.h".
55269         (PARMS): Do not use macros from bp-asm.h.
55270         (S1): Likewise.
55271         (SIZE): Likewise.
55272         (__mpn_addmul_1): Do not use BP_SYM.
55273         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55274         weak_alias.
55275         (bzero): Likewise.
55276         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55277         "bp-asm.h".
55278         (PARMS): Do not use macros from bp-asm.h.
55279         (S): Likewise.
55280         (SIZE): Likewise.
55281         (__mpn_lshift): Do not use BP_SYM.
55282         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55283         "bp-asm.h".
55284         (PARMS): Do not use macros from bp-asm.h.
55285         (DEST): Likewise.
55286         (SRC): Likewise.
55287         (LEN): Likewise.
55288         (memcpy): Likewise.  Do not use BP_SYM.
55289         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55290         libc_hidden_def and weak_alias.
55291         (mempcpy): Do not use BP_SYM in weak_alias.
55292         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55293         "bp-asm.h".
55294         (PARMS): Do not use macros from bp-asm.h.
55295         (DEST): Likewise.
55296         (LEN): Likewise.
55297         [!BZERO_P] (CHR): Likewise.
55298         (memset): Likewise.  Do not use BP_SYM.
55299         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55300         "bp-asm.h".
55301         (PARMS): Do not use macros from bp-asm.h.
55302         (S1): Likewise.
55303         (SIZE): Likewise.
55304         (__mpn_mul_1): Do not use BP_SYM.
55305         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55306         "bp-asm.h".
55307         (PARMS): Do not use macros from bp-asm.h.
55308         (S): Likewise.
55309         (SIZE): Likewise.
55310         (__mpn_rshift): Do not use BP_SYM.
55311         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55312         "bp-asm.h".
55313         (PARMS): Do not use macros from bp-asm.h.
55314         (STR): Likewise.
55315         (CHR): Likewise.
55316         (strchr): Likewise.  Do not use BP_SYM.
55317         (index): Do not use BP_SYM in weak_alias.
55318         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55319         "bp-asm.h".
55320         (PARMS): Do not use macros from bp-asm.h.
55321         (DEST): Likewise.
55322         (SRC): Likewise.
55323         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55324         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55325         "bp-asm.h".
55326         (PARMS): Do not use macros from bp-asm.h.
55327         (strlen): Do not use BP_SYM.
55328         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55329         "bp-asm.h".
55330         (PARMS): Do not use macros from bp-asm.h.
55331         (S1): Likewise.
55332         (S2): Likewise.
55333         (SIZE): Likewise.
55334         (__mpn_sub_n): Do not use BP_SYM.
55335         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55336         "bp-asm.h".
55337         (PARMS): Do not use macros from bp-asm.h.
55338         (S1): Likewise.
55339         (SIZE): Likewise.
55340         (__mpn_submul_1): Do not use BP_SYM.
55341         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55342         "bp-asm.h".
55343         (PARMS): Do not use macros from bp-asm.h.
55344         (S1): Likewise.
55345         (S2): Likewise.
55346         (SIZE): Likewise.
55347         (__mpn_add_n): Do not use BP_SYM.
55348         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55349         weak_alias.
55350         (bzero): Likewise.
55351         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55352         "bp-asm.h".
55353         (PARMS): Do not use macros from bp-asm.h.
55354         (BLK2): Likewise.
55355         (LEN): Likewise.
55356         (memcmp): Do not use BP_SYM.
55357         (bcmp): Do not use BP_SYM in weak_alias.
55358         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55359         "bp-asm.h".
55360         (PARMS): Do not use macros from bp-asm.h.
55361         (DEST): Likewise.
55362         (SRC): Likewise.
55363         (LEN): Likewise.
55364         (memcpy): Likewise.  Do not use BP_SYM.
55365         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55366         "bp-asm.h".
55367         (PARMS): Do not use macros from bp-asm.h.
55368         (DEST): Likewise.
55369         (SRC): Likewise.
55370         (LEN): Likewise.
55371         (memmove): Likewise.  Do not use BP_SYM.
55372         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55373         "bp-asm.h".
55374         (PARMS): Do not use macros from bp-asm.h.
55375         (DEST): Likewise.
55376         (SRC): Likewise.
55377         (LEN): Likewise.
55378         (__mempcpy): Likewise.  Do not use BP_SYM.
55379         (mempcpy): Do not use BP_SYM in weak_alias.
55380         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55381         "bp-asm.h".
55382         (PARMS): Do not use macros from bp-asm.h.
55383         (DEST): Likewise.
55384         (LEN): Likewise.
55385         [!BZERO_P] (CHR): Likewise.
55386         (memset): Likewise.  Do not use BP_SYM.
55387         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55388         "bp-asm.h".
55389         (PARMS): Do not use macros from bp-asm.h.
55390         (STR2): Likewise.
55391         (strcmp): Do not use BP_SYM.
55392         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55393         "bp-asm.h".
55394         (PARMS): Do not use macros from bp-asm.h.
55395         (STR): Likewise.
55396         (DELIM): Likewise.
55397         [USE_AS_STRTOK_R] (SAVE): Likewise.
55398         (FUNCTION): Likewise.  Do not use BP_SYM.
55399         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55400         aliases.
55401         (strtok_r): Likewise.
55402         (__GI___strtok_r): Likewise.
55403         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55404         (PARMS): Do not use macros from bp-asm.h.
55405         (S): Likewise.
55406         (SIZE): Likewise.
55407         (__mpn_lshift): Do not use BP_SYM.
55408         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55409         (PARMS): Do not use macros from bp-asm.h.
55410         (STR): Likewise.
55411         (CHR): Likewise.
55412         (__memchr): Do not use BP_SYM.
55413         (memchr): Do not use BP_SYM in weak_alias.
55414         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55415         (PARMS): Do not use macros from bp-asm.h.
55416         (BLK2): Likewise.
55417         (LEN): Likewise.
55418         (memcmp): Do not use BP_SYM.
55419         (bcmp): Do not use BP_SYM in weak_alias.
55420         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55421         (PARMS): Do not use macros from bp-asm.h.
55422         (S1): Likewise.
55423         (SIZE): Likewise.
55424         (__mpn_mul_1): Do not use BP_SYM.
55425         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55426         "bp-asm.h".
55427         (PARMS): Do not use macros from bp-asm.h.
55428         (STR): Likewise.
55429         (CHR): Likewise.
55430         (__rawmemchr): Do not use BP_SYM.
55431         (rawmemchr): Do not use BP_SYM in weak_alias.
55432         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55433         (PARMS): Do not use macros from bp-asm.h.
55434         (S): Likewise.
55435         (SIZE): Likewise.
55436         (__mpn_rshift): Do not use BP_SYM.
55437         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55438         (PARMS): Do not use macros from bp-asm.h.
55439         (SIGMSK): Likewise.
55440         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55441         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55442         (_start): Do not use BP_SYM.
55443         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55444         (PARMS): Do not use macros from bp-asm.h.
55445         (DEST): Likewise.
55446         (SRC): Likewise.
55447         (__stpcpy): Likewise.  Do not use BP_SYM.
55448         (stpcpy): Do not use BP_SYM in weak_alias.
55449         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55450         "bp-asm.h".
55451         (PARMS): Do not use macros from bp-asm.h.
55452         (DEST): Likewise.
55453         (SRC): Likewise.
55454         (LEN): Likewise.
55455         (__stpncpy): Likewise.  Do not use BP_SYM.
55456         (stpncpy): Do not use BP_SYM in weak_alias.
55457         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55458         (PARMS): Do not use macros from bp-asm.h.
55459         (STR): Likewise.
55460         (CHR): Likewise.
55461         (strchr): Likewise.  Do not use BP_SYM.
55462         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55463         "bp-asm.h".
55464         (PARMS): Do not use macros from bp-asm.h.
55465         (STR): Likewise.
55466         (CHR): Likewise.
55467         (__strchrnul): Likewise.  Do not use BP_SYM.
55468         (strchrnul): Do not use BP_SYM in weak_alias.
55469         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55470         "bp-asm.h".
55471         (PARMS): Do not use macros from bp-asm.h.
55472         (STOP): Likewise.
55473         (strcspn): Do not use BP_SYM.
55474         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55475         "bp-asm.h".
55476         (PARMS): Do not use macros from bp-asm.h.
55477         (STR): Likewise.
55478         (STOP): Likewise.
55479         (strpbrk): Likewise.  Do not use BP_SYM.
55480         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55481         "bp-asm.h".
55482         (PARMS): Do not use macros from bp-asm.h.
55483         (STR): Likewise.
55484         (CHR): Likewise.
55485         (strrchr): Likewise.  Do not use BP_SYM.
55486         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55487         (PARMS): Do not use macros from bp-asm.h.
55488         (SKIP): Likewise.
55489         (strspn): Do not use BP_SYM.
55490         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55491         (PARMS): Do not use macros from bp-asm.h.
55492         (STR): Likewise.
55493         (DELIM): Likewise.
55494         (SAVE): Likewise.
55495         (FUNCTION): Likewise.  Do not use BP_SYM.
55496         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55497         aliases.
55498         (strtok_r): Likewise.
55499         (__GI___strtok_r): Likewise.
55500         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55501         (PARMS): Do not use macros from bp-asm.h.
55502         (S1): Likewise.
55503         (S2): Likewise.
55504         (SIZE): Likewise.
55505         (__mpn_sub_n): Do not use BP_SYM.
55506         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55507         "bp-asm.h".
55508         (PARMS): Do not use macros from bp-asm.h.
55509         (S1): Likewise.
55510         (SIZE): Likewise.
55511         (__mpn_submul_1): Do not use BP_SYM.
55512         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55513         <bp-sym.h>.
55514         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55515         and <bp-asm.h>.
55516         (PARMS): Do not use macros from bp-asm.h.
55517         (FLAGS): Likewise.
55518         (PTID): Likewise.
55519         (TLS): Likewise.
55520         (CTID): Likewise.
55521         (__clone): Do not use BP_SYM.
55522         (clone): Do not use BP_SYM in weak_alias.
55523         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55524         and <bp-asm.h>.
55525         (PARMS): Do not use macros from bp-asm.h.
55526         (LEN): Likewise.
55527         (__mmap64): Do not use BP_SYM.
55528         (mmap64): Do not use BP_SYM in weak_alias.
55529         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55530         <bp-sym.h> and <bp-asm.h>.
55531         (PARMS): Do not use macros from bp-asm.h.
55532         (__posix_fadvise64_l64): Do not use BP_SYM.
55533         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55534         (PARMS): Do not use macros from bp-asm.h.
55535         (NSOPS): Likewise.
55536         (semtimedop): Do not use BP_SYM.
55537         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55538         and <bp-asm.h>.
55540 2013-02-21  Allan McRae  <allan@archlinux.org>
55542         * manual/message.texi (Charset conversion in gettext):
55543         Move @end statement to beginning of line.
55545 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55548         static.
55549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55550         Likewise.
55552         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55553         (denorm): Likewise.
55554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55557 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55559         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55560         tail-call to the resolved function if pltexit isn't needed.
55562 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55565         or Y being zero as being unlikely.
55566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55567         Likewise.
55569 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55571         * manual/nss.texi (System Databases and Name Service Switch):
55572         Remove frobnicate @pxref.
55574 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55576         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55577         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55579 2013-02-20  Petr Machata  <pmachata@redhat.com>
55581         * elf/elf.h (R_ARM_TARGET1): New macro.
55582         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55583         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55584         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55585         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55586         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55587         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55588         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55589         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55590         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55591         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55592         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55593         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55594         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55595         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55596         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55597         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55598         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55599         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55600         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55601         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55602         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55603         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55604         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55605         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55606         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55607         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55608         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55609         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55610         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55611         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55612         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55613         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55614         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55615         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55616         (R_ARM_THM_GOT_BREL12): Likewise.
55617         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55618         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55619         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55620         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55621         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55622         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55623         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55624         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55625         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55627 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55629         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55630         __attribute_used__ to __attribute__ ((unused)).
55632 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55634         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55635         powerpc mpa.c.
55636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55637         comment formatting.
55638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55640 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55642         [BZ #13550]
55643         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55644         Remove macro.
55645         (ENTER): Remove both macro definitions.
55646         (LEAVE): Likewise.
55647         (CHECK_BOUNDS_LOW): Likewise.
55648         (CHECK_BOUNDS_HIGH): Likewise.
55649         (CHECK_BOUNDS_BOTH): Likewise.
55650         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55651         (RETURN_BOUNDED_POINTER): Likewise.
55652         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55653         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55654         (POP_ERRNO_LOCATION_RETURN): Likewise.
55655         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55656         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55657         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55658         macros.
55659         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55660         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55661         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55662         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55663         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55664         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55665         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55666         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55667         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55668         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55669         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55670         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55671         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55672         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55673         removed macros.
55674         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55675         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55676         macros.
55677         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55678         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55679         * sysdeps/i386/i586/memset.S (memset): Likewise.
55680         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55681         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55682         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55683         macros.
55684         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55685         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55686         Change uses of L(2) to L(out).
55687         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55688         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55689         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55690         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55691         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55692         removed macros.
55693         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55694         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55695         macros.
55696         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55697         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55698         (RETURN): Do not use macro LEAVE.
55699         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55700         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55701         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55702         * sysdeps/i386/i686/memset.S (memset): Likewise.
55703         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55704         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55705         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55706         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55707         Likewise.
55708         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55709         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55710         L(1_2) and L(1_3) into L(1).
55711         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55712         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55713         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55714         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55715         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55716         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55717         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55718         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55719         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55720         macros.
55721         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55722         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55723         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55724         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55725         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55726         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55727         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55728         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55729         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55730         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55731         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55732         * sysdeps/i386/strspn.S (strspn): Likewise.
55733         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55734         conditional code.
55735         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55736         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55737         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55738         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55739         L(1_3) into L(1_1).
55740         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55741         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55742         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55743         macros.
55744         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55746 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55748         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55749         macro.
55751 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55753         * math/atest-exp.c (exp_mpn): Remove ROUND.
55754         * math/atest-exp2.c (exp_mpn): Likewise.
55755         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55757         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55758         * stdlib/tst-tls-atexit-lib.c: Likewise.
55759         * stdlib/tst-tls-atexit.c: Likewise.
55761 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55763         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55764         and __attribute_alloc_size__.
55766 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55768         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55769         __attribute_alloc_size__.
55770         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55771         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55773 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55775         * include/programs/xmalloc.h: New file.
55776         * catgets/gencat.c: Include it.
55777         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55778         * elf/pldd.c: Likewise.
55779         * iconv/iconv_charmap.c: Likewise.
55780         * iconv/iconvconfig.c: Likewise.
55781         * iconv/strtab.c: Likewise.
55782         * locale/programs/locale.c: Likewise.
55783         * locale/programs/localedef.h: Likewise.
55784         * locale/programs/simple-hash.c: Likewise.
55785         * nscd/nscd.h: Likewise.
55786         * nss/makedb.c: Likewise.
55787         * sysdeps/generic/ldconfig.h: Likewise.
55789 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55791         * Versions.def: Add GLIBC_2.18.
55792         * include/link.h (struct link_map): New member l_tls_dtor_count.
55793         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55794         (__call_tls_dtors): Likewise.
55795         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55796         __cxa_thread_atexit_impl.
55797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55798         Likewise.
55799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55800         Likewise.
55801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55802         Likewise.
55803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55804         Likewise.
55805         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55807         Likewise.
55808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55809         Likewise.
55810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55812         Likewise.
55813         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55814         (tests): Add test case tst-tls-atexit.
55815         (modules-names): Add shared library for tst-tls-atexit.
55816         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55817         (GLIBC_PRIVATE): Add __call_tls_dtors.
55818         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55819         for libstdc++.
55820         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55821         * stdlib/tst-tls-atexit.c: New test case.
55822         * stdlib/tst-tls-atexit-lib.c: New test case.
55824         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55826         * elf/Versions (ld): Add _dl_find_dso_for_object.
55827         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55828         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55829         (dl_open_worker): Use _dl_find_dso_for_object.
55830         * elf/dl-sym.c (do_sym): Likewise.
55831         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55833 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55835         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55836         Syntactic changes only.
55837         (_dl_runtime_profile): Do a tail-call to the resolved function.
55839 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55841         [BZ #13550]
55842         * sysdeps/x86_64/bp-asm.h: Remove file.
55843         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55844         <bp-sym.h> and <bp-asm.h>.
55845         (__clone): Do not use BP_SYM.
55846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55847         <bp-sym.h> and <bp-asm.h>.
55848         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55849         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55850         "bp-asm.h".
55851         (_setjmp): Do not use BP_SYM.
55852         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55853         "bp-asm.h".
55854         (setjmp): Do not use BP_SYM.
55855         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55856         libc_hidden_def.
55857         (mempcpy): Do not use BP_SYM in weak_alias.
55858         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55859         "bp-asm.h".
55860         (strchr): Do not use BP_SYM.
55861         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55862         "bp-asm.h".
55863         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55864         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55865         (_start): Do not use BP_SYM.
55866         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55867         "bp-asm.h".
55868         (strcat): Do not use BP_SYM.
55869         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55870         "bp-asm.h".
55871         (STRCMP): Do not use BP_SYM.
55872         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55873         "bp-asm.h".
55874         (STRCPY): Do not use BP_SYM.
55875         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55876         "bp-asm.h".
55877         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55878         "bp-asm.h".
55879         (FUNCTION): Do not use BP_SYM.
55880         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55881         weak_alias.
55882         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55884 2013-02-17  Andreas Jaeger  <aj@suse.de>
55886         * time/Versions: Sort entries.
55887         * string/Versions: Likewise.
55888         * resolv/Versions: Likewise.
55889         * posix/Versions: Likewise.
55890         * iconv/Versions: Likewise.
55891         * elf/Versions: Likewise.
55892         * wcsmbs/Versions: Likewise.
55894 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55896         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55897         loop termination condition.
55899         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55900         variable to calculate EZ.
55901         (__sqr): Likewise.
55903         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55904         the lower precision input.
55906 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55908         [BZ #13550]
55909         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55910         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55911         (run-via-rtld-prefix): Do not handle %-bp tests.
55912         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55913         (all-object-suffixes): Remove .ob.
55914         (bppfx): Remove variable.
55915         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55916         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55917         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55918         [$(build-bounded) = yes] (libtype.ob): Likewise.
55919         * Makerules (elide-routines.ob): Remove variable.
55920         (do-tests-clean): Do not handle *-bp.out.
55921         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55922         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55923         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55924         (tests): Do not include $(tests-bp.out).
55925         (xtests): Do not include $(xtests-bp.out).
55926         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55927         [$(build-bounded) = yes] ($(addprefix
55928         $(objpfx),$(binaries-bounded))): Remove rule.
55929         ($(objpfx)%-bp.out): Remove rule.
55930         * config.make.in (build-bounded): Remove variable.
55931         * crypt/Makefile [$(build-bounded) = yes]
55932         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55933         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55934         append to variable.
55935         [$(build-bounded) = yes] (install-lib): Likewise.
55936         [$(build-bounded) = yes] (generated): Likewise.
55937         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55938         Remove rule.
55939         * intl/Makefile [$(build-bounded) = yes]
55940         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55941         * math/Makefile [$(build-bounded) = yes]
55942         ($(tests:%=$(objpfx)%-bp): Likewise.
55943         * misc/Makefile [$(build-bounded) = yes]
55944         ($(objpfx)tst-tsearch-bp): Likewise.
55945         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55946         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55947         Remove dependency.
55948         * string/Makefile (o-objects.ob): Remove variable.
55949         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55950         (CFLAGS-.ob): Remove variable.
55951         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55952         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55953         both definitions of variable.
55954         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55955         (ASFLAGS-.ob): Remove variable.
55957 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55959         [BZ #13550]
55960         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55961         Remove __BOUNDED_POINTERS__ from condition.
55962         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55963         * string/bits/string2.h [!__NO_STRING_INLINES &&
55964         !__BOUNDED_POINTERS__]: Likewise.
55965         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55966         Likewise.
55967         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55968         Remove conditional code.
55969         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55970         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55971         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55972         condition.
55974         [BZ #13550]
55975         * csu/libc-start.c: Do not include <bp-sym.h>.
55976         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55977         * elf/dl-open.c: Do not include <bp-sym.h>.
55978         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55979         * math/fegetenv.c: Do not include <bp-sym.h>.
55980         (fegetenv): Do not use BP_SYM in versioned symbols.
55981         * nptl/sysdeps/pthread/bits/libc-lockP.h
55982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55983         <bp-sym.h>.
55984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55985         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55987         (__pthread_mutex_destroy): Likewise.
55988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55989         (__pthread_mutex_lock): Likewise.
55990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55991         (__pthread_mutex_trylock): Likewise.
55992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55993         (__pthread_mutex_unlock): Likewise.
55994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55995         (__pthread_mutexattr_init): Likewise.
55996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55997         (__pthread_mutexattr_destroy): Likewise.
55998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55999         (__pthread_mutexattr_settype): Likewise.
56000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56001         (__pthread_rwlock_init): Likewise.
56002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56003         (__pthread_rwlock_destroy): Likewise.
56004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56005         (__pthread_rwlock_rdlock): Likewise.
56006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56007         (__pthread_rwlock_tryrdlock): Likewise.
56008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56009         (__pthread_rwlock_wrlock): Likewise.
56010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56011         (__pthread_rwlock_trywrlock): Likewise.
56012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56013         (__pthread_rwlock_unlock): Likewise.
56014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56015         (__pthread_key_create): Likewise.
56016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56017         (__pthread_setspecific): Likewise.
56018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56019         (__pthread_getspecific): Likewise.
56020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
56021         Likewise.
56022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56023         (_pthread_cleanup_push_defer): Likewise.
56024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56025         (_pthread_cleanup_pop_restore): Likewise.
56026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56027         (pthread_setcancelstate): Likewise.
56028         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
56029         <bp-sym.h>.
56030         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
56031         (memchr): Do not use BP_SYM in weak_alias.
56032         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
56033         (fegetenv): Do not use BP_SYM in versioned symbols.
56034         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
56035         (fesetenv): Do not use BP_SYM in versioned symbols.
56036         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56037         (feupdateenv): Do not use BP_SYM in versioned symbols.
56038         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56039         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56040         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
56041         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
56042         (open64): Do not use BP_SYM in weak_alias.
56043         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
56044         (fegetenv): Do not use BP_SYM in versioned symbols.
56045         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
56046         (fesetenv): Do not use BP_SYM in versioned symbols.
56047         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56048         (feupdateenv): Do not use BP_SYM in versioned symbols.
56049         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
56050         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
56051         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
56052         (feraiseexcept): Do not use BP_SYM in versioned symbols.
56053         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56054         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56055         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
56056         <bp-sym.h>.
56057         (__libc_start_main): Do not use BP_SYM.
56059 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
56062         redundant return line.
56063         (norm): Likewise.
56064         (denorm): Likewise.
56065         (dbl_mp): Likewise.
56066         (sub_magnitudes): Likewise.
56067         (__add): Likewise.
56068         (__sub): Likewise.
56069         (__mul): Likewise.
56070         (__inv): Likewise.
56071         (__dvd): Likewise.
56072         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
56073         (norm): Likewise.
56074         (denorm): Likewise.
56075         (dbl_mp): Likewise.
56076         (sub_magnitudes): Likewise.
56077         (__add): Likewise.
56078         (__sub): Likewise.
56079         (__mul): Likewise.
56080         (__inv): Likewise.
56081         (__dvd): Likewise.
56083         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
56084         instead of __mul.
56085         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56086         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
56087         (cc32): Likewise.
56089         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
56090         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
56091         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
56092         of __mul for squares.
56093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
56094         function
56095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
56096         Likewise.
56097         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
56098         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56100 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
56102         [BZ #13550]
56103         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
56104         code.
56105         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
56106         prototype or function definition.  Rename ubp_* variables and
56107         parameters.  Remove argv definitions conditional on
56108         [__BOUNDED_POINTERS__].
56109         * debug/backtrace.c (__backtrace): Do not use __unbounded.
56110         * elf/dl-runtime.c (_dl_fixup): Likewise.
56111         * include/set-hooks.h (RUN_HOOK): Likewise.
56112         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
56113         definition.
56114         * string/strcpy.c (strcpy): Do not use __unbounded.
56115         * sysdeps/generic/frame.h (struct layout): Likewise.
56116         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
56117         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
56118         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
56119         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
56120         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
56121         (__backtrace): Likewise.
56122         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56123         use __ptrvalue.
56124         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56125         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56126         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56127         Likewise.
56128         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56129         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56130         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56131         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56132         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56133         Do not use __unbounded.
56134         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56135         Rename __unboundedrlimits parameter to rlimits in prototype.
56136         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56137         Do not use __unbounded.
56138         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56139         not use __ptrvalue.
56140         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56141         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
56142         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56143         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
56144         __ptrvalue or __unbounded.
56145         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56146         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56147         use __unbounded.
56148         (__new_msgctl): Do not use __ptrvalue.
56149         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
56150         __unbounded.
56151         (__libc_msgrcv): Do not use __ptrvalue.
56152         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
56153         startup_info): Do not use __unbounded.
56154         (__libc_start_main): Likewise.  Rename ubp_* variables and
56155         parameters.  Remove argv definitions conditional on
56156         [__BOUNDED_POINTERS__].
56157         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56158         __ptrvalue.
56159         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56160         use __unbounded.
56161         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56162         or __ptrvalue.
56163         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56164         use __unbounded.
56165         (__new_shmctl): Do not use __ptrvalue.
56166         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56167         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56168         Likewise.
56169         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56170         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56171         (__libc_sigaction): Likewise.
56172         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56173         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56174         Likewise.
56175         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56177 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56179         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56181         * string/mempcpy.c: Implement by calling memcpy.
56183 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56188         evaluation.
56190         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56191         values in the mantissa.
56193         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56194         minimize writes to Z.
56195         (sub_magnitudes): Simplify code a bit.
56197 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56199         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56200         from the message.  The linker prefixes all warnings with that already.
56202 2013-02-12  Andreas Schwab  <schwab@suse.de>
56204         [BZ #15078]
56205         * posix/regexec.c (extend_buffers): Add parameter min_len.
56206         (check_matching): Pass minimum needed length.
56207         (clean_state_log_if_needed): Likewise.
56208         (get_subexp): Likewise.
56209         * posix/Makefile (tests): Add bug-regex34.
56210         (bug-regex34-ENV): Define.
56211         * posix/bug-regex34.c: New file.
56213         [BZ #11561]
56214         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56215         elements compare against the byte sequence of it, not its name.
56216         * posix/Makefile (tests): Add bug-regex35.
56217         (bug-regex35-ENV): Define.
56218         * posix/bug-regex35.c: New file.
56220 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56222         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56223         comment.
56224         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56225         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56226         (CHECK_EOL): Add undef.
56228 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56230         * bits/stdlib-bsearch.h: New file.
56231         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56232         * stdlib/stdlib.h: Likewise.
56234 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56236         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56237         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56238         declaration.
56239         * manual/search.texi (Array Search Function): Add missing const in
56240         lfind prototype.
56241         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56242         declaration to use rlim_t.
56243         (Basic Scheduling Functions): Remove erroneous const from
56244         sched_getparam prototype.  Remove erroneous * from
56245         sched_get_priority_max and sched_get_priority_min prototypes.
56246         (Resource Usage): Fix summary @comment on vtimes to refer to
56247         sys/vtimes.h rather than vtimes.h.
56248         Add missing *s in vtimes prototype.
56249         (Limits on Resources): Fix ulimit prototype to return long int.
56250         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56251         prototypes to use long int rather than double.
56252         (BSD Random): Fix initstate and setstate to use char *, not void *.
56253         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56254         prototype to make second argument 'struct aiocb64 *const[]'.
56255         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56256         (Status of AIO Operations): Remove erroneous const in aio_return and
56257         aio_return64 prototypes.
56258         (Synchronizing I/O): Fix sync prototype to return void.
56259         * manual/startup.texi (Suboptions): Remove an erroneous const in
56260         getsubopt prototype.
56261         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56262         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56263         use size_t rather than int.
56264         (Scanning All Users): Likewise for getpwent_r.
56265         (Setting Groups): Add missing const to setgroups prototype.
56266         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56267         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56268         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56269         'const void *' rather than 'const char *'.
56270         (Host Address Functions): Likewise for inet_ntop.
56271         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56272         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56273         ssize_t for return value.
56274         (Sending Data): Likewise for send, sendto, sendmsg.
56275         (Socket Option Functions): Add a missing const in setsockopt prototype.
56276         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56277         use wchar_t for the argument.
56278         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56279         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56280         take no arguments.
56281         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56282         double/float/long double for second argument.
56283         Fix return types of significand, significandf, significandl.
56284         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56285         argument in fchmod prototype.
56286         (File Owner): Use uid_t and gid_t in fchown prototype.
56287         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56288         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56289         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56290         use 'const struct dirent **' as argument types to CMP function pointer
56291         argument.
56292         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56293         (File Times): Fix summary magic @comment for struct utimbuf and utime
56294         to refer to utime.h, not time.h.
56295         * manual/string.texi (Argz Functions): Add missing const in
56296         argz_extract and argz_next prototypes.
56297         (Finding Tokens in a String): Likewise for basename.
56298         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56299         (Copying and Concatenation): Fix typo in wmemmove prototype.
56300         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56301         (Signal Stack): Remove erroneous const in sigstack prototype.
56302         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56303         prototype.
56304         (Simple Calendar Time): Likewise for stime.
56305         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56306         prototype.
56307         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56308         say sys/sysctl.h instead.
56309         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56310         and vsyslog prototypes.
56312 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56314         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56315         Remove.
56317 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56319         * misc/sys/mman.h: Fix typo in mremap comment.
56321 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56323         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56324         the '\0' terminator.
56326 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56328         [BZ #13550]
56329         * debug/segfault.c: Don't include <bp-checks.h>.
56330         * sysdeps/generic/bp-checks.h: Remove file.
56331         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56332         (__GETDENTS): Don't use CHECK_N.
56333         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56334         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56335         (__getgroups): Don't use CHECK_N.
56336         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56337         (setgroups): Don't use CHECK_N.
56338         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56339         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56340         (__libc_msgrcv): Don't use CHECK_N.
56341         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56342         (__libc_msgsnd): Don't use CHECK_N.
56343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56344         <bp-checks.h>.
56345         (__libc_pread): Don't use CHECK_N.
56346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56347         include <bp-checks.h>.
56348         (__libc_pread64): Don't use CHECK_N.
56349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56350         include <bp-checks.h>.
56351         (__libc_pwrite): Don't use CHECK_N.
56352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56353         include <bp-checks.h>.
56354         (__libc_pwrite64): Don't use CHECK_N.
56355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56356         <bp-checks.h>.
56357         (__libc_pread): Don't use CHECK_N.
56358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56359         include <bp-checks.h>.
56360         (__libc_pread64): Don't use CHECK_N.
56361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56362         include <bp-checks.h>.
56363         (__libc_pwrite): Don't use CHECK_N.
56364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56365         include <bp-checks.h>.
56366         (__libc_pwrite64): Don't use CHECK_N.
56367         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56368         (do_pread): Don't use CHECK_N.
56369         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56370         (do_pread64): Don't use CHECK_N.
56371         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56372         (do_pwrite): Don't use CHECK_N.
56373         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56374         (do_pwrite64): Don't use CHECK_N.
56375         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56376         (__libc_readv): Don't use CHECK_N.
56377         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56378         (semop): Don't use CHECK_N.
56379         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56380         <bp-checks.h>.
56381         (semtimedop): Don't use CHECK_N.
56382         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56383         (__libc_pread): Don't use CHECK_N.
56384         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56385         <bp-checks.h>.
56386         (__libc_pread64): Don't use CHECK_N.
56387         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56388         <bp-checks.h>.
56389         (__libc_pwrite): Don't use CHECK_N.
56390         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56391         <bp-checks.h>.
56392         (__libc_pwrite64): Don't use CHECK_N.
56393         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56394         <bp-checks.h>.
56395         (__libc_msgrcv): Don't use CHECK_N.
56396         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56397         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56398         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56399         (__libc_writev): Don't use CHECK_N.
56401 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56403         * string/strcpy.c: Removed unused variable.
56405         * Makeconfig (+sysdep-includes): Define with := rather than =.
56406         Use an existing include/ subdir of each sysdeps dir before it.
56408 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56410         * nscd/connection.c (register_traced_file): Comment function.
56411         [HAVE_INOTIFY] (union __inev): Define.
56412         [HAVE_INOTIFY] (inotify_check_files): New function.
56413         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56414         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56415         clear_db_cache.
56416         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56418 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56420         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56421         loaded if not already and that a failure is permanent.
56423 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56425         [BZ #15006]
56426         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56427         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56429 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56431         [BZ #13550]
56432         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56433         (CHECK_1_NULL_OK): Likewise.
56434         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56435         (__fxstat): Do not use CHECK_1.
56436         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56437         <bp-checks.h>.
56438         (___fxstat64): Do not use CHECK_1.
56439         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56440         <bp-checks.h>.
56441         (__fxstatat): Do not use CHECK_1.
56442         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56443         <bp-checks.h>.
56444         (__fxstatat64): Do not use CHECK_1.
56445         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56446         <bp-checks.h>.
56447         (__fxstat): Do not use CHECK_1.
56448         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56449         <bp-checks.h>.
56450         (__fxstatat): Do not use CHECK_1.
56451         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56452         <bp-checks.h>.
56453         (__getresgid): Do not use CHECK_1.
56454         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56455         <bp-checks.h>.
56456         (__getresuid): Do not use CHECK_1.
56457         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56458         <bp-checks.h>.
56459         (__lxstat): Do not use CHECK_1.
56460         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56461         <bp-checks.h>.
56462         (__old_msgctl): Do not use CHECK_1.
56463         (__new_msgctl): Likewise.
56464         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56465         <bp-checks.h>.
56466         (__new_setrlimit): Do not use CHECK_1.
56467         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56468         <bp-checks.h>.
56469         (__old_shmctl): Do not use CHECK_1.
56470         (__new_shmctl): Likewise.
56471         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56472         <bp-checks.h>.
56473         (__xstat): Do not use CHECK_1.
56474         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56475         (__lxstat): Do not use CHECK_1.
56476         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56477         <bp-checks.h>.
56478         (___lxstat64): Do not use CHECK_1.
56479         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56480         (__old_msgctl): Do not use CHECK_1.
56481         (__new_msgctl): Likewise.
56482         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56483         <bp-checks.h>.
56484         (__gettimeofday): Do not use CHECK_1.
56485         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56486         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56487         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56488         <bp-checks.h>.
56489         (__gettimeofday): Do not use CHECK_1.
56490         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56491         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56492         (__new_shmctl): Do not use CHECK_1.
56493         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56494         <bp-checks.h>.
56495         (do_sigtimedwait): Do not use CHECK_1.
56496         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56497         <bp-checks.h>.
56498         (do_sigwaitinfo): Do not use CHECK_1.
56499         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56500         <bp-checks.h>.
56501         (msgctl): Do not use CHECK_1.
56502         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56503         <bp-checks.h>.
56504         (shmctl): Do not use CHECK_1.
56505         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56506         (ustat): Do not use CHECK_1.
56507         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56508         <bp-checks.h>.
56509         (__fxstat): Do not use CHECK_1.
56510         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56511         <bp-checks.h>.
56512         (__fxstatat): Do not use CHECK_1.
56513         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56514         <bp-checks.h>.
56515         (__lxstat): Do not use CHECK_1.
56516         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56517         <bp-checks.h>.
56518         (__xstat): Do not use CHECK_1.
56519         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56520         (__xstat): Do not use CHECK_1.
56521         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56522         (___xstat64): Do not use CHECK_1.
56524         [BZ #13550]
56525         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56526         definitions.
56527         (CHECK_BOUNDS_HIGH): Likewise.
56528         * string/strcpy.c: Do not include <bp-checks.h>.
56529         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56531 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56533         * nscd/nscd-client.h (__nscd_drop_map_ref):
56534         Add __attribute__ ((unused)).
56535         * nis/nss-nisplus.h (niserr2nss): Likewise.
56537         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56538         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56540         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56541         Remove inline keyword.
56542         * include/rounding-mode.h (round_away): Likewise.
56543         * libio/wfileops.c (adjust_wide_data): Likewise.
56544         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56545         (__m128i_strloadu_tolower): Likewise.
56546         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56547         (__m128i_strloadu_tolower): Likewise.
56548         * time/mktime.c (ydhms_diff): Likewise.
56549         * locale/elem-hash.h (elem_hash): Likewise.
56550         * locale/setlocale.c (setdata): Likewise.
56551         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56552         (re_string_wchar_at): Likewise.
56553         (bitset_not, bitset_merge, bitset_mask): Likewise.
56554         [!(__GNUC__ > 3)] (inline): Remove macro.
56555         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56556         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56557         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56558         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56559         * string/memcmp.c (memcmp_bytes): Likewise.
56560         * locale/programs/locarchive.c (compute_hashval): Likewise.
56561         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56562         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56563         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56564         * nss/getent.c (print_rpc, print_protocols): Likewise.
56565         (print_passwd, print_group, print_aliases): Likewise.
56566         * nis/nss-nisplus.h (niserr2nss): Likewise.
56567         * nscd/connections.c (restart_p): Likewise.
56568         Change return type to bool.
56570 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56572         * Makeconfig (all-Depend-files): Add existing
56573         $(sorted-subdirs:=/Depend) files.
56574         (all-subdirs): Remove nss.
56575         * sysdeps/unix/inet/Subdirs: Add it here instead.
56576         * hesiod/Depend: New file.
56578         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56579         instead of calling alloca.
56581         * io/lseek.c (__lseek): Rename to __libc_lseek.
56582         Define __lseek as an alias.
56584         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56586 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56588         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56589         else clause and remove check for non-standard endianness.
56591 2013-02-04  David S. Miller  <davem@davemloft.net>
56593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56595 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56597         [BZ #13550]
56598         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56599         (__ubp_memchr): Remove prototype.
56600         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56601         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56602         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56603         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56604         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56605         Remove alias.
56606         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56607         (__ubp_memchr): Likewise.
56608         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56609         (__ubp_memchr): Likewise.
56610         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56611         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56612         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56613         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56614         CHECK_STRING.
56615         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56616         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56617         (__getcwd): Do not use CHECK_STRING.
56618         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56619         <bp-checks.h>.
56620         (__real_chown): Do not use CHECK_STRING.
56621         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56622         <bp-checks.h>.
56623         (fchownat): Do not use CHECK_STRING.
56624         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56625         CHECK_STRING.
56626         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56627         <bp-checks.h>.
56628         (__lchown): Do not use CHECK_STRING.
56629         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56630         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56631         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56632         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56634         include <bp-checks.h>.
56635         (truncate64): Do not use CHECK_STRING.
56636         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56637         <bp-checks.h>.
56638         (__real_chown): Do not use CHECK_STRING.
56639         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56640         <bp-checks.h>.
56641         (__lchown): Do not use CHECK_STRING.
56642         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56643         <bp-checks.h>.
56644         (__chown): Do not use CHECK_STRING.
56645         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56646         <bp-checks.h>.
56647         (truncate64): Do not use CHECK_STRING.
56648         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56649         Likewise.
56650         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56651         (__xmknod): Do not use CHECK_STRING.
56652         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56653         <bp-checks.h>.
56654         (__xmknodat): Do not use CHECK_STRING.
56655         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56656         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56658 2013-02-04  Andreas Schwab  <schwab@suse.de>
56660         [BZ #14142]
56661         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56662         * include/netdb.h: Likewise for h_errno.
56663         * elf/tst-stackguard1.c: Include <tls.h>.
56665 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56667         * elf/link.h (struct link_map): Extend the l_addr comment.
56668         * include/link.h (struct link_map): Likewise.
56670 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56672         [BZ #13550]
56673         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56674         (BOUNDED_1): Remove macro.
56675         * debug/backtrace.c: Don't include <bp-checks.h>.
56676         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56677         (__backtrace): Likewise.
56678         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56679         <bp-checks.h>.
56680         (__backtrace): Don't use BOUNDED_1.
56681         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56682         <bp-checks.h>.
56683         (__backtrace): Don't use BOUNDED_1.
56684         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56685         (__backtrace): Don't use BOUNDED_1.
56686         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56687         (shmat): Don't use BOUNDED_N.
56689 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56691         [BZ #13550]
56692         * sysdeps/generic/bp-start.h: Remove file.
56693         * csu/libc-start.c: Don't include <bp-start.h>.
56694         (LIBC_START_MAIN): Set up __environ directly instead of using
56695         INIT_ARGV_and_ENVIRON.
56696         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56697         <bp-start.h>.
56699         [BZ #13550]
56700         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56701         definitions.
56702         (CHECK_FCNTL): Likewise.
56703         (CHECK_N_PAGES): Likewise.
56705         [BZ #13550]
56706         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56707         definitions.
56708         (CHECK_SIGSET_NULL_OK): Likewise.
56709         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56710         <bp-checks.h>.
56711         (sigpending): Don't use CHECK_SIGSET.
56712         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56713         <bp-checks.h>.
56714         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56715         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56716         <bp-checks.h>.
56717         (do_sigsuspend): Don't use CHECK_SIGSET.
56718         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56719         use CHECK_SIGSET.
56720         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56721         (do_sigwait): Don't use CHECK_SIGSET.
56722         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56723         use CHECK_SIGSET.
56724         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56725         include <bp-checks.h>.
56726         (sigpending): Don't use CHECK_SIGSET.
56727         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56728         include <bp-checks.h>.
56729         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56730         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56731         <bp-checks.h>.
56732         (sigpending): Don't use CHECK_SIGSET.
56733         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56734         <bp-checks.h>.
56735         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56737         [BZ #13550]
56738         * sysdeps/generic/bp-semctl.h: Remove file.
56739         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56740         <bp-checks.h> and <bp-semctl.h>.
56741         (__old_semctl): Don't use CHECK_SEMCTL.
56742         (__new_semctl): Likewise.
56743         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56744         and <bp-semctl.h>.
56745         (__old_semctl): Don't use CHECK_SEMCTL.
56746         (__new_semctl): Likewise.
56747         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56748         <bp-checks.h> and <bp-semctl.h>.
56749         (__old_semctl): Don't use CHECK_SEMCTL.
56750         (__new_semctl): Likewise.
56751         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56752         <bp-checks.h> and <bp-semctl.h>.
56753         (semctl): Don't use CHECK_SEMCTL.
56755         [BZ #13550]
56756         * Makerules (elide-bp-thunks): Remove variable.
56757         (elide-routines.oS): Don't use $(elide-bp-thunks).
56758         (elide-routines.os): Likewise.
56759         (elide-routines.o): Likewise.
56760         (elide-routines.op): Likewise.
56761         (elide-routines.og): Likewise.
56762         (objects): Don't use $(bp-thunks).
56763         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56764         include.
56765         (common-generated): Do not add s-proto-bp.d.
56766         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56767         (int): Likewise.
56768         (typ): Likewise.
56769         Do not generate makefile rules for bounded-pointer thunks.
56770         * sysdeps/generic/bp-thunks.h: Remove file.
56771         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56772         * sysdeps/unix/s-proto-bp.S: Likewise.
56774         [BZ #15062]
56775         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56776         parts of result separately when argument is not close to line from
56777         -i to i and one part of argument is small.
56778         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56779         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56780         * math/libm-test.inc (cacos_test): Add more tests.
56781         (casin_test): Likewise.
56782         (casinh_test): Likewise.
56783         * sysdeps/i386/fpu/libm-test-ulps: Update.
56784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56786 2013-01-31  David S. Miller  <davem@davemloft.net>
56788         * po/de.po: Update from translation team.
56790 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56792         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56794 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56796         * configure.in (_AC_PROG_CC_C89): New definition.
56797         * configure: Regenerate.
56799         * configure.in (AC_PROG_CPP): New definition.
56800         * configure: Regenerate.
56802 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56804         * debug/tst-backtrace.h: New file.
56805         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56806         (ret): Remove variable.
56807         (x): Likewise.
56808         (FAIL): Remove macro.
56809         (NO_INLINE): Likewise.
56810         (fn1): Use match function instead of strstr.
56811         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56812         (ret): Remove variable.
56813         (x): Likewise.
56814         (FAIL): Remove macro.
56815         (NO_INLINE): Likewise.
56816         (fn): Use match function instead of strstr.
56817         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56818         (ret): Remove variable.
56819         (x): Likewise.
56820         (FAIL): Remove macro.
56821         (NO_INLINE): Likewise.
56822         (handle_signal): Use match function instead of strstr.
56823         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56824         (ret): Remove variable.
56825         (x): Likewise.
56826         (FAIL): Remove macro.
56827         (NO_INLINE): Likewise.
56828         (handle_signal): Use match function instead of strstr.
56830 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56832         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56834 2013-01-23  David S. Miller  <davem@davemloft.net>
56836         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56837         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56838         argument of CAS if possible.
56839         * sysdeps/sparc/sparc64/bits/atomic.h
56840         (__arch_compare_and_exchange_val_32_acq): Likewise.
56841         (__arch_compare_and_exchange_val_64_acq): Likewise.
56843 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56845         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56846         * sysdeps/posix/ulimit.c: ... this.
56847         Include <limits.h>.
56848         * sysdeps/unix/bsd/ulimit.c: Remove file.
56850 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56852         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56853         (LDFLAGS-tst-array5): Likewise.
56855 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56857         [BZ #15036]
56858         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56859         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56860         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56861         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56863 2013-01-21  David S. Miller  <davem@davemloft.net>
56865         * sysdeps/sparc/backtrace.c: New file.
56866         * sysdeps/sparc/sparc32/backtrace.h: New file.
56867         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56868         * sysdeps/sparc/sparc64/backtrace.h: New file.
56869         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56870         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56871         -funwind-tables.
56873 2013-01-21  Andreas Schwab  <schwab@suse.de>
56875         [BZ #15020]
56876         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56877         closed its stdout.
56879 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56882         "mpa2.h".
56883         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56885 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56886             Mark Mitchell  <mark@codesourcery.com>
56887             Tom de Vries  <tom@codesourcery.com>
56888             Paul Pluzhnikov  <ppluzhnikov@google.com>
56890         * debug/tst-backtrace2.c: New file.
56891         * debug/tst-backtrace3.c: Likewise.
56892         * debug/tst-backtrace4.c: Likewise.
56893         * debug/tst-backtrace5.c: Likewise.
56894         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56895         (CFLAGS-tst-backtrace3.c): Likewise.
56896         (CFLAGS-tst-backtrace4.c): Likewise.
56897         (CFLAGS-tst-backtrace5.c): Likewise.
56898         (LDFLAGS-tst-backtrace2): Likewise.
56899         (LDFLAGS-tst-backtrace3): Likewise.
56900         (LDFLAGS-tst-backtrace4): Likewise.
56901         (LDFLAGS-tst-backtrace5): Likewise.
56902         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56903         tst-backtrace4 and tst-backtrace5.
56905 2013-01-18  Anton Blanchard  <anton@samba.org>
56906             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56908         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56909         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56910         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56911         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56913         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56914         "+r" and remove output regs list as redundant.  Add explicit inline
56915         asm to specify register of return val to work around compiler codegen
56916         bug.  Remove (int) cast on return value.  Add return type parameter to
56917         use in macro so that this macro does not truncate return value for
56918         64-bit values.
56919         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56920         pass to INTERNAL_VSYSCALL_NCS.
56921         (INLINE_VSYSCALL): Add 'long int' as return type to
56922         INTERNAL_VSYSCALL_NCS macro invocation.
56923         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56924         INTERNAL_VSYSCALL_NCS macro invocation.
56925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56927 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56929         [BZ #14496]
56930         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56931         Fix application of SIMD FP exception mask.
56933         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56934         mp_no from a power of two.
56935         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56936         __mpexp_twomm1.  Use __pow_mp.
56938         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56939         multiplication.
56941 2013-01-17  David S. Miller  <davem@davemloft.net>
56943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56945 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56947         [BZ #15023]
56948         * include/complex.h: Condition contents on [!_COMPLEX_H].
56949         (__kernel_casinhf): New prototype.
56950         (__kernel_casinh): Likewise.
56951         (__kernel_casinhl): Likewise.
56952         * math/Makefile (libm_calls): Add k_casinh.
56953         * math/k_casinh.c: New file.
56954         * math/k_casinhf.c: Likewise.
56955         * math/k_casinhl.c: Likewise.
56956         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56957         finite nonzero arguments.
56958         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56959         finite nonzero arguments.
56960         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56961         finite nonzero arguments.
56962         * math/s_casinh.c: Do not include <float.h>.
56963         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56964         * math/s_casinhf.c: Do not include <float.h>.
56965         (__casinhf): Move code for finite nonzero arguments to
56966         k_casinhf.c.
56967         * math/s_casinhl.c: Do not include <float.h>.
56968         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56969         redefine.
56970         (__casinhl): Move code for finite nonzero arguments to
56971         k_casinhl.c.
56972         * math/libm-test.inc (cacos_test): Add more tests.
56973         * sysdeps/i386/fpu/libm-test-ulps: Update.
56974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56976 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56978         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56979         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56980         [!HAVE_MREMAP]: Remove [defined linux] case.
56981         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56983 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56985         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56987 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56989         * elf/elf.h (R_386_SIZE32): New relocation.
56990         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56991         R_386_SIZE32.
56992         (elf_machine_rela): Likewise.
56993         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56994         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56996 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56998         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56999         (FP_FAST_FMA): Do not define.
57000         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
57001         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
57002         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
57003         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
57004         !_SOFT_FLOAT]: Likewise.
57005         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
57006         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
57007         value.
57008         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
57009         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
57010         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
57011         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
57012         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
57013         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
57014         file.
57016 2013-01-16  Andreas Schwab  <schwab@suse.de>
57018         [BZ #14327]
57019         * include/stdlib.h (__mktemp): Add declaration.
57020         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
57021         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
57023 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57025         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
57026         definitions.
57027         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57028         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
57029         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
57030         definitions here.
57031         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
57032         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
57033         definitions.
57034         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
57035         and ONE.
57036         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
57037         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
57038         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57039         definitions.
57040         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
57041         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
57042         definitions.
57043         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57045         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
57047 2013-01-15  David S. Miller  <davem@davemloft.net>
57049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57050         trunc{,f} to libm-sysdep_routes.
57051         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
57053         file.
57054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
57055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
57056         file.
57057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
57058         file.
57059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
57060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
57061         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
57062         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
57063         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
57064         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
57065         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
57066         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
57068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57069         nearbyint{,f} to libm-sysdep_routes.
57070         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
57072         New file.
57073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
57074         file.
57075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
57076         New file.
57077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
57078         file.
57079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
57080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
57081         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
57082         file.
57083         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
57084         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
57085         file.
57086         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
57087         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
57088         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
57090         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57091         libc_feholdexcept and libc_fesetenv.
57093 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
57095         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
57097 2013-01-14  David S. Miller  <davem@davemloft.net>
57099         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
57100         (SPARC_ASM_VIS2_IFUNC): Likewise.
57101         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
57102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57103         use of 'siam' instruction.
57104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
57105         Likewise.
57106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
57107         Likewise.
57108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
57109         Likewise.
57110         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
57111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
57112         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
57113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
57114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
57115         file.
57116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
57117         file.
57118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
57119         file.
57120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
57121         file.
57122         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57123         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57124         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57125         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57127         new VIS2 routines.
57128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57131         Likewise.
57132         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57133         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57134         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57135         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57137         routines to libm-sysdep_routines.
57138         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57141         fdim/fdimf to libm-sysdep_routines.
57142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
57143         file.
57144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
57145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57146         file.
57147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
57148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
57149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
57150         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
57151         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
57152         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
57153         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57155 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57157         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57158         to optimize copies.
57160         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57162         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57164         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57165         local variable MPTWO.
57166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57167         Likewise.
57169 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57171         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57172         GLOB_NOESCAPE.
57174 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57176         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57178 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57180         * manual/pattern.texi (glob_t): Document gl_flags.
57181         (glob64_t): Likewise.
57183 2013-01-11  David S. Miller  <davem@davemloft.net>
57185         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57186         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57187         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57188         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57189         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57190         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57191         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57192         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57193         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57194         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57195         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57196         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57197         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57199         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57200         sparc V9 rather than using V8 code.
57201         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57202         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57204         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57205         Move to...
57206         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57207         Here.
57209 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57211         [BZ #14941]
57212         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57213         not in the main loop.
57214         * configure: Regenerated.
57216 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57218         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57219         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57220         to just #else.
57221         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57222         [!__GLIBC_HAVE_LONG_LONG] case.
57223         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57224         condition to just #else.
57225         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57226         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57227         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57228         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57229         unconditional.
57230         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57231         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57232         #elif condition to just #else.
57233         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57234         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57235         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57236         #elif condition to just #else.
57238 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57240         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57241         (EF_MIPS_ARCH_64): Fix value.
57242         (EF_MIPS_ARCH_32R2): New.
57243         (EF_MIPS_ARCH_64R2): New.
57245 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57247         * Makeconfig (+link-pie-before-libc): New.
57248         (+link-pie-after-libc): Likewise.
57249         (+link-pie-tests): Likewise.
57250         (+link-pie): Rewritten.
57251         (link-before-libc): Remove $(config-LDFLAGS).
57252         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57253         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57254         (config-LDFLAGS): Renamed to ...
57255         (rtld-LDFLAGS): This.
57256         (rtld-tests-LDFLAGS): New macro.
57257         (link-libc-rpath-link): Likewise.
57258         (link-libc-tests-rpath-link): Likewise.
57259         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57260         (link-libc): Prepand $(link-libc-rpath-link).
57261         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57262         (test-program-prefix): New macro.
57263         (test-via-rtld-prefix): Likewise.
57264         (test-program-cmd): Likewise.
57265         (host-test-program-cmd): Likewise.
57266         * Makefile ($(common-objpfx)testrun.sh): Replace
57267         $(run-program-prefix) with $(test-program-prefix).
57268         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57269         $(rtld-LDFLAGS).
57270         ($(common-objpfx)shlib.lds): Likewise.
57271         (build-module-helper): Likewise.
57272         ($(common-objpfx)format.lds): Likewise.
57273         * Rules (binaries-pie-tests): New.
57274         (binaries-pie-notests): Likewise.
57275         (binaries-pie): Rewritten.
57276         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57277         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57278         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57279         (make-test-out): Replace $(host-built-program-cmd) with
57280         $(host-test-program-cmd).
57281         * config.make.in (build-hardcoded-path-in-tests): New variable.
57282         * configure.in (--enable-hardcoded-path-in-tests): New configure
57283         option.
57284         (hardcoded_path_in_tests): New AC_SUBST.
57285         * configure: Regenerated.
57286         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57287         $(built-program-cmd) with $(test-program-cmd).
57288         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57289         (test_program_cmd): This.
57290         * elf/Makefile ($(objpfx)order.out): Run test with
57291         $(test-program-prefix).
57292         ($(objpfx)order2.out): Likewise.
57293         ($(objpfx)tst-initorder.out): Likewise.
57294         ($(objpfx)tst-initorder2.out): Likewise.
57295         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57296         $(test-program-cmd).
57297         ($(objpfx)tst-array1-static.out): Likewise.
57298         ($(objpfx)tst-array2.out): Likewise.
57299         ($(objpfx)tst-array3.out): Likewise.
57300         ($(objpfx)tst-array4.out): Likewise.
57301         ($(objpfx)tst-array5.out): Likewise.
57302         ($(objpfx)tst-array5-static.out): Likewise.
57303         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57304         $(test-program-cmd).
57305         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57306         $(run-program-prefix) with $(test-program-prefix).
57307         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57308         (test_program_prefix): This.
57309         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57310         $(run-program-prefix) with $(test-program-prefix).
57311         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57312         (test_program_prefix): This.
57313         * iconvdata/tst-tables.sh: Likewise.
57314         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57315         $(run-program-prefix) with $(test-program-prefix).
57316         ($(objpfx)tst-translit.out): Likewise.
57317         ($(objpfx)tst-gettext2.out): Likewise.
57318         ($(objpfx)tst-gettext4.out): Likewise.
57319         ($(objpfx)tst-gettext6.out): Likewise.
57320         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57321         (test_program_prefix): This.
57322         * intl/tst-gettext2.sh: Likewise.
57323         * intl/tst-gettext4.sh  Likewise.
57324         * intl/tst-gettext6.sh: Likewise.
57325         * intl/tst-translit.sh: Likewise.
57326         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57327         with $(test-program-cmd).
57328         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57329         $(run-program-prefix) with $(test-program-prefix).
57330         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57331         (test_program_prefix): This.
57332         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57333         $(run-program-prefix) with $(test-program-prefix).
57334         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57335         (test_program_prefix): This.
57336         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57337         * posix/Makefile ($(objpfx)globtest.out): Replace
57338         $(run-via-rtld-prefix) and $(test-wrapper) with
57339         $(test-program-prefix) and $(test-via-rtld-prefix).
57340         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57341         $(test-program-prefix).
57342         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57343         $(host-test-program-cmd).
57344         (tst-spawn-ARGS): Likewise.
57345         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57346         $(test-program-prefix).
57347         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57348         (test_via_rtld_prefix): This.
57349         (test_wrapper): Renamed to ...
57350         (test_program_prefix): This.
57351         (run_program_prefix): Replaced by test_program_prefix.
57352         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57353         (test_program_prefix): This.
57354         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57355         with $(host-test-program-cmd).
57356         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57357         $(run-program-prefix) with $(test-program-prefix).
57358         ($(objpfx)tst-printf.out): Likewise.
57359         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57360         $(test-program-cmd).
57361         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57362         (test_program_prefix): This.
57363         * stdio-common/tst-unbputc.sh: Likewise.
57364         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57365         $(run-program-prefix) with $(test-program-prefix).
57366         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57367         (test_program_prefix): This.
57368         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57369         $(built-program-cmd) with $(test-program-cmd).
57371 2013-01-11  Andreas Jaeger  <aj@suse.de>
57373         [BZ #15003]
57374         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57375         value. Sync with Linux 3.7.
57377 2013-01-10  David S. Miller  <davem@davemloft.net>
57379         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57380         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57381         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57383 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57385         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57386         never set.
57387         * configure: Regenerated.
57389 2013-01-10  David S. Miller  <davem@davemloft.net>
57391         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57392         sparc V9 rather than using V8 code.
57393         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57394         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57396 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57398         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57399         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57400         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57401         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57402         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57403         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57404         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57405         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57406         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57407         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57408         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57409         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57410         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57411         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57412         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57413         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57414         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57415         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57416         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57417         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57418         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57419         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57420         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57421         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57422         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57423         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57424         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57426 2013-01-10  David S. Miller  <davem@davemloft.net>
57428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57430 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57432         * posix/Makefile (tests-static): New variable.
57433         (tests): Add $(tests-static).
57434         (tst-exec-static-ARGS): New variable.
57435         (tst-spawn-static-ARGS): Likewise.
57436         * posix/tst-exec-static.c: New file.
57437         * posix/tst-spawn-static.c: Likewise.
57438         * posix/tst-exec.c: Support run directly.
57439         * posix/tst-spawn.c: Likewise.
57441 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57443         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57444         long.
57445         * math/bits/mathcalls.h (llrint): Likewise.
57446         (llround): Likewise.
57447         * stdlib/stdlib.h (struct drand48_data): Likewise.
57448         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57449         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57450         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57451         Likewise.
57452         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57453         Likewise.
57454         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57455         (elf_greg_t): Likewise.
57456         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57457         (__jmp_buf): Likewise.
57458         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57459         definitions.
57460         (llrint): Likewise, for all definitions.
57461         (llrintl): Likewise.
57463         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57464         Remove [__GNUC__] condition.
57465         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57466         condition to just [__USE_ISOC99].
57467         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57469 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57471         [BZ #14200]
57472         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57473         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57474         defined.
57475         (_POSIX_V6_ILP32_OFF32): Likewise.
57476         (_XBS5_ILP32_OFF32): Likewise.
57477         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57478         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57480 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57482         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57484         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57485         doubles __mpexp_twomm1.  Adjust usage.
57486         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57487         Remove.
57489 2013-01-10  Andreas Schwab  <schwab@suse.de>
57491         [BZ #14964]
57492         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57493         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57495 2013-01-09  David S. Miller  <davem@davemloft.net>
57497         [BZ #15003]
57498         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57499         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57500         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57501         (TCP_FASTOPEN): Define.
57502         (tcp_repair_opt): New structure.
57503         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57504         enum values.
57505         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57506         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57507         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57508         (tcp_cookie_transactions): New structure.
57510 2013-01-09  Anton Blanchard  <anton@samba.org>
57512         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57513         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57514         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57515         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57517 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57519         * include/features.h (__USE_ANSI): Remove.
57521 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57523         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57525         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57527 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57529         * sysdeps/s390/fpu/libm-test-ulps: Update.
57531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57533         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57534         (__acr): Likewise.
57535         (__cpy): Likewise.
57536         (norm): Likewise.
57537         (denorm): Likewise.
57538         (__mp_dbl): Likewise.
57539         (__dbl_mp): Likewise.
57540         (add_magnitudes): Likewise.
57541         (sub_magnitudes): Likewise.
57542         (__add): Likewise.
57543         (__sub): Likewise.
57544         (__mul): Likewise.
57545         (__inv): Likewise.
57546         (__dvd): Likewise.
57547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57548         (__acr): Likewise.
57549         (__cpy): Likewise.
57550         (norm): Likewise.
57551         (denorm): Likewise.
57552         (__mp_dbl): Likewise.
57553         (__dbl_mp): Likewise.
57554         (add_magnitudes): Likewise.
57555         (sub_magnitudes): Likewise.
57556         (__add): Likewise.
57557         (__sub): Likewise.
57558         (__mul): Likewise.
57559         (__inv): Likewise.
57560         (__dvd): Likewise.
57561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57562         (__acr): Likewise.
57563         (__cpy): Likewise.
57564         (norm): Likewise.
57565         (denorm): Likewise.
57566         (__mp_dbl): Likewise.
57567         (__dbl_mp): Likewise.
57568         (add_magnitudes): Likewise.
57569         (sub_magnitudes): Likewise.
57570         (__add): Likewise.
57571         (__sub): Likewise.
57572         (__mul): Likewise.
57573         (__inv): Likewise.
57574         (__dvd): Likewise.
57576 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57578         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57579         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57580         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57581         2 && __USE_EXTERN_INLINES]: Likewise.
57583 2013-01-08  Andreas Jaeger  <aj@suse.de>
57585         [BZ# 14985]
57586         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57587         Remove.
57588         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57589         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57591 2013-01-07  Anton Blanchard  <anton@samba.org>
57593         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57594         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57595         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57596         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57597         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57598         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57599         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57600         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57602         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57603         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57604         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57605         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57606         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57607         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57608         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57609         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57610         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57611         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57612         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57613         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57614         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57615         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57616         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57617         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57618         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57619         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57620         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57621         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57622         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57623         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57625         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57626         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57627         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57628         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57629         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57630         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57631         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57632         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57633         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57634         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57635         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57637 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57639         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57640         (__MALLOC_PMT): Likewise.
57641         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57642         [__GNUC__], only on [_LIBC].
57643         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57644         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57645         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57646         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57647         forward declaration.
57648         (realloc_hook_ini): Likewise.
57649         (memalign_hook_ini): Likewise.
57650         (__libc_memalign): Do not use __MALLOC_PMT in variable
57651         declaration.
57652         (__libc_valloc): Likewise.
57653         (__libc_pvalloc): Likewise.
57654         (__libc_calloc): Likewise.
57655         (__posix_memalign): Likewise.
57657         [BZ #14996]
57658         * math/s_casinh.c: Include <float.h>.
57659         (__casinh): Do not do computation with squaring and square root
57660         for large arguments.
57661         * math/s_casinhf.c: Include <float.h>.
57662         (__casinhf): Do not do computation with squaring and square root
57663         for large arguments.
57664         * math/s_casinhl.c: Include <float.h>.
57665         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57666         (__casinhl): Do not do computation with squaring and square root
57667         for large arguments.
57668         * math/libm-test.inc (casin_test): Add more tests.
57669         (casinh_test): Likewise.
57670         * sysdeps/i386/fpu/libm-test-ulps: Update.
57671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57673 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57675         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57676         (__x86_64_raw_data_cache_size): Likewise.
57677         (__x86_64_data_cache_size_half): Likewise.
57678         (__x86_64_raw_data_cache_size_half): Likewise.
57679         (__x86_64_shared_cache_size): Likewise.
57680         (__x86_64_raw_shared_cache_size): Likewise.
57681         (__x86_64_shared_cache_size_half): Likewise.
57682         (__x86_64_raw_shared_cache_size_half): Likewise.
57683         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57684         to ...
57685         (__x86_data_cache_size): This.
57686         (__x86_64_raw_data_cache_size): Renamed to ...
57687         (__x86_raw_data_cache_size): This.
57688         (__x86_64_data_cache_size_half): Renamed to ...
57689         (__x86_data_cache_size_half): This.
57690         (__x86_64_raw_data_cache_size_half): Renamed to ...
57691         (__x86_raw_data_cache_size_half): This.
57692         (__x86_64_shared_cache_size): Renamed to ...
57693         (__x86_shared_cache_size): This.
57694         (__x86_64_raw_shared_cache_size): Renamed to ...
57695         (__x86_raw_shared_cache_size): This.
57696         (__x86_64_shared_cache_size_half): Renamed to ...
57697         (__x86_shared_cache_size_half): This.
57698         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57699         (__x86_raw_shared_cache_size_half): This.
57700         * sysdeps/x86_64/memcpy.S: Updated.
57701         * sysdeps/x86_64/memset.S: Likewise.
57702         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57703         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57704         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57706 2013-01-04  David S. Miller  <davem@davemloft.net>
57708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57710 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57712         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57713         1 to avoid redefinition warning.
57714         (__USE_GNU): Don't define.
57715         (init_signaling_nan): Protoize.
57717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57719 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57721         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57723         (__cpymn): Likewise.
57724         (norm): Remove commented code.
57725         (denorm): Likewise.
57726         (__mp_dbl): Likewise.
57727         (__inv): Likewise.
57728         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57729         (__cpymn): Likewise.
57730         (norm): Remove commented code.
57731         (denorm): Likewise.
57732         (__mp_dbl): Likewise.
57733         (__inv): Likewise.
57735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57736         mp_no value for 1.0 and 2.0.
57737         (norm): Use RADIXI instead of radixi.d.
57738         (denorm): Likewise.
57739         (__mul): Use 0.0 instead of zero.d.
57740         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57741         mp_no value for 1.0 and 2.0.
57742         (norm): Use RADIXI instead of radixi.d.
57743         (denorm): Likewise.
57744         (__mul): Use 0.0 instead of zero.d.
57746 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57748         [BZ #14994]
57749         * math/s_casinh.c (__casinh): Reduce finite argument to first
57750         quadrant then set signs of results at the end.
57751         * math/s_casinhf.c (__casinhf): Likewise.
57752         * math/s_casinhl.c (__casinhl): Likewise.
57753         * math/libm-test.inc (casin_test): Add more tests.
57754         (casinh_test): Likewise.
57755         * sysdeps/i386/fpu/libm-test-ulps: Update.
57756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57758 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57760         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57762         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57764         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57765         declarations.
57766         (denorm): Likewise.
57767         (__mp_dbl): Likewise.
57768         (__inv): Likewise.
57770         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57771         and adjust the header comment.
57773         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57774         variable name from declaration.
57776 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57779         Initialize COMMON_CPUID_INDEX_7 element.
57780         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57781         (CPUID_RTM): Likewise.
57782         (HAS_RTM): Likewise.
57783         (COMMON_CPUID_INDEX_7): New enum.
57785 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57787         [BZ #14981]
57788         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57789         size is zero, record memory as freed.
57791 2013-01-03  Andreas Jaeger  <aj@suse.de>
57793         * po/ia.po: Add new Interlingua translation.
57795 2012-01-03  Allan McRae  <allan@archlinux.org>
57797         * locale/programs/localedef.c: Fix description of '--posix' flag.
57799 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57801         * NEWS: Update dates in second copyright notice.
57802         * README: Update copyright dates in example.
57803         * manual/libc.texinfo: Update copyright dates.
57804         * scripts/test-installation.pl: Update copyright date in --version
57805         output.
57807         * hurd/ctty-input.c: Fix copyright notice formatting.
57808         * hurd/ctty-output.c: Likewise.
57809         * hurd/dtable.c: Likewise.
57810         * hurd/hurd-raise.c: Likewise.
57811         * hurd/hurdprio.c: Likewise.
57812         * hurd/msgportdemux.c: Likewise.
57813         * misc/sys/file.h: Likewise.
57814         * misc/sys/ioctl.h: Likewise.
57815         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57816         * sysdeps/mach/hurd/chdir.c: Likewise.
57817         * sysdeps/mach/hurd/fchdir.c: Likewise.
57818         * sysdeps/mach/hurd/rename.c: Likewise.
57819         * sysdeps/mach/hurd/rmdir.c: Likewise.
57820         * sysdeps/mach/hurd/seekdir.c: Likewise.
57821         * sysdeps/mach/hurd/setsid.c: Likewise.
57822         * sysdeps/posix/wait3.c: Likewise.
57824         * All files with FSF copyright notices: Update copyright dates
57825         using scripts/update-copyrights.
57826         * intl/plural.c: Regenerated.
57827         * locale/programs/charmap-kw.h: Likewise.
57828         * locale/programs/locfile-kw.h: Likewise.
57830 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57832         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57833         four values.
57835         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57836         calculation loop and add branch prediction.
57838         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57839         check access beyond bounds of m1np.
57841         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57842         MPTWO.
57843         (__inv): Remove local variable MPTWO to use the global
57844         constant.
57845         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57846         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57847         variable MPTWO.
57848         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57849         MP3HALFS static const.
57851 2013-01-01  David S. Miller  <davem@davemloft.net>
57853         * po/ca.po: Update from translation team.
57855 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57857         * scripts/update-copyrights: New file.
57858         * Makeconfig: Reformat copyright notice.
57859         * ctype/ctype.h: Likewise.
57860         * debug/swprintf_chk.c: Likewise.
57861         * elf/dl-cache.c: Likewise.
57862         * elf/dl-debug.c: Likewise.
57863         * elf/dl-object.c: Likewise.
57864         * grp/initgroups.c: Likewise.
57865         * hurd/Makefile: Likewise.
57866         * hurd/hurd/signal.h: Likewise.
57867         * hurd/hurdfault.c: Likewise.
57868         * hurd/hurdioctl.c: Likewise.
57869         * hurd/hurdlookup.c: Likewise.
57870         * hurd/intr-msg.c: Likewise.
57871         * iconv/gconv_open.c: Likewise.
57872         * libio/swprintf.c: Likewise.
57873         * locale/lc-ctype.c: Likewise.
57874         * locale/nl_langinfo.c: Likewise.
57875         * mach/Machrules: Likewise.
57876         * mach/Makefile: Likewise.
57877         * malloc/obstack.h: Likewise.
57878         * manual/Makefile: Likewise.
57879         * manual/tsort.awk: Likewise.
57880         * misc/bits/stab.def: Likewise.
57881         * nis/nis_print_group_entry.c: Likewise.
57882         * nis/nis_table.c: Likewise.
57883         * nis/nss_compat/compat-pwd.c: Likewise.
57884         * nis/nss_compat/compat-spwd.c: Likewise.
57885         * po/Makefile: Likewise.
57886         * posix/fnmatch.c: Likewise.
57887         * posix/regex.h: Likewise.
57888         * resolv/Makefile: Likewise.
57889         * resolv/nss_dns/dns-network.c: Likewise.
57890         * resolv/res_hconf.c: Likewise.
57891         * scripts/gen-sorted.awk: Likewise.
57892         * soft-fp/soft-fp.h: Likewise.
57893         * stdio-common/printf.h: Likewise.
57894         * stdlib/monetary.h: Likewise.
57895         * stdlib/random.c: Likewise.
57896         * stdlib/random_r.c: Likewise.
57897         * sysdeps/generic/Makefile: Likewise.
57898         * sysdeps/gnu/Makefile: Likewise.
57899         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57900         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57901         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57902         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57903         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57904         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57905         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57906         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57907         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57908         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57909         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57910         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57911         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57912         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57913         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57914         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57915         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57916         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57917         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57918         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57919         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57920         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57921         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57922         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57923         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57924         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57925         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57926         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57927         * sysdeps/mach/hurd/errnos.awk: Likewise.
57928         * sysdeps/mach/hurd/fork.c: Likewise.
57929         * sysdeps/mach/hurd/getcwd.c: Likewise.
57930         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57931         * sysdeps/mach/hurd/mmap.c: Likewise.
57932         * sysdeps/mach/hurd/utimes.c: Likewise.
57933         * sysdeps/mach/hurd/xmknod.c: Likewise.
57934         * sysdeps/posix/profil.c: Likewise.
57935         * sysdeps/posix/readdir_r.c: Likewise.
57936         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57937         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57938         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57939         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57940         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57941         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57942         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57943         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57945         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57946         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57947         * sysdeps/pthread/lio_listio.c: Likewise.
57948         * sysdeps/sparc/dl-procinfo.h: Likewise.
57949         * sysdeps/unix/i386/sysdep.S: Likewise.
57950         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57951         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57952         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57953         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57955         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57956         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57957         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57958         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57959         * sysdeps/wordsize-32/divdi3.c: Likewise.
57960         * time/sys/time.h: Likewise.
57961         * wcsmbs/Makefile: Likewise.
57963 2013-01-01  David S. Miller  <davem@davemloft.net>
57965         * po/fr.po: Update from translation team.
57967         * catgets/gencat.c: Update copyright year.
57968         * csu/version.c: Likewise.
57969         * debug/catchsegv.sh: Likewise.
57970         * debug/pcprofiledump.c: Likewise.
57971         * debug/xtrace.sh: Likewise.
57972         * elf/ldconfig.c: Likewise.
57973         * elf/ldd.bash.in: Likewise.
57974         * elf/pldd.c: Likewise.
57975         * elf/sotruss.ksh: Likewise.
57976         * elf/sprof.c: Likewise.
57977         * iconv/iconv_prog.c: Likewise.
57978         * iconv/iconvconfig.c: Likewise.
57979         * locale/programs/locale.c: Likewise.
57980         * locale/programs/localedef.c: Likewise.
57981         * login/programs/pt_chown.c: Likewise.
57982         * malloc/memusage.sh: Likewise.
57983         * malloc/memusagestat.c: Likewise.
57984         * malloc/mtrace.pl: Likewise.
57985         * nscd/nscd.c: Likewise.
57986         * nss/getent.c: Likewise.
57987         * nss/makedb.c: Likewise.
57988         * posix/getconf.c: Likewise.
57990 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57992         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57993         numbers.
57995 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57997         * math/bits/mathcalls.h (modf): Use __nonnull.
57999 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58001         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
58002         (split): Use macro CN instead of the bare value.
58003         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
58004         could be used.
58005         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
58006         instead of the bare value.
58007         (power1): Likewise.
58009 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58011         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
58012         __ATAN_TWOM.
58013         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58015         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
58016         their values.
58017         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58018         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58019         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58020         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58022 2012-12-28  Andreas Jaeger  <aj@suse.de>
58024         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
58025         values are from Linux 3.7.
58027         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
58028         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
58030 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58032         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
58033         TRUE case.
58035         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
58036         (norm): Likewise.
58037         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
58038         variables with preprocessor constants.
58039         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58040         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58041         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58043 2012-12-27  Bruno Haible  <bruno@clisp.org>
58045         [BZ #14317]
58046         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
58047         only if needed.
58049 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
58052         and use variable directly.
58053         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
58055         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58056         MPONE.
58057         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
58058         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58059         variable MPONE.
58060         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58061         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58062         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
58063         include directive.  Remove local variable MPONE.
58064         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
58065         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
58066         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58068 2012-12-25  David S. Miller  <davem@davemloft.net>
58070         * version.h (RELEASE): Set to "development".
58071         (VERSION): Set to "2.17.90".
58072         * NEWS: Add 2.18 section.
58074 2012-12-21  David S. Miller  <davem@davemloft.net>
58076         * po/hr.po: Update from translation team.
58078 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58080         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
58082 2012-12-19  Steve Ellcey  <sellcey@mips.com>
58084         * NEWS:  Mention new memcpy for MIPS.
58086 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58088         * manual/contrib.texi (Contributors): Spelling correction.
58090 2012-12-15  David S. Miller  <davem@davemloft.net>
58092         * po/ru.po: Update from translation team.
58094 2012-12-13  David S. Miller  <davem@davemloft.net>
58096         * NEWS: Mention IFUNC testsuite enhancements.
58098         * po/pl.po: Update from translation team.
58099         * po/bg.po: Likewise.
58101         * manual/contrib.texi (Contributors): Update entries for Hongjiu
58102         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
58104 2012-12-11  David S. Miller  <davem@davemloft.net>
58106         * po/sv.po: Update from translation team.
58108         * po/vi.po: Update from translation team.
58110         * po/cs.po: Update from translation team.
58112         * po/de.po: Update from translation team.
58113         * po/eo.po: Likewise.
58114         * po/nl.po: Likewise.
58116 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58118         [BZ #14246]
58119         * manual/argp.texi (Argp Helper Functions): Move node to follow
58120         Argp Parsing State.
58122         [BZ #14872]
58123         * manual/conf.texi (Limits on File System Capacity): Mention if
58124         terminating null is included in the max size.
58126 2012-12-10  Andreas Jaeger  <aj@suse.de>
58128         * po/cs.po: Update from translation team.
58130 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58132         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58133         void pointer and cast to uintptr_t.
58134         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58135         path.
58136         * sysdeps/s390/s390-64/memcpy.S: Likewise.
58137         * sysdeps/s390/s390-64/memset.S: Likewise.
58139 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
58141         [BZ #14833]
58142         * menual/message.texi (Message Translation): Fix typos.
58143         (Helper programs for gettext): Likewise.
58145 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
58147         [BZ #14898]
58148         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58149         Change to -1.
58151 2012-12-07  David S. Miller  <davem@davemloft.net>
58153         * po/libc.pot: Update.
58155 2012-12-07  Richard Henderson  <rth@redhat.com>
58157         [BZ #10114]
58158         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58159         normal/normal case to before the switch.
58160         (_FP_DIV): Likewise.
58162 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58163             Mike Frysinger  <vapier@gentoo.org>
58165         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58166         check for __NR_fadvise64_64.
58168 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58170         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58171         0, not just to plain "0" as a statement.
58172         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58173         with cw.
58175 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58177         * NEWS: Use sourceware.org in Bugzilla URL.
58179 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58182         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58184         * stdio-common/tst-put-error.c (do_test): Add newline to the
58185         padded test to ensure flush.
58187 2012-12-05  Jeff Law  <law@redhat.com>
58189         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58191 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58193         * README: Don't refer to ports add-on as distributed separately.
58194         Mention AArch64 in list of systems supported in the ports add-on.
58196         * LICENSES: Add more non-FSF copyright and license notices.
58198         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58199         ((unused)).
58201         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58203         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58204         10000 as width of padded output.
58206 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58208         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58210         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58211         variable LX with __attribute__ ((unused)).
58212         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58213         Likewise.
58214         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58215         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58216         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58217         with __attribute__ ((unused)).
58219 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58221         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58223 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58225         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58226         (CFLAGS-nldbl-acos.c): New variable.
58227         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58228         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58229         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58230         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58231         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58232         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58233         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58234         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58235         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58236         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58237         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58238         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58239         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58240         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58241         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58242         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58243         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58244         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58245         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58246         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58247         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58248         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58249         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58250         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58251         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58252         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58253         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58254         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58255         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58256         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58257         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58258         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58259         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58260         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58261         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58262         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58263         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58264         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58265         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58266         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58267         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58268         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58269         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58270         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58271         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58272         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58273         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58274         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58275         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58276         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58277         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58278         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58279         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58280         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58281         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58282         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58283         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58284         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58285         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58286         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58287         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58288         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58289         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58290         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58291         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58292         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58293         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58294         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58295         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58296         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58297         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58298         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58299         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58300         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58301         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58302         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58303         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58304         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58305         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58306         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58307         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58308         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58309         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58310         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58311         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58312         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58313         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58314         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58315         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58316         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58317         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58318         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58319         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58320         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58321         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58322         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58323         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58326         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58328         [BZ #14914]
58329         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58330         whole low double instead of just low 47 bits when splitting values
58331         into two parts.
58333 2012-12-03  Allan McRae  <allan@archlinux.org>
58335         * manual/stdio.texi (Predefined Printf Handlers): Remove
58336         @hsep and @vsep usage.
58338 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58340         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58341         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58343 2012-12-03  Jeff Law  <law@redhat.com>
58345         * time/sys/time.h (settimeofday): Do not mark TV argument
58346         as __nonnull.
58348 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58350         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58351         when currently writing and seek to current position when not.
58352         * libio/Makefile (tests): Remove bug-fclose1.
58353         * libio/bug-fclose1.c: Delete.
58355 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58357         * manual/arith.texi (feenableexcept): Fix typo.
58358         (fedisableexcept): Likewise.
58360 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58362         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58363         second, differently-typed declaration, rather than a cast.
58365 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58367         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58368         * include/rpc/svc.h: ... here.
58370 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58372         [BZ #13013]
58373         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58374         depending n and resplen2 to catch cases where answer
58375         equals answerp2.
58377 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58379         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58380         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58382 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58384         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58386 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58388         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58390 2012-11-28  Jeff Law  <law@redhat.com>
58392         [BZ #13761]
58393         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58394         dataset_temporary.  Track alloca usage into alloca_used.
58395         If dataset is large allocate and release it via malloc/free.
58397 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58399         [BZ #14197]
58400         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58402 2012-11-28  David S. Miller  <davem@davemloft.net>
58404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58406 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58408         [BZ #14803]
58409         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58410         of pi/2 rounded to nearest to 64 bits.
58411         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58412         nearest to 64 bits.
58413         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58414         bits.
58416 2012-11-28  Jeff Law <law@redhat.com>
58417             Martin Osvald <mosvald@redhat.com>
58419         [BZ #14889]
58420         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58421         * sunrpc/svc.c: Include time.h.
58422         (__svc_accept_failed): New function.
58423         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58424         any reason other than EINTR, call __svc_accept_failed.
58425         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58426         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58428 2012-11-28  Andreas Schwab  <schwab@suse.de>
58430         * scripts/abilist.awk: Also handle indirect functions in .opd
58431         section.
58433 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58435         [BZ #13881]
58436         * sysdeps/x86/fpu/powl_helper.c: New file.
58437         * sysdeps/x86/fpu/Makefile: Likewise.
58438         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58439         (p3): New object.
58440         (__ieee754_powl): Use __powl_helper for finite arguments except
58441         integer exponents below 8.
58442         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58443         (p3): New object.
58444         (__ieee754_powl): Use __powl_helper for finite arguments except
58445         integer exponents below 8.
58446         * math/libm-test.inc (pow_test): Add more tests and enable some
58447         previously disabled tests.
58448         * sysdeps/i386/fpu/libm-test-ulps: Update.
58449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58451 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58452             Carlos O'Donell  <carlos_odonell@mentor.com>
58454         * nss/makedb.c (is_prime): Assert that input is odd and greater
58455         than 4.  Note that fact in a comment too.
58456         (next_prime): Add 4 to input.
58458 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58460         [BZ #11741]
58461         * libio/Makefile (tests): Add test case tst-fwrite-error.
58462         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58463         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58464         * libio/tst-fwrite-error.c: New test case.
58466 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58468         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58469         before casting to void *.
58470         * include/libc-internal.h (__pointer_type): New macro.
58471         (__integer_if_pointer_type_sub): Likewise.
58472         (__integer_if_pointer_type): Likewise.
58473         (cast_to_integer): Likewise.
58474         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58475         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58476         before casting to atomic64_t.
58477         (atomic_exchange_acq): Likewise.
58478         (__arch_exchange_and_add_body): Likewise.
58479         (__arch_add_body): Likewise.
58480         (atomic_add_negative): Likewise.
58481         (atomic_add_zero): Likewise.
58483 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58485         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58486         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58487         (add_fdes): Likewise.
58488         (linear_search_fdes): Likewise.
58489         (binary_search_unencoded_fdes): Likewise.
58491 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58493         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58495 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58497         * configure.in: Autodetect C++ header directories.
58498         * configure: Regenerated.
58500 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58502         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58504 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58508 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58510         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58511         LDBL_MANT_DIG == 106]: Disable some tests.
58512         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58513         Likewise.
58514         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58515         Likewise.
58517         [BZ #14871]
58518         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58519         input for small inputs.  Return +/- pi/2 for large inputs.
58520         * math/libm-test.inc (atan_test): Add more tests.
58522         * sysdeps/generic/unwind-dw2-fde-glibc.c
58523         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58524         __attribute__ ((unused)).
58526         [BZ #14645]
58527         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58528         x * y if x and y are nonzero and z is zero.
58530         [BZ #14811]
58531         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58532         nonzero exponents with absolute value below 0x1p-117 to +/-
58533         0x1p-117.
58535         [BZ #14869]
58536         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58537         up arguments below 2**-450, not just those below 2**-500.
58538         * math/libm-test.inc (hypot_test): Add another test.
58540         [BZ #14868]
58541         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58542         Return a+b for ratio over 2**120, not 2**60.
58543         * math/libm-test.inc (hypot_test): Add another test.
58545         * math/libm-test.inc (clog_test): Use
58546         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58547         (clog10_test): Likewise.
58549         [BZ #6778]
58550         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58552 2012-11-22  Andreas Schwab  <schwab@suse.de>
58554         * sysdeps/i386/fpu/libm-test-ulps: Update.
58556 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58558         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58559         printf output with newline.
58561 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58563         [BZ #14865]
58564         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58565         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58566         -z nodlopen, -z initfirst and -z execstack support.
58567         * configure: Regenerated.
58569         * elf/elf.h (DF_1_NODIRECT): New macro.
58570         (DF_1_IGNMULDEF): Likewise.
58571         (DF_1_NOKSYMS): Likewise.
58572         (DF_1_NOHDR): Likewise.
58573         (DF_1_EDITED): Likewise.
58574         (DF_1_NORELOC): Likewise.
58575         (DF_1_SYMINTPOSE): Likewise.
58576         (DF_1_GLOBAUDIT): Likewise.
58577         (DF_1_SINGLETON): Likewise.
58578         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58579         DT_1_SUPPORTED_MASK bits.
58580         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58582 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58584         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58586 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58588         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58589         macro.
58591         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58592         (sendmmsg): Move declarations...
58593         * socket/sys/socket.h: ... here.
58594         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58595         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58596         include it from...
58597         * socket/recvmmsg.c: ... this new file.
58598         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58599         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58600         definition of __sendmmsg hidden.
58601         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58602         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58603         Move ENOSYS stub into and include it from...
58604         * socket/sendmmsg.c: ... this new file.
58605         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58606         (sysdep_routines): Move recvmmsg and sendmmsg...
58607         * socket/Makefile (routines): ... here.
58608         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58609         (GLIBC_PRIVATE): Add __sendmmsg.
58610         * include/sys/socket.h (__sendmmsg): Add declarations.
58611         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58612         sendmmsg.
58614 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58616         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58617         variable I1 with __attribute__ ((unused)).
58618         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58620 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58622         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58623         DUMMY variables with __attribute__ ((unused)).
58625         * bits/byteswap.h: Include <bits/types.h>.
58626         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58628 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58630         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58631         string_t.  Do not manually set errno.
58632         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58633         length with __strnlen.  Make sure to both set errno and return it on
58634         failure.
58636 2012-11-19  David S. Miller  <davem@davemloft.net>
58638         With help from Joseph Myers.
58639         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58640         very large arguments properly.
58641         * math/libm-test.inc (atan_test): New tests.
58642         (atan2_test): New tests.
58643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58646 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58648         [BZ #14856]
58649         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58650         Define to 3.
58652         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58653         [POSIX] (EADDRNOTAVAIL): Likewise.
58654         [POSIX] (EAFNOSUPPORT): Likewise.
58655         [POSIX] (EALREADY): Likewise.
58656         [POSIX] (ECONNABORTED): Likewise.
58657         [POSIX] (ECONNREFUSED): Likewise.
58658         [POSIX] (ECONNRESET): Likewise.
58659         [POSIX] (EDESTADDRREQ): Likewise.
58660         [POSIX] (EDQUOT): Likewise.
58661         [POSIX] (EHOSTUNREACH): Likewise.
58662         [POSIX] (EIDRM): Likewise.
58663         [POSIX] (EISCONN): Likewise.
58664         [POSIX] (ELOOP): Likewise.
58665         [POSIX] (EMULTIHOP): Likewise.
58666         [POSIX] (ENETDOWN): Likewise.
58667         [POSIX] (ENETUNREACH): Likewise.
58668         [POSIX] (ENOBUFS): Likewise.
58669         [POSIX] (ENODATA): Likewise.
58670         [POSIX] (ENOLINK): Likewise.
58671         [POSIX] (ENOMSG): Likewise.
58672         [POSIX] (ENOPROTOOPT): Likewise.
58673         [POSIX] (ENOSR): Likewise.
58674         [POSIX] (ENOSTR): Likewise.
58675         [POSIX] (ENOTCONN): Likewise.
58676         [POSIX] (ENOTSOCK): Likewise.
58677         [POSIX] (EOPNOTSUPP): Likewise.
58678         [POSIX] (EOVERFLOW): Likewise.
58679         [POSIX] (EPROTO): Likewise.
58680         [POSIX] (EPROTONOSUPPORT): Likewise.
58681         [POSIX] (EPROTOTYPE): Likewise.
58682         [POSIX] (ESTALE): Likewise.
58683         [POSIX] (ETIME): Likewise.
58684         [POSIX] (ETXTBSY): Likewise.
58685         [POSIX] (EWOULDBLOCK): Likewise.
58686         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58687         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58688         [POSIX] (SEEK_CUR): Likewise.
58689         [POSIX] (SEEK_END): Likewise.
58690         [POSIX || UNIX98] (mode_t): Do not require.
58691         [POSIX] (off_t): Likewise.
58692         [POSIX] (pid_t): Likewise.
58693         [POSIX] (sys/stat.h): Do not allow header.
58694         [POSIX] (unistd.h): Likewise.
58695         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58696         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58697         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58698         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58699         require.
58700         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58701         sigevent): Specify elements.
58702         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58703         entry.
58704         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58705         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58707         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58708         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58709         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58710         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58711         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58712         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58713         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58714         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58715         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58716         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58717         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58718         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58719         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58720         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58721         Likewise.
58722         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58723         Likewise.
58724         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58725         Likewise.
58726         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58727         Likewise.
58728         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58729         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58730         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58731         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58732         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58733         Specify lower bound on value.
58734         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58735         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58736         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58737         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58738         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58739         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58740         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58741         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58742         value.
58743         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58744         as optional.
58745         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58746         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58747         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58748         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58749         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58750         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58751         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58752         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58753         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58754         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58755         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58756         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58757         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58758         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58759         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58760         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58761         entry.
58762         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58763         optional.
58764         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58765         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58766         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58767         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58768         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58769         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58770         Likewise.
58771         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58772         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58773         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58774         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58775         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58776         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58777         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58778         as optional.
58779         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58780         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58781         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58782         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58783         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58784         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58785         specify as optional.
58786         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58787         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58788         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58789         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58790         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58791         [XPG3] (NL_LANGMAX): Likewise.
58792         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58793         [POSIX || XPG3] (NL_NMAX): Likewise.
58794         [POSIX || XPG3] (NL_SETMAX): Likewise.
58795         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58796         [XPG3] (NZERO): Likewise.
58797         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58798         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58799         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58800         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58801         (REG_ERANGE): Expect.
58802         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58803         optional-constant.
58804         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58805         Use (void) in prototype.
58806         [POSIX] (*_t): Allow.
58807         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58808         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58809         (WRDE_BADVAL): Expect.
58811         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58812         expect.
58813         [XPG3 || XPG4] (O_RSYNC): Likewise.
58814         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58815         Likewise.
58816         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58817         [XPG3 || XPG4] (sigqueue): Likewise.
58818         [XPG3 || XPG4] (sigtimedwait): Likewise.
58819         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58820         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58821         [XPG3 || XPG4] (vsnprintf): Likewise.
58822         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58823         Likewise.
58824         [XPG3 || XPG4] (blksize_t): Likewise.
58825         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58826         Likewise.
58827         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58828         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58829         [XPG3 || XPG4] (struct itimerspec): Likewise.
58830         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58831         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58832         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58833         [XPG3 || XPG4] (clockid_t): Likewise.
58834         [XPG3 || XPG4] (timer_t): Likewise.
58835         [XPG3 || XPG4] (clock_getres): Likewise.
58836         [XPG3 || XPG4] (clock_gettime): Likewise.
58837         [XPG3 || XPG4] (clock_settime): Likewise.
58838         [XPG3 || XPG4] (nanosleep): Likewise.
58839         [XPG3 || XPG4] (timer_create): Likewise.
58840         [XPG3 || XPG4] (timer_delete): Likewise.
58841         [XPG3 || XPG4] (timer_gettime): Likewise.
58842         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58843         [XPG3 || XPG4] (timer_settime): Likewise.
58844         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58845         [XPG3 || XPG4] (getlogin_r): Likewise.
58846         [XPG3 || XPG4] (pread): Likewise.
58847         [XPG3 || XPG4] (pthread_atfork): Likewise.
58848         [XPG3 || XPG4] (pwrite): Likewise.
58850         [BZ #14835]
58851         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58852         <bits/siginfo.h>.
58854 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58856         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58857         finalizing MALLSTREAM.
58859         * sysdeps/mach/hurd/syncfs.c: New file.
58861 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58863         [BZ #14719]
58864         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58865         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58866         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58867         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58868         (_nss_dns_gethostbyname4_r): Likewise.
58869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58870         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58872 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58874         [BZ #13763]
58875         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58877 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58879         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58880         * elf/cache.c (print_entry): Print ",AArch64" for
58881         FLAG_AARCH64_LIB64
58883         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58884         * elf/cache.c (print_entry): Print ",hard-float" for
58885         FLAG_ARM_LIBHF.
58887 2012-11-18  David S. Miller  <davem@davemloft.net>
58889         With help from Joseph Myers.
58890         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58891         cutoff to 2**-13.
58892         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58893         cutoff to 2**-25.
58894         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58895         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58896         small.
58897         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58898         * math/libm-test.inc (y0_test): New tests.
58899         (y1_test): New tests.
58900         * sysdeps/i386/fpu/libm-test-ulps: Update.
58901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58904 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58906         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58907         64-bit targets.
58908         * configure: Regenerated.
58910 2012-11-17  David S. Miller  <davem@davemloft.net>
58912         [BZ #14811]
58913         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58914         nonzero exponents with absolute value below 0x1p-128 to +/-
58915         0x1p-128.
58917 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58919         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58921         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58923         * posix/getconf-speclist.c: New file.
58924         * posix/posix-envs.def: Likewise.
58925         * posix/confstr.c (START_ENV_GROUP): New macro.
58926         (END_ENV_GROUP): Likewise.
58927         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58928         (KNOWN_PRESENT_ENV_STRING): Likewise.
58929         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58930         (UNKNOWN_ENVIRONMENT): Likewise.
58931         (confstr): Include posix-envs.def instead of handling
58932         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58933         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58934         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58935         (END_ENV_GROUP): Likewise.
58936         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58937         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58938         (UNKNOWN_ENVIRONMENT): Likewise.
58939         (__sysconf): Include posix-envs.def instead of handling associated
58940         cases directly here.
58941         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58942         preprocessing getconf-speclist.c rather than running getconf or
58943         generating empty file.
58945 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58947         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58949 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58951         [BZ #14672]
58952         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58954 2012-11-16  David S. Miller  <davem@davemloft.net>
58956         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58957         smaller than LDBL_EPSILON/2.0L, just return xm1.
58959 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58961         * elf/tst-array1.c (init): Set constructor priority to 1000.
58962         (fini): Set destructor priority to 1000.
58963         * elf/tst-array2dep.c: Likewise.
58965 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58967         [BZ #11741]
58968         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58969         (_IO_new_file_xsputn): Also return EOF if none of the input
58970         data was written when overflow failed.
58971         * libio/iopadn.c (_IO_padn): Likewise.
58972         * libio/iowpadn.c (_IO_wpadn): Likewise.
58973         * stdio-common/tst-put-error.c: Add copyright notice.
58974         (do_test): Add case for printing padded string.
58975         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58976         _IO_padn returned error.
58977         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58978         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58979         return EOF.
58981 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58983         * libio/libioP.h: Add comment note that the references to C++
58984         bits are now obsolete.
58986 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58988         * math/libm-test.inc (check_complex): Use asprintf.
58990 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58992         * debug/pcprofiledump.c (print_version): Update copyright year.
58993         * malloc/memusagestat.c (print_version): Likewise.
58995 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58997         [BZ #14831]
58998         * elf/Makefile (tests): Add tst-audit8.
58999         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
59000         ($(objpfx)tst-audit8.out): New target.
59001         (tst-audit8-ENV): New variable.
59002         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59003         audit if l_reloc_result is NULL.
59004         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
59005         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
59006         * elf/tst-audit8.c: New file.
59008 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59010         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
59011         * misc/Makefile (CFLAGS-select.c): Define.
59012         * posix/Makefile (CFLAGS-pause.c): Define.
59014 2012-11-13  David S. Miller  <davem@davemloft.net>
59016         * crypt/Makefile: Move test targets after toplevel Rules
59017         inclusion.  Grab any necessary sysdep routines when linking.
59018         * crypt/md5.c (md5_process_block): Remove define, we will always
59019         name it __md5_process_block.
59020         (md5_finish_ctx): Update md5_process_block call.
59021         (md5_stream): Likewise.
59022         (md5_process_bytes): Likewise.
59023         (md5_process_block): Rename to __md5_process_block and move to ...
59024         * crypt/md5-block.c: ... here.
59025         * crypt/sha256.c (sha256_process_block): Move to ...
59026         * crypt/sha256-block.c: ... here.
59027         * crypt/sha512.c (sha512_process_block): Move to ...
59028         * crypt/sha512-block.c: ... here.
59029         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
59030         path.
59031         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
59032         * sysdeps/sparc/sparc64/multiarch/Makefile
59033         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
59034         crypt subdir.
59035         (localedef-aux): Add md5 crypto assembler when in locale subdir.
59036         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
59037         multiarch changes.
59038         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59039         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
59040         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
59041         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
59042         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
59043         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
59044         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
59045         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
59046         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
59047         file.
59048         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
59049         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
59050         file.
59051         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
59053 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
59055         * timezone/tzselect.ksh: Update from tzcode git revision
59056         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
59057         * timezone/zdump.c: Likewise.
59058         * timezone/zic.c: Likewise.
59059         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
59060         in TZVERSION setting, not $(PKGVERSION).
59061         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
59062         REPORT_BUGS_TO settings.
59064         [BZ #14838]
59065         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
59066         macro.
59068 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59070         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
59071         detection to immediately after _FP_ROUND().
59072         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
59073         bits are 0.
59075 2012-11-11  David S. Miller  <davem@davemloft.net>
59077         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
59078         inttypes.h
59079         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
59080         __close rather than their public counterparts.
59082 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
59084         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
59085         file.
59086         [UNIX98] (sem_timedwait): Do not expect.
59087         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
59088         [XPG4 || UNIX98] (sockatmark): Do not expect.
59089         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
59090         (clock_getcpuclockid): Do not expect.
59091         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
59092         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
59093         Do not expect.
59094         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
59095         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
59096         [UNIX98] (vwscanf): Likewise.
59097         [UNIX98] (vswscanf): Likewise.
59099 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
59101         * timezone/version.h: Remove file.
59102         * timezone/README: Do not refer to version.h.
59103         * timezone/Makefile ($(objpfx)zic.o): New dependency on
59104         $(objpfx)version.h.
59105         ($(objpfx)zdump.o): Likewise.
59106         ($(objpfx)version.h): New target.
59108         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
59109         2012i.
59110         * timezone/README: Don't mention modification to tzselect.ksh.
59111         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
59112         work on unmodified tzselect.ksh.  Substitute version numbers in
59113         tzselect.ksh.
59115         * Makefile (format-me): Remove.
59116         (INSTALL): Adjust indentation.  Use commands directly instead of
59117         using $(format-me).
59119         * aclocal.m4 (ACX_PKGVERSION): New macro.
59120         (ACX_BUGURL): Likewise.
59121         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59122         (PKGVERSION): New AC_DEFINE_UNQUOTED.
59123         (REPORT_BUGS_TO): Likewise.
59124         * configure: Regenerated.
59125         * config.h.in (PKGVERSION): New macro.
59126         (REPORT_BUGS_TO): Likewise.
59127         * config.make.in (PKGVERSION): New variable.
59128         (PKGVERSION_TEXI): Likewise.
59129         (REPORT_BUGS_TO): Likewise.
59130         (REPORT_BUGS_TEXI): Likewise.
59131         * Makefile (format-me): Use -I$(common-objpfx)manual.
59132         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59133         ($(common-objpfx)manual/%): New target.
59134         (manual/%): Remove target.
59135         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59136         (print_version): Use PKGVERSION.
59137         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59138         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59139         and REPORT_BUGS_TO.
59140         ($(objpfx)xtrace): Likewise.
59141         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
59142         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
59143         (print_version): Use PKGVERSION.
59144         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
59145         (do_version): Use PKGVERSION.
59146         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59147         REPORT_BUGS_TO.
59148         (common-ldd-rewrite): Likewise.
59149         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
59150         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
59151         (print_version): Use PKGVERSION.
59152         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
59153         * elf/pldd.c (argp_program_bug_address): Remove variable.
59154         (more_help): New function.
59155         (argp): Use more_help.
59156         (print_version): Use PKGVERSION.
59157         * elf/sln.c (main): Use PKGVERSION.
59158         (usage): Use REPORT_BUGS_TO.
59159         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59160         (top level): Use PKGVERSION.
59161         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59162         (print_version): Use PKGVERSION.
59163         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59164         (print_version): Use PKGVERSION.
59165         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59166         (print_version): Use PKGVERSION.
59167         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59168         (print_version): Use PKGVERSION.
59169         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59170         (print_version): Use PKGVERSION.
59171         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59172         (print_version): Use PKGVERSION.
59173         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59174         and BUGURL.
59175         ($(objpfx)memusage): Likewise.
59176         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59177         (do_version): Use PKGVERSION.
59178         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59179         (print_version): Use PKGVERSION.
59180         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59181         ($PKGVERSION): New variable.
59182         ($REPORT_BUGS_TO): Likewise.
59183         (usage): Use $REPORT_BUGS_TO.
59184         (top level): Use $PKGVERSION.
59185         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59186         ($(objpfx)pkgvers.texi): New rule.
59187         ($(objpfx)stamp-pkgvers): Likewise.
59188         * manual/install.texi: Include pkgvers.texi.
59189         (--with-pkgversion): Document new configure option.
59190         (--with-bugurl): Likewise.
59191         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59192         than necessarily for this particular distribution.  Use
59193         REPORT_BUGS_TO for where to report bugs.
59194         * INSTALL: Regenerated.
59195         * manual/libc.texinfo: Include pkgvers.texi.
59196         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59197         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59198         (print_version): Use PKGVERSION.
59199         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59200         (print_version): Use PKGVERSION.
59201         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59202         (print_version): Use PKGVERSION.
59203         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59204         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59205         macro.
59206         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59207         (print_version): Use PKGVERSION.
59208         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59209         (print_version): Use PKGVERSION.
59210         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59211         and PKGVERSION.
59213         * timezone/checktab.awk: Update from tzcode 2012i.
59214         * timezone/ialloc.c: Likewise.
59215         * timezone/private.h: Likewise.
59216         * timezone/scheck.c: Likewise.
59217         * timezone/tzfile.h: Likewise.
59218         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59219         (TZVERSION): Hardcode tzcode version number.
59220         * timezone/zdump.c: Update from tzcode 2012i.
59221         * timezone/zic.c: Likewise.
59222         * timezone/version.h: New file.
59223         * timezone/README: Describe version.h.  Update upstream location.
59225         [BZ #14824]
59226         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59227         (mktemp): Enable declaration.
59228         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59229         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59230         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59231         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59232         Likewise.
59233         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59234         Likewise.
59235         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59236         Likewise.
59237         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59238         Likewise.
59239         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59240         Likewise.
59241         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59242         Likewise.
59244         [BZ #14821]
59245         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59246         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59247         for copies of such integer values.
59248         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59249         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59251 2012-11-09  Andreas Jaeger  <aj@suse.de>
59253         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59254         definitions and declarations that are provided by
59255         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59257 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59259         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59260         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59261         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59262         definition.
59264 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59266         * elf/elf.h: Update comment before AArch64 relocations.
59268 2012-11-07  David S. Miller  <davem@davemloft.net>
59270         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59271         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59272         (__start_context): Declare.
59273         (__makecontext_ret): Delete.
59274         (__makecontext): Hook up __start_context instead of
59275         __makecontext_ret.
59276         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59277         (sysdep_routines): Add __start_context when in stdlib.
59279 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59281         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59282         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59283         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59284         hardcoded "nm".
59285         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59286         (READELF): New variable.  Use it instead of hardcoded "readelf".
59288 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59290         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59291         * sysdeps/x86/Makefile: Here.
59292         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59293         * sysdeps/x86/tst-xmmymm.sh: This.
59295 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59297         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59298         expectations.
59299         [UNIX98] (pthread_barrier_t): Do not expect.
59300         [UNIX98] (pthread_barrierattr_t): Likewise.
59301         [UNIX98] (pthread_spinlock_t): Likewise.
59302         [UNIX98] (pthread_barrier_destroy): Likewise.
59303         [UNIX98] (pthread_barrier_init): Likewise.
59304         [UNIX98] (pthread_barrier_wait): Likewise.
59305         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59306         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59307         [UNIX98] (pthread_barrierattr_init): Likewise.
59308         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59309         [UNIX98] (pthread_getcpuclockid): Likewise.
59310         [UNIX98] (pthread_mutex_timedlock): Likewise.
59311         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59312         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59313         [UNIX98] (pthread_sigmask): Likewise.
59314         [UNIX98] (pthread_spin_destroy): Likewise.
59315         [UNIX98] (pthread_spin_init): Likewise.
59316         [UNIX98] (pthread_spin_lock): Likewise.
59317         [UNIX98] (pthread_spin_trylock): Likewise.
59318         [UNIX98] (pthread_spin_unlock): Likewise.
59319         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59320         Do not expect.
59321         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59322         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59323         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59324         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59325         [XPG3 || XPG4] (pthread_key_t): Likewise.
59326         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59327         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59328         [XPG3 || XPG4] (pthread_once_t): Likewise.
59329         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59330         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59331         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59332         [XPG3 || XPG4] (pthread_t): Likewise.
59334         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59335         not expect.
59336         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59338         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59339         Change function return type to int.
59341         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59342         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59343         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59344         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59345         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59346         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59347         [!POSIX] (posix_madvise): Likewise.
59348         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59349         && !UNIX98].
59350         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59351         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59352         (mode_t): Likewise.
59353         (posix_mem_offset): Likewise.
59354         (posix_typed_mem_get_info): Likewise.
59355         (posix_typed_mem_open): Likewise.
59357         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59358         Change condition to [XOPEN2K8].
59360         * conform/conformtest.pl: Preprocess allow-header data with -x c
59361         instead of from stdin.
59362         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59363         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59364         [C99-based standards] (cerfc): Likewise.
59365         [C99-based standards] (cexp2): Likewise.
59366         [C99-based standards] (cexpm1): Likewise.
59367         [C99-based standards] (clog10): Likewise.
59368         [C99-based standards] (clog1p): Likewise.
59369         [C99-based standards] (clog2): Likewise.
59370         [C99-based standards] (clgamma): Likewise.
59371         [C99-based standards] (ctgamma): Likewise.
59372         [C99-based standards] (cerff): Likewise.
59373         [C99-based standards] (cerfcf): Likewise.
59374         [C99-based standards] (cexp2f): Likewise.
59375         [C99-based standards] (cexpm1f): Likewise.
59376         [C99-based standards] (clog10f): Likewise.
59377         [C99-based standards] (clog1pf): Likewise.
59378         [C99-based standards] (clog2f): Likewise.
59379         [C99-based standards] (clgammaf): Likewise.
59380         [C99-based standards] (ctgammaf): Likewise.
59381         [C99-based standards] (cerfl): Likewise.
59382         [C99-based standards] (cerfcl): Likewise.
59383         [C99-based standards] (cexp2l): Likewise.
59384         [C99-based standards] (cexpm1l): Likewise.
59385         [C99-based standards] (clog10l): Likewise.
59386         [C99-based standards] (clog1pl): Likewise.
59387         [C99-based standards] (clog2l): Likewise.
59388         [C99-based standards] (clgammal): Likewise.
59389         [C99-based standards] (ctgammal): Likewise.
59390         * conform/data/inttypes.h-data [C99-based standards]: Include
59391         stdint.h-data.  Remove all expectations for stdint.h contents.
59392         [C99-based standards] (PRI*): Do not allow.
59393         [C99-based standards] (SCN*): Likewise.
59394         [C99-based standards] (*_t): Likewise.
59395         [C99-based-standards] (PRId8): Expect macro.
59396         [C99-based-standards] (PRIi8): Likewise.
59397         [C99-based-standards] (PRIo8): Likewise.
59398         [C99-based-standards] (PRIu8): Likewise.
59399         [C99-based-standards] (PRIx8): Likewise.
59400         [C99-based-standards] (PRIX8): Likewise.
59401         [C99-based-standards] (SCNd8): Likewise.
59402         [C99-based-standards] (SCNi8): Likewise.
59403         [C99-based-standards] (SCNo8): Likewise.
59404         [C99-based-standards] (SCNu8): Likewise.
59405         [C99-based-standards] (SCNx8): Likewise.
59406         [C99-based-standards] (PRIdLEAST8): Likewise.
59407         [C99-based-standards] (PRIiLEAST8): Likewise.
59408         [C99-based-standards] (PRIoLEAST8): Likewise.
59409         [C99-based-standards] (PRIuLEAST8): Likewise.
59410         [C99-based-standards] (PRIxLEAST8): Likewise.
59411         [C99-based-standards] (PRIXLEAST8): Likewise.
59412         [C99-based-standards] (SCNdLEAST8): Likewise.
59413         [C99-based-standards] (SCNiLEAST8): Likewise.
59414         [C99-based-standards] (SCNoLEAST8): Likewise.
59415         [C99-based-standards] (SCNuLEAST8): Likewise.
59416         [C99-based-standards] (SCNxLEAST8): Likewise.
59417         [C99-based-standards] (PRIdFAST8): Likewise.
59418         [C99-based-standards] (PRIiFAST8): Likewise.
59419         [C99-based-standards] (PRIoFAST8): Likewise.
59420         [C99-based-standards] (PRIuFAST8): Likewise.
59421         [C99-based-standards] (PRIxFAST8): Likewise.
59422         [C99-based-standards] (PRIXFAST8): Likewise.
59423         [C99-based-standards] (SCNdFAST8): Likewise.
59424         [C99-based-standards] (SCNiFAST8): Likewise.
59425         [C99-based-standards] (SCNoFAST8): Likewise.
59426         [C99-based-standards] (SCNuFAST8): Likewise.
59427         [C99-based-standards] (SCNxFAST8): Likewise.
59428         [C99-based-standards] (PRId16): Likewise.
59429         [C99-based-standards] (PRIi16): Likewise.
59430         [C99-based-standards] (PRIo16): Likewise.
59431         [C99-based-standards] (PRIu16): Likewise.
59432         [C99-based-standards] (PRIx16): Likewise.
59433         [C99-based-standards] (PRIX16): Likewise.
59434         [C99-based-standards] (SCNd16): Likewise.
59435         [C99-based-standards] (SCNi16): Likewise.
59436         [C99-based-standards] (SCNo16): Likewise.
59437         [C99-based-standards] (SCNu16): Likewise.
59438         [C99-based-standards] (SCNx16): Likewise.
59439         [C99-based-standards] (PRIdLEAST16): Likewise.
59440         [C99-based-standards] (PRIiLEAST16): Likewise.
59441         [C99-based-standards] (PRIoLEAST16): Likewise.
59442         [C99-based-standards] (PRIuLEAST16): Likewise.
59443         [C99-based-standards] (PRIxLEAST16): Likewise.
59444         [C99-based-standards] (PRIXLEAST16): Likewise.
59445         [C99-based-standards] (SCNdLEAST16): Likewise.
59446         [C99-based-standards] (SCNiLEAST16): Likewise.
59447         [C99-based-standards] (SCNoLEAST16): Likewise.
59448         [C99-based-standards] (SCNuLEAST16): Likewise.
59449         [C99-based-standards] (SCNxLEAST16): Likewise.
59450         [C99-based-standards] (PRIdFAST16): Likewise.
59451         [C99-based-standards] (PRIiFAST16): Likewise.
59452         [C99-based-standards] (PRIoFAST16): Likewise.
59453         [C99-based-standards] (PRIuFAST16): Likewise.
59454         [C99-based-standards] (PRIxFAST16): Likewise.
59455         [C99-based-standards] (PRIXFAST16): Likewise.
59456         [C99-based-standards] (SCNdFAST16): Likewise.
59457         [C99-based-standards] (SCNiFAST16): Likewise.
59458         [C99-based-standards] (SCNoFAST16): Likewise.
59459         [C99-based-standards] (SCNuFAST16): Likewise.
59460         [C99-based-standards] (SCNxFAST16): Likewise.
59461         [C99-based-standards] (PRId32): Likewise.
59462         [C99-based-standards] (PRIi32): Likewise.
59463         [C99-based-standards] (PRIo32): Likewise.
59464         [C99-based-standards] (PRIu32): Likewise.
59465         [C99-based-standards] (PRIx32): Likewise.
59466         [C99-based-standards] (PRIX32): Likewise.
59467         [C99-based-standards] (SCNd32): Likewise.
59468         [C99-based-standards] (SCNi32): Likewise.
59469         [C99-based-standards] (SCNo32): Likewise.
59470         [C99-based-standards] (SCNu32): Likewise.
59471         [C99-based-standards] (SCNx32): Likewise.
59472         [C99-based-standards] (PRIdLEAST32): Likewise.
59473         [C99-based-standards] (PRIiLEAST32): Likewise.
59474         [C99-based-standards] (PRIoLEAST32): Likewise.
59475         [C99-based-standards] (PRIuLEAST32): Likewise.
59476         [C99-based-standards] (PRIxLEAST32): Likewise.
59477         [C99-based-standards] (PRIXLEAST32): Likewise.
59478         [C99-based-standards] (SCNdLEAST32): Likewise.
59479         [C99-based-standards] (SCNiLEAST32): Likewise.
59480         [C99-based-standards] (SCNoLEAST32): Likewise.
59481         [C99-based-standards] (SCNuLEAST32): Likewise.
59482         [C99-based-standards] (SCNxLEAST32): Likewise.
59483         [C99-based-standards] (PRIdFAST32): Likewise.
59484         [C99-based-standards] (PRIiFAST32): Likewise.
59485         [C99-based-standards] (PRIoFAST32): Likewise.
59486         [C99-based-standards] (PRIuFAST32): Likewise.
59487         [C99-based-standards] (PRIxFAST32): Likewise.
59488         [C99-based-standards] (PRIXFAST32): Likewise.
59489         [C99-based-standards] (SCNdFAST32): Likewise.
59490         [C99-based-standards] (SCNiFAST32): Likewise.
59491         [C99-based-standards] (SCNoFAST32): Likewise.
59492         [C99-based-standards] (SCNuFAST32): Likewise.
59493         [C99-based-standards] (SCNxFAST32): Likewise.
59494         [C99-based-standards] (PRId64): Likewise.
59495         [C99-based-standards] (PRIi64): Likewise.
59496         [C99-based-standards] (PRIo64): Likewise.
59497         [C99-based-standards] (PRIu64): Likewise.
59498         [C99-based-standards] (PRIx64): Likewise.
59499         [C99-based-standards] (PRIX64): Likewise.
59500         [C99-based-standards] (SCNd64): Likewise.
59501         [C99-based-standards] (SCNi64): Likewise.
59502         [C99-based-standards] (SCNo64): Likewise.
59503         [C99-based-standards] (SCNu64): Likewise.
59504         [C99-based-standards] (SCNx64): Likewise.
59505         [C99-based-standards] (PRIdLEAST64): Likewise.
59506         [C99-based-standards] (PRIiLEAST64): Likewise.
59507         [C99-based-standards] (PRIoLEAST64): Likewise.
59508         [C99-based-standards] (PRIuLEAST64): Likewise.
59509         [C99-based-standards] (PRIxLEAST64): Likewise.
59510         [C99-based-standards] (PRIXLEAST64): Likewise.
59511         [C99-based-standards] (SCNdLEAST64): Likewise.
59512         [C99-based-standards] (SCNiLEAST64): Likewise.
59513         [C99-based-standards] (SCNoLEAST64): Likewise.
59514         [C99-based-standards] (SCNuLEAST64): Likewise.
59515         [C99-based-standards] (SCNxLEAST64): Likewise.
59516         [C99-based-standards] (PRIdFAST64): Likewise.
59517         [C99-based-standards] (PRIiFAST64): Likewise.
59518         [C99-based-standards] (PRIoFAST64): Likewise.
59519         [C99-based-standards] (PRIuFAST64): Likewise.
59520         [C99-based-standards] (PRIxFAST64): Likewise.
59521         [C99-based-standards] (PRIXFAST64): Likewise.
59522         [C99-based-standards] (SCNdFAST64): Likewise.
59523         [C99-based-standards] (SCNiFAST64): Likewise.
59524         [C99-based-standards] (SCNoFAST64): Likewise.
59525         [C99-based-standards] (SCNuFAST64): Likewise.
59526         [C99-based-standards] (SCNxFAST64): Likewise.
59527         [C99-based-standards] (PRIdMAX): Likewise.
59528         [C99-based-standards] (PRIiMAX): Likewise.
59529         [C99-based-standards] (PRIoMAX): Likewise.
59530         [C99-based-standards] (PRIuMAX): Likewise.
59531         [C99-based-standards] (PRIxMAX): Likewise.
59532         [C99-based-standards] (PRIXMAX): Likewise.
59533         [C99-based-standards] (SCNdMAX): Likewise.
59534         [C99-based-standards] (SCNiMAX): Likewise.
59535         [C99-based-standards] (SCNoMAX): Likewise.
59536         [C99-based-standards] (SCNuMAX): Likewise.
59537         [C99-based-standards] (SCNxMAX): Likewise.
59538         [C99-based-standards] (PRIdPTR): Likewise.
59539         [C99-based-standards] (PRIiPTR): Likewise.
59540         [C99-based-standards] (PRIoPTR): Likewise.
59541         [C99-based-standards] (PRIuPTR): Likewise.
59542         [C99-based-standards] (PRIxPTR): Likewise.
59543         [C99-based-standards] (PRIXPTR): Likewise.
59544         [C99-based-standards] (SCNdPTR): Likewise.
59545         [C99-based-standards] (SCNiPTR): Likewise.
59546         [C99-based-standards] (SCNoPTR): Likewise.
59547         [C99-based-standards] (SCNuPTR): Likewise.
59548         [C99-based-standards] (SCNxPTR): Likewise.
59549         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59550         allow.
59551         * conform/data/stdint.h-data: Update comments to clarify
59552         requirements.
59553         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59554         type.
59555         [C99-based standards] (INT8_MAX): Likewise.
59556         [C99-based standards] (INT16_MIN): Likewise.
59557         [C99-based standards] (INT16_MAX): Likewise.
59558         [C99-based standards] (INT32_MIN): Likewise.
59559         [C99-based standards] (INT32_MAX): Likewise.
59560         [C99-based standards] (INT64_MIN): Likewise.
59561         [C99-based standards] (INT64_MAX): Likewise.
59562         [C99-based standards] (UINT8_MAX): Likewise.
59563         [C99-based standards] (UINT16_MAX): Likewise.
59564         [C99-based standards] (UINT32_MAX): Likewise.
59565         [C99-based standards] (UINT64_MAX): Likewise.
59566         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59567         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59568         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59569         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59570         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59571         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59572         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59573         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59574         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59575         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59576         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59577         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59578         [C99-based standards] (INT_FAST8_MIN): Likewise.
59579         [C99-based standards] (INT_FAST8_MAX): Likewise.
59580         [C99-based standards] (INT_FAST16_MIN): Likewise.
59581         [C99-based standards] (INT_FAST16_MAX): Likewise.
59582         [C99-based standards] (INT_FAST32_MIN): Likewise.
59583         [C99-based standards] (INT_FAST32_MAX): Likewise.
59584         [C99-based standards] (INT_FAST64_MIN): Likewise.
59585         [C99-based standards] (INT_FAST64_MAX): Likewise.
59586         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59587         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59588         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59589         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59590         [C99-based standards] (INTPTR_MIN): Likewise.
59591         [C99-based standards] (INTPTR_MAX): Likewise.
59592         [C99-based standards] (UINTPTR_MAX): Likewise.
59593         [C99-based standards] (INTMAX_MIN): Likewise.
59594         [C99-based standards] (INTMAX_MAX): Likewise.
59595         [C99-based standards] (UINTMAX_MAX): Likewise.
59596         [C99-based standards] (PTRDIFF_MIN): Likewise.
59597         [C99-based standards] (PTRDIFF_MAX): Likewise.
59598         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59599         [C99-based standards] (SIZE_MAX): Likewise.
59600         [C99-based standards] (WCHAR_MAX): Likewise.
59601         [C99-based standards] (WINT_MAX): Likewise.
59602         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59603         constraint on value.
59604         [C99-based standards] (WCHAR_MIN): Likewise.
59605         [C99-based standards] (WINT_MIN): Likewise.
59606         [C99-based standards] (*_t): Allow.
59607         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59608         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59609         Include math.h-data and complex.h-data.  Remove all expectations
59610         of math.h and complex.h contents.
59611         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59612         at end of line.
59613         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59614         (struct tm): Expect tag.
59615         [C99-based-standards] (wcstof): Expect function.
59616         [C99-based-standards] (wcstold): Likewise.
59617         [C99-based-standards] (wcstoll): Likewise.
59618         [C99-based-standards] (wcstoull): Likewise.
59619         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59620         macro-int-constant.  Specify type.
59621         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59622         constraint on value.
59623         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59624         Specify type.
59625         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59626         Specify value.
59627         [ISO C standards]: Do not allow headers.
59628         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59629         wcs[abcdefghijklmnopqrstuvwxyz]*.
59630         [ISO C standards] (*_t): Do not allow.
59631         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59632         Expect function.
59633         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59634         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59635         Specify type.
59636         [ISO C standards]: Do not allow headers.
59637         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59638         is[abcdefghijklmnopqrstuvwxyz]*.
59639         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59640         to[abcdefghijklmnopqrstuvwxyz]*.
59641         [ISO C standards] (*_t): Do not allow.
59642         * conform/data/stdalign.h-data: New file.
59643         * conform/data/stdbool.h-data: Likewise.
59644         * conform/data/stdnoreturn.h-data: Likewise.
59646 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59648         [BZ #14815]
59649         * manual/filesys.texi (Directory Entries): Typo fix.
59650         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59652 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59654         * elf/elf.h (EM_AARCH64): New macro.
59655         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59656         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59657         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59658         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59659         (R_AARCH64_TLSDESC): Likewise.
59660         (NT_ARM_TLS): Likewise.
59661         (NT_ARM_HW_BREAK): Likewise.
59662         (NT_ARM_HW_WATCH): Likewise.
59664 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59666         [BZ #14811]
59667         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59668         (__ieee754_powl): Saturate nonzero exponents with absolute value
59669         below 0x1p-79 to +/- 0x1p-79.
59670         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59671         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59672         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59673         nonzero exponents with absolute value below 0x1p-32 to +/-
59674         0x1p-32.
59675         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59676         (__ieee754_powl): Saturate nonzero exponents with absolute value
59677         below 0x1p-79 to +/- 0x1p-79.
59678         * math/libm-test.inc (pow_test): Add more tests.
59680 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59682         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59683         _dl_s390_cap_flags with kernel. Increase string length.
59684         (_dl_s390_platforms): Add z196 and zEC12.
59686 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59688         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59689         Change XOPEN21K to XOPEN2K.
59691 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59693         * string/memmove.c: Use memcpy when possible.
59695 2012-11-06  Andreas Jaeger  <aj@suse.de>
59697         * po/eo.po: Update from translation team.
59699 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59701         [BZ #14793]
59702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59703         exponent and small x and y exponents, scale x or y up.  Increase
59704         by 2 the exponent used in scaling up.
59705         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59706         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59707         * math/libm-test.inc (fma_test): Add more tests.
59708         (fma_test_towardzero): Likewise.
59709         (fma_test_downward): Likewise.
59710         (fma_test_upward): Likewise.
59712 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59714         [BZ #14805]
59715         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59716         fenv_t *.
59718         [BZ #14801]
59719         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59720         namespace for names of struct fields.
59721         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59722         fenv_t fields.
59723         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59724         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59726 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59728         [BZ #3665]
59729         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59731 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59733         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59734         PTR_DEMANGLE.
59736         [BZ #5246]
59737         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59738         PTR_DEMANGLE.
59740 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59742         [BZ #14797]
59743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59744         definitely overflow as x * y not x * y + z.
59745         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59747         * math/libm-test.inc (fma_test): Add more tests.
59748         (fma_test_towardzero): Likewise.
59749         (fma_test_downward): Likewise.
59750         (fma_test_upward): Likewise.
59752 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59754         [BZ #157]
59756         * include/stub-tag.h: Remove file.
59757         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59758         '#include' of it.
59759         * manual/maint.texi (Porting): Don't reference it.
59760         * Makerules ($(objpfx)stubs): Likewise.
59761         * dirent/closedir.c: Don't include <stub-tag.h>.
59762         * dirent/dirfd.c: Likewise.
59763         * dirent/fdopendir.c: Likewise.
59764         * dirent/getdents.c: Likewise.
59765         * dirent/getdents64.c: Likewise.
59766         * dirent/opendir.c: Likewise.
59767         * dirent/readdir.c: Likewise.
59768         * dirent/readdir64.c: Likewise.
59769         * dirent/readdir64_r.c: Likewise.
59770         * dirent/readdir_r.c: Likewise.
59771         * dirent/rewinddir.c: Likewise.
59772         * dirent/seekdir.c: Likewise.
59773         * dirent/telldir.c: Likewise.
59774         * gmon/profil.c: Likewise.
59775         * grp/setgroups.c: Likewise.
59776         * inet/if_index.c: Likewise.
59777         * io/access.c: Likewise.
59778         * io/chdir.c: Likewise.
59779         * io/chmod.c: Likewise.
59780         * io/chown.c: Likewise.
59781         * io/close.c: Likewise.
59782         * io/dup.c: Likewise.
59783         * io/dup2.c: Likewise.
59784         * io/dup3.c: Likewise.
59785         * io/euidaccess.c: Likewise.
59786         * io/faccessat.c: Likewise.
59787         * io/fchdir.c: Likewise.
59788         * io/fchmod.c: Likewise.
59789         * io/fchmodat.c: Likewise.
59790         * io/fchown.c: Likewise.
59791         * io/fchownat.c: Likewise.
59792         * io/fcntl.c: Likewise.
59793         * io/flock.c: Likewise.
59794         * io/fstatfs.c: Likewise.
59795         * io/fstatfs64.c: Likewise.
59796         * io/fstatvfs.c: Likewise.
59797         * io/fstatvfs64.c: Likewise.
59798         * io/futimens.c: Likewise.
59799         * io/fxstat.c: Likewise.
59800         * io/fxstat64.c: Likewise.
59801         * io/fxstatat.c: Likewise.
59802         * io/fxstatat64.c: Likewise.
59803         * io/getcwd.c: Likewise.
59804         * io/isatty.c: Likewise.
59805         * io/lchmod.c: Likewise.
59806         * io/lchown.c: Likewise.
59807         * io/link.c: Likewise.
59808         * io/linkat.c: Likewise.
59809         * io/lseek.c: Likewise.
59810         * io/lseek64.c: Likewise.
59811         * io/lxstat64.c: Likewise.
59812         * io/mkdir.c: Likewise.
59813         * io/mkdirat.c: Likewise.
59814         * io/mkfifo.c: Likewise.
59815         * io/mkfifoat.c: Likewise.
59816         * io/open.c: Likewise.
59817         * io/open64.c: Likewise.
59818         * io/openat.c: Likewise.
59819         * io/openat64.c: Likewise.
59820         * io/pipe.c: Likewise.
59821         * io/pipe2.c: Likewise.
59822         * io/poll.c: Likewise.
59823         * io/posix_fadvise.c: Likewise.
59824         * io/posix_fadvise64.c: Likewise.
59825         * io/posix_fallocate.c: Likewise.
59826         * io/posix_fallocate64.c: Likewise.
59827         * io/read.c: Likewise.
59828         * io/readlink.c: Likewise.
59829         * io/readlinkat.c: Likewise.
59830         * io/rmdir.c: Likewise.
59831         * io/sendfile.c: Likewise.
59832         * io/sendfile64.c: Likewise.
59833         * io/statfs.c: Likewise.
59834         * io/statfs64.c: Likewise.
59835         * io/statvfs.c: Likewise.
59836         * io/statvfs64.c: Likewise.
59837         * io/symlink.c: Likewise.
59838         * io/symlinkat.c: Likewise.
59839         * io/ttyname.c: Likewise.
59840         * io/ttyname_r.c: Likewise.
59841         * io/umask.c: Likewise.
59842         * io/unlink.c: Likewise.
59843         * io/unlinkat.c: Likewise.
59844         * io/utime.c: Likewise.
59845         * io/utimensat.c: Likewise.
59846         * io/write.c: Likewise.
59847         * io/xmknod.c: Likewise.
59848         * io/xmknodat.c: Likewise.
59849         * io/xstat.c: Likewise.
59850         * io/xstat64.c: Likewise.
59851         * login/getpt.c: Likewise.
59852         * login/grantpt.c: Likewise.
59853         * login/unlockpt.c: Likewise.
59854         * math/e_acoshl.c: Likewise.
59855         * math/e_acosl.c: Likewise.
59856         * math/e_asinl.c: Likewise.
59857         * math/e_atan2l.c: Likewise.
59858         * math/e_atanhl.c: Likewise.
59859         * math/e_coshl.c: Likewise.
59860         * math/e_expl.c: Likewise.
59861         * math/e_fmodl.c: Likewise.
59862         * math/e_gammal_r.c: Likewise.
59863         * math/e_hypotl.c: Likewise.
59864         * math/e_j0l.c: Likewise.
59865         * math/e_j1l.c: Likewise.
59866         * math/e_jnl.c: Likewise.
59867         * math/e_lgammal_r.c: Likewise.
59868         * math/e_log10l.c: Likewise.
59869         * math/e_log2l.c: Likewise.
59870         * math/e_logl.c: Likewise.
59871         * math/e_powl.c: Likewise.
59872         * math/e_rem_pio2l.c: Likewise.
59873         * math/e_sinhl.c: Likewise.
59874         * math/e_sqrtl.c: Likewise.
59875         * math/fclrexcpt.c: Likewise.
59876         * math/fedisblxcpt.c: Likewise.
59877         * math/feenablxcpt.c: Likewise.
59878         * math/fegetenv.c: Likewise.
59879         * math/fegetexcept.c: Likewise.
59880         * math/fegetround.c: Likewise.
59881         * math/feholdexcpt.c: Likewise.
59882         * math/fesetenv.c: Likewise.
59883         * math/fesetround.c: Likewise.
59884         * math/feupdateenv.c: Likewise.
59885         * math/fgetexcptflg.c: Likewise.
59886         * math/fraiseexcpt.c: Likewise.
59887         * math/fsetexcptflg.c: Likewise.
59888         * math/ftestexcept.c: Likewise.
59889         * math/k_cosl.c: Likewise.
59890         * math/k_rem_pio2l.c: Likewise.
59891         * math/k_sinl.c: Likewise.
59892         * math/k_tanl.c: Likewise.
59893         * math/s_asinhl.c: Likewise.
59894         * math/s_atanl.c: Likewise.
59895         * math/s_cbrtl.c: Likewise.
59896         * math/s_erfl.c: Likewise.
59897         * math/s_expm1l.c: Likewise.
59898         * math/s_log1pl.c: Likewise.
59899         * math/s_tanhl.c: Likewise.
59900         * misc/acct.c: Likewise.
59901         * misc/brk.c: Likewise.
59902         * misc/chflags.c: Likewise.
59903         * misc/chroot.c: Likewise.
59904         * misc/fchflags.c: Likewise.
59905         * misc/fgetxattr.c: Likewise.
59906         * misc/flistxattr.c: Likewise.
59907         * misc/fremovexattr.c: Likewise.
59908         * misc/fsetxattr.c: Likewise.
59909         * misc/fsync.c: Likewise.
59910         * misc/ftruncate.c: Likewise.
59911         * misc/futimes.c: Likewise.
59912         * misc/futimesat.c: Likewise.
59913         * misc/getdomain.c: Likewise.
59914         * misc/getdtsz.c: Likewise.
59915         * misc/gethostid.c: Likewise.
59916         * misc/gethostname.c: Likewise.
59917         * misc/getloadavg.c: Likewise.
59918         * misc/getpagesize.c: Likewise.
59919         * misc/getsysstats.c: Likewise.
59920         * misc/getxattr.c: Likewise.
59921         * misc/gtty.c: Likewise.
59922         * misc/ioctl.c: Likewise.
59923         * misc/lgetxattr.c: Likewise.
59924         * misc/listxattr.c: Likewise.
59925         * misc/llistxattr.c: Likewise.
59926         * misc/lremovexattr.c: Likewise.
59927         * misc/lsetxattr.c: Likewise.
59928         * misc/lutimes.c: Likewise.
59929         * misc/madvise.c: Likewise.
59930         * misc/mincore.c: Likewise.
59931         * misc/mlock.c: Likewise.
59932         * misc/mlockall.c: Likewise.
59933         * misc/mmap.c: Likewise.
59934         * misc/mprotect.c: Likewise.
59935         * misc/msync.c: Likewise.
59936         * misc/munlock.c: Likewise.
59937         * misc/munlockall.c: Likewise.
59938         * misc/munmap.c: Likewise.
59939         * misc/preadv.c: Likewise.
59940         * misc/preadv64.c: Likewise.
59941         * misc/ptrace.c: Likewise.
59942         * misc/pwritev.c: Likewise.
59943         * misc/pwritev64.c: Likewise.
59944         * misc/readv.c: Likewise.
59945         * misc/reboot.c: Likewise.
59946         * misc/remap_file_pages.c: Likewise.
59947         * misc/removexattr.c: Likewise.
59948         * misc/revoke.c: Likewise.
59949         * misc/select.c: Likewise.
59950         * misc/setdomain.c: Likewise.
59951         * misc/setegid.c: Likewise.
59952         * misc/seteuid.c: Likewise.
59953         * misc/sethostid.c: Likewise.
59954         * misc/sethostname.c: Likewise.
59955         * misc/setregid.c: Likewise.
59956         * misc/setreuid.c: Likewise.
59957         * misc/setxattr.c: Likewise.
59958         * misc/sstk.c: Likewise.
59959         * misc/stty.c: Likewise.
59960         * misc/swapoff.c: Likewise.
59961         * misc/swapon.c: Likewise.
59962         * misc/sync.c: Likewise.
59963         * misc/syncfs.c: Likewise.
59964         * misc/syscall.c: Likewise.
59965         * misc/truncate.c: Likewise.
59966         * misc/ualarm.c: Likewise.
59967         * misc/usleep.c: Likewise.
59968         * misc/ustat.c: Likewise.
59969         * misc/utimes.c: Likewise.
59970         * misc/vhangup.c: Likewise.
59971         * misc/writev.c: Likewise.
59972         * posix/_exit.c: Likewise.
59973         * posix/alarm.c: Likewise.
59974         * posix/execve.c: Likewise.
59975         * posix/fexecve.c: Likewise.
59976         * posix/fork.c: Likewise.
59977         * posix/fpathconf.c: Likewise.
59978         * posix/getaddrinfo.c: Likewise.
59979         * posix/getegid.c: Likewise.
59980         * posix/geteuid.c: Likewise.
59981         * posix/getgid.c: Likewise.
59982         * posix/getgroups.c: Likewise.
59983         * posix/getlogin.c: Likewise.
59984         * posix/getlogin_r.c: Likewise.
59985         * posix/getpgid.c: Likewise.
59986         * posix/getpid.c: Likewise.
59987         * posix/getppid.c: Likewise.
59988         * posix/getresgid.c: Likewise.
59989         * posix/getresuid.c: Likewise.
59990         * posix/getsid.c: Likewise.
59991         * posix/getuid.c: Likewise.
59992         * posix/glob64.c: Likewise.
59993         * posix/nanosleep.c: Likewise.
59994         * posix/pathconf.c: Likewise.
59995         * posix/pause.c: Likewise.
59996         * posix/posix_madvise.c: Likewise.
59997         * posix/pread.c: Likewise.
59998         * posix/pread64.c: Likewise.
59999         * posix/pwrite.c: Likewise.
60000         * posix/pwrite64.c: Likewise.
60001         * posix/sched_getaffinity.c: Likewise.
60002         * posix/sched_getp.c: Likewise.
60003         * posix/sched_gets.c: Likewise.
60004         * posix/sched_primax.c: Likewise.
60005         * posix/sched_primin.c: Likewise.
60006         * posix/sched_rr_gi.c: Likewise.
60007         * posix/sched_setaffinity.c: Likewise.
60008         * posix/sched_setp.c: Likewise.
60009         * posix/sched_sets.c: Likewise.
60010         * posix/sched_yield.c: Likewise.
60011         * posix/setgid.c: Likewise.
60012         * posix/setlogin.c: Likewise.
60013         * posix/setpgid.c: Likewise.
60014         * posix/setresgid.c: Likewise.
60015         * posix/setresuid.c: Likewise.
60016         * posix/setsid.c: Likewise.
60017         * posix/setuid.c: Likewise.
60018         * posix/sleep.c: Likewise.
60019         * posix/spawni.c: Likewise.
60020         * posix/sysconf.c: Likewise.
60021         * posix/times.c: Likewise.
60022         * posix/wait.c: Likewise.
60023         * posix/wait3.c: Likewise.
60024         * posix/wait4.c: Likewise.
60025         * posix/waitpid.c: Likewise.
60026         * resolv/gai_sigqueue.c: Likewise.
60027         * resource/getpriority.c: Likewise.
60028         * resource/getrlimit.c: Likewise.
60029         * resource/getrusage.c: Likewise.
60030         * resource/nice.c: Likewise.
60031         * resource/setpriority.c: Likewise.
60032         * resource/setrlimit.c: Likewise.
60033         * resource/ulimit.c: Likewise.
60034         * rt/aio_cancel.c: Likewise.
60035         * rt/aio_fsync.c: Likewise.
60036         * rt/aio_read.c: Likewise.
60037         * rt/aio_sigqueue.c: Likewise.
60038         * rt/aio_suspend.c: Likewise.
60039         * rt/aio_write.c: Likewise.
60040         * rt/clock_getres.c: Likewise.
60041         * rt/clock_gettime.c: Likewise.
60042         * rt/clock_nanosleep.c: Likewise.
60043         * rt/clock_settime.c: Likewise.
60044         * rt/lio_listio.c: Likewise.
60045         * rt/mq_close.c: Likewise.
60046         * rt/mq_getattr.c: Likewise.
60047         * rt/mq_notify.c: Likewise.
60048         * rt/mq_open.c: Likewise.
60049         * rt/mq_receive.c: Likewise.
60050         * rt/mq_send.c: Likewise.
60051         * rt/mq_setattr.c: Likewise.
60052         * rt/mq_timedreceive.c: Likewise.
60053         * rt/mq_timedsend.c: Likewise.
60054         * rt/mq_unlink.c: Likewise.
60055         * rt/shm_open.c: Likewise.
60056         * rt/shm_unlink.c: Likewise.
60057         * rt/timer_create.c: Likewise.
60058         * rt/timer_delete.c: Likewise.
60059         * rt/timer_getoverr.c: Likewise.
60060         * rt/timer_gettime.c: Likewise.
60061         * rt/timer_settime.c: Likewise.
60062         * setjmp/__longjmp.c: Likewise.
60063         * setjmp/setjmp.c: Likewise.
60064         * signal/kill.c: Likewise.
60065         * signal/killpg.c: Likewise.
60066         * signal/raise.c: Likewise.
60067         * signal/sigaction.c: Likewise.
60068         * signal/sigaltstack.c: Likewise.
60069         * signal/sigblock.c: Likewise.
60070         * signal/sigignore.c: Likewise.
60071         * signal/sigintr.c: Likewise.
60072         * signal/signal.c: Likewise.
60073         * signal/sigpause.c: Likewise.
60074         * signal/sigpending.c: Likewise.
60075         * signal/sigqueue.c: Likewise.
60076         * signal/sigreturn.c: Likewise.
60077         * signal/sigset.c: Likewise.
60078         * signal/sigsetmask.c: Likewise.
60079         * signal/sigstack.c: Likewise.
60080         * signal/sigsuspend.c: Likewise.
60081         * signal/sigtimedwait.c: Likewise.
60082         * signal/sigvec.c: Likewise.
60083         * signal/sigwait.c: Likewise.
60084         * signal/sigwaitinfo.c: Likewise.
60085         * signal/sysv_signal.c: Likewise.
60086         * socket/accept.c: Likewise.
60087         * socket/accept4.c: Likewise.
60088         * socket/bind.c: Likewise.
60089         * socket/connect.c: Likewise.
60090         * socket/getpeername.c: Likewise.
60091         * socket/getsockname.c: Likewise.
60092         * socket/getsockopt.c: Likewise.
60093         * socket/isfdtype.c: Likewise.
60094         * socket/listen.c: Likewise.
60095         * socket/recv.c: Likewise.
60096         * socket/recvfrom.c: Likewise.
60097         * socket/recvmsg.c: Likewise.
60098         * socket/send.c: Likewise.
60099         * socket/sendmsg.c: Likewise.
60100         * socket/sendto.c: Likewise.
60101         * socket/setsockopt.c: Likewise.
60102         * socket/shutdown.c: Likewise.
60103         * socket/sockatmark.c: Likewise.
60104         * socket/socket.c: Likewise.
60105         * socket/socketpair.c: Likewise.
60106         * stdio-common/ctermid.c: Likewise.
60107         * stdio-common/cuserid.c: Likewise.
60108         * stdio-common/remove.c: Likewise.
60109         * stdio-common/rename.c: Likewise.
60110         * stdio-common/renameat.c: Likewise.
60111         * stdio-common/tempname.c: Likewise.
60112         * stdlib/getcontext.c: Likewise.
60113         * stdlib/makecontext.c: Likewise.
60114         * stdlib/setcontext.c: Likewise.
60115         * stdlib/swapcontext.c: Likewise.
60116         * stdlib/system.c: Likewise.
60117         * streams/fattach.c: Likewise.
60118         * streams/fdetach.c: Likewise.
60119         * streams/getmsg.c: Likewise.
60120         * streams/getpmsg.c: Likewise.
60121         * streams/putmsg.c: Likewise.
60122         * streams/putpmsg.c: Likewise.
60123         * sysdeps/unix/bsd/getpt.c: Likewise.
60124         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60125         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60126         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60128         Likewise.
60129         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60130         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60131         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60132         * sysvipc/msgctl.c: Likewise.
60133         * sysvipc/msgget.c: Likewise.
60134         * sysvipc/msgrcv.c: Likewise.
60135         * sysvipc/msgsnd.c: Likewise.
60136         * sysvipc/semctl.c: Likewise.
60137         * sysvipc/semget.c: Likewise.
60138         * sysvipc/semop.c: Likewise.
60139         * sysvipc/semtimedop.c: Likewise.
60140         * sysvipc/shmat.c: Likewise.
60141         * sysvipc/shmctl.c: Likewise.
60142         * sysvipc/shmdt.c: Likewise.
60143         * sysvipc/shmget.c: Likewise.
60144         * termios/tcdrain.c: Likewise.
60145         * termios/tcflow.c: Likewise.
60146         * termios/tcflush.c: Likewise.
60147         * termios/tcgetattr.c: Likewise.
60148         * termios/tcgetpgrp.c: Likewise.
60149         * termios/tcsendbrk.c: Likewise.
60150         * termios/tcsetattr.c: Likewise.
60151         * termios/tcsetpgrp.c: Likewise.
60152         * time/adjtime.c: Likewise.
60153         * time/clock.c: Likewise.
60154         * time/getitimer.c: Likewise.
60155         * time/gettimeofday.c: Likewise.
60156         * time/setitimer.c: Likewise.
60157         * time/settimeofday.c: Likewise.
60158         * time/stime.c: Likewise.
60159         * time/time.c: Likewise.
60161 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60163         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60164         /usr/old/bin.
60166         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60167         instead of spaces.
60168         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60170 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60172         [BZ #14796]
60173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60174         FE_TONEAREST before applying Dekker multiplication and Knuth
60175         addition.  Clear inexact exceptions and check for exact zero
60176         results afterwards.
60177         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60178         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60179         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60180         * math/libm-test.inc (fma_test): Add more tests.
60181         (fma_test_towardzero): Likewise.
60182         (fma_test_downward): Likewise.
60183         (fma_test_upward): Likewise.
60184         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60185         function.
60186         (libc_fesetround): New macro.
60187         (libc_fesetroundf): Likewise.
60188         (libc_fesetroundl): Likewise.
60189         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60190         function.
60191         (libc_fesetround_387): Likewise.
60192         (libc_fesetroundf): New macro.
60193         (libc_fesetround): Likewise.
60194         (libc_fesetroundl): Likewise.
60195         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60196         function.
60197         (libc_fesetroundf): New macro.
60198         (libc_fesetround): Likewise.
60199         (libc_fesetroundl): Likewise.
60200         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60201         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60202         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60203         libm_hidden_ver.
60204         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60205         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60206         libm_hidden_def.
60207         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60208         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60209         libm_hidden_ver.
60210         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60211         libm_hidden_def.
60213         [BZ #3439]
60214         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60215         integer constant usable in #if and use that to give value to enum
60216         constant.
60217         (FE_DIVBYZERO): Likewise.
60218         (FE_UNDERFLOW): Likewise.
60219         (FE_OVERFLOW): Likewise.
60220         (FE_INVALID): Likewise.
60221         (FE_INVALID_SNAN): Likewise.
60222         (FE_INVALID_ISI): Likewise.
60223         (FE_INVALID_IDI): Likewise.
60224         (FE_INVALID_ZDZ): Likewise.
60225         (FE_INVALID_IMZ): Likewise.
60226         (FE_INVALID_COMPARE): Likewise.
60227         (FE_INVALID_SOFTWARE): Likewise.
60228         (FE_INVALID_SQRT): Likewise.
60229         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60230         (FE_TONEAREST): Likewise.
60231         (FE_TOWARDZERO): Likewise.
60232         (FE_UPWARD): Likewise.
60233         (FE_DOWNWARD): Likewise.
60234         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60235         (FE_DIVBYZERO): Likewise.
60236         (FE_OVERFLOW): Likewise.
60237         (FE_UNDERFLOW): Likewise.
60238         (FE_INEXACT): Likewise.
60239         (FE_TONEAREST): Likewise.
60240         (FE_DOWNWARD): Likewise.
60241         (FE_UPWARD): Likewise.
60242         (FE_TOWARDZERO): Likewise.
60243         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60244         (FE_UNDERFLOW): Likewise.
60245         (FE_OVERFLOW): Likewise.
60246         (FE_DIVBYZERO): Likewise.
60247         (FE_INVALID): Likewise.
60248         (FE_TONEAREST): Likewise.
60249         (FE_TOWARDZERO): Likewise.
60250         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60251         (FE_OVERFLOW): Likewise.
60252         (FE_UNDERFLOW): Likewise.
60253         (FE_DIVBYZERO): Likewise.
60254         (FE_INEXACT): Likewise.
60255         (FE_TONEAREST): Likewise.
60256         (FE_TOWARDZERO): Likewise.
60257         (FE_UPWARD): Likewise.
60258         (FE_DOWNWARD): Likewise.
60259         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60260         (FE_DIVBYZERO): Likewise.
60261         (FE_OVERFLOW): Likewise.
60262         (FE_UNDERFLOW): Likewise.
60263         (FE_INEXACT): Likewise.
60264         (FE_TONEAREST): Likewise.
60265         (FE_DOWNWARD): Likewise.
60266         (FE_UPWARD): Likewise.
60267         (FE_TOWARDZERO): Likewise.
60269 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60271         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60273 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60275         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60276         commands.  Quote $PWD.
60277         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60278         -x" by "export".
60279         (remove_newlines): Remove.
60281 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60283         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60284         * stdlib/stdlib.h (atof): Moved to ...
60285         * include/bits/stdlib-float.h: Here.  New file.
60286         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60287         * stdlib/bits/stdlib-float.h: New file.
60288         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60289         -mno-sse -mno-mmx.
60290         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60291         <xmmintrin.h>.
60293 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60295         * conform/conformtest.pl (@headers): Add fenv.h.
60296         * conform/data/fenv.h-data: New file.
60297         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60298         include of <math/fenv.h>.
60300         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60301         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60302         && !UNIX98].  Enables tests for XOPEN2K8.
60303         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60304         POSIX2008]: Likewise.
60306         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60307         (struct rusage): Do not expect type or its members.
60309         [BZ #3439]
60310         * math/math.h (FP_NAN): Define macro to integer constant usable in
60311         #if and use that to give value to enum constant.
60312         (FP_INFINITE): Likewise.
60313         (FP_ZERO): Likewise.
60314         (FP_SUBNORMAL): Likewise.
60315         (FP_NORMAL): Likewise.
60317 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60319         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60320         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60321         arguments.
60323 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60325         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60326         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60327         autoconf-time if not.
60328         * configure.in: Remove AC_PREREQ.
60330 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60332         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60333         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60334         of the internal implementation.
60336 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60338         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60339         except include of <misc/sys/syslog.h>.
60341 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60344         function returns with a NULL context exit with zero.
60346 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60348         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60350 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60352         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60353         (run_program_cmd): This.
60354         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60355         (tst_langinfo): New variable.  Use it.
60357 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60359         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60360         floating point opcodes.
60362 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60364         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60365         variable.
60367         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60369         * sysdeps/mach/hurd/powerpc: Remove directory.
60370         * sysdeps/mach/powerpc: Likewise.
60372 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60374         * scripts/check-local-headers.sh: Ignore c++ headers.
60376 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60378         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60379         __libc_cleanup_region_start argument.
60381 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60383         [BZ #14784]
60384         [BZ #14785]
60385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60386         x * y using scaling, not as x * y + z.
60387         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60388         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60389         * math/libm-test.inc (fma_test): Add more tests.
60390         (fma_test_towardzero): Likewise.
60391         (fma_test_downward): Likewise.
60392         (fma_test_upward): Likewise.
60394 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60396         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60398 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60400         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60401         New variable.
60403 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60405         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60407 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60410         Fix sort order.
60411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60412         Likewise.
60414 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60417         Fix the order of the list for glibc 2.17.
60418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60419         Likewise.
60421 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60425 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60427         [BZ #14610]
60428         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60429         for low part of x being zero before using __atanl (y).
60430         * math/libm-test.inc (atan2_test): Add another test.
60432         * manual/install.texi (Configuring and compiling): Document
60433         general use of test-wrapper and test-wrapper-env.
60434         * INSTALL: Regenerated.
60436         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60437         (__fma): Do not extract and scale down low bits on after-rounding
60438         systems when result rounded to normal precision would have normal
60439         exponent.
60440         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60441         (__fmal): Do not extract and scale down low bits on after-rounding
60442         systems when result rounded to normal precision would have normal
60443         exponent.
60444         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60445         (__fmal): Do not extract and scale down low bits on after-rounding
60446         systems when result rounded to normal precision would have normal
60447         exponent.
60448         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60449         macro.
60450         (fma_test): Add more tests.
60451         (fma_test_towardzero): Likewise.
60452         (fma_test_downward): Likewise.
60453         (fma_test_upward): Likewise.
60455 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60457         * sysdeps/i386/tininess.h: Renamed to ...
60458         * sysdeps/x86/tininess.h: This.
60459         * sysdeps/x86_64/tininess.h: Removed.
60461 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60463         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60464         input.  Use $(build-program-cmd).
60465         ($(objpfx)tst-array1-static.out): Likewise.
60466         ($(objpfx)tst-array2.out): Likewise.
60467         ($(objpfx)tst-array3.out): Likewise.
60468         ($(objpfx)tst-array4.out): Likewise.
60469         ($(objpfx)tst-array5.out): Likewise.
60470         ($(objpfx)tst-array5-static.out): Likewise.
60472 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60474         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60475         if defined.
60477         * nss/nsswitch.h (nss_interface_function): Provide new
60478         macro for use with NSS functions.
60479         * grp/initgroups.c: Use new macro.
60480         * nss/getXXbyYY.c: Likewise.
60481         * nss/getXXbyYY_r.c: Likewise.
60482         * nss/getXXent.c: Likewise.
60483         * nss/getXXent_r.c: Likewise.
60484         * sysdeps/posix/getaddrinfo.c: Likewise.
60486 2012-10-30  Andreas Jaeger  <aj@suse.de>
60488         * po/ru.po: Update Russion translation from translation project.
60490 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60492         [BZ #14152]
60493         [BZ #14783]
60494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60495         result and shift together with sticky bit instead of replicating
60496         round-to-nearest rounding.
60497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60498         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60499         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60500         missing underflow exceptions.
60501         (fma_test_towardzero): Add more tests.
60502         (fma_test_downward): Likewise.
60503         (fma_test_upward): Likewise.
60505         [BZ #14047]
60506         * sysdeps/generic/tininess.h: New file.
60507         * sysdeps/i386/tininess.h: Likewise.
60508         * sysdeps/sh/tininess.h: Likewise.
60509         * sysdeps/x86_64/tininess.h: Likewise.
60510         * stdlib/tst-strtod-underflow.c: Likewise.
60511         * stdlib/tst-tininess.c: Likewise.
60512         * stdlib/strtod_l.c: Include <tininess.h>.
60513         (round_and_return): Do not set errno for exact underflow cases.
60514         Force an underflow exception when setting errno for underflow.
60515         Determine underflow based on rounding to normal precision if
60516         TININESS_AFTER_ROUNDING.
60517         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60518         ERANGE for exact underflow cases.
60519         * stdlib/Makefile (tests): Add tst-tininess and
60520         tst-strtod-underflow.
60521         ($(objpfx)tst-tininess): Use $(link-libm).
60522         ($(objpfx)tst-strtod-underflow): Likewise.
60524 2012-10-30  Andreas Jaeger  <aj@suse.de>
60526         [BZ#14767]
60527         * elf/Makefile (tests): Remove conditional for have-initfini-array
60528         since this is now always required and the variable does not exist
60529         anymore.
60530         (tests-static): Likewise.
60531         (modules-names): Likewise.
60533         * po/eo.po: Add Esperanto translation from translation project.
60535         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60536         merged with constructor/destructor.
60537         (init_array): Likewise.
60538         * elf/tst-array2dep.c (fini_array): Likewise.
60539         (init_array): Likewise.
60541 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60543         * manual/message.texi: Delete @cartouche tags.
60545 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60547         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60548         EOPNOTSUPP.
60549         * sysdeps/mach/hurd/fsync.c: Likewise.
60551         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60552         [_POSIX_REALTIME_SIGNALS]: Change condition to
60553         [_POSIX_REALTIME_SIGNALS > 0].
60555 2012-10-27  Andreas Jaeger  <aj@suse.de>
60557         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60558         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60559         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60560         [__WORDSIZE != 64]: Likewise.
60562 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60564         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60565         *  iconvdata/tst-tables.sh: Likewise.
60567 2012-10-25  David S. Miller  <davem@davemloft.net>
60569         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60570         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60571         of strtoull.
60573         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60574         ifunc-impl-list.c
60575         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60576         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60577         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60578         file.
60580 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60582         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60583         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60584         __getdirentries.
60586 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60587             Jim Blandy  <jimb@codesourcery.com>
60589         * scripts/cross-test-ssh.sh: New file.
60590         * manual/install.texi (Configuring and compiling): Document use of
60591         cross-test-ssh.sh.
60592         * INSTALL: Regenerated.
60594 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60596         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60597         EOPNOTSUPP.
60599 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60601         * Makeconfig (run-program-prefix): Fix comment.
60603 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60604             Jim Blandy  <jimb@codesourcery.com>
60606         * Makeconfig (test-wrapper): New variable,
60607         (test-wrapper-env): Likewise.
60608         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60609         (run-built-tests): Define to yes.
60610         (run-program-prefix): Use $(test-wrapper).
60611         (built-program-cmd): Likewise.
60612         * Rules (make-test-out): Use $(test-wrapper-env) and
60613         $(host-built-program-cmd).
60614         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60615         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60616         tst-pathopt.sh.
60617         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60618         $(test-wrapper-env) to tst-rtld-load-self.sh.
60619         ($(objpfx)order2.out): Use $(test-wrapper).
60620         ($(objpfx)tst-initorder.out): Likewise.
60621         ($(objpfx)tst-initorder2.out): Likewise.
60622         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60623         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60624         (test_wrapper_env): New variable.  Use it to run ld.so.
60625         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60626         Use it to run ld.so.
60627         (test_wrapper_env): Likewise.
60628         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60629         $(test-wrapper) to run-iconv-test.sh.
60630         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60631         (ICONV): Use $test_wrapper.
60632         * posix/Makefile ($(objpfx)globtest.out): Pass
60633         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60634         globtest.sh, not $(run-program-prefix).
60635         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60636         (test_wrapper): Likewise.
60637         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60638         set together with run_via_rtld_prefix.
60639         (run_program_prefix): Define in terms of test_wrapper and
60640         run_via_rtld_prefix.
60642 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60644         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60645         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60646         Targets removed.
60648         [BZ #14743]
60649         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60650         Declare __clock_getres, __clock_gettime, __clock_settime,
60651         __clock_nanosleep, and __clock_getcpuclockid.
60652         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60653         Remove librt_hidden_def (clock_gettime).
60654         * sysdeps/unix/clock_gettime.c: Likewise.
60655         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60656         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60657         * rt/clock_getres.c: Define __clock_getres as an alias.
60658         * sysdeps/posix/clock_getres.c: Likewise.
60659         * rt/clock_settime.c: Define __clock_settime as an alias.
60660         * sysdeps/unix/clock_settime.c: Likewise.
60661         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60662         * sysdeps/unix/clock_nanosleep.c: Likewise.
60663         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60664         * rt/clock-compat.c: New file.
60665         * rt/Makefile (librt-routines): Add clock-compat and move
60666         $(clock-routines) to ...
60667         (routines): ... here, new variable.
60668         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60669         Don't add get_clockfreq here.
60670         * rt/Versions (libc: GLIBC_2.17): New version set.
60671         Add clock_* symbols here.
60672         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60673         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60674         (GLIBC_2.17): Add clock_* symbols.
60675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60677         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60679         Likewise.
60680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60681         Likewise.
60682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60686         * NEWS: Mention the move.
60688         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60689         Use __open, __read, __close rather than their public counterparts.
60690         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60691         (__get_clockfreq_via_cpuinfo): Likewise.
60692         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60693         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60695         * config.h.in (HAVE_IFUNC): New #undef.
60696         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60697         was successful.
60698         * configure: Regenerated.
60700 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60702         * configure.in: Move READELF check to start of file.
60703         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60704         libc_cv_asm_gnu_indirect_function in the process.
60705         * configure: Regenerated.
60707 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60709         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60710         send the output to /dev/null.
60711         (libc_cv_cc_with_libunwind): Likewise.
60712         (libc_cv_as_noexecstack): Likewise.
60713         * configure: Regenerate.
60715 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60717         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60719         * posix/globtest.sh (TMPDIR): Do not set.
60720         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60721         (testout): Likewise.
60723 2012-10-24  Andreas Jaeger  <aj@suse.de>
60725         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60726         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60727         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60728         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60729         posix_fadvise64, posix_fallocate64.
60731         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60732         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60733         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60734         Likewise.
60735         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60736         Likewise.
60737         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60739         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60740         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60741         <bits/fcntl-linux.h>.
60742         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60744         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60745         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60746         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60747         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60748         [__WORDSIZE != 64]: Likewise.
60750 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60752         * Makeconfig (run-built-tests): New variable.
60753         * Rules [$(cross-compiling) = yes]: Change condition to
60754         [$(run-built-tests) = no].
60755         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60756         to [$(run-built-tests) = yes].
60757         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60758         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60759         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60760         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60761         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60762         * io/Makefile [$(cross-compiling) = no]: Likewise.
60763         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60764         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60765         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60766         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60767         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60768         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60769         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60770         * string/Makefile [$(cross-compiling) = no]: Likewise.
60772         * posix/Makefile ($(objpfx)globtest.out): Pass
60773         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60774         $(rtld-installed-name).
60775         * posix/globtest.sh (elf_objpfx): Remove variable.
60776         (rtld_installed_name): Likewise.
60777         (library_path): Likewise.
60778         (run_program_prefix): New variable.  Use for running globtest
60779         binary.
60781 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60782             Joseph Myers  <joseph@codesourcery.com>
60784         * Makeconfig (host-built-program-cmd): New variable.
60785         * elf/Makefile (tst-stackguard1-ARGS): Use
60786         $(host-built-program-cmd).
60787         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60788         (tst-spawn-ARGS): Likewise.
60789         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60791 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60792             Jim Blandy  <jimb@codesourcery.com>
60794         * Makeconfig (run-via-rtld-prefix): New variable.
60795         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60796         (built-program-cmd): Likewise.
60798 2012-10-22  Andreas Jaeger  <aj@suse.de>
60800         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60801         __O_RSYNC if it exists, otherwise to O_SYNC.
60803 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60804             Joseph Myers  <joseph@codesourcery.com>
60806         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60807         /dev/null.
60808         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60809         from /dev/null
60810         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60811         /dev/null.
60813 2012-10-22  Andreas Jaeger  <aj@suse.de>
60815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60816         Define always.
60817         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60820         bits/fcntl-linux.h.
60822         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60823         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60825         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60826         to __O_LARGEFILE.
60827         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60828         to __O_LARGEFILE.
60830 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60831             Joseph Myers  <joseph@codesourcery.com>
60833         * config.make.in (NM): New variable.
60835 2012-10-21  Andreas Jaeger  <aj@suse.de>
60837         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60838         definitions and declarations that are provided by
60839         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60841 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60843         [BZ #14683]
60844         * elf/Makefile (tests-static): Add tst-leaks1-static.
60845         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60846         ($(objpfx)tst-leaks1-static): New rule.
60847         ($(objpfx)tst-leaks1-static-mem): Likewise.
60848         (tst-leaks1-static-ENV): New macro.
60849         * elf/dl-open.c (dl_open_worker): Check the main application
60850         only if SHARED is defined.
60851         * elf/tst-leaks1-static.c: New file.
60853 2012-10-20  Andreas Jaeger  <aj@suse.de>
60855         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60856         generic values for Linux.
60857         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60858         and declarations that are provided by <bits/fcntl-linux.h> and
60859         include <bits/fcntl-linux.h>.
60860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60863 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60865         * io/fcntl.h: Move include of <bits/types.h> to the top and
60866         include it unconditionally.
60868 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60870         * wcsmbs/Makefile (tests-ifunc): New variable.
60871         (tests): Add $(tests-ifunc).
60872         * wcsmbs/test-wcschr-ifunc.c: New file.
60873         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60874         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60875         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60876         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60877         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60879         * string/Makefile (tests-ifunc): New variable.
60880         (tests): Add $(tests-ifunc).
60881         * string/test-memccpy.c (TEST_NAME): New macro.
60882         * string/test-memchr.c (TEST_NAME): Likewise.
60883         * string/test-memcmp.c (TEST_NAME): Likewise.
60884         * string/test-memcpy.c (TEST_NAME): Likewise.
60885         * string/test-memmem.c (TEST_NAME): Likewise.
60886         * string/test-memmove.c (TEST_NAME): Likewise.
60887         * string/test-memset.c (TEST_NAME): Likewise.
60888         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60889         * string/test-stpcpy.c (TEST_NAME): Likewise.
60890         * string/test-stpncpy.c (TEST_NAME): Likewise.
60891         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60892         * string/test-strcasestr.c (TEST_NAME): Likewise.
60893         * string/test-strcat.c (TEST_NAME): Likewise.
60894         * string/test-strchr.c (TEST_NAME): Likewise.
60895         * string/test-strcmp.c(TEST_NAME): Likewise.
60896         * string/test-strcpy.c (TEST_NAME): Likewise.
60897         * string/test-strcspn.c (TEST_NAME): Likewise.
60898         * string/test-strlen.c (TEST_NAME): Likewise.
60899         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60900         * string/test-strncmp.c (TEST_NAME): Likewise.
60901         * string/test-strncpy.c (TEST_NAME): Likewise.
60902         * string/test-strnlen.c (TEST_NAME): Likewise.
60903         * string/test-strpbrk.c (TEST_NAME): Likewise.
60904         * string/test-strrchr.c (TEST_NAME): Likewise.
60905         * string/test-strspn.c (TEST_NAME): Likewise.
60906         * string/test-strstr.c (TEST_NAME): Likewise.
60907         * string/test-bcopy-ifunc.c: New file.
60908         * string/test-bzero-ifunc.c: Likewise.
60909         * string/test-memccpy-ifunc.c: Likewise.
60910         * string/test-memchr-ifunc.c: Likewise.
60911         * string/test-memcmp-ifunc.c: Likewise.
60912         * string/test-memcpy-ifunc.c: Likewise.
60913         * string/test-memmem-ifunc.c: Likewise.
60914         * string/test-memmove-ifunc.c: Likewise.
60915         * string/test-mempcpy-ifunc.c: Likewise.
60916         * string/test-memset-ifunc.c: Likewise.
60917         * string/test-rawmemchr-ifunc.c: Likewise.
60918         * string/test-stpcpy-ifunc.c: Likewise.
60919         * string/test-stpncpy-ifunc.c: Likewise.
60920         * string/test-strcasecmp-ifunc.c: Likewise.
60921         * string/test-strcasestr-ifunc.c: Likewise.
60922         * string/test-strcat-ifunc.c: Likewise.
60923         * string/test-strchr-ifunc.c: Likewise.
60924         * string/test-strchrnul-ifunc.c: Likewise.
60925         * string/test-strcmp-ifunc.c: Likewise.
60926         * string/test-strcpy-ifunc.c: Likewise.
60927         * string/test-strcspn-ifunc.c: Likewise.
60928         * string/test-strlen-ifunc.c: Likewise.
60929         * string/test-strncasecmp-ifunc.c: Likewise.
60930         * string/test-strncat-ifunc.c: Likewise.
60931         * string/test-strncmp-ifunc.c: Likewise.
60932         * string/test-strncpy-ifunc.c: Likewise.
60933         * string/test-strnlen-ifunc.c: Likewise.
60934         * string/test-strpbrk-ifunc.c: Likewise.
60935         * string/test-strrchr-ifunc.c: Likewise.
60936         * string/test-strspn-ifunc.c: Likewise.
60937         * string/test-strstr-ifunc.c: Likewise.
60939         * debug/Makefile (tests-ifunc): New variable.
60940         (tests): Add $(tests-ifunc).
60941         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60942         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60943         * debug/test-stpcpy_chk-ifunc.c: New file.
60944         * debug/test-strcpy_chk-ifunc.c: Likewise.
60946 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60948         [BZ #13601]
60949         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60950         header is not read in.
60952 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60954         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60955         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60956         directly.  Pass built executable to script as
60957         $(built-program-cmd).
60958         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60959         $testprogram without using LD_LIBRARY_PATH and $ldso.
60961         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60962         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60963         $(rtld-installed-name).
60964         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60965         (rtld_installed_name): Likewise.
60966         (library_path): Likewise.
60967         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60968         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60969         $(run-program-prefix) to tst-tables.sh.
60970         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60971         it to run tst-table-from and tst-table-to.
60972         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60973         Pass it to tst-table.sh.
60974         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60975         $(run-program-prefix) to tst-gettext.sh.
60976         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60977         tst-translit.sh.
60978         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60979         tst-gettext2.sh.
60980         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60981         to run tst-gettext.
60982         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60983         to run tst-gettext2.
60984         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60985         to run tst-translit.
60986         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60987         $(run-program-prefix) to tst-mtrace.sh.
60988         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60989         to run tst-mtrace.
60990         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60991         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60992         $(rtld-installed-name).
60993         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60994         (rtld_installed_name): Likewise.
60995         (run_program_prefix): New variable.  Use it to run wordexp-test.
60997         * Makeconfig (ARCH): Remove all definitions.
60998         (machine): Likewise.
60999         [ARCH]: Remove conditional code.
61000         [!objdir]: Give error.
61001         [!objdir] (objpfx): Remove.
61002         [!objdir] (common-objpfx): Likewise.
61003         [!objdir] (common-objdir): Likewise.
61004         * configure.in (config_makefile): Remove.  Hardcode Makefile in
61005         AC_CONFIG_FILES call.
61006         * configure: Regenerated.
61008         [BZ #13888]
61009         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
61010         or TMPDIR.
61011         (testout): Likewise.
61013         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
61014         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
61015         $(rtld-installed-name).
61016         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
61017         (rtld_installed_name): Likwise.
61018         (runit): Remove function.
61019         (run_getconf): New variable,  Use it for running getconf binary.
61021 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
61023         [BZ #14716]
61024         * string/test-memmem.c (check_result): New function.
61025         (do_one_test): Use it.
61026         (check1): New function.
61027         (test_main): Use it.
61029 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
61031         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
61033 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
61035         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
61036         (_G_LSEEK64): Likewise.
61037         (_G_MMAP64): Likewise.
61038         (_G_FSTAT64): Likewise.
61039         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
61040         (_G_LSEEK64): Likewise.
61041         (_G_MMAP64): Likewise.
61042         (_G_FSTAT64): Likewise.
61043         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
61044         unconditional.  Call __mmap64 directly.
61045         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
61046         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
61047         __lseek64 directly.
61048         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
61049         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
61050         __mmap64 directly.
61051         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
61052         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61053         __lseek64 directly.
61054         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
61055         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61056         __lseek64 directly.
61057         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
61058         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
61059         __lseek64 directly.
61060         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
61061         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
61062         __fxstat64 directly.
61063         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
61064         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
61065         unconditional.
61066         (freopen64) [!_G_OPEN64]: Remove conditional code.
61067         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
61068         unconditional.
61069         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
61070         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
61071         unconditional.
61072         (ftello64) [!_G_LSEEK64]: Remove conditional code.
61073         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
61074         unconditional.
61075         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61076         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
61077         unconditional.
61078         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
61079         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
61080         unconditional.
61081         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61082         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
61083         unconditional.
61084         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61085         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
61086         unconditional.
61087         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61089 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61091         [BZ #12140]
61092         * manual/memory.texi (Malloc Tunable Parameters): Add note
61093         about free list pointers overwriting some perturb bytes.
61094         Wording suggested by Roland McGrath.
61096 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
61098         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
61099         (lgamma_test): Likewise.
61100         (tgamma_test): Likewise.
61102 2012-10-16  Florian Weimer  <fweimer@redhat.com>
61104         [BZ #14700]
61105         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
61106         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
61108 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
61110         * NEWS: Mention BZ #14716.
61111         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
61112         when removing AVAILABLE1_USES_J macro.
61114 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
61116         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
61117         (__bswap_64): __uint64_t for unsigned 64-bit int.
61119 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
61121         * include/string.h (memmem): Declare libc hidden alias.
61122         * string/memmem.c (memmem): Define libc hidden alias.
61123         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61124         __read, __close instead of open, read, close.
61126 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
61128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61129         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61130         global and hidden.
61131         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61132         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61133         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61134         Likewise.
61135         (__rawmemchr_sse2): Likewise.
61136         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61137         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61138         (__strchr_sse2): Likewise.
61139         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61140         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
61141         (__strcasecmp_sse2): Likewise.
61142         (__strncasecmp_sse2): Likewise.
61143         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
61144         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
61145         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61146         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61147         (__strrchr_sse2): Likewise.
61148         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
61149         ifunc-impl-list.c.
61150         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
61151         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
61152         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
61153         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61154         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61155         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61156         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61157         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61158         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61159         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61160         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61161         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61162         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61163         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61164         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61165         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61166         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61167         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61168         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61169         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61170         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61171         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61172         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61173         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61174         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61175         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61176         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61177         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61178         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61179         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61181         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61182         global and hidden.
61183         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61184         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61185         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61186         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61187         Likewise.
61188         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61189         Likewise.
61190         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61191         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61192         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61193         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61194         ifunc-impl-list.c.
61195         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61196         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61197         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61198         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61199         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61200         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61201         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61202         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61203         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61204         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61205         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61206         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61207         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61208         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61209         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61210         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61211         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61212         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61213         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61214         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61215         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61216         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61217         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61218         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61219         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61220         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61221         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61222         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61223         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61224         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61225         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61226         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61227         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61228         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61229         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61230         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61231         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61232         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61233         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61234         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61235         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61237         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61238         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61239         * include/ifunc-impl-list.h: New file.
61240         * misc/ifunc-impl-list.c: Likewise.
61241         * misc/Makefile (routines): Add ifunc-impl-list.
61242         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61243         * string/test-string.h: Include <ifunc-impl-list.h>.
61244         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61245         TEST_NAME]: New variables.
61246         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61247         are defined.
61248         (test_init): Call __libc_ifunc_impl_list to initialize
61249         func_list if TEST_IFUNC and TEST_NAME are defined.
61251         * string/Makefile (strop-tests): Add bcopy and bzero.
61252         * string/test-bcopy.c: New file.
61253         * string/test-bzero.c: Likewise.
61254         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61255         defined.
61256         * string/test-memset.c: Support bzero test if TEST_BZERO is
61257         defined.
61258         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61259         __libc_memmove.
61260         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61261         __libc_memset.
61262         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61263         of memset.
61265 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61267         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61268         * configure: Regenerated.
61270         * Makeconfig (+link-static-before-libc): Don't include
61271         $(link-static-libc).
61273         * libio/libio.h (_IO_pos_t): Remove.
61275 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61277         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61278         McGrath.
61280 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61282         * crypt/crypt-entry.c: Include fips-private.h.
61283         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61284         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61285         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61286         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61288 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61290         * crypt/crypt-private.h: Include stdbool.h.
61291         (_ufc_setup_salt_r): Return bool.
61292         * crypt/crypt-entry.c: Include errno.h.
61293         (__crypt_r): Return NULL with EINVAL for bad salt.
61294         * crypt/crypt_util.c (bad_for_salt): New.
61295         (_ufc_setup_salt_r): Check that salt is long enough and within
61296         the specified alphabet.
61297         * crypt/badsalttest.c: New file.
61298         * crypt/Makefile (tests): Add it.
61299         ($(objpfx)badsalttest): New.
61301 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61303         * NEWS: Add entry for BZ #14602.
61305 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61307         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61308         type-generic.
61309         * math/libm-test.inc: Update comment listing what functions and
61310         macros are tested.
61311         (isgreater_test): New function.
61312         (isgreaterequal_test): Likewise.
61313         (isless_test): Likewise.
61314         (islessequal_test): Likewise.
61315         (islessgreater_test): Likewise.
61316         (isunordered_test): Likewise.
61317         (main): Call the new functions.
61319 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61321         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61322         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61323         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61324         * sysdeps/i386/configure: Regenerated.
61325         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61326         * sysdeps/mach/configure: Regenerated.
61327         * sysdeps/mach/hurd/configure: Regenerated.
61328         * sysdeps/powerpc/configure: Regenerated.
61329         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61330         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61331         * sysdeps/s390/s390-32/configure: Regenerated.
61332         * sysdeps/s390/s390-64/configure: Regenerated.
61333         * sysdeps/sh/configure: Regenerated.
61334         * sysdeps/sparc/configure: Regenerated.
61335         * sysdeps/unix/sysv/linux/configure: Regenerated.
61336         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61337         * sysdeps/x86_64/configure: Regenerated.
61339         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61340         defined.  Don't check if MAP is NULL.
61342 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61344         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61345         (_G_stat64): Likewise.
61346         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61347         (_G_stat64): Likewise.
61348         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61349         instead of struct _G_stat64.
61350         * libio/fileops.c (mmap_remap_check): Likewise.
61351         (decide_maybe_mmap): Likewise.
61352         (_IO_new_file_seekoff): Likewise.
61353         (_IO_file_stat): Likewise.
61354         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61355         _G_off64_t.
61356         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61357         instead of struct _G_stat64.
61358         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61360 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61362         [BZ #14602]
61363         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61364         Replace with ...
61365         (CHECK_EOL): New macro.
61366         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61367         CHECK_EOL.
61368         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61369         Replace with CHECK_EOL.
61370         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61371         Replace with CHECK_EOL.
61373 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61375         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61376         type-generic.
61377         * math/libm-test.inc: Update comment listing what functions and
61378         macros are tested.
61379         (finite_test): New function.
61380         (isinf_test): Likewise.
61381         (isnan_test): Likewise.
61382         (fpclassify_test): Test subnormal input.
61383         (isfinite_test): Likewise.
61384         (isnormal_test): Likewise.
61385         (main): Call the new functions.
61387 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61389         [BZ #14660]
61390         * Makerules (%.dynsym): Force C locale when running
61391         $(OBJDUMP) --dynamic-syms.
61393 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61395         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61396         <stdint.h>.
61398 2012-10-06  David S. Miller  <davem@davemloft.net>
61400         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61401         upper 32-bits of the length value in %o2 since we use branch-on-register
61402         tests which consider the entire 64-bit register.
61404 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61406         * string/test-strstr.c (check2): Add a test for page boundary.
61408 2012-10-05  David S. Miller  <davem@davemloft.net>
61410         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61411         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61412         file.
61413         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61414         sysdep_routines.
61415         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61416         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61417         and bzero when HWCAP_SPARC_CRYPTO is present.
61419 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61421         [BZ #14602]
61422         * string/test-strstr.c (check2): New function.
61423         (test_main): Call check2.
61425         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61426         and bug-strchr1.
61427         * string/bug-strcasestr1.c (do_test): Moved to ...
61428         * string/test-strcasestr.c (check1): Here.  New function.
61429         (do_one_test): Break out result checking code into ...
61430         (check_result): This.  New function.
61431         (do_one_test): Call check_result.
61432         (test_main): Call check1.
61433         * string/bug-strchr1.c (do_test): Moved to ...
61434         * string/test-strchr.c (check1): Here.  New function.
61435         (do_one_test): Break out result checking code into ...
61436         (check_result): This.  New function.
61437         (do_one_test): Call check_result.
61438         (test_main): Call check1.
61439         * string/bug-strstr1.c (main): Moved to ...
61440         * string/test-strstr.c (check1): Here.  New function.
61441         (do_one_test): Break out result checking code into ...
61442         (check_result): This.  New function.
61443         (do_one_test): Call check_result.
61444         (test_main): Call check1.
61445         * string/bug-strcasestr1.c: Removed.
61446         * string/bug-strchr1.c: Likewise.
61447         * string/bug-strstr1.c: Likewise.
61449         * elf/Makefile (dl-routines): Add hwcaps.
61450         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61451         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61452         (_dl_important_hwcaps): Moved to ...
61453         * elf/dl-hwcaps.c: Here.  New file.
61454         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61456         [BZ #14557]
61457         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61458         if IS_IN_rtld isn't defined.
61460         * elf/dl-support.c (_dl_sysinfo_map): New.
61461         Include "get-dynamic-info.h" and "setup-vdso.h".
61462         (_dl_non_dynamic_init): Call setup_vdso.
61463         * elf/dynamic-link.h: Don't include <assert.h>.
61464         (elf_get_dynamic_info): Moved to ...
61465         * elf/get-dynamic-info.h: Here.  New file.
61466         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61467         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61468         * elf/setup-vdso.h: Here.  New file.
61469         * elf/rtld.c: Include "setup-vdso.h".
61470         (dl_main): Call setup_vdso.
61472 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61474         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61475         creal in comment listing functions tested.  List finite, isinf,
61476         isnan, isless, islessequal, isgreater, isgreaterequal,
61477         islessgreater, isunordered, lgamma_r and pow10 as functions and
61478         macros not tested.  Mention which functions not tested are aliases
61479         for other functions.  Fix typo.  Note that signs of NaNs are not
61480         tested.
61482         * scripts/config.guess: Update from config.git.
61483         * scripts/config.sub: Likewise.
61485 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61487         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61488         * misc/madvise.c (madvise): Renamed to __madvise.
61489         Make madvise a weak alias.
61490         * include/sys/mman.h: Declare __madvise.
61491         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61492         * sysdeps/unix/syscalls.list
61493         (madvise): Make __madvise the strong name, and madvise a weak alias.
61494         * sysdeps/unix/sysv/linux/syscalls.list
61495         (madvise, mmap): Remove redundant entries.
61496         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61497         * malloc/malloc.c (mtrim): Likewise.
61498         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61500 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61502         * sysdeps/mach/hurd/dl-cache.c: File removed.
61503         * config.h.in (USE_LDCONFIG): New #undef.
61504         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61505         * configure: Regenerated.
61506         * elf/Makefile (dl-routines): Add dl-cache only under
61507         [$(use-ldconfig) = yes].
61508         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61509         cache on [USE_LDCONFIG].
61510         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61511         [USE_LDCONFIG].
61512         * elf/rtld.c (dl_main): Likewise.
61514 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61516         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61517         _SC_LEVEL4_CACHE_LINESIZE.
61519 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61521         * sysdeps/unix/bsd/confstr.h: File removed.
61523 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61525         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61526         sys/sdt-config.h.
61528 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61530         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61531         Make 'mapoff' field ElfW(Off) rather than off_t.
61533 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61535         * nscd/Makefile: Remove nscd-cflags and all its users.
61536         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61537         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61539         [BZ #10631]
61540         * malloc.c (malloc_printerr): Clarify error message.
61542 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61544         [BZ #14648]
61545         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61546         Set bit_FMA_Usable if FMA is supported.
61547         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61548         macro.
61549         (bit_FMA4_Usable): Updated.
61550         (index_FMA_Usable): New macro.
61551         (CPUID_FMA): Likewise.
61552         (HAS_FMA): Defined with bit_FMA_Usable.
61554 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61556         * bits/types.h (__swblk_t): Type removed.
61557         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61558         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61559         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61560         (__SWBLK_T_TYPE): Likewise.
61561         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61562         (__SWBLK_T_TYPE): Likewise.
61563         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61564         (__SWBLK_T_TYPE): Likewise.
61565         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61566         (__SWBLK_T_TYPE): Likewise.
61568 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61569             Honza Horak <hhorak@redhat.com>
61571         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61572         (xdr_mapname): Use YPMAXMAP as maxsize.
61573         (xdr_peername): Use YPMAXPEER as maxsize.
61574         (xdr_keydat): Use YPAXRECORD as maxsize.
61575         (xdr_valdat): Use YPMAXRECORD as maxsize.
61577 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61579         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61581         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61582         * csu/init-first.c: ... here.
61583         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61584         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61585         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61586         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61587         * sysdeps/i386/init-first.c: File removed.
61588         * sysdeps/sh/init-first.c: File removed.
61590 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61592         [BZ #14645]
61593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61594         if x * y might underflow to zero and z is zero.
61595         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61596         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61597         * math/libm-test.inc (min_subnorm_value): New variable.
61598         (fma_test): Add more tests.
61599         (fma_test_towardzero): Likewise.
61600         (fma_test_downward): Likewise.
61601         (fma_test_upward): Likewise.
61602         (initialize): Set min_subnorm_value.
61604 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61606         [BZ #14638]
61607         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61608         0 + 0.
61609         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61610         mode for addition resulting in exact zero.
61611         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61612         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61613         exact 0 + 0.
61614         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61615         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61616         * math/libm-test.inc (fma_test): Add more tests.
61617         (fma_test_towardzero): New function.
61618         (fma_test_downward): Likewise.
61619         (fma_test_upward): Likewise.
61620         (main): Call the new functions.
61622 2012-09-28  David S. Miller  <davem@davemloft.net>
61624         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61626 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61628         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61629         instead of SIGALRM.
61631         * sysdeps/gnu/_G_config.h: Moved to ...
61632         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61633         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61634         * sysdeps/generic/_G_config.h: ... here.
61636         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61638         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61640         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61641         Conditionalize target on [libnss_test1.so-version].
61643         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61645         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61646         (elfobjdir): Move out of conditionals.
61648         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61649         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61650         (__nss_lookup_function): Conditionalize label remove_from_tree on
61651         [!DO_STATIC_NSS || SHARED], matching its only use.
61653 2012-09-28  David S. Miller  <davem@davemloft.net>
61655         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61656         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61657         file.
61658         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61659         sysdep_routines.
61660         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61661         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61662         when HWCAP_SPARC_CRYPTO is present.
61664 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61666         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61668 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61670         [BZ #6530]
61671         * stdio-common/vfprintf.c (process_string_arg): Revert
61672         2000-07-22 change.
61674 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61676         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61677         for testcase.
61678         * stdio-common/tst-sprintf.c: Include <locale.h>
61679         (main): Test sprintf's handling of incomplete multibyte
61680         characters.
61682 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61684         * elf/dl-runtime.c (VERSYMIDX): Removed.
61685         * elf/dl-version.c (VERSYMIDX): Likewise.
61686         * elf/do-rel.h (VERSYMIDX): Likewise.
61687         (VALIDX): Likewise.
61688         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61689         * elf/rtld.c (VALIDX): Likewise.
61690         (ADDRIDX): Likewise.
61691         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61692         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61693         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61694         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61695         (VALIDX): Likewise.
61696         (ADDRIDX): Likewise.
61698 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61700         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61702 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61704         [BZ #11438]
61705         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61706         to global scope.
61707         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61708         addresses are in the same scope as 192.0.2/24.
61709         * posix/gai.conf: Document new scope table defaults.
61711 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61713         [BZ #5298]
61714         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61715         for ftell.  Compute offsets from write pointers instead.
61716         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61718 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61720         [BZ #14543]
61721         * libio/Makefile (tests): New test case tst-fseek.
61722         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61723         combination works in wide mode.
61724         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61725         state when the external buffer state changes.
61727 2012-09-27  David S. Miller  <davem@davemloft.net>
61729         [BZ #14376]
61730         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61731         pass reloc->r_addend in as the 'high' argument to
61732         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61736 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61738         * rt/tst-aio2.c: Include <pthread.h>.
61739         * rt/tst-aio3.c: Likewise.
61741 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61743         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61745 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61747         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61748         contents on [SHARED].
61750 2012-09-26  Marek Polacek  <polacek@redhat.com>
61752         [BZ #14530]
61753         [BZ #13741]
61754         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61755         for C++ and GCC <4.3 as well as for non GCC compilers.
61757 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61761 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61763         * Makefile.in (all, install): Declare with .PHONY.
61764         Reported by Michael Hope <michael.hope@linaro.org>.
61766 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61768         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61769         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61770         system header.
61771         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61772         Likewise.
61773         (sydep_routines): Add the new and the internal functions.
61774         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61775         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61777         (GLIBC_2.17): Add the new function.
61778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61779         (GLIBC_2.17): Likewise.
61780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61781         (GLIBC_2.17): Likewise.
61782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61783         (GLIBC_2.17): Likewise.
61784         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61786 2012-09-25  Alan Modra  <amodra@gmail.com>
61788         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61789         Add release barrier before setting once_control to say
61790         initialisation is done.  Add hints on lwarx.  Use macro in
61791         place of isync.
61792         (clear_once_control): Add release barrier.
61794 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61796         [BZ #13629]
61797         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61798         specially.
61799         * math/s_clog10.c (__clog10): Likewise.
61800         * math/s_clog10f.c (__clog10f): Likewise.
61801         * math/s_clog10l.c (__clog10l): Likewise.
61802         * math/s_clogf.c (__clogf): Likewise.
61803         * math/s_clogl.c (__clogl): Likewise.
61804         * math/Makefile (libm-calls): Add x2y2m1.
61805         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61806         (__x2y2m1): Likewise.
61807         (__x2y2m1l): Likewise.
61808         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61809         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61810         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61811         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61812         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61813         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61814         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61815         * sysdeps/i386/fpu/libm-test-ulps: Update.
61816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61818         [BZ #14621]
61819         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61820         int as type of variable DEPTH.
61821         (glob): Use size_t instead of int as type of variables NEWCOUNT
61822         and OLD_PATHC.
61824 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61826         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61827         Add s_sincosf-sse2.
61828         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61829         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61830         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61831         macros for using routine as __sincosf_ia32.
61832         Use macro for function declaration and weak_alias.
61833         * sysdeps/i386/fpu/libm-test-ulps: Update.
61835         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61838         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61839         subnormal argument.
61840         * math/s_cexpf.c (__cexpf): Likewise.
61841         * math/s_csinf.c (__csinf): Likewise.
61842         * math/s_csinhf.c (__csinhf): Likewise.
61843         * math/s_ctanf.c (__ctanf): Likewise.
61844         * math/s_ctanhf.c (__ctanhf): Likewise.
61845         * math/s_ccosh.c (__ccoshf): Likewise.
61846         * math/s_cexp.c (__cexpl): Likewise.
61847         * math/s_csin.c (__csin): Likewise.
61848         * math/s_csinh.c (__csinh): Likewise.
61849         * math/s_ctan.c (__ctan): Likewise.
61850         * math/s_ctanh.c (ctanh): Likewise.
61851         * math/s_ccoshl.c (__ccoshl): Likewise.
61852         * math/s_cexpl.c (__cexpl): Likewise.
61853         * math/s_csinl.c (__csinl): Likewise.
61854         * math/s_csinhl.c (__csinhl): Likewise.
61855         * math/s_ctanl.c (__ctanl): Likewise.
61856         * math/s_ctanhl.c (__ctanhl): Likewise.
61858 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61860         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61861         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61862         (_IO_off_t): Define to __off_t, not _G_off_t.
61863         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61864         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61865         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61866         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61867         type of __dummy and __dummy2 fields.
61868         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61869         (_G_ssize_t): Likewise.
61870         (_G_off_t): Likewise.
61871         (_G_pid_t): Likewise.
61872         (_G_uid_t): Likewise.
61873         (_G_wchar_t): Likewise.
61874         (_G_wint_t): Likewise.
61875         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61876         (_G_ssize_t): Likewise.
61877         (_G_off_t): Likewise.
61878         (_G_pid_t): Likewise.
61879         (_G_uid_t): Likewise.
61880         (_G_wchar_t): Likewise.
61881         (_G_wint_t): Likewise.
61882         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61883         (_G_ssize_t): Likewise.
61884         (_G_off_t): Likewise.
61885         (_G_pid_t): Likewise.
61886         (_G_uid_t): Likewise.
61887         (_G_wchar_t): Likewise.
61888         (_G_wint_t): Likewise.
61890 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61892         * malloc/arena.c: Include malloc-sysdep.h.
61893         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61894         is sufficient to shrink the heap or an unmap is needed.
61895         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61896         new function check_may_shrink_heap.
61897         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61898         new function check_may_shrink_heap.
61900 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61902         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61903         comments.
61905 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61907         * catgets/test-gencat.sh: Add "set -e".
61908         * elf/tst-pathopt.sh: Likewise.
61909         * grp/tst_fgetgrent.sh: Likewise.
61910         * iconvdata/run-iconv-test.sh: Likewise.
61911         * intl/tst-gettext.sh: Likewise.
61912         * intl/tst-gettext2.sh: Likewise.
61913         * intl/tst-gettext4.sh: Likewise.
61914         * intl/tst-gettext6.sh: Likewise.
61915         * intl/tst-translit.sh: Likewise.
61916         * io/ftwtest-sh: Likewise.
61917         * libio/test-freopen.sh: Likewise.
61918         * malloc/tst-mtrace.sh: Likewise.
61919         * posix/globtest.sh: Likewise.
61920         * posix/tst-getconf.sh: Likewise.
61921         * posix/wordexp-tst.sh: Likewise.
61922         * stdio-common/tst-printf.sh: Likewise.
61923         * stdio-common/tst-unbputc.sh: Likewise.
61924         * stdlib/tst-fmtmsg.sh: Likewise.
61925         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61926         * catgets/Makefile: Do not specify -e option when running
61927         testsuite shell scripts.
61928         * elf/Makefile: Likewise.
61929         * grp/Makefile: Likewise.
61930         * iconvdata/Makefile: Likewise.
61931         * intl/Makefile: Likewise.
61932         * io/Makefile: Likewise.
61933         * libio/Makefile: Likewise.
61934         * malloc/Makefile: Likewise.
61935         * posix/Makefile: Likewise.
61936         * stdio-common/Makefile: Likewise.
61937         * stdlib/Makefile: Likewise.
61938         * sysdeps/x86_64/Makefile: Likewise.
61940         * io/ftwtest-sh: Add copyright header.
61941         * posix/globtest.sh: Likewise.
61942         * posix/tst-getconf.sh: Likewise.
61943         * posix/wordexp-tst.sh: Likewise.
61944         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61946 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61948         [BZ #13679]
61949         * Makeconfig (+link): Defined as $(+link-static) if
61950         $(build-shared) isn't yes.
61951         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61952         isn't yes.
61953         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61955         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61957         [BZ #14562]
61958         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61959         new chunk size with MALLOC_ALIGN_MASK.
61961 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61963         [BZ #5044]
61964         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61965         <rounding-mode.h>.
61966         (__printf_fphex): Determine rounding using get_rounding_mode and
61967         round_away.
61968         * stdio-common/tst-printf-round.c (struct hex_test): New
61969         structure.
61970         (hex_tests): New variable.
61971         (test_hex_in_one_mode): New function.
61972         (do_test): Also run tests for hex float output.
61974 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61976         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61977         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61978         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61979         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61980         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61981         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61982         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61983         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61985 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61987         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61988         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61989         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61990         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61992 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61994         [BZ #14579]
61995         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61996         mode only.
61997         * elf/tst-rtld-load-self.sh: New test.
61998         * elf/Makefile: Run it.
62000 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
62002         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
62003         (tst-writev-ENV): Remove.
62004         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
62006 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
62008         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
62010 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
62012         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
62013         unconditional.
62014         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
62015         Likewise.
62016         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
62017         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
62018         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62019         Likewise.
62021 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
62023         [BZ #14587]
62024         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
62025         * config.make.in (have-cpp-asm-debuginfo): Removed.
62026         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
62027         * configure: Regenerated.
62029 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
62031         [BZ #5044]
62032         * stdio-common/printf_fp.c: Include <stdbool.h> and
62033         <rounding-mode.h>.
62034         (___printf_fp): Determine rounding using get_rounding_mode and
62035         round_away.
62036         * stdio-common/tst-printf-round.c: New file.
62037         * stdio-common/Makefile (tests): Add tst-printf-round.
62038         (link-libm): New variable.
62039         ($(objpfx)tst-printf-round): Depend in $(link-libm).
62041 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
62043         [BZ #14576]
62044         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
62045         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
62046         Likewise.
62047         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
62048         Likewise.
62050 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
62052         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62053         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62054         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62055         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62057 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
62059         [BZ #14518]
62060         * include/rounding-mode.h: New file.
62061         * sysdeps/generic/get-rounding-mode.h: Likewise.
62062         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
62063         * stdlib/strtod_l.c: Include <rounding-mode.h>.
62064         (MAX_VALUE): New macro.
62065         (MIN_VALUE): Likewise.
62066         (overflow_value): New function.
62067         (underflow_value): Likewise.
62068         (round_and_return): Use overflow_value and underflow_value to
62069         determine return values in overflow and underflow cases.  Use
62070         round_away to determine rounding depending on rounding mode.
62071         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
62072         determine return values in overflow and underflow cases.
62073         * stdlib/tst-strtod-round.c: Include <fenv.h>.
62074         (struct test_results): New structure.
62075         (struct test): Use struct test_results to store expected results
62076         for all rounding modes.
62077         (TEST): Include expected results for all rounding modes.
62078         (test_in_one_mode): New function.
62079         (do_test): Use test_in_one_mode to compute and check results.
62080         Check results for all rounding modes.
62081         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
62082         $(link-libm).
62084 2012-12-09  Allan McRae  <allan@archlinux.org>
62086         * sysdeps/i386/fpu/libm-test-ulps: Update
62088 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
62090         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
62091         (_G_int32_t): Likewise.
62092         (_G_uint16_t): Likewise.
62093         (_G_uint32_t): Likewise.
62094         (_G_HAVE_BOOL): Likewise.
62095         (_G_HAVE_ATEXIT): Likewise.
62096         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62097         (_G_HAVE_IO_FILE_OPEN): Likewise.
62098         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
62099         (_G_int32_t): Likewise.
62100         (_G_uint16_t): Likewise.
62101         (_G_uint32_t): Likewise.
62102         (_G_HAVE_BOOL): Likewise.
62103         (_G_HAVE_ATEXIT): Likewise.
62104         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62105         (_G_HAVE_IO_FILE_OPEN): Likewise.
62106         * sysdeps/mach/hurd/_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.
62115 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
62117         * csu/libc-tls.c: Update copyright years.
62119 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
62121         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62122         [!_G_USING_THUNKS]: Remove conditional code.
62123         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62124         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62126         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62127         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62128         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62129         (_G_VTABLE_LABEL_PREFIX): Likewise.
62130         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62131         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62132         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62133         (_G_VTABLE_LABEL_PREFIX): Likewise.
62134         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62135         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62136         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62137         (_G_VTABLE_LABEL_PREFIX): Likewise.
62138         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62140 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
62142         * libio/Makefile: Include ../Makeconfig before tests.
62143         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
62144         only if $(build-shared) is yes.
62146         * iconv/gconv_db.c: Update copyright years.
62148 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62150         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
62151         unwind info if defined PIC. Fix special cases description.
62152         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
62154         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62155         DP_HI_MASK entry.
62156         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62158 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
62160         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62162         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62163         is NULL.
62165         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62166         (LDLIBS-tst-chk4): This.
62167         (LDFLAGS-tst-chk5): Renamed to ...
62168         (LDLIBS-tst-chk5): This.
62169         (LDFLAGS-tst-chk6): Renamed to ...
62170         (LDLIBS-tst-chk6): This.
62171         (LDFLAGS-tst-lfschk4): Renamed to ...
62172         (LDLIBS-tst-lfschk4): This.
62173         (LDFLAGS-tst-lfschk5): Renamed to ...
62174         (LDLIBS-tst-lfschk5): This.
62175         (LDFLAGS-tst-lfschk6): Renamed to ...
62176         (LDLIBS-tst-lfschk6): This.
62178         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62179         on $(common-objpfx)soversions.mk.
62181 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62183         [BZ #10014]
62184         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62185         example host name.
62187 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62189         * malloc/arena.c (arena_get_retry): New function that gets
62190         another arena for the caller to try its request on.
62191         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62192         current arena cannot fulfill the request.
62193         (__libc_memalign): Likewise.
62194         (__libc_memalign): Likewise.
62195         (__libc_pvalloc): Likewise.
62196         (__libc_calloc): Likewise.
62198 2012-09-05  John Tobey  <john.tobey@gmail.com>
62200         [BZ #13542]
62201         * manual/arith.texi (Operations on Complex): Fix description
62202         of carg branch cut.
62204 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62206         [BZ #10014]
62207         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62208         host name.
62210         [BZ #10038]
62211         * manual/memory.texi (Memory): Make order of menu items match
62212         order of sections.
62214 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62216         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62217         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62218         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62220 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62222         * csu/libc-tls.c (static_dtv): Renamed to ...
62223         (_dl_static_dtv): This.  Make it global.
62224         (_dl_initial_dtv): Removed.
62225         (__libc_setup_tls): Updated.
62226         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62227         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62228         DL_INITIAL_DTV.
62230 2012-09-06  Petr Machata  <pmachata@redhat.com>
62232         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62233         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62234         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62235         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62237 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62239         [BZ #14545]
62240         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62241         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62242         freeing dtv[-1].
62244 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62246         [BZ #14544]
62247         * Makeconfig (link-static-before-libc): Replace $(+prector)
62248         with $(+prectorT).
62249         (link-static-after-libc): Replace $(+postctor) with
62250         $(+postctorT).
62251         (link-bounded): Replace $(+prector)/$(+postctor) with
62252         $(+prectorT)/$(+postctorT).
62253         (+prectorT): New macro.
62254         (+postctorT): Likewise.
62256 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62258         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62259         (round_str): Handle values above the maximum for IBM long double
62260         as inexact.
62261         * stdlib/tst-strtod-round.c (tests): Regenerated.
62263 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62265         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62266         assembler flag.
62267         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62268         zarch_nohighgprs around the zarch optimized routines.
62269         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62270         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62271         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62272         for zarch.
62274 2012-09-05  David S. Miller  <davem@davemloft.net>
62276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62278         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62279         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62280         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62281         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62282         entries.
62284 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62286         * malloc/arena.c: Fold copyright years.
62287         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62289 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62291         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62293 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62295         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62297 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62299         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62300         change internal state upon failure.
62302 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62304         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62305         * malloc/memusage.c (mmap): Likewise.
62306         (mmap64, mremap): Likewise.  Adjust name in comment.
62308 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62310         * libio/fileops.c: Fix typos in comments.
62311         * libio/oldfileops.c: Likewise.
62312         * libio/wfileops.c: Likewise.
62314 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62316         [BZ #1349]
62317         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62318         (tst-malloc-usable-ENV): Set environment for test case.
62319         * malloc/hooks.c (malloc_check_get_size): New function to get
62320         requested size.
62321         * malloc/malloc.c (musable): Use malloc_check_get_size.
62322         * malloc/tst-malloc-usable.c: New test case.
62324 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62326         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62328 2012-09-05  Allan McRae  <allan@archlinux.org>
62330         [BZ #13966]
62331         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62332         determine header location.
62333         * configure: Regenerated.
62335 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62337         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62338         float format.
62339         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62340         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62341         format.
62342         (test): Regenerate.
62344 2012-09-04  David S. Miller  <davem@davemloft.net>
62346         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62347         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62348         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62350 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62352         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62353         failures.
62355         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62357 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62359         [BZ #9914]
62360         * libio/iogetdelim.c: Include <limits.h>.
62361         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62362         + len + 1 would overflow.
62364 2012-09-03  Andreas Jaeger  <aj@suse.de>
62366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62367         * sysdeps/i386/fpu/libm-test-ulps: Update.
62369 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62371         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62372         Add s_sinf-sse2, s_conf-sse2.
62374         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62375         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62376         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62377         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62379         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62380         for using routine as __sinf_ia32.
62381         Use macro for function declaration and weak_alias.
62382         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62383         for using routine as __cosf_ia32.
62384         Use macro for function declaration and weak_alias.
62386         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62387         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62389         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62390         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62393         * math/libm-test.inc (cos_test): Add more test cases.
62394         (sin_test): Likewise.
62395         (sincos_test): Likewise.
62397 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62399         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62400         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62401         hidden.
62402         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62404 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62406         [BZ #14538]
62407         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62408         first element of the GOT.
62409         (elf_machine_load_address): Return the difference between
62410         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62412 2012-09-01  Allan McRae  <allan@archlinux.org>
62414         [BZ #13412]
62415         * configure.in (AWK): Require gawk version 3.0 or later.
62416         * configure: Regenerated.
62418 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62420         * sysdeps/unix/sysv/linux/kernel-features.h
62421         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62422         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62423         [__NR_clock_getres]: Make code unconditional.
62424         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62425         (clock_getcpuclockid): Remove code left unreachable by removal of
62426         conditionals.
62427         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62428         code unconditional.
62429         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62430         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62431         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62432         Make code unconditional.
62433         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62434         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62435         * sysdeps/unix/sysv/linux/clock_settime.c
62436         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62437         conditional code.
62438         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62439         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62441 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62443         [BZ #14476]
62444         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62445         scripts/test-installation.pl.
62447         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62448         and $ld_so_version if it is set.
62450 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62452         [BZ #14516]
62453         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62454         failure if reading from procfs failed.
62455         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62457 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62459         * sysdeps/unix/sysv/linux/kernel-features.h
62460         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62461         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62462         Remove conditional code.
62463         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62464         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62465         Remove conditional code.
62466         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62467         * sysdeps/unix/sysv/linux/i386/fxstat.c
62468         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62469         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62470         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62471         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62472         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62473         * sysdeps/unix/sysv/linux/i386/lxstat.c
62474         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62475         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62476         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62477         Remove conditional code.
62478         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62479         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62480         Remove conditional code.
62481         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62482         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62483         <kernel-features.h>.
62484         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62485         Remove.
62486         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62487         Remove conditional code.
62488         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62489         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62490         Remove conditional.
62492 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62494         [BZ #5400]
62495         * NEWS: Add fixed bug number.
62497 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62499         [BZ #14519]
62500         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62501         underflowing exponent in case of negative sign.
62502         * stdlib/tst-strtod-round-data: Add more tests.
62503         * stdlib/tst-strtod-round.c (tests): Regenerated.
62505         [BZ #3479]
62506         * stdlib/strtod_l.c (NDIG): Remove.
62507         (HEXNDIG): Likewise.
62508         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62509         smallest representable value.
62510         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62511         lie within an exact representation of 1/2 ulp of the result.
62512         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62513         unconditionally.
62514         (TENS_P9_IDX): Define unconditionally.
62515         (TENS_P9_SIZE): Likewise.
62516         (TENS_P10_IDX): Likewise.
62517         (TENS_P10_SIZE): Likewise.
62518         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62519         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62520         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62521         entries for 10^2^13 and 10^2^14.
62522         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62523         (TENS_P13_IDX): Define.
62524         (TENS_P13_SIZE): Likewise.
62525         (TENS_P14_IDX): Likewise.
62526         (TENS_P14_SIZE): Likewise.
62527         (_fpioconst_pow10): Change array size to
62528         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62529         unconditional.
62530         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62531         1024]: Add entries for 10^2^13 and 10^2^14.
62532         [LAST_POW10 > _LAST_POW10]: Remove #error.
62533         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62534         (_fpioconst_pow10): Change array size to
62535         FPIOCONST_POW10_ARRAY_SIZE.
62536         * stdlib/gen-fpioconst.c: New file.
62537         * stdlib/gen-tst-strtod-round.c: Likewise.
62538         * stdlib/tst-strtod-round-data: Likewise.
62539         * stdlib/tst-strtod-round.c: Likewise.
62540         * stdlib/Makefile (tests): Add tst-strtod-round.
62542         [BZ #14459]
62543         * stdlib/strtod_l.c: Include <stdint.h>.
62544         (NDEBUG): Do not define.
62545         (round_and_return): Change EXPONENT parameter to type intmax_t.
62546         Rearrange calculations to avoid internal overflow possibilities.
62547         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62548         Rearrange calculations to avoid internal overflow possibilities.
62549         Assert that number fits inside MPNSIZE limbs.
62550         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62551         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62552         calculations and add assertions to avoid internal overflow
62553         possibilities.  Add casts to avoid signed/unsigned operations.
62554         * stdlib/tst-strtod-overflow.c: New file.
62555         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62557 2012-08-25  Marek Polacek  <polacek@redhat.com>
62559         * time/time.h: Fix some typos in comments.
62561 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62563         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62564         * posix/tst-rfc3484-2.c: Likewise.
62565         * posix/tst-rfc3484-3.c: Likewise.
62567 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62569         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62570         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62572 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62574         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62575         #include of fxstatat64.c.
62577 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62579         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62580         * shadow/getspent_r.c: Likewise.
62581         * shadow/getspnam.c: Likewise.
62582         * shadow/getspnam_r.c: Likewise.
62583         * gshadow/getsgent.c: Likewise.
62584         * gshadow/getsgent_r.c: Likewise.
62585         * gshadow/getsgnam.c: Likewise.
62586         * gshadow/getsgnam_r.c: Likewise.
62587         * inet/getnetbyad.c: Likewise.
62588         * inet/getnetbyad_r.c: Likewise.
62589         * inet/getnetbynm.c: Likewise.
62590         * inet/getnetbynm_r.c: Likewise.
62591         * inet/getnetent.c: Likewise.
62592         * inet/getnetent_r.c: Likewise.
62593         * inet/getproto.c: Likewise.
62594         * inet/getproto_r.c: Likewise.
62595         * inet/getprtent.c: Likewise.
62596         * inet/getprtent_r.c: Likewise.
62597         * inet/getprtname.c: Likewise.
62598         * inet/getprtname_r.c: Likewise.
62599         * inet/getrpcbyname.c: Likewise.
62600         * inet/getrpcbyname_r.c: Likewise.
62601         * inet/getrpcbynumber.c: Likewise.
62602         * inet/getrpcbynumber_r.c: Likewise.
62603         * inet/getrpcent.c: Likewise.
62604         * inet/getrpcent_r.c: Likewise.
62605         * inet/getaliasent.c: Likewise.
62606         * inet/getaliasent_r.c: Likewise.
62607         * inet/getaliasname.c: Likewise.
62608         * inet/getaliasname_r.c: Likewise.
62609         * nscd/getgrgid_r.c: Likewise.
62610         * nscd/getgrnam_r.c: Likewise.
62611         * nscd/gethstbyad_r.c: Likewise.
62612         * nscd/gethstbynm3_r.c: Likewise.
62613         * nscd/getpwnam_r.c: Likewise.
62614         * nscd/getpwuid_r.c: Likewise.
62615         * nscd/getsrvbynm_r.c: Likewise.
62616         * nscd/getsrvbypt_r.c: Likewise.
62617         * nscd/gai.c: Likewise.
62619         * configure.in (build_nscd): New substituted variable, set
62620         by --disable-build-nscd and defaults to $use_nscd.
62621         * configure: Regenerated.
62622         * config.make.in (build-nscd): New substituted variable.
62623         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62624         Change conditional to require [$(build-nscd) = yes] as well.
62625         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62627         [BZ# 13696]
62628         * configure.in (use_nscd): New substituted variable, set by
62629         --disable-nscd.  If enabled, define USE_NSCD.
62630         * configure: Regenerated.
62631         * config.h.in: Add USE_NSCD.
62632         * config.make.in (use-nscd): New substituted variable.
62633         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62634         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62635         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62636         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62637         (CFLAGS-getgrnam_r.c): Likewise.
62638         (CFLAGS-initgroups.c): Likewise.
62639         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62640         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62641         Variables removed.
62642         * inet/getnetgrent_r.c
62643         (nscd_setnetgrent): New function, broken out of ...
62644         (setnetgrent): ... here.  Call it.
62645         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62646         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62647         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62648         * nscd/Makefile (routines, aux): Move definitions after include of
62649         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62650         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62651         Conditionalize on [USE_NSCD].
62652         (is_nscd, nscd_init_cb): Likewise.
62653         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62654         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62655         * nss/nss_db/db-init.c: Likewise.
62656         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62657         [USE_NSCD].
62658         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62659         (make_request): Use it.
62660         (cache_valid_p): New function.
62661         (__check_pf): Use it.
62662         * NEWS: Add item for --disable-nscd.
62664 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62666         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62667         to support sed >= 4.2.1-20-ga9bf076.
62668         * configure: Regenerated.
62670 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62672         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62673         Conditionalize whole body on [IREL].
62675 2012-08-22  Jeff Law <law@redhat.com>
62677         [BZ #14505]
62678         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62679         if the family is PF_UNSPEC.
62681 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62683         * Makerules (lib-version): Rename from V.
62684         (install-lib-nosubdir): Change V to lib-version.
62686 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62688         [BZ #14252]
62689         * powerpc32/power6/wcschr.c: New file.
62690         * powerpc32/power6/wcscpy.c: New file.
62691         * powerpc32/power6/wcsrchr.c: New file.
62692         * powerpc64/power6/wcschr.c: New file.
62693         * powerpc64/power6/wcscpy.c: New file.
62694         * powerpc64/power6/wcsrchr.c: New file.
62696 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62698         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62699         (two_way_short_needle): Use it.
62700         * string/strstr.c (AVAILABLE1_USES_J): Define.
62701         * string/strcasestr.c: Likewise.
62703         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62704         array references.
62705         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62707         [BZ #11607]
62708         * NEWS: Add an entry.
62709         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62710         define their defaults.
62711         (two_way_short_needle): Detect end-of-string on-the-fly.
62712         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62713         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62714         * string/bug-strcasestr1.c: New test.
62715         * string/Makefile: Run it.
62717 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62719         [BZ #11607]
62720         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62721         the first character.
62723 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62725         * csu/elf-init.c (__libc_csu_irel): Function removed.
62726         * csu/libc-start.c (apply_irel): New function.
62727         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62729 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62731         * sysdeps/unix/sysv/linux/kernel-features.h
62732         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62733         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62734         <kernel-features.h>.
62735         [__NR_fadvise64_64]: Make code unconditional.
62736         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62737         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62738         !__NR_fadvise64_64)]: Likewise.
62739         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62740         !__NR_fadvise64_64))]: Likewise.
62741         [__NR_fadvise64]: Make code unconditional.
62742         [!__NR_fadvise64]: Remove conditional code.
62743         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62744         <kernel-features.h>.
62745         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62746         unconditional.
62747         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62748         conditional code.
62749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62750         not include <kernel-features.h>.
62751         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62752         unconditional.
62753         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62754         conditional code.
62755         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62756         include <kernel-features.h>.
62757         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62758         unconditional.
62759         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62760         conditional code.
62762 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62764         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62765         slight instruction rearrangements per scrollpipe analysis.
62766         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62768 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62770         * manual/syslog.texi (syslog; vsyslog, closelog):
62771         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62772         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62774         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62775         DSOCAPS to match condition on defining it.
62777 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62779         * sysdeps/unix/sysv/linux/kernel-features.h
62780         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62782         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62783         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62785         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62786         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62788         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62789         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62791         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62792         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62794         * sysdeps/unix/sysv/linux/kernel-features.h
62795         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62796         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62797         unconditional.
62798         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62799         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62800         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62801         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62802         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62803         Make code unconditional.
62804         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62805         (__mmap64) [!__NR_mmap2]: Likewise.
62806         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62807         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62808         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62809         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62810         [__NR_mmap2]: Make code unconditional.
62811         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62812         (__mmap64) [!__NR_mmap2]: Likewise.
62814 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62816         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62818 2012-08-18  Andreas Jaeger  <aj@suse.de>
62820         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62822 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62824         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62825         * include/unistd.h (__have_sock_cloexec): Likewise.
62826         (__have_pipe2): Likewise.
62827         (__have_dup3): Likewise.
62829 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62831         [BZ #9685]
62832         * include/unistd.h (__have_pipe2): Change define into an extern int.
62833         (__have_dup3): Likewise.
62834         * socket/have_sock_cloexec.c: Include fcntl.h.
62835         (__have_pipe2): New variable.
62836         (__have_dup3): Likewise.
62838 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62840         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62842 2012-08-17  Marek Polacek  <polacek@redhat.com>
62844         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62845         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62847 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62849         * configure.in: Add AC_SUBST for sysheaders.
62850         * configure: Regenerated.
62851         * config.make.in (sysheaders): New substituted variable.
62853         * sysdeps/unix/mkfifo.c: Moved ...
62854         * sysdeps/posix/mkfifo.c: ... here.
62855         * sysdeps/unix/mkfifoat.c: Moved ...
62856         * sysdeps/posix/mkfifoat.c: ... here.
62858         * sysdeps/unix/utime.c: Moved ...
62859         * sysdeps/posix/utime.c: ... here.
62861         * sysdeps/unix/time.c: Moved ...
62862         * sysdeps/posix/time.c: ... here.
62863         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62864         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62866         * sysdeps/unix/nice.c: Moved ...
62867         * sysdeps/posix/nice.c: ... here.
62869         * sysdeps/unix/alarm.c: Moved ...
62870         * sysdeps/posix/alarm.c: ... here.
62872         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62874 2012-08-17  Jeff Law <law@redhat.com>
62876         * intl/Makefile (codeset_mo): New variable.
62877         ($(codeset_mo)): New target.
62878         (tst-codeset.out): Depend on that.  Remove explicit rule.
62879         (tst-gettext3.out, tst-gettext5.out): Likewise.
62880         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62881         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62882         * intl/tst-codeset.sh: Remove.
62883         * intl/tst-gettext3.sh: Likewise.
62884         * intl/tst-gettext5.sh: Likewise.
62886 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62888         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62889         * sysdeps/unix/syscalls.list: ... here.
62891         * sysdeps/posix/getaddrinfo.c
62892         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62893         (gaiconf_init, gaiconf_reload): Use them.
62894         [!_STATBUF_ST_NSEC]
62895         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62896         Define using time_t rather than struct timespec.
62898         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62899         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62900         Macros removed.
62901         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62902         [!NO_THREADS].
62903         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62904         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62905         Likewise.
62907         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62908         __libc_cleanup_push argument.
62910         * bits/param.h: New file.
62911         * misc/sys/param.h: New file.
62912         * include/sys/param.h: New file.
62913         * misc/Makefile (headers): Add bits/param.h.
62914         * sysdeps/generic/sys/param.h: File removed.
62915         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62916         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62917         * sysdeps/mach/hurd/bits/param.h: New file.
62918         * sysdeps/mach/hurd/sys/param.h: File removed.
62920         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62921         last change.
62923         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62924         [_IO_MTSAFE_IO].
62925         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62926         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62927         New macros.
62929         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62930         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62931         rather than -D_IO_MTSAFE_IO conditionally.
62932         * stdio-common/Makefile (CPPFLAGS): Likewise.
62933         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62934         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62935         Use $(libio-mtsafe).
62936         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62937         of -D_IO_MTSAFE_IO.
62938         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62939         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62940         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62941         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62942         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62943         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62944         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62945         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62946         (CFLAGS-fread_u_chk.c): Likewise.
62947         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62948         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62949         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62950         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62951         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62952         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62953         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62954         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62955         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62957         * libio/Makefile: Test [$(libc-reentrant) = yes]
62958         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62960         * Makeconfig
62961         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62962         * sysdeps/pthread/configure: File removed.
62963         * sysdeps/pthread/Makeconfig: New file.
62964         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62965         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62967 2012-08-16  Gary Benson  <gbenson@redhat.com>
62969         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62970         unmapping the first object in a namespace.
62972 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62974         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62975         (__internal_setnetgrent): ... this.  Add internal_function to
62976         definition.  Add libc_hidden_def.
62977         (setnetgrent): Update caller.
62978         (internal_endnetgrent): Renamed to ...
62979         (__internal_endnetgrent): ... this.  Add internal_function to
62980         definition.  Add libc_hidden_def.
62981         (endnetgrent): Update caller.
62982         (internal_getnetgrent_r): Renamed to ...
62983         (__internal_getnetgrent_r): ... this.  Add internal_function to
62984         definition.  Add libc_hidden_def.
62985         (__getnetgrent_r): Update caller.
62986         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62988 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62990         * stdlib/longlong.h: Update from GCC.
62992 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62994         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62995         on _QL, which is set by umul_ppmm but never used.
62996         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62997         variables, which are set by GMP macros but never used.
62998         * stdio-common/_itowa.c (_itowa): Likewise.
62999         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
63000         * stdlib/mod_1.c (mpn_mod_1): Likewise.
63002 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
63004         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
63005         struct La_sh_regs is not constant.
63006         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
63007         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
63008         and struct La_sparc64_regs are not constant.
63010 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63012         * sysdeps/unix/sysv/linux/kernel-features.h
63013         (__ASSUME_POSIX_TIMERS): Remove.
63014         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63015         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63016         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
63017         Make code unconditional.
63018         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63019         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
63020         Make code unconditional.
63021         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63022         * sysdeps/unix/sysv/linux/clock_nanosleep.c
63023         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
63024         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63025         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
63026         Make code unconditional.
63027         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63028         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
63029         (__libc_missing_posix_timers): Remove.
63031 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63033         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63034         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
63036         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
63038         * elf/dl-sym.c: Include <stdlib.h>.
63040         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
63041         constants, which avoids warnings in 32-bit builds.
63043         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
63044         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
63046         * misc/lseek.c: File moved to ...
63047         * io/lseek.c: ... here.
63049         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
63051         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
63052         shifting LEN more than 31 bits at once.
63054 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63056         [BZ #14195]
63057         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
63058         segmentation fault for a case of two empty input strings.
63059         * string/test-strncasecmp.c (check1): Renamed to...
63060         (bz12205): ...this.
63061         (bz14195): Add new testcase for two empty input strings and N > 0.
63062         (test_main): Call new testcase, adapt for renamed function.
63064 2012-08-15  Andreas Jaeger  <aj@suse.de>
63066         [BZ #14090]
63067         * crypt/md5test2.c: New test, based on test supplied by Serge
63068         Belyshev <belyshev@depni.sinp.msu.ru>.
63069         * crypt/Makefile (xtests): Add md5test-giant..
63070         * crypt/Makefile ($(objpfx)md5test-giant): Add.
63072 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
63074         [BZ #14090]
63075         * crypt/md5.c (md5_process_block): Don't assume the buffer
63076         length is less than 2**32.
63077         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
63078         length is less than 2**64.
63080 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63082         * string/str-two-way.h: Include <sys/param.h>.
63083         (MAX): Macro removed.
63085         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
63086         Move #define and #undef of memmove to just before and after
63087         including <string.h>.
63089         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
63090         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
63091         and after including <string.h>.  Move declarations of
63092         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
63093         to before #include "string/memmove.c".
63095         * include/dirent.h: Declare __getdirentries.
63097         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
63098         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
63100 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
63102         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
63103         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
63104         * sysdeps/i386/configure: Regenerated.
63105         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63106         STABS_CURRENT_FILE, and STABS_FUN.
63107         (END): Remove call to STABS_FUN_END.
63108         (STABS_CURRENT_FILE1): Delete.
63109         (STABS_CURRENT_FILE): Likewise.
63110         (STABS_FUN): Likewise.
63111         (STABS_FUN_END): Likewise.
63112         (STABS_FUN2): Likewise.
63113         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
63114         * sysdeps/x86_64/configure: Regenerated.
63116 2012-08-14  Roland McGrath  <roland@hack.frob.com>
63118         * elf/dl-open.c: Include <atomic.h>.
63119         * elf/dl-lookup.c: Likewise.
63121 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
63123         * sysdeps/unix/sysv/linux/kernel-features.h
63124         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63125         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63126         unconditionally.
63127         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63128         unconditionally.
63129         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63130         condition on __ASSUME_CLONE_THREAD_FLAGS.
63132 2012-08-14  Andreas Jaeger  <aj@suse.de>
63134         * sysdeps/i386/fpu/libm-test-ulps: Update.
63136 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
63138         * include/atomic.h (atomic_exchange_and_add): Split into ...
63139         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63140         New atomic macros.
63142 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
63144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63146 2012-08-13  Jeff Law <law@redhat.com>
63148         * manual/stdio.texi (snprintf): Clarify handling of the trailing
63149         null byte in the output string.
63151 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
63153         * sysdeps/unix/sysv/linux/kernel-features.h
63154         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63155         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63156         (__ASSUME_ARG_MAX_STACK_BASED): Define.
63157         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63158         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63159         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
63160         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63162 2012-08-09  Jeff Law <law@redhat.com>
63164         [BZ #13939]
63165         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63166         When avoid_arena is set, don't retry in the that arena.  Pick the
63167         next one, whatever it might be.
63168         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63169         (arena_lock): Pass in new parameter to arena_get2.
63170         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63171         arena_get2.
63172         (__libc_malloc): Unify retrying after main arena failure with
63173         __libc_memalign version.
63174         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63176 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63178         [BZ #14166]
63179         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63180         to __redirect_strstr.
63181         (__strstr_sse42): Use typeof __redirect_strstr.
63182         (__strstr_ia32): Likewise.
63183         (__libc_strstr): New prototype.
63184         (strstr): Renamed to ...
63185         (__libc_strstr): This.
63186         (strstr): New strong alias of __libc_strstr.
63187         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63188         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63189         __redirect_time.
63190         Include <time.h>.
63191         (__libc_time): New prototype.
63192         (time_ifunc): Replace time with __libc_time.
63193         (time): New strong alias and hidden definition of __libc_time.
63194         (__GI_time): Remove strong alias.
63195         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63196         Include <stddef.h>.
63197         (memmove): Redefined to __redirect_memmove.
63198         (__memmove_sse2): Use typeof __redirect_memmove.
63199         (__memmove_ssse3): Likewise.
63200         (__memmove_ssse3_back): Likewise.
63201         (__libc_memmove): New prototype.
63202         (memmove): Renamed to ...
63203         (__libc_memmove): This.
63204         (memmove): New strong alias of __libc_memmove.
63206 2012-08-08  Mark Salter  <msalter@redhat.com>
63208         * elf/elf.h
63209         (R_MN10300_TLS_GD): Define.
63210         (R_MN10300_TLS_LD): Likewise.
63211         (R_MN10300_TLS_LDO): Likewise.
63212         (R_MN10300_TLS_GOTIE): Likewise.
63213         (R_MN10300_TLS_IE): Likewise.
63214         (R_MN10300_TLS_LE): Likewise.
63215         (R_MN10300_TLS_DTPMOD): Likewise.
63216         (R_MN10300_TLS_DTPOFF): Likewise.
63217         (R_MN10300_TLS_TPOFF): Likewise.
63218         (R_MN10300_SYM_DIFF): Likewise.
63219         (R_MN10300_ALIGN): Likewise.
63220         (R_MN10300_NUM): Update.
63222 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63224         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63225         Remove.
63227 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63229         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63231         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63232         sysdeps/unix -> sysdeps/posix move.
63233         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63235 2012-08-07      Allan McRae     <allan@archlinux.org>
63237         [BZ #14303]
63238         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63239         (SUNOS_CPP): Likewise.
63240         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63241         not found.
63242         (open_input): Call CPP using execvp.
63244 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63246         * sysdeps/unix/sysv/linux/kernel-features.h
63247         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63248         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63249         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63250         (__ASSUME_WAITID_SYSCALL): Likewise.
63251         * sysdeps/unix/sysv/linux/dl-execstack.c
63252         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63253         code unconditional.
63254         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63255         conditional code.
63256         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63257         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63258         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63259         code.
63260         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63261         unconditional.
63262         [__ASSUME_WAITID_SYSCALL]: Likewise.
63263         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63265 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63267         * sysdeps/unix/closedir.c: Renamed to ...
63268         * sysdeps/posix/closedir.c: ... here.
63269         * sysdeps/unix/dirfd.c: Renamed to ...
63270         * sysdeps/posix/dirfd.c: ... here.
63271         * sysdeps/unix/dirstream.h: Renamed to ...
63272         * sysdeps/posix/dirstream.h: ... here.
63273         * sysdeps/unix/fdopendir.c: Renamed to ...
63274         * sysdeps/posix/fdopendir.c: ... here.
63275         * sysdeps/unix/opendir.c: Renamed to ...
63276         * sysdeps/posix/opendir.c: ... here.
63277         * sysdeps/unix/readdir.c: Renamed to ...
63278         * sysdeps/posix/readdir.c: ... here.
63279         * sysdeps/unix/readdir_r.c: Renamed to ...
63280         * sysdeps/posix/readdir_r.c: ... here.
63281         * sysdeps/unix/rewinddir.c: Renamed to ...
63282         * sysdeps/posix/rewinddir.c: ... here.
63283         * sysdeps/unix/seekdir.c: Renamed to ...
63284         * sysdeps/posix/seekdir.c: ... here.
63285         * sysdeps/unix/telldir.c: Renamed to ...
63286         * sysdeps/posix/telldir.c: ... here.
63287         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63288         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63289         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63290         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63292         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63293         * bits/fcntl.h: ... here.
63295         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63296         not 0.
63297         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63298         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63299         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63300         (struct flock): Move l_start, l_len to the beginning.
63301         Use __pid_t for l_pid.
63302         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63303         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63304         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63305         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63306         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63307         [__USE_LARGEFILE64] (struct flock64): New type.
63308         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63310         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63311         * bits/dirent.h: ... here.
63313         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63314         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63316 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63318         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63319         Change from 2.6.0 to 2.6.16.
63320         * sysdeps/unix/sysv/linux/configure: Regenerated.
63321         * sysdeps/unix/sysv/linux/kernel-features.h
63322         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63323         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63324         version.
63325         (__ASSUME_UTIMES): Likewise.
63326         (__ASSUME_CLONE_STOPPED): Remove.
63327         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63328         architectures, not kernel version.
63329         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63330         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63331         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63332         (__ASSUME_WAITID_SYSCALL): Likewise.
63333         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63334         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63335         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63336         refer to older versions.
63338 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63340         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63341         Define alphasort64 as an alias.
63342         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63343         Define versionsort64 as an alias.
63344         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63345         Define scandir64 as an alias.
63346         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63347         Define scandirat64 as an alias.
63348         * dirent/alphasort64.c (alphasort64):
63349         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63350         * dirent/versionsort64.c: Likewise.
63351         * dirent/scandir64.c: Likewise.
63352         * dirent/scandirat64.c: Likewise.
63353         * sysdeps/wordsize-64/alphasort.c: File removed.
63354         * sysdeps/wordsize-64/alphasort64.c: File removed.
63355         * sysdeps/wordsize-64/scandir.c: File removed.
63356         * sysdeps/wordsize-64/scandir64.c: File removed.
63357         * sysdeps/wordsize-64/scandirat.c: File removed.
63358         * sysdeps/wordsize-64/scandirat64.c: File removed.
63359         * sysdeps/wordsize-64/versionsort.c: File removed.
63360         * sysdeps/wordsize-64/versionsort64.c: File removed.
63361         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63362         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63363         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63364         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63365         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63366         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63367         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63368         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63370         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63371         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63372         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63373         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63374         [defined __arch64__ || defined __sparcv9]
63375         (__INO_T_MATCHES_INO64_T): New macro.
63376         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63377         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63378         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63379         * sysdeps/unix/sysv/linux/bits/dirent.h
63380         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63381         (_DIRENT_MATCHES_DIRENT64): New macro.
63383         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63384         Define lockf64 as an alias.
63385         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63386         Define fseeko64 as an alias.
63387         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63388         Define ftello64 as an alias.
63389         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63390         Define _IO_fgetpos64 and fgetpos64 as aliases.
63391         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63392         Define _IO_fsetpos64 and fsetpos64 as aliases.
63393         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63394         Conditionalize body on this.
63395         * libio/fseeko64.c: Likewise.
63396         * libio/ftello64.c: Likewise.
63397         * libio/iofgetpos64.c: Likewise.
63398         * libio/iofsetpos64.c: Likewise.
63399         * sysdeps/wordsize-64/lockf.c: File removed.
63400         * sysdeps/wordsize-64/lockf64.c: File removed.
63401         * sysdeps/wordsize-64/fseeko.c: File removed.
63402         * sysdeps/wordsize-64/fseeko64.c: File removed.
63403         * sysdeps/wordsize-64/ftello.c: File removed.
63404         * sysdeps/wordsize-64/ftello64.c: File removed.
63405         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63406         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63407         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63408         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63409         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63410         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63411         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63412         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63413         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63414         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63415         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63416         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63417         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63418         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63420         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63421         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63422         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63424         [defined __arch64__ || defined __sparcv9]
63425         (__OFF_T_MATCHES_OFF64_T): New macro.
63426         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63427         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63428         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63429         (__OFF_T_MATCHES_OFF64_T): New macro.
63431 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63433         * stdlib/secure-getenv.c (__secure_getenv): Replace
63434         GLIBC_2_16 with GLIBC_2_17.
63436 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63438         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63439         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63441 2012-08-03  David S. Miller  <davem@davemloft.net>
63443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63445 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63447         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63448         Remove.
63449         (__ASSUME_CORRECT_SI_PID): Likewise.
63450         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63451         (__ASSUME_TMPFS_NAME): Likewise.
63452         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63453         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63454         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63455         (HAVE_AUX_SECURE): Make definition unconditional.
63456         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63457         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63459 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63461         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63462         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63463         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63464         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63465         __eloop_threshold instead of SYMLOOP_MAX.
63467         * sysdeps/generic/eloop-threshold.h: New file.
63468         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63469         of MAXSYMLINKS.
63470         * elf/chroot_canon.c (chroot_canon): Likewise.
63472 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63474         [BZ #13717]
63475         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63476         Change to 2.6.0 everywhere.
63477         * sysdeps/unix/sysv/linux/configure: Regenerated.
63478         * sysdeps/unix/sysv/linux/kernel-features.h
63479         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63480         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63481         kernel versions.
63482         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63483         (__ASSUME_FUTEX_REQUEUE): Remove.
63484         (__ASSUME_STATFS64): Define unconditionally.
63485         (__ASSUME_AT_SECURE): Likewise.
63486         (__ASSUME_CORRECT_SI_PID): Likewise.
63487         (__ASSUME_TGKILL): Define without depending on kernel version for
63488         i386.
63489         (__ASSUME_UTIMES): Likewise.
63490         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63491         kernel version.
63492         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63493         (__ASSUME_TMPFS_NAME): Likewise.
63494         * README: Update reference to Linux kernel versions.
63496 2012-08-02  Marek Polacek  <polacek@redhat.com>
63498         [BZ# 14150]
63499         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63500         libc_cv_asm_type_prefix with %.
63501         * configure: Regenerated.
63502         * include/libc-symbols.h: Remove comment about
63503         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63504         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63505         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63506         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63507         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63508         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63509         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63510         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63511         * elf/tst-unique2mod1.c: Likewise.
63512         * elf/tst-unique1mod2.c: Likewise.
63513         * elf/tst-unique1mod1.c: Likewise.
63514         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63515         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63516         Replace ASM_TYPE_DIRECTIVE with .type.
63517         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63518         * sysdeps/i386/sysdep.h: Likewise.
63519         * sysdeps/x86_64/sysdep.h: Likewise.
63520         * sysdeps/sh/sysdep.h: Likewise.
63521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63522         Do not define ASM_TYPE_DIRECTIVE.
63523         * sysdeps/powerpc/sysdep.h: Likewise.
63524         * sysdeps/powerpc/powerpc32/sysdep.h:
63525         Replace ASM_TYPE_DIRECTIVE with .type.
63526         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63527         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63528         * sysdeps/i386/fpu/e_powf.S: Likewise.
63529         * sysdeps/i386/fpu/e_expl.S: Likewise.
63530         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63531         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63532         * sysdeps/i386/fpu/e_pow.S: Likewise.
63533         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63534         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63535         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63536         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63537         * sysdeps/i386/fpu/e_log2.S: Likewise.
63538         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63539         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63540         * sysdeps/i386/fpu/e_powl.S: Likewise.
63541         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63542         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63543         * sysdeps/i386/fpu/e_logl.S: Likewise.
63544         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63545         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63546         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63547         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63548         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63549         * sysdeps/i386/fpu/e_log.S: Likewise.
63550         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63551         * sysdeps/i386/fpu/e_logf.S: Likewise.
63552         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63553         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63554         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63555         * sysdeps/i386/fpu/e_log10.S: Likewise.
63556         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63557         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63558         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63559         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63560         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63561         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63562         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63563         * sysdeps/i386/i686/strtok.S: Likewise.
63564         * sysdeps/i386/i386-mcount.S: Likewise.
63565         * sysdeps/i386/strtok.S: Likewise.
63566         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63567         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63568         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63569         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63570         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63571         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63572         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63573         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63574         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63575         * sysdeps/x86_64/_mcount.S: Likewise.
63576         * sysdeps/x86_64/strtok.S: Likewise.
63577         * sysdeps/sh/_mcount.S: Likewise.
63579 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63581         * libio/iofopen.c: Include <fcntl.h>.
63582         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63583         (_IO_fopen64, fopen64): Define as aliases.
63584         * libio/iofopen64.c: Include <fcntl.h>.
63585         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63586         Conditionalize body on this.
63587         * sysdeps/wordsize-64/iofopen.c: File removed.
63588         * sysdeps/wordsize-64/iofopen64.c: File removed.
63590 2012-08-01  Marek Polacek  <polacek@redhat.com>
63592         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63593         Use dlfcn directly instead of a variable.
63594         (binfmt-subdir): Do not define.
63595         (dlfcn): Likewise.
63597 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63599         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63600         Remove all definitions.
63601         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63602         <kernel-features.h>.
63603         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63604         (miss_F_GETOWN_EX): Remove all definitions.
63605         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63606         macro definition.
63607         [!__ASSUME_FCNTL64]: Remove conditional code.
63608         [__ASSUME_FCNTL64]: Make code unconditional.
63609         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63610         <kernel-features.h>.
63611         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63612         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63613         (lockf64) [__NR_fcntl64]: Make code unconditional.
63614         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63616         * sysdeps/unix/sysv/linux/kernel-features.h
63617         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63618         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63619         Make code unconditional.
63620         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63621         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63623         [__NR_vfork]: Make code unconditional.
63624         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63625         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63627         [__NR_vfork]: Make code unconditional.
63628         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63629         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63631 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63633         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63634         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63636         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63637         Define mkstemp64 as an alias.
63638         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63639         Define mkstemps64 as an alias.
63640         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63641         Define mkostemp64 as an alias.
63642         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63643         Define mkostemps64 as an alias.
63644         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63645         Conditionalize body on this.
63646         * misc/mkostemp64.c: Likewise.
63647         * misc/mkostemps64.c: Likewise.
63648         * misc/mkstemps64.c: Likewise.
63649         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63650         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63651         * sysdeps/wordsize-64/mkostemp.c: File removed.
63652         * sysdeps/wordsize-64/mkstemp.c: File removed.
63653         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63654         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63655         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63656         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63658         [BZ #14138]
63659         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63660         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63661         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63662         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63664         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63665         compat_symbol macros from <shlib-compat.h> rather than the underlying
63666         default_symbol_version and symbol_version macros, so that DEFAULT
63667         lines in shlib-versions are respected.
63668         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63670 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63672         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63673         Declare with warn_unused_result.
63674         (setgid, setregid, setegid, setresgid): Likewise.
63675         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63676         Likewise.
63677         * WUR-REPORT: Remove set*id functions.
63679 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63681         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63683 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63685         [BZ #10191]
63686         * include/sys/socket.h (__libc_accept, __libc_accept4):
63687         Add attribute_hidden.
63688         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63690         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63691         use of PTR_MANGLE.
63692         * inet/getnetgrent_r.c (setup): Likewise.
63694         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63696 2012-07-31  David S. Miller  <davem@davemloft.net>
63698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63700 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63702         [BZ #13629]
63703         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63704         value between 1.0 and 2.0 and smaller part has absolute value less
63705         than 1.0.
63706         * math/s_clog10.c (__clog10): Likewise.
63707         * math/s_clog10f.c (__clog10f): Likewise.
63708         * math/s_clog10l.c (__clog10l): Likewise.
63709         * math/s_clogf.c (__clogf): Likewise.
63710         * math/s_clogl.c (__clogl): Likewise.
63711         * math/libm-test.inc (clog_test): Add more tests.
63712         (clog10_test): Likewise.
63713         * sysdeps/i386/fpu/libm-test-ulps: Update.
63714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63716 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63718         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63719         Exit with zero in case no suitable GID is found, and write a
63720         message to standard error.
63722 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63724         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63725         rather than to 1.
63726         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63727         (MAXPATHLEN): Removed.
63728         (NOGROUP, NODEV): New macros.
63729         (setbit, clrbit, isset, isclr): New macros.
63730         (howmany, roundup, powerof2): New macros.
63731         (DEV_BSIZE): New macro.
63733         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63734         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63736         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63737         definition on [!__NO_LONG_DOUBLE_MATH].
63739         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63740         PTR_MANGLE and PTR_DEMANGLE.
63742         * socket/accept4.c (accept4): Rename to __libc_accept4.
63743         Define accept4 as a weak alias.
63745         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63746         on [_DIRENT_HAVE_D_TYPE].
63747         * io/ftw.c (ftw_dir): Likewise.
63749         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63751         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63753         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63754         Use the BSD numbers rather than the arbitrary ones we had.
63755         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63756         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63757         (SIGXCPU, SIGXFSZ): New macros.
63758         (_NSIG): Now 32.
63760         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63761         initializer on [_LIBC_REENTRANT].
63763         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63764         definitions inside [_POSIX_MAPPED_FILES].
63766         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63768         * dirent/opendir.c: Include <fcntl.h>.
63770         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63771         (__libc_getspecific): Likewise.
63772         (__libc_key_create): Likewise.
63774         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63775         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63776         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63777         (tmpfile64): Define as alias.
63778         * sysdeps/wordsize-64/tmpfile.c: File removed.
63779         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63780         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63781         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63783         * stdio-common/vfscanf.c: Include <stdbool.h>.
63784         * nss/makedb.c: Likewise.
63785         * stdio-common/_i18n_number.h: Likewise.
63786         * argp/argp-help.c: Likewise.
63787         * posix/wordexp.c: Likewise.
63788         * sysdeps/posix/spawni.c: Likewise.
63789         * nss/nss_files/files-initgroups.c: Likewise.
63790         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63791         * nss/nss_files/files-initgroups.c: Likewise.
63792         * nss/nss_db/db-netgrp.c: Likewise.
63793         * nss/nss_db/db-initgroups.c: Likewise.
63794         * io/fchmodat.c: Include <sys/stat.h>.
63796         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63797         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63799         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63800         [HAVE_MMAP].
63802         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63803         Add multiple inclusion protection.
63805 2012-07-27  David S. Miller  <davem@davemloft.net>
63807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63809 2012-07-27  Gary Benson  <gbenson@redhat.com>
63811         [BZ #14298]
63812         * elf/rtld.c: Include <stap-probe.h>.
63813         (dl_main): Added static probes "init_start" and "init_complete".
63814         * elf/dl-load.c: Include <stap-probe.h>.
63815         (lose): Take new parameter "nsid".
63816         Added static probe "map_failed".
63817         (_dl_map_object_from_fd): Pass namespace id to lose.
63818         Added static probe "map_start".
63819         (open_verify): Pass namespace id to lose.
63820         * elf/dl-open.c: Include <stap-probe.h>.
63821         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63822         and "reloc_complete".
63823         * elf/dl-close.c: Include <stap-probe.h>.
63824         (_dl_close_worker): Added static probes "unmap_start" and
63825         "unmap_complete".
63826         * elf/rtld-debugger-interface.txt: New file documenting the above.
63828 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63830         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63831         rather than a string variable.
63832         * sunrpc/rpc_main.c (h_output): Likewise.
63833         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63835 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63837         * inet/check_native.c: New file.
63839 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63841         [BZ #13629]
63842         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63843         if larger part has absolute value 1.0.
63844         * math/s_clog10.c (__clog10): Likewise.
63845         * math/s_clog10f.c (__clog10f): Likewise.
63846         * math/s_clog10l.c (__clog10l): Likewise.
63847         * math/s_clogf.c (__clogf): Likewise.
63848         * math/s_clogl.c (__clogl): Likewise.
63849         * math/libm-test.inc (clog_test): Add more tests.
63850         (clog10_test): Likewise.
63851         * sysdeps/i386/fpu/libm-test-ulps: Update.
63852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63854         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63855         (pltexit): Likewise.
63856         (La_regs): Likewise.
63857         (La_retval): Likewise.
63858         (int_retval): Likewise.
63859         Update #error for removed macros to refer only to definitions in
63860         tst-audit.h.
63861         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63862         macro.
63863         (pltexit): Likewise.
63864         (La_regs): Likewise.
63865         (La_retval): Likewise.
63866         (int_retval): Likewise.
63867         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63868         macro.
63869         (pltexit): Likewise.
63870         (La_regs): Likewise.
63871         (La_retval): Likewise.
63872         (int_retval): Likewise.
63873         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63874         macro.
63875         (pltexit): Likewise.
63876         (La_regs): Likewise.
63877         (La_retval): Likewise.
63878         (int_retval): Likewise.
63879         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63880         macro.
63881         (pltexit): Likewise.
63882         (La_regs): Likewise.
63883         (La_retval): Likewise.
63884         (int_retval): Likewise.
63885         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63886         macro.
63887         (pltexit): Likewise.
63888         (La_regs): Likewise.
63889         (La_retval): Likewise.
63890         (int_retval): Likewise.
63891         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63892         macro.
63893         (pltexit): Likewise.
63894         (La_regs): Likewise.
63895         (La_retval): Likewise.
63896         (int_retval): Likewise.
63897         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63898         macro definitions in tst-audit.h.
63899         * sysdeps/i386/tst-audit.h: New file.
63900         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63901         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63902         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63903         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63904         * sysdeps/sh/tst-audit.h: Likewise.
63905         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63906         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63907         * sysdeps/x86_64/tst-audit.h: Likewise.
63909 2012-07-26  Andreas Jaeger  <aj@suse.de>
63911         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63912         ptrace.
63914         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63915         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63916         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63917         PTRACE_O_MASK.
63918         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63919         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63920         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63922         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63923         value.
63925         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63926         _sigsys.
63927         (si_call_addr, si_syscall, si_arch): Define new macro.
63928         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63929         _sigsys.
63930         (si_call_addr, si_syscall, si_arch): Define new marcro.
63931         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63932         _sigsys.
63933         (si_call_addr, si_syscall, si_arch): Define new macro.
63934         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63935         _sigsys.
63936         (si_call_addr, si_syscall, si_arch): Define new macro.
63938 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63940         [BZ #13717]
63941         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63942         Change to 2.4.21 where previously 2.4.1.
63943         * sysdeps/unix/sysv/linux/configure: Regenerated.
63944         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63945         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63946         Linux kernel version.
63947         (__ASSUME_STD_AUXV): Remove.
63948         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63949         kernel version.
63950         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63951         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63952         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63953         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63954         (__ASSUME_NETLINK_SUPPORT): Likewise.
63955         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63956         (__no_netlink_support): Remove conditional definition.
63957         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63958         Remove.
63959         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63960         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63961         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63962         (if_nameindex_ioctl): Remove.
63963         (if_nameindex_netlink): Do not handle __no_netlink_support.
63964         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63965         code.
63966         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63967         Remove conditional code.
63968         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63969         code.
63970         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63971         unconditional.
63972         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63973         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63974         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63975         Remove.
63976         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63977         [!__ASSUME_STD_AUXV]: Remove conditional code.
63978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63979         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63980         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63982         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63983         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63984         code.
63985         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63987         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63988         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63989         conditional code.
63990         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63992         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63993         code.
63994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63995         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63996         conditional code.
63997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63998         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63999         code unconditional.
64000         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64001         conditional code.
64002         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64003         unconditional.
64004         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64005         conditional code.
64006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64007         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64008         unconditional.
64009         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64010         conditional code.
64011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
64012         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64013         code unconditional.
64014         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64015         conditional code.
64016         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64017         unconditional.
64018         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64019         conditional code.
64020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64021         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64022         code unconditional.
64023         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64024         conditional code.
64025         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64026         unconditional.
64027         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64028         conditional code.
64030 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
64032         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
64033         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
64034         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
64035         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
64036         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
64037         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64038         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
64039         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
64040         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
64041         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
64042         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64043         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
64044         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
64045         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
64046         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
64047         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
64048         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
64049         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
64050         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
64051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
64052         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
64053         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
64054         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64056 2012-07-25  Florian Weimer  <fweimer@redhat.com>
64058         * Versions.def: Add GLIBC_2.17.
64059         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
64060         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
64061         Introduce __libc_secure_getenv.
64062         * stdlib/Versions (2.17): Add secure_getenv
64063         (GLIBC_PRIVATE): Add __libc_secure_getenv.
64064         * stdlib/secure-getenv.c: Rename __secure_getenv to
64065         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
64066         symbol __secure_getenv for GLIBC_2.0.
64067         * stdlib/tst-secure-getenv.c: New.
64068         * stdlib/Makefile (tests): Add testcase.
64069         * manual/startup.texi (Environment Access): Document
64070         secure_getenv.
64071         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
64072         __libc_secure_getenv.
64073         * inet/ruserpass.c (ruserpass): Likewise.
64074         * malloc/mtrace.c (mtrace): Likewise.
64075         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
64076         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
64077         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
64078         * sysdeps/posix/tempname.c: Likewise.  Evaluate
64079         HAVE_SECURE_GETENV.
64080         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
64081         __secure_getenv to __libc_secure_getenv.
64082         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
64083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64084         Likewise.
64085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64086         Likewise.
64087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64089         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64095 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64097         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
64098         (struct La_i86_retval): Likewise.
64099         (struct La_x86_64_regs): Likewise.
64100         (struct La_x86_64_retval): Likewise.
64101         (struct La_x32_regs): Likewise.
64102         (struct La_x32_retval): Likewise.
64103         (struct La_ppc32_regs): Likewise.
64104         (struct La_ppc32_retval): Likewise.
64105         (struct La_ppc64_regs): Likewise.
64106         (struct La_ppc64_retval): Likewise.
64107         (struct La_sh_regs): Likewise.
64108         (struct La_sh_retval): Likewise.
64109         (struct La_s390_32_regs): Likewise.
64110         (struct La_s390_32_retval): Likewise.
64111         (struct La_s390_64_regs): Likewise.
64112         (struct La_s390_64_retval): Likewise.
64113         (struct La_sparc32_regs): Likewise.
64114         (struct La_sparc32_retval): Likewise.
64115         (struct La_sparc64_regs): Likewise.
64116         (struct La_sparc64_retval): Likewise.
64117         (struct audit_ifaces): Remove architecture-specific pltenter and
64118         pltexit members.
64119         * sysdeps/i386/ldsodefs.h: New file.
64120         * sysdeps/powerpc/ldsodefs.h: Likewise.
64121         * sysdeps/s390/ldsodefs.h: Likewise.
64122         * sysdeps/sh/ldsodefs.h: Likewise.
64123         * sysdeps/sparc/ldsodefs.h: Likewise.
64124         * sysdeps/x86_64/ldsodefs.h: Likewise.
64126 2012-07-25  Marek Polacek  <polacek@redhat.com>
64128         [BZ #6808]
64129         * math/libm-test.inc (yn_test): Add another test.
64130         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64131         to ERANGE when the result is +-Inf.
64132         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64133         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64134         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64135         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64137 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
64139         * conform/data/time.h-data (NULL): Use macro-constant.  Require
64140         equal to 0.
64141         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
64142         clock_t.
64143         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
64145 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
64147         * configure.in <sysdeps resolving>: Correct printing
64148         Implies_before.
64149         * configure: Regenerate.
64151 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
64153         * math/w_ilogb.c: Include <limits.h>.
64154         * math/w_ilogbl.c: Likewise.
64156 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64158         * manual/lang.texi (__va_copy): Document primarily as ISO C99
64159         va_copy.  Document allowing for unavailable va_copy only as
64160         pre-C99 compatibility.
64161         * manual/string.texi (Copying and Concatenation): Use va_copy
64162         instead of __va_copy in concat example.
64164 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64166         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64167         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64168         it if not null.
64170         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64171         with O_NOLINK passed to __file_name_lookup.
64173         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64174         with O_NOLINK passed to __file_name_lookup.
64176         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64177         negative N or less than NGIDS.
64179         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64180         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64181         enough.  Use memcpy instead of strncpy.
64183 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64185         * elf/Makefile (check-data): Remove.
64186         (localplt.data): New vpath directive.
64187         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64188         instead of $(check-data).
64189         * scripts/data/localplt-generic.data: Move to ...
64190         * sysdeps/generic/localplt.data: ... here.
64191         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64192         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64193         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64195         ... here.
64196         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64198         ... here.
64199         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64201         ... here.
64202         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64204         ... here.
64205         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64207         ... here.
64208         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64210         ... here.
64212 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64214         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64215         PPC32 and PPC64 files.
64216         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64217         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64219 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64221         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64222         __makecontext_ret to ...
64223         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64224         ... here and call exit if uc_link is NULL.  New file.
64225         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64226         __makecontext_ret.S.
64227         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64228         __makecontext_ret to ...
64229         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64230         ... here and call exit if uc_link is NULL.  New file.
64231         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64232         __makecontext_ret.S.
64234 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64236         * elf/elf.h (R_390_IRELATIVE): New definition.
64237         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64238         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64239         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64240         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64241         (elf_machine_lazy_rel): Likewise.
64242         * sysdeps/s390/dl-irel.h: New file.
64243         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64244         * sysdeps/s390/s390-64/memset.S: New asm code.
64245         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64246         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64247         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64248         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64249         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64250         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64251         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64252         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64253         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64254         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64255         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64256         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64257         * sysdeps/s390/s390-32/memset.S: New asm code.
64258         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64260 2012-07-17  Marek Polacek  <polacek@redhat.com>
64262         [BZ #14349]
64263         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64264         * sysdeps/s390/s390-64/configure.in: Likewise.
64265         * sysdeps/sparc/configure.in: Likewise.
64266         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64267         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64268         * sysdeps/i386/configure.in: Likewise.
64269         * sysdeps/x86_64/configure.in: Likewise.
64270         * sysdeps/sh/configure.in: Likewise.
64271         * sysdeps/s390/s390-32/configure: Regenerated.
64272         * sysdeps/s390/s390-64/configure: Likewise.
64273         * sysdeps/x86_64/configure: Likewise.
64274         * sysdeps/sh/configure: Likewise.
64275         * sysdeps/powerpc/powerpc64/configure: Likewise.
64276         * sysdeps/powerpc/powerpc32/configure: Likewise.
64277         * sysdeps/sparc/configure: Likwise.
64278         * sysdeps/i386/configure: Likewise.
64280         * elf/dl-open.c: Comment fixes.
64282 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64284         * Makefile [CXX] (check-data): Remove.
64285         [CXX] (c++-types.data): New vpath directive.
64286         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64287         vpath.  Do not allow for C++ type data being missing.
64288         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64289         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64290         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64291         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64292         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64293         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64294         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64296         ... here.
64297         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64299         ... here.
64300         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64302         ... here.
64303         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64305         ... here.
64306         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64308         ... here.
64309         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64311         ... here.
64312         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64314         ... here.
64315         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64318         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64319         definitions to architecture-specific files.
64320         (TLS_IE): Likewise.
64321         (TLS_LD): Likewise.
64322         (TLS_GD): Likewise.
64323         * sysdeps/i386/tls-macros.h: New file.
64324         * sysdeps/powerpc/tls-macros.h: Likewise.
64325         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64326         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64327         * sysdeps/sh/tls-macros.h: Likewise.
64328         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64329         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64330         * sysdeps/x86_64/tls-macros.h: Likewise.
64332 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64334         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64335         zero value for regular exit case.
64337         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64338         (__start_context): Preserve zero value for regular exit case.
64340 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64341             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64343         * manual/setjmp.texi (setcontext): Clarify normal process
64344         termination when uc_link is the null pointer.
64345         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64346         exit call.
64348 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64350         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64351         preprocessor.  Test for each exception mask separately.
64353 2012-07-16  Andreas Jaeger  <aj@suse.de>
64355         * po/ru.po: Update from translation team.
64357 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64359         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64360         equal to 0.
64361         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64362         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64363         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64364         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64365         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64367 2012-07-13  Andreas Jaeger  <aj@suse.de>
64369         * po/fr.po: Update from translation team.
64371 2012-07-12  Marek Polacek  <polacek@redhat.com>
64373         [BZ #14173]
64374         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64375         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64376         loop condition.
64378 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64380         [BZ #13717]
64381         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64382         Change to 2.4.1 where previously 2.4.0.
64383         * sysdeps/unix/sysv/linux/configure: Regenerated.
64384         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64385         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64386         version.
64387         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64388         (__ASSUME_AT_CLKTCK): Remove.
64389         (__ASSUME_AT_PAGESIZE): Likewise.
64390         (__ASSUME_AT_XID): Likewise.
64391         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64392         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64393         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64394         unconditionally.
64395         (HAVE_AUX_PAGESIZE): Likewise.
64396         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64397         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64398         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64400 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64402         [BZ #14307]
64403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64404         the temporary buffer used to invoke __gethostbyname2_r,
64405         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64406         host_data / struct gaih_addrtuple.
64407         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64408         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64409         header file nss/nsswitch.h.
64410         * nss/nsswitch.h (global scope): Add definition of implementation
64411         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64412         resolv/nss_dns/dns-host.c).
64414 2012-07-11  Andreas Jaeger  <aj@suse.de>
64416         * po/fr.po: Update from translation team.
64418         * po/sv.po: Update from translation team
64419         * po/fr.po: Another update from translation team.
64421 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64423         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64424         for subnormals or multiply small sinh result by itself.
64425         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64428 2012-07-11  David S. Miller  <davem@davemloft.net>
64430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64432 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64434         [BZ #14347]
64435         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64436         (INTERNAL_MARK): Shift it here.
64438 2012-07-10  Marek Polacek  <polacek@redhat.com>
64440         [BZ #14151]
64441         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64442         libc_cv_asm_global_directive with .globl.
64443         * configure: Regenerated.
64444         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64445         with .globl.
64446         * sysdeps/i386/configure: Regenerated.
64447         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64448         with .globl.
64449         * sysdeps/x86_64/configure: Regenerated.
64450         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64451         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64452         * elf/tst-unique2mod2.c: Likewise.
64453         * elf/tst-unique2mod1.c: Likewise.
64454         * elf/tst-unique1mod2.c: Likewise.
64455         * elf/tst-unique1mod1.c: Likewise.
64456         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64457         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64458         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64459         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64460         * sysdeps/mach/sysdep.h: Likewise.
64461         * sysdeps/i386/sysdep.h: Likewise.
64462         * sysdeps/i386/i386-mcount.S: Likewise.
64463         * sysdeps/x86_64/_mcount.S: Likewise.
64464         * sysdeps/x86_64/sysdep.h: Likewise.
64465         * sysdeps/sh/_mcount.S: Likewise.
64466         * sysdeps/sh/sysdep.h: Likewise.
64467         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64468         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64469         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64470         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64471         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64472         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64473         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64474         * locale/localeinfo.h: Likewise.
64475         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64476         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64478 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64480         [BZ #14336]
64481         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64482         system".
64483         * manual/message.texi (The Uniforum approach): Likewise.
64484         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64485         (glibc iconv Implementation): Likewise.
64487 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64489         [BZ #14337]
64490         * math/s_clog.c (__clog): Avoid scaling a value down where that
64491         could result in underflow.
64492         * math/s_clog10.c (__clog10): Likewise.
64493         * math/s_clog10f.c (__clog10f): Likewise.
64494         * math/s_clog10l.c (__clog10l): Likewise.
64495         * math/s_clogf.c (__clogf): Likewise.
64496         * math/s_clogl.c (__clogl): Likewise.
64497         * math/libm-test.inc (clog_test): Add more tests.
64498         (clog10_test): Likewise.
64499         * sysdeps/i386/fpu/libm-test-ulps: Update.
64500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64502 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64504         [BZ #14283]
64505         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64506         by 7 not 8 to examine high bit of fractional part.
64508         [BZ #14042]
64509         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64510         for call to __mcount_internal.
64511         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64512         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64513         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64515 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64517         [BZ #14154]
64518         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64519         approximation for values within 0x1p-13f of an odd multiple of
64520         pi/4.
64521         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64522         exception.  Add more tests.
64523         * sysdeps/i386/fpu/libm-test-ulps: Update.
64525         [BZ #6778]
64526         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64527         inputs and return -1 for them.  Do not check for +Inf in case not
64528         reachable for +Inf.
64529         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64530         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64531         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64532         and return -1 for them.  Do not check for +Inf in case not
64533         reachable for +Inf.
64534         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64535         define.
64536         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64537         and return -1 for them.  Do not check for +Inf in case not
64538         reachable for +Inf.
64539         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64540         spurious underflow.
64541         * sysdeps/i386/fpu/libm-test-ulps: Update.
64542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64544 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64546         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64548 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64550         [BZ #14157]
64551         [BZ #14331]
64552         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64553         could result in spurious underflow.  Scale down values above
64554         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64555         * math/s_csqrtf.c (__csqrtf): Likewise.
64556         * math/s_csqrtl.c (__csqrtl): Likewise.
64557         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64558         spurious underflow.
64559         * sysdeps/i386/fpu/libm-test-ulps: Update.
64560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64562 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64564         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64565         xopen-msg.sed.
64566         * catgets/xopen-msg.awk: New file.
64567         * catgets/xopen-msg.sed: Removed.
64569         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64570         po2text.sed.
64571         * intl/po2test.awk: New file.
64572         * intl/po2test.sed: Removed.
64574 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64576         [BZ #14328]
64577         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64578         or multiply small sinh result by itself.
64579         * math/s_ctanf.c (__ctanf): Likewise.
64580         * math/s_ctanh.c (__ctanh): Likewise.
64581         * math/s_ctanhf.c (__ctanhf): Likewise.
64582         * math/s_ctanhl.c (__ctanhl): Likewise.
64583         * math/s_ctanl.c (__ctanl): Likewise.
64584         * math/libm-test.inc (ctan_test_tonearest): New function.
64585         (ctan_test_towardzero): Likewise.
64586         (ctan_test_downward): Likewise.
64587         (ctan_test_upward): Likewise.
64588         (ctanh_test_tonearest): Likewise.
64589         (ctanh_test_towardzero): Likewise.
64590         (ctanh_test_downward): Likewise.
64591         (ctanh_test_upward): Likewise.
64592         (main): Call these new functions.
64593         * sysdeps/i386/fpu/libm-test-ulps: Update.
64594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64596 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64598         * .gitignore: Delete /ports entry.
64600 2012-07-03  Andreas Jaeger  <aj@suse.de>
64602         * po/bg.po: Update from translation team.
64603         * po/cs.po: Likewise.
64604         * po/de.po: Likewise.
64605         * po/hr.po: Likewise.
64606         * po/nl.pl: Likewise.
64607         * po/pl.po: Likewise.
64608         * po/vi.po: Likewise.
64610 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64612         * Makeconfig [!+link] (+link-before-libc): New variable.
64613         [!+link] (+link-after-libc): Likewise.
64614         [!+link] (+link-tests): Likewise.
64615         [!+link] (+link): Define in terms of $(+link-before-libc) and
64616         $(+link-after-libc).
64617         [!+link-static] (+link-static-before-libc): New variable.
64618         [!+link-static] (+link-static-after-libc): Likewise.
64619         [!+link-static] (+link-static-tests): Likewise.
64620         [!+link-static] (+link-static): Define in terms of
64621         $(+link-static-before-libc) and $(+link-static-after-libc).
64622         [build-shared] (link-libc-before-gnulib): New variable.
64623         [build-shared] (link-libc-tests): Likewise.
64624         [build-shared] (link-libc): Define in terms of
64625         $(link-libc-before-gnulib).
64626         [!build-shared] (link-libc-tests): New variable.
64627         (link-libc-static-tests): New variable.
64628         [!gnulib] (gnulib-arch): New variable.
64629         [!gnulib] (gnulib-tests): Likewise.
64630         [!gnulib] (static-gnulib-arch): Likewise.
64631         [!gnulib] (static-gnulib-tests): Likewise.
64632         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64633         Define with "=" instead of ":=".
64634         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64635         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64636         * Rules (binaries-all-notests): New variable.
64637         (binaries-all-tests): Likewise.
64638         (binaries-static-notests): Likewise.
64639         (binaries-static-tests): Likewise.
64640         (binaries-all): Define using $(binaries-all-notests) and
64641         $(binaries-all-tests).
64642         (binaries-static): Define using $(binaries-static-notests) and
64643         $(binaries-static-tests).
64644         (binaries-shared-tests): New variable.
64645         (binaries-shared-notests): Likewise.
64646         (binaries-shared): Remove variable.
64647         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64648         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64649         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64650         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64651         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64652         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64653         * elf/Makefile (sln-modules): New variable.
64654         (extra-objs): Add $(sln-modules:=.o).
64655         (ldconfig-modules): Add static-stubs.
64656         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64657         * elf/static-stubs.c: New file.
64659         [BZ #14283]
64660         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64661         by 7 not 8 to examine high bit of fractional part.  Use volatile
64662         variables when splitting into final array of floats if
64663         __FLT_EVAL_METHOD__ != 0.
64664         * math/libm-test.inc (cos_test): Add another test.
64665         (sin_test): Likewise.
64666         * sysdeps/i386/fpu/libm-test-ulps: Update.
64668         [BZ #14273]
64669         * math/libm-test.inc (cosh_test): Add more tests.
64671         * version.h (RELEASE): Set to "development".
64672         (VERSION): Set to "2.16.90".
64674 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64676         * NEWS: Update copyright. Remove last-updated date.
64677         Mention math library bug fixes and timezone data changes.
64678         * README: Mention GNU/Hurd, x32, and HPPA support status.
64680 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64682         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64684 2012-06-27  Andreas Jaeger  <aj@suse.de>
64686         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64688 2012-06-25  Andreas Jaeger  <aj@suse.de>
64690         * sysdeps/s390/fpu/libm-test-ulps: Update.
64692 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64693             Thomas Schwinge  <thomas@codesourcery.com>
64695         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64696         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64697         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64698         fanotify_mark.
64700 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64702         * sysdeps/mach/start.c: Remove file.
64703         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64704         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64705         * sysdeps/sh/init-first.c: Likewise.
64707         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64708         registers for frame unwinding purposes, add CFI directives.
64709         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64710         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64711         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64712         Likewise.
64714         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64715         __fortify_fail returning.
64716         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64718         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64719         sysdeps/sh/____longjmp_chk.S.
64720         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64721         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64722         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64723         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64725         * sysdeps/sh/abort-instr.h: New file.
64726         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64727         process in case exit returns.
64729         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64730         initialize the GOT register before use.
64732         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64733         calculation of ARGC > 4.
64735         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64736         meaningful names to some local labels.
64738 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64739             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64741         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64742         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64743         (__arch_compare_and_exchange_val_16_acq): Likewise.
64744         (__arch_compare_and_exchange_val_32_acq): Likewise.
64745         (atomic_exchange_and_add): Fix gUSA sequence.
64746         (atomic_add): Likewise.
64747         (atomic_add_negative): Likewise.
64748         (atomic_add_zero): Likewise.
64749         (atomic_bit_test_set): Likewise.
64751 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64753         [BZ #13579]
64754         * include/link.h (struct link_map): Add l_free_initfini.
64755         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64756         l_initfini.
64757         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64758         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64759         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64760         set.
64762 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64764         * configure.in: Use AC_LANG_SOURCE.
64765         * configure: Regenerate.
64767 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64769         * configure.in (libc_cv_localstatedir): New substituted variable.
64770         * configure: Regenerated.
64771         * config.make.in (localstatedir): New variable, substituted from
64772         libc_cv_localstatedir.
64773         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64774         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64775         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64776         * sysdeps/gnu/configure: Regenerated.
64778 2012-06-21  Jeff Law  <law@redhat.com>
64780         [BZ #14277]
64781         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64782         free.  Simplify list management for _LIBC case.
64784 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64786         [BZ #14273]
64787         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64788         Clear sign bit of 64-bit integer value before comparing against
64789         overflow value.
64791         * sysdeps/mach/configure: Regenerated.
64793 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64795         [BZ #14278]
64796         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64798 2012-06-21  Jeff Law  <law@redhat.com>
64800         [BZ #13882]
64801         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64802         uint16_t for elements in the "seen" array to avoid char overflows.
64803         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64804         * elf/dl-open.c (dl_open_worker): Likewise.
64806 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64808         * scripts/list-sources.sh: Scan PORTS for translations.
64809         * po/libc.pot: Regenerated.
64811 2012-06-21  Andreas Jaeger  <aj@suse.de>
64813         [BZ #12194]
64814         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64815         warning.
64816         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64817         * bits/byteswap-16.h (__bswap_16): Likewise.
64818         * bits/byteswap.h (__bswap_constant_16): Likewise.
64820 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64822         [BZ #14117]
64823         * sysdeps/i386/fpu_control.h: Removed.
64824         * sysdeps/x86_64/fpu_control.h: Moved to ...
64825         * sysdeps/x86/fpu_control.h: Here.
64827         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64828         (_FPU_SETCW): Likewise.
64830 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64832         [BZ #14117]
64833         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64834         * sysdeps/x86/fpu/bits/mathinline.h: This.
64835         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64837         [BZ #14050]
64838         [BZ #14117]
64839         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64840         functions if __x86_64__ is defined.
64842 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64844         * string/endian.h: Add !__ASSEMBLER__ condition for including
64845         conversion interfaces.
64847 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64849         [BZ #14241]
64850         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64851         of ABS(x) in calculating zero to negative powers other than odd
64852         integers.
64853         * math/libm-test.inc (pow_test): Add more tests.
64855 2012-06-15  Andreas Jaeger  <aj@suse.de>
64857         * manual/contrib.texi (Contributors): Update entry of Liubov
64858         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64859         Machado Filho.
64861 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64863         * string/string.h: Add __wur to GNU version of strerror_r.
64865 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64867         [BZ #14229]
64868         * string/Makefile (tests): Add tst-strtok_r.
64869         * string/tst-strtok_r.c: New file.
64870         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64871         RAX_LP/RDX_LP on SAVE_PTR.
64873 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64875         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64877 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64879         * libm_test.inc (csqrt_test): Allow more spurious underflow
64880         exceptions.
64881         (j0_test): Likewise.
64882         (j1_test): Likewise.
64883         (y0_test): Likewise.
64884         (y1_test): Likewise.
64886 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64888         * po/Makefile (libc.pot): Use UTF-8 charset.
64890 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64892         [BZ #14210]
64893         Suppress sign-conversion warning from FD_SET.
64894         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64895         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64896         not unsigned long int.
64897         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64899 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64901         [BZ #14050]
64902         [BZ #14117]
64903         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64904         __extern_always_inline instead of __extern_inline.
64905         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64906         (__signbit): Likewise.
64907         (__signbitl): Support C++ namespace.
64908         (lrintf): New inline function.
64909         (lrint): Likewise.
64910         (llrintf): Likewise.
64911         (llrint): Likewise.
64912         (fmaxf): Likewise.
64913         (fmax): Likewise.
64914         (fminf): Likewise.
64915         (fmin): Likewise.
64916         (rint): Likewise.
64917         (rintf): Likewise.
64918         (ceil): Likewise.
64919         (ceilf): Likewise.
64920         (floor): Likewise.
64921         (floorf): Likewise.
64922         (nearbyint): Likewise.
64923         (nearbyintf): Likewise.
64925 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64927         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64928         non-default versions.
64930 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64932         [BZ #14218]
64933         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64935 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64937         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64938         (FE_UPWARD, FE_DOWNWARD): Don't define.
64939         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64940         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64942         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64943         reading it.
64944         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64945         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64947 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64949         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64950         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64951         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64952         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64954 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64956         [BZ #14117]
64957         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64958         * sysdeps/i386/fpu/Implies: New file.
64959         * sysdeps/x86_64/fpu/Implies: Likewise.
64960         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64961         * sysdeps/x86/fpu/bits/fenv.h: This.
64963         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64964         __SSE_MATH__.
64966 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64968         [BZ #14134]
64969         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64970         character 0xffff that matches the last element of the
64971         conversion table.
64973 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64975         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64976         fmodl commit.
64978 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64980         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64981         values higher than 25.6283.
64983 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64985         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64986         subnormal exponent extraction and add some __builtin_expect.
64987         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64988         Fix for subnormal mantissa calculation.
64990 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64992         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64993         cpu2 is -1 and errno is not ENOSYS.
64995 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64997         [BZ #14117]
64998         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64999         * sysdeps/x86/bits/string.h: This.
65000         * sysdeps/x86_64/bits/string.h: Removed.
65002         * sysdeps/i386/i486/bits/string.h: Define inline functions only
65003         if not compiling for x86-64, but compiling for >= i486.
65005         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
65006         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
65008         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
65009         New macro from Linux kernel 3.4.0.
65010         (FP_XSTATE_MAGIC2): Likewise.
65011         (FP_XSTATE_MAGIC2_SIZE): Likewise.
65012         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
65013         (struct _fpx_sw_bytes): New struct.
65014         (struct _xsave_hdr): Likewise.
65015         (struct _ymmh_state): Likewise.
65016         (struct _xstate): Likewise.
65018         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
65019         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
65020         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
65021         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
65022         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
65023         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65025         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
65026         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
65027         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
65028         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
65029         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65030         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
65032 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65034         [BZ #13743]
65035         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
65036         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
65037         (sysdep_headers): Include sys/platform/ppc.h.
65038         * sysdeps/powerpc/test-gettimebase.c: Test for
65039         __ppc_get_timebase() to catch future ISA opcode/insn changes.
65040         * manual/Makefile (appendices): Include platform.texi.
65041         * manual/contrib.texi (Contributors): Update @node pointers.
65042         * manual/maint.texi (Maintenance): Likewise.
65043         (Platform): New node.
65044         * manual/platform.texi: New file.  Document the new features.
65046 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65047             Jakub Jelinek  <jakub@redhat.com>
65049         [BZ #14188]
65050         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
65051         where __builtin_expect is unavailable.
65053 2012-06-03  David S. Miller  <davem@davemloft.net>
65055         * stdlib/longlong.h: Updated from GCC.
65057 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
65059         [BZ #14042]
65060         * sysdeps/powerpc/powerpc32/mcount.c: New file.
65061         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
65062         __mcount_internal.
65063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65064         (GLIBC_2.16): Likewise.
65066 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65068         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
65070 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
65073         (default-abi): New variable.
65074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
65075         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
65076         variable.
65077         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
65078         Likewise.
65079         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
65080         Likewise.
65081         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
65082         Likewise.
65084         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
65085         definition.  Document in comment.
65087 2012-06-01  David S. Miller  <davem@davemloft.net>
65089         * stdlib/longlong.h: Updated from GCC.
65091 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65093         [BZ #14117]
65094         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
65095         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
65096         sys/debugreg.h sys/io.h here.
65097         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
65098         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
65099         sys/io.h.
65100         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
65101         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
65102         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
65103         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
65104         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
65105         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
65107         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
65108         Define only if __x86_64__ is defined.
65110 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65112         [BZ #14048]
65113         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
65114         Use int64_t for variable i.
65115         * math/libm-test.inc (fmod_test): Add more tests.
65117         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
65118         z computation is not scheduled after fetestexcept.
65119         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
65120         Use math_force_eval instead of asm to ensure calculation scheduled
65121         before exception test.
65122         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65123         Ensure a1 + u.d computation is not scheduled after fetestexcept.
65125 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
65127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65128         computation is not scheduled after fetestexcept.
65130 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65132         [BZ #14117]
65133         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65134         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65136 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65138         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65139         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65141 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65143         [BZ #14117]
65144         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
65145         <bits/wordsize.h>.
65146         (__WCHAR_MIN): Support __WORDSIZE == 64.
65147         (__WCHAR_MAX): Likewise.
65149         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
65150         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
65152         [BZ #14183]
65153         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
65154         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65156         [BZ #14117]
65157         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65158         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65160         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65161         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65163         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65164         Defined to 1 if __x86_64__ isn't defined.
65165         (_STAT_VER_LINUX_OLD): New.
65166         (st_atime): Remove duplicate.
65167         (st_mtime): Likewise.
65168         (st_ctime): Likewise.
65170 2012-05-31  David S. Miller  <davem@davemloft.net>
65172         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65173         entries.
65175 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65177         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65178         gen-libm-test.pl.
65180         [BZ #14132]
65181         * elf/dl-reloc.c: Include <_itoa.h>.
65182         (_dl_reloc_bad_type): Remove use of INTUSE.
65183         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65184         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65185         * stdio-common/psiginfo.c (psiginfo): Likewise.
65186         * stdio-common/psignal.c (psignal): Likewise.
65187         * string/strsignal.c (strsignal): Likewise.
65188         * include/signal.h (_sys_siglist): Declare hidden proto.
65189         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65190         INTVARDEF with libc_hidden_data_def.
65191         * stdio-common/itoa-udigits.c: Likewise.
65192         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65193         (_itoa_lower_digits_internal): Remove declaration.
65194         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65195         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65196         (_sys_sigabbrev_internal): Remove aliases.
65197         (_sys_siglist): Define hidden alias.
65199 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65202         bits/sysctl.h.
65204 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65206         [BZ #14117]
65207         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65208         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65210         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65211         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65212         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65213         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65214         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65215         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65217         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65218         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65219         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65221         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65222         with __addr.
65223         (insw): Likewise.
65224         (insl): Likewise.
65225         (outsb): Likewise.
65226         (outsw): Likewise.
65227         (outsl): Likewise.
65229         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65230         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65231         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65233         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65234         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65235         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65236         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65237         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65238         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65240         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65241         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65243         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65244         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65246         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65247         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65248         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65250         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65251         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65252         to ...
65253         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65255         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65256         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65257         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65259         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65260         for x86-64.
65261         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65263 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65265         * math/math.h (M_El): Use two more decimal places.
65266         (M_LOG2El): Likewise.
65267         (M_LOG10El): Likewise.
65268         (M_LN2l): Likewise.
65269         (M_LN10l): Likewise.
65270         (M_PIl): Likewise.
65271         (M_PI_2l): Likewise.
65272         (M_PI_4l): Likewise.
65273         (M_1_PIl): Likewise.
65274         (M_2_PIl): Likewise.
65275         (M_2_SQRTPIl): Likewise.
65276         (M_SQRT2l): Likewise.
65277         (M_SQRT1_2l): Likewise.
65279 2012-05-31  David S. Miller  <davem@davemloft.net>
65281         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65282         values between float registers.
65283         * sysdeps/sparc/sparc64/memset.S: Likewise.
65284         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65286 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65288         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65289         -D_FORTIFY_SOURCE=1.
65290         (CPPFLAGS-tst-longjmp_chk.c): Define.
65291         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65292         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65293         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65294         CFLAGS-tst-wchar-h.c.
65296 2012-05-31  Marek Polacek  <polacek@redhat.com>
65298         [BZ #14132]
65299         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65300         __endmntent_internal): Remove declaration.
65301         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65302         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65303         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65305 2012-05-30  David S. Miller  <davem@davemloft.net>
65307         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65308         (___Q_simulate_exceptions): Use real FP ops rather than writing
65309         into the %fsr.
65310         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65311         Likewise.
65313 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65315         [BZ #14117]
65316         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65317         * sysdeps/x86/bits/xtitypes.h: This.
65319         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65320         * sysdeps/x86/bits/wordsize.h: This.
65322         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65323         * sysdeps/x86/bits/huge_vall.h: This.
65325         * sysdeps/i386/bits/select.h: Removed.
65326         * sysdeps/x86_64/bits/select.h: Renamed to ...
65327         * sysdeps/x86/bits/select.h: This.
65329         * sysdeps/i386/bits/setjmp.h: Removed.
65330         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65331         * sysdeps/x86/bits/setjmp.h: This.
65333         * sysdeps/i386/bits/mathdef.h: Removed.
65334         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65335         * sysdeps/x86/bits/mathdef.h: This.
65337 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65339         [BZ #14132]
65340         * include/sys/socket.h (__connect_internal)
65341         (__libc_sa_len_internal): Remove declaration.
65342         (__connect, __libc_sa_len): Declare hidden_proto.
65343         (SA_LEN): Remove use of INTUSE.
65344         * socket/connect.c: Add libc_hidden_def.
65345         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65346         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65347         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65348         alias.
65349         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65350         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65351         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65352         of adding _internal alias.
65354 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65356         [BZ #14117]
65357         * sysdeps/i386/bits/link.h: Removed.
65358         * sysdeps/i386/bits/linkmap.h: Likewise.
65359         * sysdeps/x86_64/bits/link.h: Renamed to ...
65360         * sysdeps/x86/bits/link.h: This.
65361         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65362         * sysdeps/x86/bits/linkmap.h: This.
65364         * sysdeps/i386/bits/endian.h: Removed.
65365         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65366         * sysdeps/x86/bits/endian.h: This.
65368         * sysdeps/i386/bits/byteswap.h: Removed.
65369         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65370         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65371         * sysdeps/x86/bits/byteswap.h: This.
65372         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65373         * sysdeps/x86/bits/byteswap-16.h: This.
65374         * sysdeps/i386/Implies: Add x86.
65375         * sysdeps/x86_64/Implies: Likewise.
65377 2012-05-30  David S. Miller  <davem@davemloft.net>
65379         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65380         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65381         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65382         (FP_TRAPPING_EXCEPTIONS): Define.
65383         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65384         (FP_TRAPPING_EXCEPTIONS): Define.
65385         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65386         subnormals only when inexact has been signalled or underflow
65387         exceptions are enabled.
65388         (_FP_PACK_CANONICAL): Likewise.
65390 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65392         [BZ #14183]
65393         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65394         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65396 2012-05-30  Richard Henderson  <rth@twiddle.net>
65398         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65399         with #ifndef NOT_IN_libc.
65401         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65402         marked to avoid plt entry.
65404 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65406         [BZ #14112]
65407         * Makeconfig (default-abi): New macro.
65408         (abi-includes): Likewise.
65409         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65410         $(abi-$(default-abi)-lib-soname) for soname if defined.
65411         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65412         abi-variants.
65413         * Makefile (installed-stubs): Likewise.
65414         * include/stubs-biarch.h: Removed.
65415         * scripts/lib-names.awk: Only handle one library at a time.
65416         * scripts/soversions.awk: Remove WORDSIZE support.
65417         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65418         entries.
65419         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65420         Removed.
65421         (syscall-list-default-condition): Likewise.
65422         (syscall-list-default-condition): Likewise.
65423         (syscall-list-includes): Likewise.
65424         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65425         syscall-list-* with abi-*.  Handle undefined abi-variants.
65426         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65427         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65428         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65429         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65430         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65431         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65432         Removed.
65433         (syscall-list-32-options): Likewise.
65434         (syscall-list-32-condition): Likewise.
65435         (syscall-list-64-options): Likewise.
65436         (syscall-list-64-condition): Likewise.
65437         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65438         macro.
65439         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65440         Renamed to ...
65441         (abi-*): This.
65442         (abi-64-ld-soname): New macro.
65443         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65444         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65445         Renamed to ...
65446         (abi-*): This.
65447         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65448         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65450 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65452         * sysdeps/unix/sysv/linux/kernel-features.h
65453         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65454         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65455         include <kernel-features.h>.
65456         [!__NR_ftruncate64]: Remove conditional code.
65457         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65458         [__NR_ftruncate64]: Make code unconditional.
65459         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65460         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65461         include <kernel-features.h>.
65462         [!__NR_ftruncate64]: Remove conditional code.
65463         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65464         [__NR_ftruncate64]: Make code unconditional.
65465         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65467         include <kernel-features.h>.
65468         [!__NR_ftruncate64]: Remove conditional code.
65469         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65470         [__NR_ftruncate64]: Make code unconditional.
65471         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65473         include <kernel-features.h>.
65474         [!__NR_ftruncate64]: Remove conditional code.
65475         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65476         [__NR_ftruncate64]: Make code unconditional.
65477         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65479         * configure.in (libc_cv_fpie): Weaken to a compile test using
65480         LIBC_TRY_CC_OPTION.
65481         * configure: Regenerated.
65483 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65489         Refreshed.
65490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65496         Refreshed.
65498 2012-05-27  David S. Miller  <davem@davemloft.net>
65500         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65501         (___Q_zero): New.
65502         (__Q_simulate_exceptions): Return void.  Change to simulate
65503         exceptions by writing into the %fsr.
65504         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65505         (__Qp_handle_exceptions): Likewise.
65506         (numbers): Delete.
65507         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65508         __Qp_handle_exceptions.
65509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65510         __Qp_handle_exceptions.
65511         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65512         as unused and give dummy FP_RND_NEAREST initializer.
65513         (FP_INHIBIT_RESULTS): Define.
65514         (___Q_simulate_exceptions): Update declaration.
65515         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65516         formatting.
65517         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65518         as unused and give dummy FP_RND_NEAREST initializer.
65519         (__Qp_handle_exceptions): Update declaration.
65520         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65521         formatting.
65523 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65525         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65526         the temporary FPU control word.
65527         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65528         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65529         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65530         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65531         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65532         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65533         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65534         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65535         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65536         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65537         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65539 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65541         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65542         fields.
65544 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65546         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65547         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65548         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65549         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65550         Likewise.
65551         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65552         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65553         Likewise.
65555 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65557         * po/h.po: Update from translation team.
65559 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65561         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65563         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65564         handling of denormals.
65565         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65566         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65567         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65568         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65569         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65570         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65571         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65572         Likewise.
65574 2012-05-26  Marek Polacek  <polacek@redhat.com>
65576         [BZ #14152]
65577         * math/libm-test.inc (fma_test): Don't always expect underflow
65578         exception.
65580 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65582         [BZ #12416]
65583         * elf/tst-execstack.c: Include stackinfo.h.
65584         (do_test): Adjust test case to ensure that pthread_getattr_np
65585         behaviour remains the same after marking stack executable.
65587 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65589         * sysdeps/unix/sysv/linux/kernel-features.h
65590         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65591         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65592         kernel-features.h.
65593         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65594         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65595         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65596         kernel-features.h.
65597         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65598         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65600 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65602         * configure.in: Define the default includes to being none.
65603         * configure: Regenerated.
65605 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65607         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65608         * sysdeps/x86_64/setjmp.S: Likewise.
65609         * sysdeps/i386/bsd-setjmp.S: Likewise.
65610         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65611         * sysdeps/i386/setjmp.S: Likewise.
65612         * sysdeps/i386/__longjmp.S: Likewise.
65613         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65614         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65616         * include/stap-probe.h: New file.
65617         * configure.in: Handle --enable-systemtap.
65618         * configure: Regenerated.
65619         * config.h.in (USE_STAP_PROBE): New #undef.
65620         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65621         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65622         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65624 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65626         [BZ #13717]
65627         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65628         to 2.4.0 where earlier.
65629         * sysdeps/unix/sysv/linux/configure: Regenerated.
65630         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65631         <kernel-features.h>.
65632         [__ASSUME_32BITUIDS]: Make code unconditional.
65633         [!__ASSUME_32BITUIDS]: Remove conditional code.
65634         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65635         <kernel-features.h>.
65636         [__ASSUME_32BITUIDS]: Make code unconditional.
65637         [!__ASSUME_32BITUIDS]: Remove conditional code.
65638         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65639         [__ASSUME_32BITUIDS]: Make code unconditional.
65640         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65641         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65642         <kernel-features.h>.
65643         [__ASSUME_32BITUIDS]: Make code unconditional.
65644         [!__ASSUME_32BITUIDS]: Remove conditional code.
65645         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65646         <kernel-features.h>.
65647         [__ASSUME_32BITUIDS]: Make code unconditional.
65648         [!__ASSUME_32BITUIDS]: Remove conditional code.
65649         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65650         <kernel-features.h>.
65651         [__ASSUME_32BITUIDS]: Make code unconditional.
65652         [!__ASSUME_32BITUIDS]: Remove conditional code.
65653         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65654         <kernel-features.h>.
65655         [__ASSUME_32BITUIDS]: Make code unconditional.
65656         [!__ASSUME_32BITUIDS]: Remove conditional code.
65657         * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
65682         <kernel-features.h>.
65683         [__NR_setresgid] (__setresgid): Do not declare.
65684         [__ASSUME_32BITUIDS]: Make code unconditional.
65685         [!__ASSUME_32BITUIDS]: Remove conditional code.
65686         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65687         <kernel-features.h>.
65688         [__NR_setresuid] (__setresuid): Do not declare.
65689         [__ASSUME_32BITUIDS]: Make code unconditional.
65690         [!__ASSUME_32BITUIDS]: Remove conditional code.
65691         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65692         <kernel-features.h>.
65693         [__ASSUME_32BITUIDS]: Make code unconditional.
65694         [!__ASSUME_32BITUIDS]: Remove conditional code.
65695         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65696         <kernel-features.h>.
65697         [__ASSUME_32BITUIDS]: Make code unconditional.
65698         [!__ASSUME_32BITUIDS]: Remove conditional code.
65699         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65700         <kernel-features.h>.
65701         [__ASSUME_32BITUIDS]: Make code unconditional.
65702         [!__ASSUME_32BITUIDS]: Remove conditional code.
65703         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65704         <kernel-features.h>.
65705         [__ASSUME_32BITUIDS]: Make code unconditional.
65706         [!__ASSUME_32BITUIDS]: Remove conditional code.
65707         * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
65732         (__ASSUME_SETRESUID_SYSCALL): Remove.
65733         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65734         (__ASSUME_32BITUIDS): Likewise.
65735         (__ASSUME_LDT_WORKS): Likewise.
65736         (__ASSUME_O_DIRECTORY): Likewise.
65737         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65738         architecture but not kernel version.
65739         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65740         (__ASSUME_MMAP2_SYSCALL): Likewise.
65741         (__ASSUME_STAT64_SYSCALL): Likewise.
65742         (__ASSUME_IPC64): Likewise.
65743         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65744         <kernel-features.h>.
65745         [__ASSUME_32BITUIDS]: Make code unconditional.
65746         [!__ASSUME_32BITUIDS]: Remove conditional code.
65747         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65748         <kernel-features.h>.
65749         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65750         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65751         132096]: Remove conditional code.
65752         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65753         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65754         <kernel-features.h>.
65755         [__ASSUME_32BITUIDS]: Make code unconditional.
65756         [!__ASSUME_32BITUIDS]: Remove conditional code.
65757         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65758         <kernel-features.h>.
65759         [__ASSUME_32BITUIDS]: Make code unconditional.
65760         [!__ASSUME_32BITUIDS]: Remove conditional code.
65761         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65762         <kernel-features.h>.
65763         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65764         unconditional.
65765         (__setresgid): Do not declare.
65766         [__ASSUME_32BITUIDS]: Make code unconditional.
65767         [!__ASSUME_32BITUIDS]: Remove conditional code.
65768         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65769         <kernel-features.h>.
65770         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65771         unconditional.
65772         (__setresuid): Do not declare.
65773         [__ASSUME_32BITUIDS]: Make code unconditional.
65774         [!__ASSUME_32BITUIDS]: Remove conditional code.
65775         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65776         <kernel-features.h>.
65777         [__ASSUME_32BITUIDS]: Make code unconditional.
65778         [!__ASSUME_32BITUIDS]: Remove conditional code.
65779         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65780         <kernel-features.h>.
65781         [__ASSUME_32BITUIDS]: Make code unconditional.
65782         [!__ASSUME_32BITUIDS]: Remove conditional code.
65784 2012-05-25  Richard Henderson  <rth@twiddle.net>
65786         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65787         dl_hwcap to ifunc resolver.
65788         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65789         elf_ifunc_invoke.
65790         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65791         dl_hwcap to ifunc resolver.
65792         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65794 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65796         [BZ #14153]
65797         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65798         for |x| <= 2**-26, not 2**-57.
65799         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65800         exception.
65802 2012-05-24  Jeff Law  <law@redhat.com>
65804         * stdio-common/Makefile (tests): Add bug25.
65805         * stdio-common/bug25.c: New test.
65807 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65809         [BZ #13576]
65810         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65811         multiple of MALLOC_ALIGNMENT in size.
65812         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65814 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65816         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65817         Require >= 256.
65818         (FILENAME_MAX): Use macro-int-constant.
65819         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65820         (_IOFBF): Use macro-int-constant.
65821         (_IOLBF): Likewise.
65822         (_IONBF): Likewise.
65823         (SEEK_CUR): Likewise.
65824         (SEEK_END): Likewise.
65825         (SEEK_SET): Likewise.
65826         (TMP_MAX): Likewise.
65827         (EOF): Use macro-int-constant.  Require < 0.
65828         (NULL): Use macro-constant.  Require == 0.
65829         (stdin): Require type to be FILE *.
65830         (stdout): Likewise.
65831         (stderr): Likewise.
65832         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65833         macro-int-constant.
65834         (EXIT_SUCCESS): Likewise.
65835         (NULL): Use macro-constant.  Require == 0.
65836         (RAND_MAX): Use macro-int-constant.
65837         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65838         [C99-based standards] (strtof): Require function.
65839         [C99-based standards] (strtold): Likewise.
65840         [C99-based standards] (strtoll): Likewise.
65841         [C99-based standards] (strtoull): Likewise.
65842         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65843         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65844         [ISO || ISO99 || ISO11] (math.h): Likewise.
65845         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65846         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65847         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65849 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65851         [BZ #14132]
65852         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65853         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65854         * intl/dgettext.c (DCGETTEXT): Likewise.
65855         * intl/gettext.c (DCGETTEXT): Likewise.
65856         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65857         * posix/regex_internal.h (gettext): Likewise.
65858         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65859         Remove declaration.
65860         * include/argz.h (__argz_count_internal)
65861         (__argz_stringify_internal): Remove declaration.
65862         (__argz_count, __argz_stringify): Declare hidden proto.
65863         * intl/dcgettext.c: Remove use of INTDEF.
65864         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65865         * string/argz-stringify.c: Likewise.
65866         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65867         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65868         Declare hidden proto.
65869         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65870         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65871         Declare hidden proto.
65872         * include/stdio.h (__asprintf_internal): Don't declare.
65873         (__asprintf): Don't define as macro.  Declare hidden proto.
65874         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65875         (__fsetlocking): Declare hidden proto.
65876         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65877         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65878         hidden proto.
65879         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65880         (_IO_setlinebuf): Remove use of INTUSE.
65881         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65882         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65883         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65884         Remove declaration.
65885         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65886         (_IO_do_flush): Remove use of INTUSE.
65887         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65888         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65889         (_IO_adjust_column, _IO_least_wmarker)
65890         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65891         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65892         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65893         (_IO_default_doallocate, _IO_wdefault_doallocate)
65894         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65895         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65896         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65897         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65898         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65899         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65900         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65901         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65902         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65903         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65904         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65905         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65906         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65907         proto.
65908         (_IO_flush_all_internal, _IO_adjust_column_internal)
65909         (_IO_default_uflow_internal, _IO_default_finish_internal)
65910         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65911         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65912         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65913         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65914         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65915         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65916         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65917         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65918         (_IO_file_close_internal, _IO_file_close_it_internal)
65919         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65920         (_IO_file_init_internal, _IO_file_attach_internal)
65921         (_IO_file_fopen_internal, _IO_file_read_internal)
65922         (_IO_file_sync_internal, _IO_file_seek_internal)
65923         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65924         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65925         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65926         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65927         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65928         (_IO_list_all_internal, _IO_link_in_internal)
65929         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65930         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65931         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65932         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65933         (_IO_do_write_internal, _IO_padn_internal)
65934         (_IO_getline_info_internal, _IO_getline_internal)
65935         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65936         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65937         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65938         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65939         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65940         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65941         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65942         with libc_hidden_ver, remove use of INTUSE.
65943         * libio/genops.c: Likewise.
65944         * libio/freopen.c: Likewise.
65945         * libio/freopen64.c: Likewise.
65946         * libio/iofclose.c: Likewise.
65947         * libio/iofdopen.c: Likewise.
65948         * libio/iofflush.c: Likewise.
65949         * libio/iofflush_u.c: Likewise.
65950         * libio/iofgets.c: Likewise.
65951         * libio/iofgets_u.c: Likewise.
65952         * libio/iofopen.c: Likewise.
65953         * libio/iofopncook.c: Likewise.
65954         * libio/iofread.c: Likewise.
65955         * libio/iofread_u.c: Likewise.
65956         * libio/ioftell.c: Likewise.
65957         * libio/iofwrite.c: Likewise.
65958         * libio/iogetline.c: Likewise.
65959         * libio/iogets.c: Likewise.
65960         * libio/iogetwline.c: Likewise.
65961         * libio/iopadn.c: Likewise.
65962         * libio/iopopen.c: Likewise.
65963         * libio/ioseekoff.c: Likewise.
65964         * libio/ioseekpos.c: Likewise.
65965         * libio/iosetbuffer.c: Likewise.
65966         * libio/iosetvbuf.c: Likewise.
65967         * libio/ioungetc.c: Likewise.
65968         * libio/ioungetwc.c: Likewise.
65969         * libio/iovdprintf.c: Likewise.
65970         * libio/iovsprintf.c: Likewise.
65971         * libio/iovsscanf.c: Likewise.
65972         * libio/memstream.c: Likewise.
65973         * libio/obprintf.c: Likewise.
65974         * libio/oldfileops.c: Likewise.
65975         * libio/oldiofclose.c: Likewise.
65976         * libio/oldiofdopen.c: Likewise.
65977         * libio/oldiofopen.c: Likewise.
65978         * libio/oldiopopen.c: Likewise.
65979         * libio/oldstdfiles.c: Likewise.
65980         * libio/putc.c: Likewise.
65981         * libio/setbuf.c: Likewise.
65982         * libio/setlinebuf.c: Likewise.
65983         * libio/stdfiles.c: Likewise.
65984         * libio/strops.c: Likewise.
65985         * libio/vasprintf.c: Likewise.
65986         * libio/vscanf.c: Likewise.
65987         * libio/vsnprintf.c: Likewise.
65988         * libio/vswprintf.c: Likewise.
65989         * libio/wfiledoalloc.c: Likewise.
65990         * libio/wfileops.c: Likewise.
65991         * libio/wgenops.c: Likewise.
65992         * libio/wmemstream.c: Likewise.
65993         * libio/wstrops.c: Likewise.
65994         * libio/__fpurge.c: Likewise.
65995         * libio/__fsetlocking.c: Likewise.
65996         * assert/assert.c: Likewise.
65997         * debug/fgets_chk.c: Likewise.
65998         * debug/fgets_u_chk.c: Likewise.
65999         * debug/fread_chk.c: Likewise.
66000         * debug/fread_u_chk.c: Likewise.
66001         * debug/gets_chk.c: Likewise.
66002         * debug/obprintf_chk.c: Likewise.
66003         * debug/vasprintf_chk.c: Likewise.
66004         * debug/vdprintf_chk.c: Likewise.
66005         * debug/vsnprintf_chk.c: Likewise.
66006         * debug/vsprintf_chk.c: Likewise.
66007         * malloc/mtrace.c: Likewise.
66008         * misc/error.c: Likewise.
66009         * misc/syslog.c: Likewise.
66010         * stdio-common/asprintf.c: Likewise.
66011         * stdio-common/fxprintf.c: Likewise.
66012         * stdio-common/getw.c: Likewise.
66013         * stdio-common/isoc99_fscanf.c: Likewise.
66014         * stdio-common/isoc99_scanf.c: Likewise.
66015         * stdio-common/isoc99_vfscanf.c: Likewise.
66016         * stdio-common/isoc99_vscanf.c: Likewise.
66017         * stdio-common/isoc99_vsscanf.c: Likewise.
66018         * stdio-common/printf-prs.c: Likewise.
66019         * stdio-common/printf_fp.c: Likewise.
66020         * stdio-common/printf_fphex.c: Likewise.
66021         * stdio-common/printf_size.c: Likewise.
66022         * stdio-common/putw.c: Likewise.
66023         * stdio-common/scanf.c: Likewise.
66024         * stdio-common/sprintf.c: Likewise.
66025         * stdio-common/tmpfile.c: Likewise.
66026         * stdio-common/vfprintf.c: Likewise.
66027         * stdio-common/vfscanf.c: Likewise.
66028         * stdlib/strfmon_l.c: Likewise.
66029         * sunrpc/openchild.c: Likewise.
66030         * sunrpc/xdr_stdio.c: Likewise.
66031         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
66032         * sysdeps/mach/hurd/tmpfile.c: Likewise.
66034 2012-05-24  Roland McGrath  <roland@hack.frob.com>
66036         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66038         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
66039         in the third column, to generate for the shared library an IFUNC
66040         that uses _dl_vdso_vsym.
66041         * Makerules (COMPILE.c, compile-stdin.c): New variables.
66042         * Makeconfig (object-suffixes-noshared): New variable.
66044         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
66045         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
66046         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
66047         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
66049         [BZ #14132]
66050         * include/sys/time.h (__gettimeofday): Remove macro.
66051         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
66052         * time/gettimeofday.c (__gettimeofday): Remove #undef.
66053         Remove INTDEF.
66054         (__gettimeofday): Add libc_hidden_def.
66055         (gettimeofday): Add libc_hidden_weak.
66056         * sysdeps/mach/gettimeofday.c: Likewise.
66057         * sysdeps/posix/gettimeofday.c: Likewise.
66058         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
66059         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
66060         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
66061         (__gettimeofday_internal): Remove strong_alias.
66062         (__gettimeofday): Add libc_hidden_def.
66063         (gettimeofday): Add libc_hidden_weak.
66064         * sysdeps/unix/syscalls.list (gettimeofday):
66065         Remove __gettimeofday_internal alias.
66067 2012-05-24  Daniel Jacobowitz  <drow@false.org>
66068             H.J. Lu  <hongjiu.lu@intel.com>
66070         [BZ #12495]
66071         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
66072         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
66073         (largebin_index_32_big): New.
66074         (largebin_index): Use it for 16-byte alignment.
66075         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
66076         correction with front_misalign.
66078 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
66081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
66082         Likewise.
66083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
66084         Likewise.
66085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66086         Likewise.
66087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
66088         Likewise.
66089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
66090         Likewise.
66091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
66092         Likewise.
66093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
66094         Likewise.
66095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
66096         Likewise.
66097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
66098         Likewise.
66099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
66100         Likewise.
66101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
66102         Likewise.
66103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
66104         Likewise.
66106         * scripts/data/c++-types-x32-linux-gnu.data: New file.
66107         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
66109 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66111         [BZ #10846]
66112         [BZ #14036]
66113         * math/libm-test.inc (exp_test): Add test from bug 14036.
66114         (pow_test): Add test from bug 10846.
66116         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
66117         and other flags.
66118         (special_function): Do not include flags in test name.
66119         (parse_args): Likewise.
66120         * sysdeps/i386/fpu/libm-test-ulps: Update.
66121         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66122         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66123         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66126         * math/gen-libm-test.pl (%beautify): Add entries for underflow
66127         exceptions.
66128         * math/libm-test.inc ("Philosophy"): Update comment about
66129         exception testing.
66130         (UNDERFLOW_EXCEPTION): New macro.
66131         (UNDERFLOW_EXCEPTION_OK): Likewise.
66132         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66133         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66134         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66135         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66136         (INVALID_EXCEPTION_OK): Update value.
66137         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66138         (OVERFLOW_EXCEPTION_OK): Likewise.
66139         (IGNORE_ZERO_INF_SIGN): Likewise.
66140         (test_exceptions): Handle underflow exceptions.
66141         (acos_test): Update for underflow exception expectations.
66142         (cexp_test): Likewise.
66143         (clog_test): Likewise.
66144         (clog10_test): Likewise.
66145         (csqrt_test): Likewise.
66146         (ctan_test): Likewise.
66147         (ctanh_test): Likewise.
66148         (exp_test): Likewise.
66149         (exp10_test): Likewise.
66150         (exp2_test): Likewise.
66151         (expm1_test): Likewise.
66152         (fma_test): Likewise.
66153         (j0_test): Likewise.
66154         (jn_test): Likewise.
66155         (nexttoward_test): Likewise.
66156         (pow_test): Likewise.
66157         (scalbn_test): Likewise.
66158         (scalbln_test): Likewise.
66159         (tan_test): Likewise.
66160         (y1_test): Likewise.
66161         * sysdeps/i386/fpu/libm-test-ulps: Update.
66162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66164 2012-05-23  David S. Miller  <davem@davemloft.net>
66166         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66167         (__libc_sigaction): Remove unused local variables.
66169 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66171         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66173 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66175         mktime: avoid signed integer overflow
66176         * time/mktime.c (__mktime_internal): Do not mishandle the case
66177         where diff == INT_MIN.
66179         mktime: simplify computation of average
66180         * time/mktime.c (ranged_convert): Use new time_t_avg function
66181         instead of rolling our own (probably-slower) code.
66183         mktime: do not assume signed right shift propagates sign bit
66184         * time/mktime.c (isdst_differ): New static function.
66185         (__mktime_internal): No need to normalize tm_isdst now.
66186         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66187         tm_isdst values.
66189         mktime: merge another wrapv change from gnulib
66190         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66191         from some compilers.
66193         mktime: remove incorrect attempt at unusual arithmetics
66194         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66195         The code didn't really work on such machines anyway.
66196         (TYPE_MINIMUM): Assume two's complement.
66197         (twos_complement_arithmetic): Verify that long_int and time_t
66198         are two's complement (or unsigned, in the latter case).
66200         mktime: check signed shifts on long_int and time_t, too
66201         * time/mktime.c (SHR): Check that shifts work as desired
66202         on the types long_int and time_t too, as SHR is used on
66203         such types.
66205         mktime: do not assume 'long' is wide enough
66206         * time/mktime.c (verify): Move decl up.
66207         (long_int): New type.
66208         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66209         to remove assumption in the code that 'long' is wide enough to
66210         store year values.  This assumption is not true on x32 and on
66211         some non-glibc platforms.
66213         mktime: merge wrapv change from gnulib
66214         * time/mktime.c (WRAPV): New macro.
66215         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66216         (guess_time_tm, __mktime_internal): Do not assume that signed
66217         integer overflow wraps around; modern compilers generate code
66218         where this assumption is no longer valid.
66220 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66222         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66223         Replace "jmp L(pseudo_end)" with "ret".
66224         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66225         Likewise.
66227 2012-05-23  Andreas Jaeger  <aj@suse.de>
66229         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66230         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66232 2012-05-23  Andreas Jaeger  <aj@suse.de>
66233             Maximilian Attems  <max@stro.at>
66235         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66236         New macros.
66238 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66240         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66241         code so that pseudo_end is just ret and the stack pointer is
66242         correct also for static library in error case.
66244 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66246         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66247         move to syscalls.list.
66248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66253         * manual/install.texi (Running make install): Do not mention Linux
66254         kernel version for which pt_chown is not needed.
66255         (Linux): Do not mention problems with nscd with 2.0 kernels.
66256         * INSTALL: Regenerated.
66258 2012-05-23  Andreas Jaeger  <aj@suse.de>
66260         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66261         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66262         macro.
66263         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66264         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66265         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66266         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66267         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66268         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66269         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66270         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66271         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66272         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66273         * sysdeps/unix/sysv/linux/bits/in.h
66274         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66276 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66278         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66279         (PREPARE_VERSION): Just use assert instead, it will be elided
66280         under [NDEBUG] anyway.
66282 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66284         * sysdeps/unix/sysv/linux/Makefile: Include
66285         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66286         (sysdep_routines): Remove sysctl.
66287         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66288         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66289         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66290         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66291         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66293 2012-05-22  Andreas Jaeger  <aj@suse.de>
66295         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66296         that pseudo_end is just ret and the stack pointer is correct also
66297         for static library in error case.
66299 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66301         [BZ #14122]
66302         * nss/nsswitch.c (defconfig_entries): New variable.
66303         (__nss_database_lookup): Don't leak defconfig entries.
66304         (nss_parse_service_list): Don't leak on error paths.
66305         (free_database_entries): New function.
66306         (free_defconfig): New function.
66307         (free_mem): Move common code to free_database_entries.
66309 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66311         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66312         Add arch_prctl.
66313         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66315         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66316         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66318         New macro.
66319         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66320         (INTERNAL_SYSCALL_TYPES): Likewise.
66321         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66322         (LOAD_REGS_TYPES_[1-6]): Likewise.
66323         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66324         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66326 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66328         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66329         copysignl for GLIBC_2_0.
66330         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66331         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66332         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66333         logbl for GLIBC_2_0.
66334         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66335         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66337 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66339         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66340         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66342         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66343         Use "neg %eax".
66345         * time/mktime.c: Update copyright years.
66347 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66349         mktime: merge comment-quoting-style change from gnulib
66350         * time/mktime.c: Quote 'like this' in comments.
66351         The GNU coding standards suggest that we no longer quote `like this',
66352         as "`" and "'" are typically rendered asymmetrically nowadays.
66353         The typical gnulib style is to quote 'like this' when quoting
66354         code, and "like this" when quoting English.
66356         * time/mktime.c (compile-command): Add "-I.".
66358         mktime: merge mktime-internal.h change from gnulib
66359         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66361         mktime: merge time_r change from gnulib
66362         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66364         mktime: merge DEBUG change from gnulib
66365         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66366         case system <time.h> has a #define.
66368         mktime: merge <sys/types.h> change from gnulib
66369         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66370         since <time.t> is now guaranteed to define time_t.
66372         mktime: merge HAVE_CONFIG_H change from gnulib
66373         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66375 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66377         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66378         Use "neg %eax".
66380         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66381         __rlim_t cast.
66382         (struct rusage): Use anonymous union to pad each field to
66383         __syscall_slong_t.
66385 2012-05-21  David S. Miller  <davem@davemloft.net>
66387         * Makefules (o-iterator): Remove .s cases.
66388         (compile-command.s): Delete.
66389         (COMPILE.s): Delete.
66390         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66392 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66394         * configure.in (libc_cv_predef_stack_protector): Only consider
66395         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66396         * configure: Regenerated.
66398 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66401         New macro.  Use R*LP on int and pointer.
66402         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66403         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66404         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66405         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66407         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66408         [__WORDSIZE_TIME64_COMPAT32] instead of
66409         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66410         (struct utmp): Likewise.
66411         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66412         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66413         Renamed to ...
66414         (__WORDSIZE_TIME64_COMPAT32): This.
66415         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66416         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66417         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66418         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66419         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66420         (__WORDSIZE_TIME64_COMPAT32): New macro.
66422 2012-05-21  Andreas Jaeger  <aj@suse.de>
66424         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66425         only if [SHARED]. Add prototype for __wcschr_ia32.
66427 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66429         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66430         of %rbp unmolested in the jmp_buf while mangling the low bits.
66431         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66432         unmolested high bits of %rbp while demangling the low bits.
66433         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66435 2012-05-21  Andreas Jaeger  <aj@suse.de>
66437         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66438         * sunrpc/svc_simple.c: Use it for registerrpc.
66439         * sunrpc/xcrypt.c: Use it for passwd2des.
66441         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66443 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66445         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66446         Don't define if [__SYSCALL_WORDSIZE != 32].
66447         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66448         New macro.
66450 2012-05-21  Bruno Haible  <bruno@clisp.org>
66451             Andreas Jaeger  <aj@suse.de>
66453         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66454         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66455         inptr and inend for must_buffer_ch.
66456         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66457         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66458         * stdio-common/Makefile (tests): Remove bug15.
66459         (bug15-ENV): Remove macro.
66460         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66461         anymore.
66463 2012-05-19  Andreas Jaeger  <aj@suse.de>
66464             Roland McGrath  <roland@hack.frob.com>
66466         * manual/contrib.texi: Completely rewritten. It contains now an
66467         alphabetical list of contributors and their contributions.
66469 2012-05-21  Richard Henderson  <rth@twiddle.net>
66471         * misc/getauxval.c (__getauxval): Use unsigned long int.
66472         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66473         (getauxval): Use unsigned long int.
66475 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66477         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66479 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66481         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66482         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66483         __alignof__ (long double).
66485 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66489 2012-05-20  Richard Henderson  <rth@twiddle.net>
66491         * misc/getauxval.c: New file.
66492         * misc/sys/auxv.h: New file.
66493         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66494         (routines): Add getauxval.
66495         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66496         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66497         * elf/dl-sysdep.c (_dl_auxv): Remove.
66498         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66499         * elf/dl-support.c (_dl_auxv): New variable.
66500         (_dl_aux_init): Initialize it.
66501         * manual/startup.texi (Auxiliary Vector): New node.
66502         * sysdeps/generic/bits/hwcap.h: New file.
66503         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66504         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66505         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66506         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66507         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66508         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66510         Update.
66511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66514         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66520 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66524 2012-05-19  David S. Miller  <davem@davemloft.net>
66526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66528 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66530         [BZ #14123]
66531         * math/s_ccosh.c: Include <float.h>
66532         (__ccosh): Avoid internal overflow calculating sinh and cosh
66533         values before multiplying by sin and cos values.
66534         * math/s_ccoshf.c: Likewise.
66535         * math/s_ccoshl.c: Likewise.
66536         * math/s_csin.c: Likewise.
66537         * math/s_csinf.c: Likewise.
66538         * math/s_csinl.c: Likewise.
66539         * math/s_csinh.c: Likewise.
66540         * math/s_csinhf.c: Likewise.
66541         * math/s_csinhl.c: Likewise.
66542         * math/libm-test.inc (ccos_test): Add more tests.
66543         (ccosh_test): Likewise.
66544         (csin_test): Likewise.
66545         (csinh_test): Likewise.
66546         * sysdeps/i386/fpu/libm-test-ulps: Update.
66547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66549 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66551         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66552         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66554         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66556 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66558         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66559         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66560         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66561         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66562         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66563         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66564         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66565         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66566         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66567         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66568         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66569         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66570         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66571         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66572         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66573         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66574         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66575         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66576         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66577         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66578         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66579         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66580         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66581         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66582         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66583         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66584         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66585         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66586         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66587         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66588         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66590 2012-05-18  Andreas Jaeger  <aj@suse.de>
66592         * csu/.gitignore: Delete.
66594 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66596         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66597         (timex): Use __syscall_slong_t.
66599 2012-05-18  Andreas Jaeger  <aj@suse.de>
66600             Carlos O'Donell  <carlos_odonell@mentor.com>
66602         * manual/install.texi (Configuring and compiling): Update
66603         description about files modified in the source directory.
66604         * INSTALL: Regenerated.
66606 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66608         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66609         value.  Use "or" to set return value to -1.
66610         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66611         negate return value.
66613 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66615         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66616         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66617         failure if the compiler has Graphite support disabled.
66618         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66619         Likewise.
66620         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66621         (CFLAGS-memmove.c): Likewise.
66622         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66623         Likewise.
66625 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66627         * sysdeps/x86_64/x32/_itoa.h: New file.
66629         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66630         getdents system call only if kernel and user dirents have the
66631         same d_ino and d_off.
66633         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66634         LLONG_MAX != LONG_MAX.
66635         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66636         (_fitoa_word): Likewise.
66638         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66639         years.
66640         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66641         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66642         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66644         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66645         include <bits/wordsize.h>.  Check __x86_64__ instead of
66646         __WORDSIZE.
66647         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66648         if __x86_64__ is defined.  Use anonymous union on fpstate.
66650         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66651         anonymous union.
66653 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66655         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66656         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66657         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66658         Refer to _rtld_local_ro instead of _rtld_global_ro.
66659         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66660         Likewise.
66661         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66662         Likewise.
66663         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66664         Likewise.
66665         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66666         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66667         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66669         [BZ #10882]
66670         * sysdeps/powerpc/powerpc32/dl-machine.c
66671         (__elf_machine_runtime_setup) [PROF]: Don't reference
66672         _dl_prof_resolve.
66674 2012-05-18  Andreas Jaeger  <aj@suse.de>
66676         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66677         function only available for GCCs before 3.4 since GCC 3.4
66678         introduced a builtin.
66679         (lrint): Likewise.
66680         (llrintf): Likewise.
66681         (llrint): Likewise.
66682         (fmaxf): Likewise.
66683         (fmax): Likewise.
66684         (fminf): Likewise.
66685         (fmin): Likewise.
66686         (rint): Likewise.
66687         (rintf): Likewise.
66688         (nearbyint): Likewise.
66689         (nearbyintf): Likewise.
66690         (ceil): Likewise.
66691         (ceilf): Likewise.
66692         (floor): Likewise.
66693         (floorf): Likewise.
66695 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66697         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66698         on both fields and cast pointer to __syscall_ulong_t.
66700         * bits/types.h (__fsword_t): New type.
66701         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66702         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66703         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66704         (__FSWORD_T_TYPE): Likewise.
66705         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66706         (__FSWORD_T_TYPE): Likewise.
66707         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66708         (__FSWORD_T_TYPE): Likewise.
66709         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66710         (__FSWORD_T_TYPE): Likewise.
66711         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66712         __SWORD_TYPE with __fsword_t.
66713         (statfs64): Likewise.
66715 2012-05-17  David S. Miller  <davem@davemloft.net>
66717         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66719 2012-05-17  Andreas Jaeger  <aj@suse.de>
66721         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66722         warning.
66724 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66726         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66728 2012-05-17  Andreas Jaeger  <aj@suse.de>
66730         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66731         when it is used.
66733 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66735         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66737 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66739         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66740         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66742 2012-05-17  Andreas Jaeger  <aj@suse.de>
66743             Carlos O'Donell  <carlos_odonell@mentor.com>
66745         [BZ #14059]
66746         * sysdeps/x86_64/multiarch/init-arch.h
66747         (bit_YMM_Usable): Rename to...
66748         (bit_AVX_Usable): ... this.
66749         (bit_FMA4_Usable): New macro.
66750         (bit_XMM_state): New macro.
66751         (bit_YMM_state): New macro.
66752         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66753         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66754         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66755         (CPUID_OSXSAVE): New macro.
66756         (CPUID_AVX): New macro.
66757         (CPUID_FMA4): New macro.
66758         (index_YMM_Usable): Rename to...
66759         (index_AVX_Usable): ... this.
66760         (HAS_AVX): Use HAS_ARCH_FEATURE.
66761         (HAS_FMA4): Likewise.
66762         (HAS_YMM_USABLE): Remove.
66763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66764         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66765         are present.
66766         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66767         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66768         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66769         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66770         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66772 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66774         * math/libm-test.c: Support platforms without multiple rounding modes.
66775         * math/bug-nextafter.c: Support platforms without FP exceptions.
66776         * math/bug-nexttoward.c: Likewise.
66777         * math/test-fenv.c: Likewise.
66778         * math/test-misc.c: Likewise.
66779         * stdlib/bug-getcontext.c: Likewise.
66781 2012-05-17  Andreas Jaeger  <aj@suse.de>
66783         * manual/examples/search.c (critter_cmp): Change signature to
66784         avoid warnings.
66785         * manual/string.texi (Collation Functions): Likewise.
66787 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66789         * bits/types.h: Fold copyright years.
66790         * bits/typesizes.h: Likewise.
66791         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66792         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66793         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66794         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66795         * time/time.h: Likewise.
66797 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66799         [BZ #208]
66800         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66801         in instead of returning them.  Return void.
66802         (__libc_mallinfo): Accumulate over all arenas.
66803         (__malloc_stats): Adjust for change in int_mallinfo interface.
66805 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66807         [BZ #10375]
66808         * configure.in (NM): Add AC_CHECK_TOOL for it.
66809         (libc_extra_cflags): New substituted variable.
66810         Check for -fstack-protector being used implicitly.
66811         * configure: Regenerated.
66812         * config.make.in (config-extra-cflags): New variable,
66813         gets @libc_extra_cflags@.
66814         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66816         [BZ #10375]
66817         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66818         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66819         * configure: Regenerated.
66820         * config.make.in (CPPUNDEFS): New substituted variable.
66821         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66822         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66823         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66825 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66827         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66828         (mq_attr): Use __syscall_slong_t.
66830 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66832         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66833         Check __x86_64__ instead of __WORDSIZE.
66834         (_STAT_VER_LINUX): Likewise.
66835         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66836         __syscall_ulong_t and __syscall_slong_t.
66837         (stat64): Likewise.
66839 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66841         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66843 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66845         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66847 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66849         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66850         __syscall_ulong_t.
66852         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66853         include <bits/wordsize.h>.  Check __x86_64__ instead of
66854         __WORDSIZE.
66855         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66856         defined.
66857         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66859         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66860         include <bits/wordsize.h>.  Check __x86_64__ instead of
66861         __WORDSIZE.
66862         (user_regs_struct): Use "__extension__ unsigned long long"
66863         instead of "unsigned long" if __x86_64__ is defined.
66864         (user): Likewise.  Pad after pointer field if __ILP32__ is
66865         defined.
66867 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66869         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66870         versions 5 to 9.
66871         * configure: Regenerated.
66872         * manual/install.texi (texinfo): Increase version requirement to
66873         4.5 or later.
66874         * INSTALL: Regenerated.
66876         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66878 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66880         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66882         * sysdeps/x86_64/x32/ffs.c: New file.
66884         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66885         __syscall_ulong_t.
66886         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66887         defined.  Use __syscall_ulong_t.
66888         (shminfo): Use __syscall_ulong_t.
66889         (shm_info): Likewise.
66891         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66892         __syscall_ulong_t.
66894         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66895         <bits/wordsize.h>.
66896         (msgqnum_t): Use __syscall_ulong_t.
66897         (msglen_t): Likewise.
66898         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66899         __syscall_ulong_t.
66901         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66902         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66904         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66906         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66907         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66909         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66910         __syscall_slong_t.
66912         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66913         include <bits/wordsize.h>.  Check __x86_64__ instead of
66914         __WORDSIZE.
66916         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66917         "unsigned long long int" if __x86_64__ is defined.
66918         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66920         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66921         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66922         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66924         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66925         <stdint.h>.
66926         (GET_PC): Cast to uintptr_t first.
66927         (GET_FRAME): Likewise.
66928         (GET_STACK): Likewise.
66930         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66931         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66932         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66933         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66934         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66935         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66936         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66937         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66938         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66939         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66940         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66941         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66942         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66943         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66944         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66945         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66946         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66947         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66948         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66949         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66950         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66951         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66952         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66953         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66954         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66955         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66956         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66957         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66958         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66960 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66962         * Makerules (+depfiles): Also collect depfiles from .oS in
66963         $(extra-objs).
66964         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66965         .oS, $(libnldbl-routines)).
66967         * Makerules (native-compile-mkdep-flags): Define.
66968         * sunrpc/Makefile (extra-objs): Add $(addprefix
66969         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66970         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66971         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66972         calling $(make-target-directory).
66974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66976         * bits/types.h (__snseconds_t): Removed.
66977         * time/time.h (struct timespec): Replace __snseconds_t with
66978         __syscall_slong_t.
66979         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66980         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66981         Likewise.
66982         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66983         (__SNSECONDS_T_TYPE): Likewise.
66984         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66985         (__SNSECONDS_T_TYPE): Likewise.
66986         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66987         (__SNSECONDS_T_TYPE): Likewise.
66989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66991         * sysdeps/mach/hurd/bits/typesizes.h
66992         (__SYSCALL_SLONG_TYPE): New macro.
66993         (__SYSCALL_ULONG_TYPE): Likewise.
66995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66997         * bits/types.h (__syscall_slong_t): New type.
66998         (__syscall_ulong_t): Likewise.
67000         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
67001         (__SYSCALL_ULONG_TYPE): Likewise.
67002         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67003         (__SYSCALL_SLONG_TYPE): Likewise.
67004         (__SYSCALL_ULONG_TYPE): Likewise.
67005         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67006         (__SYSCALL_SLONG_TYPE): Likewise.
67007         (__SYSCALL_ULONG_TYPE): Likewise.
67008         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67009         (__SYSCALL_SLONG_TYPE): Likewise.
67010         (__SYSCALL_ULONG_TYPE): Likewise.
67012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67014         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
67015         Add sigaltstack-offsets.sym.
67016         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
67017         <sigaltstack-offsets.h>.
67018         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
67019         longjmp_msg pointer.
67020         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
67021         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
67022         signal stack.
67023         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
67025 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67027         * elf/stackguard-macros.h: Remove file.
67028         * sysdeps/generic/stackguard-macros.h: New file.
67029         * sysdeps/i386/stackguard-macros.h: Likewise.
67030         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
67031         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
67032         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
67033         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
67034         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
67035         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
67036         * sysdeps/x86_64/stackguard-macros.h: Likewise.
67037         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
67038         <elf/stackguard-macros.h>.
67040         [BZ #14109]
67041         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
67042         __aligned__ in attribute.
67043         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
67044         (gregset_t): Likewise.
67046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67048         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
67049         * sysdeps/x86_64/64/Implies-after: Here.  New file.
67050         * sysdeps/x86_64/x32/Implies-after: New file.
67052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67054         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
67055         and access return value for _dl_profile_fixup.  Use R10_LP to
67056         load frame size.
67058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67060         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67064         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
67065         * sysdeps/x86_64/x32/sysdep.h: New file.
67067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67069         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
67070         * sysdeps/x86_64/setjmp.S: Likewise.
67072 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67074         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
67075         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
67076         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
67077         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67078         remove unused global constant.
67080 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
67082         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
67083         include of <not-cancel.h>.
67085 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67087         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
67089 2012-05-15  Jeff Law  <law@redhat.com>
67090             Andreas Jaeger  <aj@suse.de>
67092         [BZ #13594]
67093         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
67094         out from...
67095         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
67096         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
67097         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
67098         code changing __hst_map_handle.map.
67100 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67102         * configure.in (sysnames): Look for Implies-before and Implies-after
67103         files.
67104         * configure: Regenerated.
67106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67108         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
67109         8-byte data alignment with LP_SIZE alignment.
67111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67113         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
67114         into R10_LP.
67116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67118         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
67120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67122         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67123         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67124         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67125         Likewise.
67126         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67128 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67130         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67131         (stackinfo_sub_sp): Likewise.
67133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67135         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67136         RAX_LP.
67138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
67141         into R*_LP.
67143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67145         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67146         sizes into R*_LP.
67148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67150         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
67152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67154         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67155         into R11_LP and load __x86_64_shared_cache_size_half into
67156         R8_LP.
67158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67160         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67161         R8_LP.
67163 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67165         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67166         logb for POWER7.
67167         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67168         logbf for POWER7.
67169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67170         logbl for POWER7.
67171         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67172         powerpc32/power7/fpu/s_logb.c via #include.
67173         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67174         powerpc32/power7/fpu/s_logbf.c via #include.
67175         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67176         powerpc32/power7/fpu/s_logbl.c via #include.
67178 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67180         * README.libm: Remove file.
67182 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67184         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67185         count for x32.  Use R*_LP and omit operand-size suffix.
67187 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67189         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67190         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67191         * sysdeps/x86_64/x32/shlib-versions: New file.
67193 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67195         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67196         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67197         Use _dl_fatal_printf instead.
67199 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67201         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67202         set if not set by the user.  Do not allow for being unset.
67203         * sysdeps/unix/sysv/linux/configure: Regenerated.
67205 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67207         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67208         the `q' suffix from lea and replace .quad with ASM_ADDR.
67210 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67212         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67213         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67214         instead of $17.
67215         (PTR_DEMANGLE): Likewise.
67217 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67219         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67220         (LP_OP): Likewise.
67221         (ASM_ADDR): Likewise.
67222         (RAX_LP): Likewise.
67223         (RBP_LP): Likewise.
67224         (RBX_LP): Likewise.
67225         (RCX_LP): Likewise.
67226         (RDI_LP): Likewise.
67227         (RSI_LP): Likewise.
67228         (RSP_LP): Likewise.
67229         (R8_LP): Likewise.
67230         (R9_LP): Likewise.
67231         (R10_LP): Likewise.
67232         (R10_LP): Likewise.
67233         (R11_LP): Likewise.
67234         (R12_LP): Likewise.
67235         (R13_LP): Likewise.
67236         (R14_LP): Likewise.
67237         (R15_LP): Likewise.
67239 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67241         * sysdeps/x86_64/x32/dl-machine.h: New file.
67243 2012-05-14  Andreas Jaeger  <aj@suse.de>
67245         * manual/Makefile (subdir): Remove export of subdir.
67246         (all): Remove target.
67247         (.PHONY): Remove all from list.
67248         (mkinstalldirs): Remove.
67249         (.PHONY): Remove installdirs from list.
67250         ($(inst_infodir)/libc.info): Use make-target-directory.
67251         (installdirs): Remove.
67252         (subdir_%): Remove.
67253         (glibc-targets): Remove.
67254         (lib): Remove.
67255         (stubs): Remove.
67256         ($(objpfx)stubs ../po/manual.pot): Remove.
67257         ($(objpfx)stamp%): Remove.
67258         (make-target-directory): Remove.
67259         (subdir_install): Remove.
67260         (routines): Remove.
67261         (aux): Remove.
67262         (sources): Remove.
67263         (objects): Remove.
67264         (headers): Remove.
67266         [BZ #13750]
67267         * manual/.gitignore: Remove, it's not needed anymore.
67268         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67269         all files in it.
67270         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67271         directory.
67272         (texis): Renamed to $(objpfx)texis.
67273         (texis-path): New, contains path to generated files.
67274         (chapters.%): Use texis-path for complete path, add extra argument
67275         libc-texinfo.sh.
67276         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67277         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67278         (summary,texi, stamp-summary): Use complete path of
67279         files. Generate files in build dir.
67280         (dir-add.texi): Build in build dir.
67281         (libm-err.texi,stamp-libm-err): Likewise.
67282         (version.texi, stamp-version): Likewise.
67283         (.%c.texi): Likewise.
67284         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67285         (mostlyclean): Remove target.
67286         (realclean): Remove target.
67287         (generated): Add new variable with contents from mostlyclean and
67288         realclean, remove entries duplicated in common-mostlyclean, add
67289         stamp-libm-err and stamp-version.
67290         (generated-dirs): Add libc directory.
67291         ($(inst_infodir)/libc.info): Install files from build dir.
67293         * manual/install.texi (Configuring and compiling): Adjust since
67294         the info files are not part of the tar ball anymore.
67296 2012-05-14  Andreas Jaeger  <aj@suse.de>
67298         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67299         variable.
67301 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67303         [BZ #13717]
67304         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67305         to 2.2.0 where earlier.
67306         * sysdeps/unix/sysv/linux/configure: Regenerated.
67307         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67308         Remove conditional code.
67309         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67310         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67311         Remove conditional code.
67312         [!__NR_lchown]: Likewise.
67313         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67314         [__NR_lchown]: Likewise.
67315         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67316         comment referencing __ASSUME_LCHOWN_SYSCALL.
67317         * sysdeps/unix/sysv/linux/i386/sigaction.c
67318         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67319         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67320         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67321         Remove conditional code.
67322         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67323         (__protocol_available): Remove #if 0 code.
67324         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67325         conditional code.
67326         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67327         * sysdeps/unix/sysv/linux/kernel-features.h
67328         (__ASSUME_GETCWD_SYSCALL): Don't define.
67329         (__ASSUME_REALTIME_SIGNALS): Likewise.
67330         (__ASSUME_PREAD_SYSCALL): Likewise.
67331         (__ASSUME_PWRITE_SYSCALL): Likewise.
67332         (__ASSUME_POLL_SYSCALL): Likewise.
67333         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67334         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67335         non-SPARC.
67336         (__ASSUME_SIOCGIFNAME): Don't define.
67337         (__ASSUME_MSG_NOSIGNAL): Likewise.
67338         (__ASSUME_SENDFILE): Define unconditionally.
67339         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67340         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67341         conditional code.
67342         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67343         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67344         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67345         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67346         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67347         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67348         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67350         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67351         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67353         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67354         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67356         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67357         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67359         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67360         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67362         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67363         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67365         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67366         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67368         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67369         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67371         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67372         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67373         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67374         Remove conditional code.
67375         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67376         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67377         Remove conditional code.
67378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67379         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67380         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67381         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67382         Remove conditional code.
67383         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67384         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67385         Remove conditional code.
67386         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67387         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67388         Remove conditional code.
67389         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67390         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67391         Remove conditional code.
67392         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67393         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67394         Remove conditional code.
67395         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67396         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67397         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67398         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67399         * sysdeps/unix/sysv/linux/sigaction.c
67400         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67401         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67402         * sysdeps/unix/sysv/linux/sigpending.c
67403         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67404         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67405         * sysdeps/unix/sysv/linux/sigprocmask.c
67406         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67407         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67408         * sysdeps/unix/sysv/linux/sigsuspend.c
67409         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67410         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67411         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67412         (__libc_missing_rt_sigs): Remove.
67413         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67414         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67415         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67416         Remove conditional code.
67417         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67418         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67419         return 1.
67420         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67421         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67422         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67423         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67425 2012-05-14  Andreas Jaeger  <aj@suse.de>
67427         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67428         it's not used in glibc.
67429         (__coshm1): Likewise.
67430         (__acosh1p): Likewise.
67431         (__sgn): Likewise.
67433         * manual/string.texi (Copying and Concatenation): Add missing
67434         variable in concat example.
67435         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67437 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67439         [BZ #14103]
67440         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67441         __builtin_clzl with __builtin_clzll.
67443 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67445         [BZ #14104]
67446         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67447         libc_freeres_ptr.
67449 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67451         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67452         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67453         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67454         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67456 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67458         * NEWS: Update ia64 info.
67460 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67462         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67463         used as bcopy.
67465 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67467         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67468         * sysdeps/unix/syscalls.list (dup3): Likewise.
67469         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67470         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67472 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67474         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67475         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67477 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67479         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67480         thread pointer.
67481         (TLS_IE): Use mov/add instead of movq/addq to load thread
67482         pointer.
67483         (TLS_GD_PREFIX): New.
67484         (TLS_GD): Use it.
67486 2012-05-11  David S. Miller  <davem@davemloft.net>
67488         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67489         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67490         (_FPU_SETCW): Likewise.
67492 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67494         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67495         is 32-byte aligned.
67497 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67499         [BZ #11837]
67500         * iconvdata/gb18030.c: Update tables.
67501         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67502         characters specially.
67503         (BODY for TO_LOOP): Add encoding of missing ranges.
67505 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67507         [BZ #13673]
67508         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67509         * sysdeps/mach/hurd/dup3.c: Likewise.
67510         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67511         * sysdeps/powerpc/memmove.c:: Likewise.
67513 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67515         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67516         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67518 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67520         * elf/elf.h (R_X86_64_RELATIVE64): New.
67521         (R_X86_64_NUM): Updated.
67522         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67523         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67524         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67525         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67526         tst-quad1pie tst-quad2pie
67527         (modules-names): Add tst-quadmod1 tst-quadmod2.
67528         ($(objpfx)tst-quad1): New dependency.
67529         ($(objpfx)tst-quad2): Likewise.
67530         ($(objpfx)tst-quad1pie): Likewise.
67531         ($(objpfx)tst-quad2pie): Likewise.
67532         * sysdeps/x86_64/tst-quad1.c: New file.
67533         * sysdeps/x86_64/tst-quad1pie.c: New file.
67534         * sysdeps/x86_64/tst-quad2.c: Likewise.
67535         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67536         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67537         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67538         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67539         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67543         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67544         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67545         * streams/stropts.h (t_scalar_t): Define type.
67547         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67548         (_PATH_PRESERVE): Set to "/var/lib".
67549         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67551         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67552         instead of int.
67554         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67555         if __dir_mkfile succeeded.
67557         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67558         checking for _hurd_dtablesize.  Unlock it right after having
67559         finished _hurd_dtable allocation.
67561 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67563         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67564         * sysdeps/mach/hurd/configure: Regenerated.
67565         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67566         special-casing to...
67567         * sysdeps/gnu/configure.in: ... this new file.
67568         * sysdeps/unix/sysv/linux/configure: Regenerated.
67569         * sysdeps/gnu/configure: New generated file.
67571         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67572         for Linux: use nsec instead of usec, as well as:
67573         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67574         members of type struct timespec.
67575         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67576         New macros.
67577         (struct stat64): Likewise.
67578         (_STATBUF_ST_NSEC): New macro.
67579         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67581         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67582         __strtoul_internal rather than strtoul.
67584 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67586         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67587         and reject them.
67589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67591         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67592         which preserves existing values.
67593         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67595 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67597         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67598         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67599         greater than FD_SETSIZE.
67601 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67603         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67604         allocated, call __vm_protect to finish enabling the existing space, and
67605         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67606         allocate the remainder.
67608 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67610         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67611         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67613 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67615         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67616         sysdeps/mach/hurd/readlink.c.
67618         * posix/tst-sysconf.c (posix_options): Only use
67619         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67620         _POSIX_SYNCHRONIZED_IO when they are defined
67621         * sysdeps/mach/hurd/bits/posix_opt.h:
67622         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67623         (_XOPEN_REALTIME): Undefine macro.
67624         (_XOPEN_REALTIME_THREADS): Undefine macro.
67625         (_XOPEN_SHM): Undefine macro.
67626         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67627         macro to -1.
67628         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67629         macro to -1.
67630         (_POSIX_ASYNC_IO): Undefine macro.
67631         (_POSIX_PRIORITIZED_IO): Undefine macro.
67632         (_POSIX_SPIN_LOCKS): Define macro to -1.
67634         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67635         SA_NODEFER, SA_RESETHAND.
67636         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67637         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67638         F_DUPFD_CLOEXEC.
67640 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67642         * elf/Makefile (pldd-modules): Define unconditionally.
67644 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67646         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67648 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67650         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67651         Return ENOENT when name is empty.
67652         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67654 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67656         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67658         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67662         Fix mlock in all cases except non-readable pages.
67663         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67664         instead of VM_PROT_ALL as parameter to __vm_wire function.
67666         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67667         (__mkdir): When path is `/', just fail with EEXIST.
67668         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67672         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67673         <sys/uio.h> (for writev).
67674         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67675         and <sys/param.h> (for MIN).
67677 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67679         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67680         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67681         if interrupted.
67683 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67685         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67686         Depend on against $(link-rpcuserlibs).
67688 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67690         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67691         (__libc_stack_end): Do not use attribute_relro.
67692         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67693         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67694         to libthread-provided value.
67695         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67696         attribute_relro.
67698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67700         [BZ #3748]
67701         * bits/libc-lock.h (__libc_once_get): New macro.
67702         * sysdeps/mach/bits/libc-lock.h: Likewise.
67703         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67704         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67705         instead of using implementation details.
67707         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67708         * libio/freopen.c: Likewise.
67709         * libio/freopen64.c: Likewise.
67710         * misc/syslog.c: Likewise.
67711         * nscd/connections.c: Likewise.
67712         * nscd/netgroupcache.c: Likewise.
67713         * sysdeps/posix/getcwd.c: Likewise.
67715 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67717         * math/w_ilogbf.c: Add #include <limits.h>.
67719 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67721         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67722         path instead of returning without unlocking.
67724         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67725         immediate-write ioctls.
67726         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67730         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67731         __builtin_frame_address instead of making assumptions about the
67732         location of the return address relative to DATA.  Force early load of
67733         the return address.
67734         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67735         __builtin_frame_address.
67737         dup3 for GNU Hurd.
67738         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67739         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67740         implement dup3 and do some further code clean-ups.
67741         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67742         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67746         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67748         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67749         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67750         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67751         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67752         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67753         d->port.lock.
67755         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67756         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67757         when handler == SIG_ERR, not when handler != SIG_ERR.
67759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67761         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67762         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67763         definitions.
67765         accept4 for GNU Hurd.
67766         * include/sys/socket.h (__libc_accept4): New prototype.
67767         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67768         to implement __libc_accept4.
67769         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67770         __libc_accept4.
67771         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67773         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67774         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67775         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67776         signal-defines.sym.
67778 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67780         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67782 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67784         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67785         assertion on O_CLOEXEC flag.
67786         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67787         * hurd/intern-fd.c: Likewise.
67788         * hurd/port2fd.c: Likewise.
67790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67792         [BZ #3906]
67793         * bits/in.h (IPV6_PKTINFO): Define new macro.
67794         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67796 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67798         [BZ #13954]
67799         [BZ #13955]
67800         [BZ #13956]
67801         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67802         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67803         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67804         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67805         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67806         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67807         * math/libm-test.inc (logb_test) : Additional logb tests.
67809 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67810             Andreas Jaeger  <aj@suse.de>
67812         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67813         * configure: Regenerated.
67814         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67815         * config.make.in (link-obsolete-rpc): New substituted variable.
67816         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67817         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67818         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67819         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67820         so that libc.a contains the symbols.
67821         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67822         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67823         * sunrpc/auth_none.c: Likewise.
67824         * sunrpc/auth_unix.c: Likewise.
67825         * sunrpc/authdes_prot.c: Likewise.
67826         * sunrpc/authuxprot.c: Likewise.
67827         * sunrpc/clnt_gen.c: Likewise.
67828         * sunrpc/clnt_perr.c: Likewise.
67829         * sunrpc/clnt_raw.c: Likewise.
67830         * sunrpc/clnt_simp.c: Likewise.
67831         * sunrpc/clnt_tcp.c: Likewise.
67832         * sunrpc/clnt_udp.c: Likewise.
67833         * sunrpc/clnt_unix.c: Likewise.
67834         * sunrpc/des_crypt.c: Likewise.
67835         * sunrpc/des_soft.c: Likewise.
67836         * sunrpc/get_myaddr.c: Likewise.
67837         * sunrpc/key_call.c: Likewise.
67838         * sunrpc/key_prot.c: Likewise.
67839         * sunrpc/netname.c: Likewise.
67840         * sunrpc/pm_getmaps.c: Likewise.
67841         * sunrpc/pm_getport.c: Likewise.
67842         * sunrpc/pmap_clnt.c: Likewise.
67843         * sunrpc/pmap_prot.c: Likewise.
67844         * sunrpc/pmap_prot2.c: Likewise.
67845         * sunrpc/pmap_rmt.c: Likewise.
67846         * sunrpc/publickey.c: Likewise.
67847         * sunrpc/rpc_cmsg.c: Likewise.
67848         * sunrpc/rpc_common.c: Likewise.
67849         * sunrpc/rpc_dtable.c: Likewise.
67850         * sunrpc/rpc_prot.c: Likewise.
67851         * sunrpc/rpc_thread.c: Likewise.
67852         * sunrpc/rtime.c: Likewise.
67853         * sunrpc/svc.c: Likewise.
67854         * sunrpc/svc_auth.c: Likewise.
67855         * sunrpc/svc_raw.c: Likewise.
67856         * sunrpc/svc_run.c: Likewise.
67857         * sunrpc/svc_tcp.c: Likewise.
67858         * sunrpc/svc_udp.c: Likewise.
67859         * sunrpc/svc_unix.c: Likewise.
67860         * sunrpc/svcauth_des.c: Likewise.
67861         * sunrpc/xcrypt.c: Likewise.
67862         * sunrpc/xdr.c: Likewise.
67863         * sunrpc/xdr_array.c: Likewise.
67864         * sunrpc/xdr_float.c: Likewise.
67865         * sunrpc/xdr_intXX_t.c: Likewise.
67866         * sunrpc/xdr_mem.c: Likewise.
67867         * sunrpc/xdr_rec.c: Likewise.
67868         * sunrpc/xdr_ref.c: Likewise.
67869         * sunrpc/xdr_sizeof.c: Likewise.
67870         * sunrpc/xdr_stdio.c: Likewise.
67872 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67874         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67875         change.  Update copyright years.
67877 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67879         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67881 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67882             Joseph Myers  <joseph@codesourcery.com>
67883             Paul Pluzhnikov  <ppluzhnikov@google.com>
67885         [BZ #14012]
67886         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67887         requiring rpcgen.
67888         [cross-compiling] (extra-libs): Likewise.
67889         [cross-compiling] (extra-libs-others): Likewise.
67890         [cross-compiling] (librpcsvc-routines): Likewise.
67891         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67892         [cross-compiling] (omit-deps): Likewise.
67893         (sunrpc-CPPFLAGS): New variable.
67894         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67895         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67896         (cross-rpcgen-objs): New variable.
67897         (extra-objs): Append $(cross-rpcgen-objs).
67898         ($(cross-rpcgen-objs)): New rule.
67899         ($(objpfx)cross-rpcgen): Likewise.
67900         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67901         comment.
67902         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67903         ($(objpfx)x%.stmp): Likewise.
67904         * sunrpc/proto.h [IS_IN_build] (_): Define.
67905         [IS_IN_build] (_libc_intl_domainname): Likewise.
67907 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67909         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67910         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67911         and R_X86_64_TPOFF64.
67913 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67915         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67916         sysdeps/unix/sysv/syscalls.list.
67917         (stime): Likewise.
67918         (utime): Likewise.
67919         * sysdeps/unix/sysv/syscalls.list: Remove file.
67921 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67923         [BZ #3440]
67924         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67925         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67926         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67927         (__LC_IDENTIFICATION): Make these macros useful in #if
67928         expressions, as required by C99.
67930 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67932         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67933         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67934         after this.
67936 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67938         * stdlib/longlong.h: Updated from GCC.
67940 2012-05-09  Andreas Jaeger  <aj@suse.de>
67942         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67943         default is first entry.
67944         (run_mode): Set type.
67945         (main): Remove informal message about syslog.
67946         (options): Fix typo.
67948         [BZ #14053]
67949         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67950         to asm.
67951         (lrint): Likewise.
67952         (llrintf): Likewise.
67953         (llrint): Likewise.
67954         (rint): Likewise.
67955         (rintf): Likewise.
67956         (nearbyint): Likewise.
67957         (nearbyintf): Likewise.
67959 2012-05-09  Andreas Jaeger  <aj@suse.de>
67960             Pedro Alves  <palves@redhat.com>
67962         * nscd/nscd.c (run_mode): Use enum.
67963         (main): Cleanup coding style issue.
67965 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67966             Andreas Jaeger  <aj@suse.de>
67968         * nscd/nscd.c (go_background): Replaced with...
67969         (run_mode): ... this.
67970         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67971         (options): Add -F --foreground.
67972         (main): Implement it.
67973         (parse_opt): Parse it.
67975 2012-05-09  Andreas Jaeger  <aj@suse.de>
67977         [BZ #14083]
67978         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67979         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67980         -Wconversion warning.
67981         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67982         Likewise.
67984 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67986         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67987         == 0.
67988         (LC_ALL): Use macro-int-constant.
67989         (LC_COLLATE): Likewise.
67990         (LC_CTYPE): Likewise.
67991         (LC_MESSAGES): Likewise.
67992         (LC_MONETARY): Likewise.
67993         (LC_NUMERIC): Likewise.
67994         (LC_TIME): Likewise.
67995         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67996         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67997         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67998         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67999         Specify type.
68000         [C99-based standards] (float_t): Expect type.
68001         [C99-based standards] (double_t): Expect type.
68002         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
68003         type.
68004         [C99-based standards] (HUGE_VALL): Likewise.
68005         [C99-based standards] (INFINITY): Likewise.
68006         [C99-based standards] (NAN): Likewise.
68007         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
68008         [C99-based standards] (FP_NAN): Likewise.
68009         [C99-based standards] (FP_NORMAL): Likewise.
68010         [C99-based standards] (FP_SUBNORMAL): Likewise.
68011         [C99-based standards] (FP_ZERO): Likewise.
68012         [C99-based standards] (FP_FAST_FMA): Use
68013         optional-macro-int-constant.  Specify type.  Require == 1.
68014         [C99-based standards] (FP_FAST_FMAF): Likewise.
68015         [C99-based standards] (FP_FAST_FMAL): Likewise.
68016         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
68017         [C99-based standards] (FP_ILOGBNAN): Likewise.
68018         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
68019         Specify type.
68020         [C99-based standards] (MATH_ERREXCEPT): Likewise.
68021         [C99-based standards] (math_errhandling): Specify type.
68022         [ISO99 || ISO11] (signgam): Do not allow.
68023         [non-C99-based standards] (copysignf): Do not allow.
68024         [non-C99-based standards] (exp2f): Likewise.
68025         [non-C99-based standards] (log2f): Likewise.
68026         [non-C99-based standards] (modff): Allow.
68027         [non-C99-based standards] (erff): Do not allow.
68028         [non-C99-based standards] (erfcf): Likewise.
68029         [non-C99-based standards] (gammaf): Likewise.
68030         [non-C99-based standards] (hypotf): Likewise.
68031         [non-C99-based standards] (j0f): Likewise.
68032         [non-C99-based standards] (j1f): Likewise.
68033         [non-C99-based standards] (jnf): Likewise.
68034         [non-C99-based standards] (lgammaf): Likewise.
68035         [non-C99-based standards] (tgammaf): Likewise.
68036         [non-C99-based standards] (y0f): Likewise.
68037         [non-C99-based standards] (y1f): Likewise.
68038         [non-C99-based standards] (ynf): Likewise.
68039         [non-C99-based standards] (isnanf): Likewise.
68040         [non-C99-based standards] (acoshf): Likewise.
68041         [non-C99-based standards] (asinhf): Likewise.
68042         [non-C99-based standards] (atanhf): Likewise.
68043         [non-C99-based standards] (cbrtf): Likewise.
68044         [non-C99-based standards] (expm1f): Likewise.
68045         [non-C99-based standards] (ilogbf): Likewise.
68046         [non-C99-based standards] (log1pf): Likewise.
68047         [non-C99-based standards] (logbf): Likewise.
68048         [non-C99-based standards] (nextafterf): Likewise.
68049         [non-C99-based standards] (remainderf): Likewise.
68050         [non-C99-based standards] (rintf): Likewise.
68051         [non-C99-based standards] (scalbf): Likewise.
68052         [non-C99-based standards] (copysignl): Likewise.
68053         [non-C99-based standards] (exp2l): Likewise.
68054         [non-C99-based standards] (log2l): Likewise.
68055         [non-C99-based standards] (modfl): Allow.
68056         [non-C99-based standards] (erfl): Do not allow.
68057         [non-C99-based standards] (erfcl): Likewise.
68058         [non-C99-based standards] (gammal): Likewise.
68059         [non-C99-based standards] (hypotl): Likewise.
68060         [non-C99-based standards] (j0l): Likewise.
68061         [non-C99-based standards] (j1l): Likewise.
68062         [non-C99-based standards] (jnl): Likewise.
68063         [non-C99-based standards] (lgammal): Likewise.
68064         [non-C99-based standards] (tgammal): Likewise.
68065         [non-C99-based standards] (y0l): Likewise.
68066         [non-C99-based standards] (y1l): Likewise.
68067         [non-C99-based standards] (ynl): Likewise.
68068         [non-C99-based standards] (isnanl): Likewise.
68069         [non-C99-based standards] (acoshl): Likewise.
68070         [non-C99-based standards] (asinhl): Likewise.
68071         [non-C99-based standards] (atanhl): Likewise.
68072         [non-C99-based standards] (cbrtl): Likewise.
68073         [non-C99-based standards] (expm1l): Likewise.
68074         [non-C99-based standards] (ilogbl): Likewise.
68075         [non-C99-based standards] (log1pl): Likewise.
68076         [non-C99-based standards] (logbl): Likewise.
68077         [non-C99-based standards] (nextafterl): Likewise.
68078         [non-C99-based standards] (remainderl): Likewise.
68079         [non-C99-based standards] (rintl): Likewise.
68080         [non-C99-based standards] (scalbl): Likewise.
68081         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68082         [non-C99-based standards] (FP_*): Do not allow.
68083         [C99-based standards] (FP_*): Change to
68084         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68085         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68086         allow.
68087         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
68088         (SIG_ERR): Likewise.
68089         [X/Open-based standards] (SIG_HOLD): Likewise.
68090         (SIG_IGN): Likewise.
68091         (SIGABRT): Use macro-int-constant.  Specify type.  Require
68092         positive value.
68093         (SIGFPE): Likewise.
68094         (SIGILL): Likewise.
68095         (SIGINT): Likewise.
68096         (SIGSEGV): Likewise.
68097         (SIGTER): Likewise.
68098         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
68099         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
68100         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
68101         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
68102         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
68103         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
68104         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
68105         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
68106         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
68107         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
68108         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
68109         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
68110         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
68111         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
68112         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
68113         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
68114         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
68115         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
68116         [X/Open-based standards] (SIGTRAP): Likewise.
68117         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
68118         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
68119         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
68120         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
68121         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68122         allow.
68124 2012-05-08  Ian Wienand  <ianw@vmware.com>
68126         [BZ #14080]
68127         * time/tzset.c (__tzset_parse_tz): Update default rules for
68128         daylight time changes in the Energy Policy Act of 2005.
68130 2012-05-09  Andreas Jaeger  <aj@suse.de>
68132         [BZ #13983]
68133         * elf/ldconfig.c (parse_conf): Change string to make clear that
68134         ldconfig only issued a warning if ld.so.conf does not exist.
68136 2012-05-08  David S. Miller  <davem@davemloft.net>
68138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68139         movxtod instead of popping the value on the stack.
68141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68143 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
68145         * config.h.in: Add HAVE_ARM_PCS_VFP.
68147 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
68149         [BZ #13979]
68150         * include/features.h: Warn if user requests __FORTIFY_SOURCE
68151         checking but the checks are disabled for any reason.
68153 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
68155         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68156         and ELF64_R_TYPE with ELFW(R_TYPE).
68158 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
68160         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68161         (ulimit): Likewise.
68163         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68164         (settimeofday): Likewise.
68166 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68168         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68169         a struct th_u2 inside the union, and move tu_block/tu_code into
68170         a new th_u3 union of tu_block/tu_code inside of that.  Move
68171         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68172         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68173         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68174         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68175         (th_stuff): Change to th_u1.tu_stuff.
68176         (th_data): Define.
68177         (th_msg): Change to th_u1.th_u2.tu_data.
68179 2012-05-07  David S. Miller  <davem@davemloft.net>
68181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68183         [BZ #14074]
68184         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68185         (SETUP_PIC_REG): Use it.
68186         (SETUP_PIC_REG_LEAF): Use it.
68188 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68190         [BZ #13885]
68191         [BZ #13923]
68192         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68193         USE_AS_EXPM1L.
68194         (EXPL_FINITE): Likewise.
68195         (FLDLOG): Likewise.
68196         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68197         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68198         e_expl.S.
68199         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68200         USE_AS_EXPM1L.
68201         (EXPL_FINITE): Likewise.
68202         (FLDLOG): Likewise.
68203         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68204         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68205         e_expl.S.
68206         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68207         test of -max_value argument for long double.
68208         * sysdeps/i386/fpu/libm-test-ulps: Update.
68209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68211 2012-05-06  David S. Miller  <davem@davemloft.net>
68213         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68214         quad soft-float symbols whose references which are compiler
68215         generated.
68216         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68218 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68220         [BZ #13884]
68221         [BZ #13914]
68222         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68223         USE_AS_EXP10L.
68224         (EXPL_FINITE): Likewise.
68225         (FLDLOG): Likewise.
68226         (c0): Likewise.
68227         (c1): Likewise.
68228         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68229         Adjust comments for base varying.
68230         (__expl_finite): Change alias to EXPL_FINITE.
68231         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68232         e_expl.S.
68233         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68234         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68235         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68236         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68237         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68238         USE_AS_EXP10L.
68239         (EXPL_FINITE): Likewise.
68240         (FLDLOG): Likewise.
68241         (c0): Likewise.
68242         (c1): Likewise.
68243         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68244         Adjust comments for base varying.
68245         (__expl_finite): Change alias to EXPL_FINITE.
68246         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68247         tests for bugs.
68248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68250         [BZ #14064]
68251         * math/libm-test.inc (check_float_internal): Correct ulp
68252         calculation for subnormal expected results.
68254 2012-05-06  Andreas Jaeger  <aj@suse.de>
68256         * Makeconfig (+math-flags): New, set to -frounding-math.
68257         (+cflags): Add +math-flags so that all of glibc gets compiled with
68258         it.
68260         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68262 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68264         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68265         Disable one test.
68267         [BZ #13787]
68268         [BZ #13922]
68269         [BZ #14036]
68270         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68271         (__ieee754_expl): Allow for and saturate large arguments.
68272         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68273         (u_threshold): Likewise.
68274         (__exp): Call __ieee754_exp before checking for overflow and
68275         underflow.
68276         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68277         (u_threshold): Likewise.
68278         (__expf): Call __ieee754_expf before checking for overflow and
68279         underflow.
68280         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68281         (u_threshold): Likewise.
68282         (__expl): Call __ieee754_expl before checking for overflow and
68283         underflow.
68284         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68285         (__ieee754_expl): Allow for and saturate large arguments.
68286         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68287         missing overflow exception on overflow.
68288         (expm1_test): Do not allow missing overflow exception on overflow.
68290         * sysdeps/i386/fpu/e_expl.c: Move to ...
68291         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68292         rather than using inline asm.
68293         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68294         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68295         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68297         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68298         (nice): Likewise.
68299         (poll): Likewise.
68300         (signal): Likewise.
68301         (time): Likewise.
68302         (times): Likewise.
68304 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68306         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68307         sysdeps/unix/common/syscalls.list.
68308         (fchmod): Likewise.
68309         (fchown): Likewise.
68310         (ftruncate): Likewise.
68311         (getrusage): Likewise.
68312         (gettimeofday): Likewise.
68313         (setpgid): Likewise.
68314         (setregid): Likewise.
68315         (setreuid): Likewise.
68316         (sigaction): Likewise.
68317         (truncate): Likewise.
68318         (vhangup): Likewise.
68319         * sysdeps/unix/common/syscalls.list: Remove file.
68320         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68321         * sysdeps/unix/sysv/linux/Implies: Likewise.
68323 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68325         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68327         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68328         Moved to ...
68329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68330         Here.
68331         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68332         to ...
68333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68334         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68335         to ...
68336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68337         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68338         to ...
68339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68340         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68341         to ...
68342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68343         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68344         to ...
68345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68346         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68347         to ...
68348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68349         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68350         to ...
68351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68352         Here.
68353         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68354         to ...
68355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68356         Here.
68357         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68358         to ...
68359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68360         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68361         Moved to ...
68362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68363         Here.
68364         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68365         to ...
68366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68368 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68370         * sysdeps/unix/common/bits/dirent.h: Remove file.
68371         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68373         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68374         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68375         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68376         * sysdeps/unix/bsd/isatty.c: Likewise.
68377         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68378         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68379         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68381 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68383         [BZ #13563]
68384         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68385         long double comparison inaccuracies.
68386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68389 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68391         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68392         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68394 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68396         [BZ #14049]
68397         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68398         nonzero digits before rounding a hex value.
68399         * stdlib/tst-strtod.c (tests): Add another test.
68401 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68403         * sysdeps/s390/fpu/libm-test-ulps: Update.
68405 2012-05-03  Andreas Jaeger  <aj@suse.de>
68407         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68408         does not get optimized out.
68409         (malloc_opt_barrier): New.
68411 2012-05-03  Andreas Jaeger  <aj@suse.de>
68412             Roland McGrath  <roland@hack.frob.com>
68414         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68415         intermediate file deletion.
68416         (generated): Add .symlist files.
68418 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68420         [BZ #13775]
68421         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68422         Redirect under this condition.
68423         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68424         [__USE_GNU] (__dprintf_chk): Not under this condition.
68425         [__USE_GNU] (__vdprintf_chk): Likewise.
68426         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68427         under this condition.
68428         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68429         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68430         [__USE_XOPEN2K8] (vdprintf): Likewise.
68431         [__USE_GNU] (__dprintf_chk): Not under this condition.
68432         [__USE_GNU] (__vdprintf_chk): Likewise.
68433         [__USE_GNU] (dprintf): Likewise.
68434         [__USE_GNU] (vdprintf): Likewise.
68436 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68438         * elf/Makefile (common-generated): Set this instead of generated for
68439         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68440         $(all-built-dso)-derived lists.
68442 2012-05-03  Andreas Jaeger  <aj@suse.de>
68444         * sysdeps/i386/fpu/libm-test-ulps: Update.
68446         * FAQ: Removed.
68447         * FAQ.in: Likewise.
68448         * scripts/gen-FAQ.pl: Likewise.
68449         * manual/install.texi (Installation): Point to online location of
68450         FAQ.
68451         * Makefile (files-for-dist): Remove FAQ.
68452         (FAQ): Remove.
68454 2012-05-02  Allan McRae  <allan@archlinux.org>
68456         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68457         (LDFLAGS-reldepmod5.so): Likewise.
68458         (LDFLAGS-reldep6mod1.so): Likewise.
68459         (LDFLAGS-reldep6mod4.so): Likewise.
68460         (LDFLAGS-reldep8mod3.so): Likewise.
68461         (LDFLAGS-unload4mod1.so): Likewise.
68462         (LDFLAGS-unload4mod2.so): Likewise.
68463         (LDFLAGS-tst-initorder): Likewise.
68464         (LDFLAGS-tst-initordera2.so): Likewise.
68465         (LDFLAGS-tst-initordera3.so): Likewise.
68466         (LDFLAGS-tst-initordera4.so): Likewise.
68467         (LDFLAGS-tst-initorderb2.so): Likewise.
68468         (LDFLAGS-noload): Likewise.
68469         (LDFLAGS-next): Likewise.
68470         (LDFLAGS-order2mod1.so): Likewise.
68471         (LDFLAGS-order2mod2.so): Likewise.
68472         (LDFLAGS-tst-initorder2): Likewise.
68473         (LDFLAGS-tst-initorder2a.so): Likewise.
68474         (LDFLAGS-tst-initorder2b.so): Likewise.
68475         (LDFLAGS-tst-initorder2c.so): Likewise.
68476         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68478 2012-05-02  David S. Miller  <davem@davemloft.net>
68480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68482 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68484         [BZ #14055]
68485         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68487 2012-05-02  Andreas Jaeger  <aj@suse.de>
68489         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68490         since we manipulate rounding mode.
68491         (CPPFLAGS-test-idouble.c): Likewise.
68492         (CPPFLAGS-test-ifloat.c): Likewise.
68493         (CFLAGS-test-ldouble.c): Likewise.
68494         (CFLAGS-test-double.c): Likewise.
68495         (CFLAGS-test-float.c): Likewise.
68496         (CFLAGS-test-misc.c): Likewise.
68497         (CFLAGS-test-test-fenv.c): Likewise.
68499 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68501         [BZ #2550]
68502         [BZ #2570]
68503         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68504         comparisons to determine direction to adjust input.
68506 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68508         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68509         output to the target.
68511         * scripts/localplt.awk: New file.
68512         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68513         (check-localplt-CFLAGS): Variable removed.
68514         ($(all-built-dso:=.jmprel)): New static pattern rule.
68515         (generated): Add those targets.
68516         (localplt-built-dso): New variable.
68517         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68519         * elf/check-localplt.c: File removed.
68521         * scripts/check-execstack.awk: New file.
68522         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68523         (check-execstack-CFLAGS): Variable removed.
68524         ($(objpfx)check-execstack.h): Target removed.
68525         ($(objpfx)execstack-default): New target.
68526         (generated): Add that instead of check-execstack.h.
68527         ($(all-built-dso:=.phdr)): New static pattern rule.
68528         (generated): Add those targets.
68529         * elf/check-execstack.c: File removed.
68531         * scripts/check-textrel.awk: New file.
68532         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68533         (check-textrel-CFLAGS): Variable removed.
68534         (all-built-dso): Use := to define.o
68535         ($(all-built-dso:=.dyn)): New static pattern rule.
68536         (generated): Add those targets.
68537         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68538         * config.make.in (READELF): New substituted variable.
68539         * elf/check-textrel.c: File removed.
68541 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68543         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68544         allow.
68545         * conform/data/ctype.h-data [C99-based standards] (isblank):
68546         Expect function.
68547         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68548         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68549         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68550         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68551         Specify type.  Require positive value.
68552         (EILSEQ): Likewise.
68553         (ERANGE): Likewise.
68554         [ISO || POSIX] (EILSEQ): Do not expect.
68555         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68556         Specify type.  Require positive value.
68557         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68558         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68559         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68560         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68561         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68562         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68563         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68564         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68565         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68566         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68567         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68568         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68569         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68570         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68571         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68572         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68573         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68574         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68575         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68576         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68577         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68578         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68579         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68580         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68581         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68582         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68583         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68584         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68585         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68586         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68587         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68588         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68589         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68590         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68591         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68592         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68593         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68594         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68595         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68596         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68597         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68598         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68599         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68600         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68601         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68602         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68603         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68604         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68605         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68606         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68607         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68608         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68609         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68610         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68611         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68612         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68613         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68614         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68615         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68616         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68617         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68618         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68619         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68620         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68621         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68622         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68623         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68624         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68625         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68626         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68627         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68628         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68629         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68630         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68631         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68632         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68633         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68634         Require >= 2.
68635         (FLT_ROUNDS): Expect as macro, not constant.
68636         (FLT_MANT_DIG): Use macro-int-constant.
68637         (DBL_MANT_DIG): Likewise.
68638         (LDBL_MANT_DIG): Likewise.
68639         (FLT_DIG): Likewise.
68640         (DBL_DIG): Likewise.
68641         (LDBL_DIG): Likewise.
68642         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68643         (DBL_MIN_EXP): Likewise.
68644         (LDBL_MIN_EXP): Likewise.
68645         (FLT_MAX_EXP): Use macro-int-constant.
68646         (DBL_MAX_EXP): Likewise.
68647         (LDBL_MAX_EXP): Likewise.
68648         (FLT_MAX_10_EXP): Likewise.
68649         (DBL_MAX_10_EXP): Likewise.
68650         (LDBL_MAX_10_EXP): Likewise.
68651         (FLT_MAX): Use macro-constant.
68652         (DBL_MAX): Likewise.
68653         (LDBL_MAX): Likewise.
68654         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68655         (DBL_EPSILON): Likewise.
68656         (LDBL_EPSILON): Likewise.
68657         (FLT_MIN): Likewise.
68658         (DBL_MIN): Likewise.
68659         (LDBL_MIN): Likewise.
68660         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68661         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68662         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68663         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68664         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68665         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68666         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68667         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68668         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68669         [ISO11] (FLT_TRUE_MIN): Likewise.
68670         [ISO11] (LDBL_TRUE_MIN): Likewise.
68671         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68672         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68673         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68674         (SCHAR_MAX): Likewise.
68675         (UCHAR_MAX): Likewise.
68676         (CHAR_MIN): Likewise.
68677         (CHAR_MAX): Likewise.
68678         (MB_LEN_MAX): Use macro-int-constant.
68679         (SHRT_MIN): Use macro-int-constant.  Specify type.
68680         (SHRT_MAX): Likewise.
68681         (USHRT_MAX): Likewise.
68682         (INT_MAX): Likewise.
68683         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68684         bound negative.
68685         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68686         bound with "U".
68687         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68688         bound with "L".
68689         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68690         bound negative.  Suffix upper bound with "L".
68691         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68692         bound with "UL".
68693         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68694         Specify type.
68695         [C99-based standards] (LLONG_MAX): Likewise.
68696         [C99-based standards] (ULLONG_MAX): Likewise.
68697         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68698         == 0.
68699         [ISO11] (max_align_t): Require type.
68700         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68702         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68703         from $CFLAGS, without defining away __attribute__ calls.
68704         (checknamespace): Use $CFLAGS_namespace.
68706         * conform/conformtest.pl (@keywords): Only include C99 keywords
68707         for standards based on C99 or C11.
68709         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68710         Disable tests.
68711         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68712         UNIX98]: Likewise.
68714         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68715         usability of symbols in #if.
68717         * conform/conformtest.pl: If macro or constant types start
68718         "promoted:", expect the symbol to be of the following type
68719         promoted by the integer promotions.
68721         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68722         in one place.  Also handle "macro-constant".
68724         * conform/conformtest.pl: Only accept expected macro values with
68725         "==".  Parse all "macro" lines in one place.
68726         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68728         * conform/conformtest.pl: Handle braced types on "constant" lines
68729         instead of handling "typed-constant".
68730         * conform/data/signal.h-data: Use "constant" instead of
68731         "typed-constant".
68733         * conform/conformtest.pl: Handle "optional-" at start of lines in
68734         one place rather than duplicating several cases.  Handle each
68735         format of "macro" line with initial "optional-".
68737         * conform/conformtest.pl: Only accept expected constant or
68738         optional-constant values with "==".  Parse all "constant" lines in
68739         one place.  Parse all "optional-constant" lines in one place.
68740         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68741         * conform/data/fmtmsg.h-data: Likewise.
68742         * conform/data/netinet/in.h-data: Likewise.
68743         * conform/data/tar.h-data: Likewise.
68744         * conform/data/limits.h-data: Use "==" form on "constant" and
68745         "optional-constant" lines.
68747         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68748         Use -std=c99 for XOPEN2K.
68749         (@knownproblems): Remove.
68750         (newtoken): Don't check %isknown.
68752         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68753         Do not expect macro.
68754         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68755         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68756         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68757         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68758         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68759         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68760         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68761         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68762         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68763         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68764         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68765         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68766         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68767         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68768         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68769         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68770         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68771         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68772         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68773         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68774         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68775         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68776         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68777         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68778         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68779         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68780         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68781         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68782         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68783         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68784         [XPG3] (acosh): Likewise.
68785         [XPG3] (asinh): Likewise.
68786         [XPG3] (atanh): Likewise.
68787         [XPG3] (cbrt): Likewise.
68788         [XPG3] (expm1): Likewise.
68789         [XPG3] (ilogb): Likewise.
68790         [XPG3] (log1p): Likewise.
68791         [XPG3] (logb): Likewise.
68792         [XPG3] (nextafter): Likewise.
68793         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68794         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68795         [XPG3] (remainder): Likewise.
68796         [XPG3] (rint): Likewise.
68797         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68798         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68799         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68800         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68801         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68802         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68803         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68804         [UNIX98 || XOPEN2K] (scalb): Expect.
68805         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68806         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68807         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68808         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68809         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68810         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68811         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68812         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68813         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68814         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68815         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68816         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68817         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68818         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68819         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68820         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68821         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68822         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68823         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68824         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68825         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68826         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68827         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68828         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68829         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68830         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68831         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68832         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68833         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68834         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68835         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68836         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68837         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68838         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68839         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68840         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68841         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68842         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68843         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68844         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68845         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68846         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68847         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68848         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68849         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68850         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68851         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68852         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68853         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68854         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68855         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68856         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68857         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68858         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68859         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68860         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68861         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68862         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68863         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68864         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68865         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68866         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68867         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68868         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68869         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68870         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68871         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68872         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68873         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68874         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68875         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68876         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68877         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68878         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68879         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68880         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68881         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68882         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68883         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68884         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68885         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68886         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68887         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68888         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68889         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68890         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68891         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68892         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68893         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68894         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68895         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68896         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68897         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68898         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68899         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68900         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68901         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68902         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68903         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68904         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68905         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68906         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68907         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68908         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68909         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68910         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68911         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68912         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68913         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68914         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68915         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68916         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68917         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68918         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68919         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68920         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68921         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68922         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68923         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68924         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68925         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68926         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68927         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68928         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68929         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68930         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68931         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68932         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68933         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68934         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68935         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68936         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68937         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68938         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68939         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68940         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68941         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68943         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68944         _XOPEN_SOURCE_EXTENDED for XPG4.
68946         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68948         * Makeconfig (localtime): Remove variable.
68949         (inst_localtime-file): Likewise.
68951 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68954         Update.
68955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68956         Update.
68957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68958         Update.
68959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68960         Update.
68961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68962         Update.
68963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68964         Update.
68965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68966         Update.
68967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68968         Update.
68969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68970         Update.
68972 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68974         [BZ #2550]
68975         [BZ #2570]
68976         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68977         comparisons to determine direction to adjust input.
68978         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68979         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68980         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68981         Likewise.
68982         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68983         Likewise.
68984         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68985         Likewise.
68986         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68987         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68988         Likewise.
68989         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68990         Likewise.
68991         * math/libm-test.inc (nexttoward_test): Add more tests.
68993 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68995         [BZ #14040]
68996         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68997         in version GLIBC_2.1, not GLIBC_2.0.
68998         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68999         Likewise.
69001 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
69003         [BZ #13942]
69004         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
69005         (1 - x) * (1 + x).
69006         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69007         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
69008         * math/libm-test.inc (acos_test): Add more tests.
69009         (asin_test): Likewise.
69010         * sysdeps/i386/fpu/libm-test-ulps: Update.
69011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69013         [BZ #14034]
69014         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
69015         of square root.
69016         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
69017         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69018         * math/libm-test.inc (acos_test_tonearest): New function.
69019         (acos_test_towardzero): Likewise.
69020         (acos_test_downward): Likewise.
69021         (acos_test_upward): Likewise.
69022         (asin_test_tonearest): Likewise.
69023         (asin_test_towardzero): Likewise.
69024         (asin_test_downward): Likewise.
69025         (asin_test_upward): Likewise.
69026         (main): Call the new functions.
69027         * sysdeps/i386/fpu/libm-test-ulps: Update.
69028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69030         [BZ #13884]
69031         [BZ #13924]
69032         * math/e_exp10.c: Include <float.h>.
69033         (__ieee754_exp10): Handle underflow here rather than multiplying
69034         large negative argument by M_LN10.
69035         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
69036         of __ieee754_expf.
69037         * math/e_exp10l.c: Include <float.h>.
69038         (__ieee754_exp10l): Handle underflow here rather than multiplying
69039         large negative argument by M_LN10l.
69040         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
69041         spurious overflow exception on underflow.
69043 2012-04-29  Marek Polacek  <polacek@redhat.com>
69045         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
69046         (__fortify_function): New macro.
69047         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
69048         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
69049         __extern_always_inline.
69050         * libio/bits/stdio2.h: Likewise.
69051         * libio/bits/stdio.h: Likewise.
69052         * string/string.h: Likewise.
69053         * string/bits/string3.h: Likewise.
69054         * include/stdio.h: Likewise.
69055         * stdlib/bits/stdlib.h: Likewise.
69056         * stdlib/stdlib.h: Likewise.
69057         * rt/bits/mqueue2.h: Likewise.
69058         * rt/mqueue.h: Likewise.
69059         * posix/bits/unistd.h: Likewise.
69060         * posix/unistd.h: Likewise.
69061         * io/bits/poll2.h: Likewise.
69062         * io/bits/fcntl2.h: Likewise.
69063         * io/fcntl.h: Likewise.
69064         * io/sys/poll.h: Likewise.
69065         * misc/bits/syslog.h: Likewise.
69066         * misc/bits/syslog-ldbl.h: Likewise.
69067         * misc/sys/syslog.h: Likewise.
69068         * socket/bits/socket2.h: Likewise.
69069         * socket/sys/socket.h: Likewise.
69070         * debug/tst-chk1.c: Likewise.
69071         * wcsmbs/bits/wchar2.h: Likewise.
69072         * wcsmbs/bits/wchar-ldbl.h: Likewise.
69073         * wcsmbs/wchar.h: Likewise.
69075 2012-04-29  Andreas Jaeger  <aj@suse.de>
69077         * Makerules (tests): Remove enable-check-abi protection.
69078         (check-abi-warn): Remove.
69079         (check-abi-%): Remove check-abi-warn usage.
69081         * configure.in: Remove check-abi configure option.
69082         * configure: Regenerated.
69083         * config.make.in (enable-check-abi): Remove.
69085 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
69087         [BZ #14033]
69088         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
69089         double functions to double *_finite functions.
69091         [BZ #13941]
69092         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
69093         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
69094         LDBL_MIN_EXP.
69095         * stdio-common/Makefile (tests): Add tst-sprintf3.
69096         * stdio-common/tst-sprintf3.c: New file.
69098         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
69099         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
69101 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69103         * conform/conformtest.pl: Remove duplicate typed-constant
69104         handling.
69106 2012-04-28  David S. Miller  <davem@davemloft.net>
69108         * Makerules (%.abilist): Add vpath on sysdep_dirs.
69109         (check-abi-%): Remove AWK script prerequisite and explicit
69110         abilist directory.
69111         (check-abi): Rewrite to just diff the symlist with the abilist.
69112         (config-tls, config-abi-config): Delete, no longer used.
69113         (update-abi-%): Remove AWK script and explicit abilist directory.
69114         (update-abi): Rewrite to simply compare and conditionally copy the
69115         symlist and the sysdep abilist file.  Remove update-abi-config
69116         checks.
69117         * abilist/ld.abilist: Remove.
69118         * abilist/libBrokenLocale.abilist: Remove.
69119         * abilist/libanl.abilist: Remove.
69120         * abilist/libcrypt.abilist: Remove.
69121         * abilist/libdl.abilist: Remove.
69122         * abilist/librt.abilist: Remove.
69123         * abilist/libthread_db.abilist: Remove.
69124         * abilist/libutil.abilist: Remove.
69125         * scripts/extract-abilist.awk: Remove.
69126         * scripts/merge-abilist.awk: Remove.
69127         * sysdeps/generic/libcidn.abilist: New file.
69128         * sysdeps/generic/libnss_compat.abilist: New file.
69129         * sysdeps/generic/libnss_db.abilist: New file.
69130         * sysdeps/generic/libnss_dns.abilist: New file.
69131         * sysdeps/generic/libnss_files.abilist: New file.
69132         * sysdeps/generic/libnss_hesiod.abilist: New file.
69133         * sysdeps/generic/libnss_nis.abilist: New file.
69134         * sysdeps/generic/libnss_nisplus.abilist: New file.
69135         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69136         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69137         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69138         file.
69139         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69140         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
69141         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
69142         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
69143         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69144         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
69145         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69146         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69147         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
69148         file.
69149         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
69150         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
69151         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
69152         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
69153         file.
69154         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69155         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69156         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69157         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69158         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69159         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69160         file.
69161         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69162         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69163         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69164         file.
69165         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69166         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69167         New file.
69168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69169         New file.
69170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69171         New file.
69172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69173         New file.
69174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69175         New file.
69176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69177         New file.
69178         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69179         New file.
69180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69181         New file.
69182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69183         New file.
69184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69185         New file.
69186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69187         New file.
69188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69189         New file.
69190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69191         New file.
69192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69193         file.
69194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69195         New file.
69196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69197         New file.
69198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69199         file.
69200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69201         New file.
69202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69203         New file.
69204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69205         file.
69206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69207         New file.
69208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69209         New file.
69210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69211         New file.
69212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69213         New file.
69214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69215         New file.
69216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69217         New file.
69218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69220         file.
69221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69222         New file.
69223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69224         file.
69225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69226         file.
69227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69228         file.
69229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69230         file.
69231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69232         file.
69233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69234         New file.
69235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69236         file.
69237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69238         file.
69239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69240         New file.
69241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69242         file.
69243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69245         file.
69246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69247         New file.
69248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69249         file.
69250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69251         file.
69252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69253         file.
69254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69255         file.
69256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69257         file.
69258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69259         New file.
69260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69261         file.
69262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69263         file.
69264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69265         New file.
69266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69267         file.
69268         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69269         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69270         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69271         file.
69272         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69273         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69274         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69275         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69276         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69277         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69278         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69279         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69280         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69281         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69284         file.
69285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69286         New file.
69287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69288         file.
69289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69290         file.
69291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69292         file.
69293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69294         file.
69295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69296         file.
69297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69298         New file.
69299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69300         New file.
69301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69302         file.
69303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69304         New file.
69305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69306         file.
69307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69309         file.
69310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69311         New file.
69312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69313         file.
69314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69315         file.
69316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69317         file.
69318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69319         file.
69320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69321         file.
69322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69323         New file.
69324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69325         New file.
69326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69327         file.
69328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69329         New file.
69330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69331         file.
69333 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69335         * conform/conformtest.pl: Fix typo in handling typed-constant from
69336         allow-header.
69338 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69340         * README: Cut down references to pre-2.6 Linux kernels and
69341         Linuxthreads.  Update lists of configurations in libc and ports
69342         and sort alphabetically.  Say "or newer" with Linux kernel version
69343         requirements.
69345         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69347 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69349         [BZ #887]
69350         * math/libm-test.inc (logb_test_downward): New test to expose
69351         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69352         rounding mode.
69354 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69356         [BZ #14027]
69357         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69358         to be done.
69359         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69360         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69362 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69364         * sysdeps/unix/i386/brk.S: Remove file.
69365         * sysdeps/unix/i386/dl-brk.S: Likewise.
69366         * sysdeps/unix/i386/pipe.S: Likewise.
69367         * sysdeps/unix/i386/sigreturn.S: Likewise.
69368         * sysdeps/unix/i386/syscall.S: Likewise.
69369         * sysdeps/unix/i386/vfork.S: Likewise.
69370         * sysdeps/unix/i386/wait.S: Likewise.
69372         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69373         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69375         * configure.in (arm*-none*): Do not allow without
69376         --enable-hacker-mode.
69377         (netbsd*): Remove case setting base_os.
69378         (386bsd*): Likewise.
69379         (freebsd*): Likewise.
69380         (bsdi*): Likewise.
69381         (osf*): Likewise.
69382         (sunos*): Likewise.
69383         (ultrix*): Likewise.
69384         (newsos*): Likewise.
69385         (dynix*): Likewise.
69386         (*bsd*): Likewise.
69387         (sysv*): Likewise.
69388         (isc*): Likewise.
69389         (esix*): Likewise.
69390         (sco*): Likewise.
69391         (minix*): Likewise.
69392         (irix4*): Likewise.
69393         (irix6*): Likewise.
69394         (solaris[2-9]*): Likewise.
69395         (none): Likewise.
69396         * configure: Regenerated.
69398 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69400         [BZ #11521]
69401         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69402         overflow or cancellation in calculating denominator.
69403         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69404         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69405         down expression to avoid unexpected rounding in newer GCCs.
69406         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69408 2012-04-26  David S. Miller  <davem@davemloft.net>
69410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69411         long-double compat symbols.
69412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69426 2012-04-25  David S. Miller  <davem@davemloft.net>
69428         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69429         HWCAP_* values only after the memory barriers have been defined.
69430         (atomic_full_barrier): Define.
69431         (atomic_read_barrier): Define.
69432         (atomic_write_barrier): Define.
69434 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69436         * shlib-versions: Add libgcc_s version information.
69437         * sysdeps/generic/libgcc_s.h: Remove.
69438         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69439         libgcc_s.h.
69440         * sysdeps/gnu/unwind-resume.c: Likewise.
69441         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69443 2012-04-25  David S. Miller  <davem@davemloft.net>
69445         * sysdeps/unix/sparc/brk.S: Delete.
69446         * sysdeps/unix/sparc/dl-brk.S: Delete.
69447         * sysdeps/unix/sparc/pipe.S: Delete.
69448         * sysdeps/unix/sparc/sysdep.S: Delete.
69449         * sysdeps/unix/sparc/sysdep.h: Delete.
69450         * sysdeps/unix/sparc/vfork.S: Delete.
69451         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69452         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69453         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69454         (ret_ERRVAL, r0, r1, MOVE): Define.
69455         (JUMPTARGET): Remove.
69456         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69457         sysdeps/unix/sparc/sysdep.h
69458         (ENTRY, END): Remove.
69459         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69461 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69463         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69464         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69465         -DIS_IN_build.
69467         * timezone/README: Update upstream location and email address for
69468         tzcode and tzdata.
69469         * timezone/zdump.c: Update from tzcode 2012b.
69470         * timezone/zic.c: Likewise.
69472         * configure.in (libc_cv_as_needed): Remove test.
69473         * configure: Regenerated.
69474         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69475         conditional definition.
69476         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69477         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69478         * config.make.in (have-as-needed): Remove variable.
69480 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69481             Paul Pluzhnikov  <ppluzhnikov@google.com>
69483         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69484         strings correctly.
69486 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69488         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69489         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69490         * sysdeps/sh/strlen.S: Likewise.
69492 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69494         * sysdeps/unix/fork.S: Remove file.
69495         * sysdeps/unix/i386/fork.S: Likewise.
69496         * sysdeps/unix/sparc/fork.S: Likewise.
69498         * sysdeps/unix/system.c: Remove file.
69499         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69501         * sysdeps/unix/getegid.S: Remove file.
69502         * sysdeps/unix/geteuid.S: Likewise.
69504 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69506         * scripts/check-localplt.awk: New file.
69507         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69508         of diff.
69509         * scripts/data/localplt-generic.data: Add a comment.
69511         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69512         NODE when __dir_mkfile failed.
69513         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69514         Reported by Ludovic Courtès <ludo@gnu.org>.
69516 2012-04-24  Andreas Jaeger  <aj@suse.de>
69518         * Makerules (common-clean): Also remove gen-as-const-headers
69519         files.
69521 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69523         * Makerules (native-compile): Do not change working directory for
69524         build.  Use $(OUTPUT_OPTION) in command.
69525         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69527 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69529         [BZ #13886]
69530         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69531         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69532         * math/libm-test.inc (floor_test): Add more tests.
69533         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69535 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69537         * sysdeps/unix/getdents.c: Remove file.
69538         * sysdeps/unix/sysv/getdents.c: Likewise.
69539         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69541         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69542         sysdeps/unix/mman/syscalls.list.
69543         (mmap): Likewise.
69544         (mprotect): Likewise.
69545         (msync): Likewise.
69546         (munmap): Likewise.
69547         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69548         * sysdeps/unix/mman/syscalls.list: Remove.
69549         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69551         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69552         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69553         * configure: Regenerated.
69554         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69555         $(libgcc_s_suffix).
69556         * config.make.in (libgcc_s_suffix): Remove variable.
69558 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69560         * sysdeps/unix/sysv/gethostname.c: Move to ...
69561         * sysdeps/posix/gethostname.c: ... here.
69563         * sysdeps/unix/execve.S: Remove file.
69565         * sysdeps/unix/_exit.S: Remove file.
69567 2012-04-23  Andreas Jaeger  <aj@suse.de>
69569         [BZ #13739]
69570         * manual/Makefile: Remove make dist support, there's no
69571         need for a stand-alone documentation tar ball.
69572         (TEXI2DVI): Define always, it's not in Makeconfig.
69573         (dist): Removed.
69574         (tar-it): Removed.
69575         (edition): Removed.
69576         (glibc-doc-$(edition).tar): Removed
69577         (%.Z): Removed.
69578         (%.gz): Removed.
69579         (%.uu): Removed.
69580         (ETAGS): Remove, it's in Makeconfig.
69581         (move-if-change): Remove, it's in Makeconfig.
69583 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69585         [BZ #13970]
69586         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69587         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69588         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69589         (strtod_l, strtof_l, strtold_l): Remove __wur.
69590         It is not necessarily an error to ignore strtol's return value.
69591         One can reliably look at the stored endptr to decide whether
69592         the number had valid syntax.
69594 2012-04-21  Andreas Jaeger  <aj@suse.de>
69596         [BZ #13739]
69597         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69599 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69601         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69602         * sysdeps/unix/sysv/Versions: Remove file.
69604 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69606         [BZ #13927]
69607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69609 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69611         [BZ #7064]
69612         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69613         version from __vm86.
69615 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69617         * sysdeps/unix/common/lxstat.c: Remove file.
69618         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69620         * sysdeps/unix/sysv/Makefile: Remove file.
69622         * sysdeps/unix/sysv/direct.h: Remove file.
69624         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69625         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69626         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69627         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69628         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69629         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69630         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69632         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69634         * sysdeps/unix/xmknod.c: Remove file.
69635         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69637         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69639         * sysdeps/unix/sysv/i386/time.S: Remove file.
69641         * sysdeps/unix/fxstat.c: Remove file.
69642         * sysdeps/unix/xstat.c: Likewise.
69643         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69645         * sysdeps/unix/sysv/sigaction.c: Remove file.
69647         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69648         (sysdep_headers): Remove variable.
69649         [termio.h not in sysdep_headers] (generated): Likewise.
69650         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69651         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69652         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69653         * sysdeps/unix/sysv/tcflow.c: Likewise.
69654         * sysdeps/unix/sysv/tcflush.c: Likewise.
69655         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69656         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69657         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69658         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69659         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69661         * sysdeps/unix/siglist.c: Remove file.
69663         * sysdeps/unix/getppid.S: Remove file.
69665         * sysdeps/unix/mkdir.c: Remove file.
69666         * sysdeps/unix/rmdir.c: Likewise.
69668 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69670         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69671         ERR_MAX value.
69672         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69673         errlist-compat value.
69675 2012-04-18  David S. Miller  <davem@davemloft.net>
69677         * sysdeps/generic/memcopy.h (reg_char): Delete.
69678         * debug/strcat_chk.c: Use char, not reg_char.
69679         * debug/strcpy_chk.c: Likewise.
69680         * debug/strncat_chk.c: Likewise.
69681         * debug/strncpy_chk.c: Likewise.
69682         * string/memchr.c: Likewise.
69683         * string/memrchr.c: Likewise.
69684         * string/rawmemchr.c: Likewise.
69685         * string/strcat.c: Likewise.
69686         * string/strchr.c: Likewise.
69687         * string/strchrnul.c: Likewise.
69688         * string/strcmp.c: Likewise.
69689         * string/strcpy.c: Likewise.
69690         * string/strncat.c: Likewise.
69691         * string/strncmp.c: Likewise.
69692         * string/strncpy.c: Likewise.
69694 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69696         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69697         __builtin_memcopy is called when src and dest ranges are known to not
69698         overlap.
69700 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69702         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69703         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69704         fwd_align_merge macro call.
69705         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69706         bwd_align_merge macro call.
69707         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69709 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69711         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69712         bwd_align_merge macros.
69713         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69714         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69715         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69717 2012-04-18  David S. Miller  <davem@davemloft.net>
69719         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69721 2012-04-18  Andreas Jaeger  <aj@suse.de>
69723         [BZ# 6794]
69724         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69725         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69726         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69728         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69729         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69730         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69732         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69733         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69734         Adjust for changed ldbl-128 files.
69736         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69737         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69738         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69740 2012-04-17  David S. Miller  <davem@davemloft.net>
69742         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69744 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69746         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69747         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69748         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69749         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69750         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69751         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69753 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69755         [BZ #6794]
69756         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69757         * math/libm-test.inc: Add ilogb errno and exception tests.
69758         * math/w_ilogb.c: New file: ilogb wrapper.
69759         * math/w_ilogbf.c: New file: ilogbf wrapper.
69760         * math/w_ilogbl.c: New file: ilogbl wrapper.
69761         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69762         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69763         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69764         exception being thrown with 0.0 as argument.
69765         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69766         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69767         exception being thrown with 0.0 as argument.
69768         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69769         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69770         exception being thrown with 0.0 as argument.
69771         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69772         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69773         exception being thrown with 0.0 as argument.
69774         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69775         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69776         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69777         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69778         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69779         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69780         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69781         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69782         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69784 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69786         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69787         with altivec.
69789 2012-04-16  Marek Polacek  <polacek@redhat.com>
69791         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69793 2012-04-16  Marek Polacek  <polacek@redhat.com>
69795         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69796         operands of fdivp instruction.
69798 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69800         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69801         * elf/tst-auditmod3b.c: Likewise.
69802         * elf/tst-auditmod4b.c: Likewise.
69803         * elf/tst-auditmod5b.c: Likewise.
69804         * elf/tst-auditmod6b.c: Likewise.
69805         * elf/tst-auditmod6c.c: Likewise.
69806         * elf/tst-auditmod7b.c: Likewise.
69807         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69808         * sysdeps/x86_64/preconfigure.in: Likewise.
69809         * sysdeps/x86_64/preconfigure: Regenerated.
69811 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69813         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69814         __ILP32__.
69816 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69818         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69819         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69821 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69823         [BZ #13973]
69824         * locale/iso-639.def: Fix gl language name. Spotted by
69825         Yaron Shahrabani.
69827 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69829         [BZ #2074]
69830         * libio/libio.h (__io_write_fn): Update comment.
69832 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69834         [BZ #2074]
69835         * stdio.texi (Hook Functions): The user provided writer function
69836         is not allowed to return -1.
69838 2012-04-11  David S. Miller  <davem@davemloft.net>
69840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69842 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69844         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69845         Add a leading slash to rtkaio.
69847 2012-04-11  Jim Meyering  <meyering@redhat.com>
69849         [BZ #11959]
69850         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69851         It is not necessarily an error to ignore fwrite's return
69852         value.  One can reliably use ferror to test for errors after
69853         the fact.
69855 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69857         * bits/types.h (__snseconds_t): New type.
69858         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69860         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69861         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69862         (__SNSECONDS_T_TYPE): Likewise.
69863         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69864         (__SNSECONDS_T_TYPE): Likewise.
69865         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69866         (__SNSECONDS_T_TYPE): Likewise.
69868 2012-04-10  Andreas Jaeger  <aj@suse.de>
69870         [BZ #2636]
69871         * manual/time.texi (Processor Time): Return type of times is
69872         elapsed real time since an arbitrary point in the past.
69873         (CPU Time): Move CLK_TCK from here...
69874         (Processor Time): ...to here.  Correct description.
69875         * manual/conf.texi (Constants for Sysconf): Correct description of
69876         _SC_CLK_TCK.
69878 2012-04-10  David S. Miller  <davem@davemloft.net>
69880         [BZ #13967]
69881         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69882         where the is a gap between DT_REL(A) and DT_JMPREL.
69884 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69886         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69887         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69888         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69890 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69892         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69893         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69894         (dl_main): Handle --inhibit-cache.
69895         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69896         _dl_inhibit_cache.
69897         * elf/dl-load.c (_dl_map_object): Use it.
69898         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69900 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69902         [BZ #13872]
69903         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69904         (__ieee754_powl): Saturate large exponents rather than testing for
69905         overflow of y*log2(x).
69906         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69907         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69908         exceptions.
69910         [BZ #11521]
69911         * math/s_ctan.c: Include <float.h>.
69912         (__ctan): Avoid internal overflow or cancellation in calculating
69913         denominator.
69914         * math/s_ctanf.c: Likewise.
69915         * math/s_ctanl.c: Likewise.
69916         * math/s_ctanh.c: Likewise.
69917         * math/s_ctanhf.c: Likewise.
69918         * math/s_ctanhl.c: Likewise.
69919         * math/libm-test.inc (ctan_test): Add more tests.
69920         (ctanh_test): Likewise.
69921         * sysdeps/i386/fpu/libm-test-ulps: Update.
69922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69924 2012-04-09  Andreas Jaeger  <aj@suse.de>
69926         [BZ #6894]
69927         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69928         is an optional BSD extension.
69930         [BZ #10254]
69931         * manual/stdio.texi (Opening Streams): Document additional fopen
69932         parameters.
69934 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69936         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69937         %eax without telling the compiler.
69939 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69941         [BZ # 13963]
69942         * manual/install.texi: Use sourceware.org.
69944 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69946         [BZ #13873]
69947         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69948         (__ieee754_pow): Generate overflow and underflow using huge*huge
69949         and tiny*tiny rather than just returning constant infinity or zero
69950         for large exponents.
69951         * math/libm-test.inc (pow_test): Require overflow exceptions for
69952         applicable cases of large exponents.
69954         [BZ #706]
69955         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69956         (__ieee754_pow): Use iterative multiplication algorithm only for
69957         integer exponents with absolute value below 1024.  Check for odd
69958         integer exponents when using algorithm for real exponents.
69959         * math/libm-test.inc (pow_test): Add more tests.
69960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69962 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69964         [BZ #13705]
69965         * math/libm-test.inc (exp_test): Do not allow overflow exception
69966         on underflow test.
69968 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69970         [BZ #13705]
69971         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69972         instead of __kernel_standard_f.
69974 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69976         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69977         * sysdeps/x86_64/memset_chk.S: Likewise.
69979 2012-04-08  Andreas Jaeger  <aj@suse.de>
69981         [BZ #10153]
69982         * manual/startup.texi (Environment Access): Describe return value
69983         for putenv and setenv.
69985         [BZ #6895]
69986         * manual/filesys.texi (Directory Entries): Add description for
69987         DT_LNK.
69989         [BZ #6890]
69990         * manual/filesys.texi (Directory Entries): Clarify that it's file
69991         system not operating system in the description of DT_UNKNOWN.
69993         [BZ #6578]
69994         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69996 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69998         [BZ #6649]
69999         * manual/llio.texi (Opening and Closing Files): Add cross
70000         reference to explain mode argument.
70002 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
70004         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
70005         * sysdeps/x86_64/memset_chk.S: Likewise.
70007 2012-04-07  David S. Miller  <davem@davemloft.net>
70009         * elf/elf.h (R_SPARC_WDISP10): Define.
70010         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
70011         R_SPARC_SIZE32.
70012         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
70013         R_SPARC_SIZE64 and R_SPARC_H34.
70015 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
70017         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
70018         conditions and remove no longer applicable assertion.
70020 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70022         * bits/byteswap.h: Include <features.h>.
70023         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70024         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70026 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70028         * bits/byteswap.h (__bswap_16): Removed.
70029         Include <bits/byteswap-16.h> to get __bswap_16.
70030         * sysdeps/i386/bits/byteswap.h: Likewise.
70031         * sysdeps/s390/bits/byteswap.h: Likewise.
70032         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70033         * bits/byteswap-16.h: New file.
70034         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70035         * sysdeps/s390/bits/byteswap-16.h: Likewise.
70036         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
70037         * string/Makefile (headers): Add bits/byteswap-16.h.
70039 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70041         [BZ #13895]
70042         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
70043         extra indirection.
70044         * nss/Makefile (tests-static, tests): Add tst-nss-static.
70045         * nss/tst-nss-static.c: New.
70047 2012-04-06  Robert Millan  <rmh@gnu.org>
70049         [BZ #6486]
70050         * manual/llio.texi (File Position Primitive): lseek
70051         refers to WHENCE when it really means OFFSET.
70053 2012-04-06  Andreas Jaeger  <aj@suse.de>
70055         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
70056         strncmp declarations.
70058         * abilist/libc.abilist: Add __poll and __ppoll.
70060 2012-04-05  David S. Miller  <davem@davemloft.net>
70062         * scripts/check-local-headers.sh: Accept a host triplet in the
70063         path matched by the exclude regexp.
70065         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
70066         definition.
70067         * sysdeps/powerpc/powerpc32/dl-machine.h
70068         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
70069         * sysdeps/s390/s390-32/dl-machine.h
70070         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70071         * sysdeps/sparc/sparc32/dl-machine.h
70072         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70073         * sysdeps/sparc/sparc64/dl-machine.h
70074         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70076         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
70077         lazy binding.
70078         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
70079         undefined symbol errors.
70081         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
70082         DT_NEEDED entries.
70084 2012-04-05  Michael Matz  <matz@suse.de>
70086         [BZ #13592]
70087         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
70089 2012-04-05  Andreas Jaeger  <aj@suse.de>
70091         [BZ #13908]
70092         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
70093         comment.
70095 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70097         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
70098         which ROUND is no valid rounding mode.
70100 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70102         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
70103         read again.
70104         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
70106 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70108         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
70109         an exception using FPU order intentionally.
70111 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70113         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
70114         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
70115         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
70116         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
70118 2012-04-05  Simon Josefsson  <simon@josefsson.org>
70120         [BZ #12340]
70121         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70122         EINVAL when BUFLEN is too smal.
70124 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
70126         [BZ #13553]
70127         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70128         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70130 2012-04-03  Andreas Jaeger  <aj@suse.de>
70132         [BZ #13938]
70133         * manual/setjmp.texi (System V contexts): Fix sentence.
70135         [BZ #13926]
70136         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70137         New macro for this case.
70138         [!__GNUC__] (__bswap_64): New inline function for this case.
70139         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70140         * bits/byteswap.h: Likewise.
70141         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
70142         ull, guard with __GLIBC_HAVE_LONG_LONG.
70144         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
70145         __GLIBC_HAVE_LONG_LONG.
70147         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
70148         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
70150 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70152         [BZ #13691]
70153         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
70154         inptr and inend, rather than using last_ch.
70156 2012-04-02  David S. Miller  <davem@davemloft.net>
70158         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70159         * stdio-common/printf-parse.h (read_int): Change return type to
70160         'int', return -1 on INT_MAX overflow.
70161         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70162         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70163         overflows INT_MAX.  Check for overflow of in-format-string precision
70164         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70165         SIZE_MAX not INT_MAX for integer overflow test.
70166         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70167         skip the construct in the format string but do not record anything.
70168         * stdio-common/bug22.c: Adjust to test both width/prevision
70169         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70170         explicitly for proper errno values.
70172 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70174         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70175         CHAR_MAX.
70176         * string/test-strcmp.c [! WIDE]: Likewise.
70177         * time/tst-mktime2.c: Likewise for INT_MAX.
70178         * string/test-string.h: #include <sys/param.h> for MIN.
70180         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70181         * sysdeps/i386/init-first.c (init): Likewise.
70182         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70183         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70184         * sysdeps/sh/init-first.c (init): Likewise.
70186 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70188         * po/ru.po: Update from translation team.
70189         * po/vi.po: Likewise.
70191 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70193         * resolv/nss_dns/dns-host.c: Merge copyright years.
70195 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70197         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70198         Optimize memcpy with prefetch if
70199         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70200         src, dst pointers have unequal 16 byte alignments.
70202 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70204         [BZ #13928]
70205         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70206         from a CNAME entry and return the minimum ttl for the query.
70207         (gaih_getanswer_slice): Likewise.
70209 2012-03-30  Jeff Law  <law@redhat.com>
70211         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70212         due to long keys.
70213         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70214         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70216         * resolv/nss_dns/dns-host.c: Update copyright year.
70218 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70220         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70221         requests to save a system call.  Fix check that all bytes are sent.
70223         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70224         comments for sendmmsg.
70226 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70228         [BZ #13691]
70229         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70230         with only 1 character between 0x0041 and 0x01b0.
70231         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70232         * wcsmbs/tst-mbsnrtowcs.c: New file.
70234 2012-03-29  David S. Miller  <davem@davemloft.net>
70236         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70237         small copies by hand.
70239 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70241         [BZ #13761]
70242         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70243         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70244         group memberships.
70246 2012-03-28  David S. Miller  <davem@davemloft.net>
70248         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70249         that branches into memcpy.
70250         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70251         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70252         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70253         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70254         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70255         bits.
70256         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70257         implementation too.
70258         * sysdeps/sparc/mempcpy.S: New file.
70260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70261         the IFUNC routine in the libc case.
70262         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70264         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70265         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70266         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70267         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70268         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70269         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70270         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70271         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70273         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70274         loop to 256 bytes instead of 64 bytes and fix test signedness.
70276         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70277         * sysdeps/sparc/sparc32/Makefile: rather than here...
70278         * sysdeps/sparc/sparc64/Makefile: and here.
70280 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70282         * malloc/mallocbug.c: Avoid warnings about unused variables.
70284 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70286         [BZ #13760]
70287         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70288         in the right place. Discard and retry query if response is
70289         larger than input buffer size.
70291 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70293         [BZ #369]
70294         [BZ #2678]
70295         [BZ #3866]
70296         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70297         x for large integer exponent.
70298         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70299         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70300         sign of result as needed afterwards.
70301         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70302         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70303         result for underflowing pow the same as for overflow.
70304         (__kernel_standard_l): Handle powl overflow and underflow here
70305         rather than calling __kernel_standard.
70306         * math/libm-test.inc (pow_test): Add more tests.
70308         [BZ #3868]
70309         [BZ #13879]
70310         [BZ #13910]
70311         [BZ #13911]
70312         [BZ #13912]
70313         [BZ #13913]
70314         [BZ #13915]
70315         [BZ #13916]
70316         [BZ #13917]
70317         [BZ #13918]
70318         [BZ #13919]
70319         [BZ #13920]
70320         [BZ #13921]
70321         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70322         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70323         (__kernel_standard_l): New function.
70324         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70325         __kernel_standard.
70326         * math/w_acosl.c (__acosl): Likewise.
70327         * math/w_asinl.c (__asinl): Likewise.
70328         * math/w_atan2l.c (__atan2l): Likewise.
70329         * math/w_atanhl.c (__atanhl): Likewise.
70330         * math/w_coshl.c (__coshl): Likewise.
70331         * math/w_exp10l.c (__exp10l): Likewise.
70332         * math/w_exp2l.c (__exp2l): Likewise.
70333         * math/w_fmodl.c (__fmodl): Likewise.
70334         * math/w_hypotl.c (__hypotl): Likewise.
70335         * math/w_j0l.c (__j0l, __y0l): Likewise.
70336         * math/w_j1l.c (__j1l, __y1l): Likewise.
70337         * math/w_jnl.c (__jnl, __ynl): Likewise.
70338         * math/w_lgammal.c (__lgammal): Likewise.
70339         * math/w_log10l.c (__log10l): Likewise.
70340         * math/w_log2l.c (__log2l): Likewise.
70341         * math/w_logl.c (__logl): Likewise.
70342         * math/w_powl.c (__powl): Likewise.
70343         * math/w_remainderl.c (__remainderl): Likewise.
70344         * math/w_scalbl.c (sysv_scalbl): Likewise.
70345         * math/w_sinhl.c (__sinhl): Likewise.
70346         * math/w_sqrtl.c (__sqrtl): Likewise.
70347         * math/w_tgammal.c (__tgammal): Likewise.
70348         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70349         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70350         * math/libm-test.inc (acos_test): Add more tests.
70351         (acosh_test): Likewise.
70352         (asin_test): Likewise.
70353         (atanh_test): Likewise.
70354         (exp_test): Likewise.
70355         (exp10_test): Likewise.
70356         (exp2_test): Likewise.
70357         (expm1_test): Likewise.
70358         (lgamma_test): Likewise.
70359         (log_test): Likewise.
70360         (log10_test): Likewise.
70361         (log1p_test): Likewise.
70362         (log2_test): Likewise.
70363         (pow_test): Do not allow some spurious overflow exceptions.
70364         (sqrt_test): Add more tests.
70365         (tgamma_test): Likewise.
70366         (y0_test): Likewise.
70367         (y1_test): Likewise.
70368         (yn_test): Likewise.
70370 2012-03-27  Anton Blanchard  <anton@samba.org>
70372         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70373         MAP_HUGETLB.
70374         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70375         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70376         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70378 2012-03-27  David S. Miller  <davem@davemloft.net>
70380         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70382         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70383         have-as-vis3 check.
70385 2012-03-27  Andreas Jaeger  <aj@suse.de>
70387         * sysdeps/x86_64/elf/configure.in: Moved to ...
70388         * sysdeps/x86_64/configure.in: ... here.
70389         * sysdeps/x86_64/elf/start.S: Moved to ...
70390         * sysdeps/x86_64/start.S: ... here.
70391         * sysdeps/x86_64/elf/configure: Delete.
70393         * sysdeps/x86_64/configure.in: Merge contents from
70394         sysdeps/i386/configure.in (without i686 check).
70396         * sysdeps/i386/elf/Versions: Merge into ...
70397         * sysdeps/i386/Versions: ... this.
70398         * sysdeps/i386/elf/Versions: Delete file.
70399         * sysdeps/i386/elf/start.S: Moved to ...
70400         * sysdeps/i386/start.S: ...here.
70401         * sysdeps/i386/elf/configure.in: Merge into...
70402         * sysdeps/i386/configure.in: ...here.
70403         * sysdeps/i386/elf/configure.in: Delete file.
70404         * sysdeps/i386/elf/configure: Delete file.
70406         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70407         * debug/backtracesyms.c: ... here.
70408         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70409         * debug/backtracesymsfd.c: ... here.
70410         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70411         * sysdeps/generic/ifunc-sel.h: ... here.
70413         * sysdeps/unix/i386/start.c: Delete file.
70414         * sysdeps/unix/sparc/start.c: Delete file.
70415         * sysdeps/unix/start.c: Delete file.
70417         * sysdeps/sh/elf/configure.in: Moved to ...
70418         * sysdeps/sh/configure.in: ... here.
70419         * sysdeps/sh/elf/start.S: Moved to ...
70420         * sysdeps/sh/start.S: ... here.
70421         * sysdeps/sh/elf/configure: Delete file.
70423         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70424         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70425         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70426         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70427         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70428         * sysdeps/powerpc/powerpc64/start.S: here.
70429         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70430         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70431         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70432         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70433         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70435         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70436         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70437         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70438         * sysdeps/powerpc/powerpc32/start.S: ... here.
70439         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70440         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70441         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70443         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70444         * sysdeps/powerpc/ifunc-sel.h: ... here.
70445         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70446         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70448         * sysdeps/sparc/elf/configure.in: Moved to ...
70449         * sysdeps/sparc/configure.in: ... here.
70450         * sysdeps/sparc/elf/configure: Delete file.
70451         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70452         * sysdeps/sparc/sparc32/start.S: ... here.
70453         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70454         * sysdeps/sparc/sparc64/start.S: ... here.
70455         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70456         * sysdeps/sparc/sparc32/Makefile: ... this.
70457         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70458         * sysdeps/sparc/sparc64/Makefile: ... this.
70460         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70461         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70462         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70463         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70464         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70465         * sysdeps/s390/s390-32/setjmp.S: ... here.
70466         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70467         * sysdeps/s390/s390-32/configure.in: ... here.
70468         * sysdeps/s390/s390-32/elf/configure: Delete file.
70469         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70470         * sysdeps/s390/s390-32/start.S: ... here.
70472         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70473         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70474         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70475         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70476         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70477         * sysdeps/s390/s390-64/setjmp.S: ... here.
70478         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70479         * sysdeps/s390/s390-64/configure.in: ... here
70480         * sysdeps/s390/s390-64/elf/configure: Delete file.
70481         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70482         * sysdeps/s390/s390-64/start.S: ... here.
70483         * sysdeps/s390/s390-64/elf/configure: Delete.
70485         * configure.in: Remove support for elf directories in sysdeps.
70487         * configure: Regenerated.
70488         * sysdeps/i386/configure: Regenerated.
70489         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70490         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70491         * sysdeps/s390/s390-32/configure: Regenerated.
70492         * sysdeps/s390/s390-64/configure: Regenerated.
70493         * sysdeps/sh/configure: Regenerated.
70494         * sysdeps/sparc/configure: Regenerated.
70495         * sysdeps/x86_64/configure: Regenerated.
70497 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70501         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70502         denormal result into account.
70504 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70506         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70507         Reported by Allan McRae <allan@archlinux.org>.
70509 2012-03-23  Jeff Law  <law@redhat.com>
70511         * nss/getnssent.c (__nss_getent): Fix typo.
70513 2012-03-23  David S. Miller  <davem@davemloft.net>
70515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70517 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70519         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70520         to pad to uint64_t for each field.
70521         (dl_tls_index): Replace unsigned long with uint64_t.
70523 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70524         Paul Pluzhnikov  <ppluzhnikov@google.com>
70526         [BZ #6528]
70527         * grp/Makefile (otherlibs): Don't set it.
70528         * inet/Makefile (otherlibs): Likewise.
70529         * login/Makefile (otherlibs): Likewise.
70530         * nscd/Makefile (otherlibs): Likewise.
70531         * posix/Makefile (otherlibs): Likewise.
70532         * pwd/Makefile (otherlibs): Likewise.
70533         * rt/Makefile (otherlibs): Likewise.
70534         * sunrpc/Makefile (otherlibs): Likewise.
70535         * nss/Makefile (otherlibs): Likewise.
70536         Add libnss_files to routines and static-only-routines.
70537         ($(objpfx)getent): Remove rule.
70538         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70539         static-only-routines.
70541 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70543         [BZ #13892]
70544         * math/s_cexp.c: Include <float.h>.
70545         (__cexp): Handle exp result overflowing not necessarily
70546         overflowing both real and imaginary parts of result.
70547         * math/s_cexpf.c: Likewise.
70548         * math/s_cexpl.c: Likewise.
70549         * math/libm-test.inc (cexp_test): Add more tests.
70550         * sysdeps/i386/fpu/libm-test-ulps: Update.
70551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70553 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70555         * include/link.h (ELFW): New macro.
70556         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70557         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70559 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70561         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70562         with uint64_t.
70564 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70566         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70567         declaration.
70568         (struct La_x32_retval): Likewise.
70570 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70572         * sysdeps/x86_64/preconfigure.in: New file.
70573         * sysdeps/x86_64/preconfigure: New generated file.
70575 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70577         [BZ #13824]
70578         * math/e_exp2l.c: Include <float.h>.
70579         (__ieee754_exp2l): Handle overflow and underflow cases
70580         separately.  Only pass fractional part of argument to
70581         __ieee754_expl.
70582         * math/libm-test.inc (exp2_test): Add more tests.
70584         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70585         negating x to take absolute value.
70586         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70587         Likewise.
70588         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70589         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70590         Likewise.
70591         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70592         computing low part if x was negated.
70593         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70595 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70597         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70598         la_x32_gnu_pltexit.
70599         (pltexit): Cast int_retval to ptrdiff_t.
70600         * elf/tst-auditmod3b.c: Likewise.
70601         * elf/tst-auditmod4b.c: Likewise.
70602         * elf/tst-auditmod5b.c: Likewise.
70603         * elf/tst-auditmod6b.c: Likewise.
70604         * elf/tst-auditmod6c.c: Likewise.
70605         * elf/tst-auditmod7b.c: Likewise.
70607         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70608         and x32_gnu_pltexit.
70610         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70611         __ELF_NATIVE_CLASS.
70612         (La_x32_regs): New macro.
70613         (La_x32_retval): Likewise.
70614         (la_x32_gnu_pltenter): New function prototype.
70615         (la_x32_gnu_pltexit): Likewise.
70617 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70619         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70620         exponent.
70622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70624         * configure.in (libc_cv_cc_nofma): Check for option to disable
70625         generation of FMA instructions.
70626         * configure: Regenerate.
70627         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70628         * sysdeps/ieee754/dbl-64/Makefile: New file.
70629         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70630         Remove brandred-fma4.
70631         (CFLAGS-brandred-fma4.c): Remove.
70632         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70633         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70634         define.
70635         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70636         define.
70638 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70640         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70641         LLONG_MAX != LONG_MAX.
70642         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70643         (_fitoa_word): Likewise.
70644         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70645         LLONG_MAX != LONG_MAX.
70646         * stdio-common/_itowa.h: Include <_itoa.h>.
70647         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70648         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70649         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70650         only if not defined.
70651         (_ITOA_WORD_TYPE): Likewise.
70652         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70653         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70655 2012-03-21  David S. Miller  <davem@davemloft.net>
70657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70659 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70661         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70662         of x86_64 when setting libc_cv_slibdir, libdir and
70663         libc_cv_localedir.
70664         * sysdeps/unix/sysv/linux/configure: Regenerated.
70666 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70668         * manual/lang.texi (Old Varargs): Remove section.
70669         (How Variadic): Update menu.
70670         (va_start): Do not mention varargs.h.
70672 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70673             Joseph Myers  <joseph@codesourcery.com>
70675         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70676         link test.
70677         * configure: Regenerated.
70679 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70681         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70682         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70683         conformtest.pl
70685 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70687         * NOTES: Remove.
70688         * Makefile (files-for-dist): Remove NOTES.
70689         (NOTES): Remove rule.
70690         * README: Don't refer to NOTES.
70691         * manual/creature.texi: Don't include macros.texi.
70692         * manual/intro.texi (creature.texi): Remove comment referring to
70693         NOTES.
70695         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70696         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70697         * configure: Regenerated.
70698         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70699         LIBC_TRY_CC_OPTION.
70700         (libc_cv_as_i686): Likewise.
70701         (libc_cv_cc_avx): Likewise.
70702         (libc_cv_cc_sse2avx): Likewise.
70703         (libc_cv_cc_fma4): Likewise.
70704         (libc_cv_cc_novzeroupper): Likewise.
70705         * sysdeps/i386/configure: Regenerated.
70707         [BZ #13883]
70708         * sysdeps/i386/fpu/s_cexp.S: Remove.
70709         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70710         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70711         * math/libm-test.inc (cexp_test): Add more tests.
70712         * sysdeps/i386/fpu/libm-test-ulps: Update.
70713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70715 2012-03-21  Allan McRae  <allan@archlinux.org>
70717         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70719 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70721         [BZ #13871]
70722         * math/w_exp2.c: Do not include <float.h>.
70723         (o_threshold, u_threshold): Remove.
70724         (__exp2): Calculate result before checking finiteness and calling
70725         __kernel_standard.
70726         * math/w_exp2f.c: Likewise.
70727         * math/w_exp2l.c: Likewise.
70728         * math/libm-test.inc (exp2_test): Require overflow exception for
70729         1e6 input.
70731         [BZ #3866]
70732         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70733         range of signed 64-bit integers before using fistpll.  Remove
70734         checks for whether integers fit in mantissa bits.
70735         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70736         the range of signed 32-bit integers before using fistpl.  Remove
70737         checks for whether integers fit in mantissa bits.
70738         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70739         (__ieee754_powl): Test for y outside the range of signed 64-bit
70740         integers before using fistpll.  Reduce 64-bit values to 63-bit
70741         ones as needed.
70742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70743         divide-by-zero is raised for zero to large negative powers.
70744         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70745         (__ieee754_powl): Test for y outside the range of signed 64-bit
70746         integers before using fistpll.  Reduce 64-bit values to 63-bit
70747         ones as needed.
70748         * math/libm-test.inc (pow_test): Add more tests.
70750 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70752         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70753         <stdio-common/_itoa.h>.
70754         * debug/segfault.c: Likewise.
70755         * elf/dl-cache.c: Likewise.
70756         * elf/dl-minimal.c: Likewise.
70757         * elf/dl-misc.c: Likewise.
70758         * elf/dl-sysdep.c: Likewise.
70759         * elf/dl-version.c: Likewise.
70760         * elf/rtld.c: Likewise.
70761         * hurd/hurdsock.c: Likewise.
70762         * hurd/lookup-retry.c: Likewise.
70763         * malloc/malloc.c: Likewise.
70764         * malloc/mtrace.c: Likewise.
70765         * nscd/nscd_getgr_r.c: Likewise.
70766         * nscd/nscd_getpw_r.c: Likewise.
70767         * nscd/nscd_getserv_r.c: Likewise.
70768         * posix/getopt_init.c: Likewise.
70769         * posix/wordexp.c: Likewise.
70770         * stdio-common/_itoa.c: Likewise.
70771         * stdio-common/printf_fphex.c: Likewise.
70772         * stdio-common/vfprintf.c: Likewise.
70773         * string/_strerror.c: Likewise.
70774         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70775         * sysdeps/i386/i686/hp-timing.h: Likewise.
70776         * sysdeps/mach/_strerror.c: Likewise.
70777         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70778         * sysdeps/mach/hurd/sethostid.c: Likewise.
70779         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70780         * sysdeps/mach/xpg-strerror.c: Likewise.
70781         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70782         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70783         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70784         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70785         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70786         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70787         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70788         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70789         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70790         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70791         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70792         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70793         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70794         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70795         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70796         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70797         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70798         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70799         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70800         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70801         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70803         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70805         * stdio-common/_itoa.h: Moved to ...
70806         * sysdeps/generic/_itoa.h: Here.
70808         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70810         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70811         instead of "_itoa.h" and "_itowa.h".
70812         * stdio-common/vfprintf.: Likewise.
70814 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70816         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70817         <bits/wordsize.h>.
70818         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70819         (__signbit): Likwise.
70820         (llrintf): Likwise.
70821         (llrint): Likwise.
70823 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70825         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70826         __WORDSIZE != 64.
70828 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70830         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70831         OVERFLOW_EXCEPTION_OK.
70832         * math/libm-test.inc ("Philosophy"): Update comment about
70833         exception testing.
70834         (OVERFLOW_EXCEPTION): Define.
70835         (OVERFLOW_EXCEPTION_OK): Likewise.
70836         (INVALID_EXCEPTION_OK): Renumber.
70837         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70838         (IGNORE_ZERO_INF_SIGN): Likewise.
70839         (test_exceptions): Handle FE_OVERFLOW.
70840         (exp10_test): Expect overflow exceptions.
70841         (exp2_test): Likewise.
70842         (expm1_test): Likewise.
70843         (nextafter_test): Likewise.
70844         (pow_test): Likewise.
70845         (scalbn_test): Likewise.
70846         (scalbln_test): Likewise.
70848 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70850         * sysdeps/x86_64/bits/atomic.h
70851         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70852         64bit integer.
70853         (atomic_exchange_acq): Likewise.
70854         (__arch_exchange_and_add_body): Likewise.
70855         (__arch_add_body): Likewise.
70856         (atomic_add_negative): Likewise.
70857         (atomic_add_zero): Likewise.
70859 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70861         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70862         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70864 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70866         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70867         Check __x86_64__ instead of __WORDSIZE.
70869 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70871         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70873 2012-03-19  David S. Miller  <davem@davemloft.net>
70875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70877         * sysdeps/sparc/fpu/fenv_private.h: New file.
70878         * sysdeps/sparc/fpu/math_private.h: Use it.
70879         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70880         Remove.
70881         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70882         (libc_feholdexcept_setroundl): Remove.
70883         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70884         Remove.
70885         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70886         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70888 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70890         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70891         int64_t instead of long int.
70892         (INSERT_WORDS64): Likwise.
70894 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70896         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70897         _Unwind_GetCFA return to _Unwind_Ptr first.
70899 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70901         [BZ #13629]
70902         * math/s_clog.c: Include <float.h>.
70903         (__clog): Scale large or subnormal inputs.
70904         * math/s_clogf.c: Likewise.
70905         * math/s_clogl.c: Likewise.
70906         * math/s_clog10.c: Include <float.h>.
70907         (M_LOG10_2): Define.
70908         (__clog10): Scale large or subnormal inputs.
70909         * math/s_clog10f.c: Likewise.
70910         * math/s_clog10l.c: Likewise.
70911         * math/libm-test.inc (clog_test): Add more tests.
70912         (clog10_test): Likewise.
70913         * sysdeps/i386/fpu/libm-test-ulps: Update.
70914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70916         [BZ #11451]
70917         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70918         x and y.
70919         * math/libm-test.inc (atan2_test): Add another test.
70921         * Makerules (common-objdir-compile): Remove.
70922         * sysdeps/unix/Makefile (config-generated): Do not add
70923         $(unix-generated) to variable.
70924         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70925         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70926         Remove rule.
70927         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70928         Likewise.
70929         [generic bits/local_lim.h] (before-compile): Do not append to
70930         variable.
70931         [generic bits/local_lim.h] (common-generated): Likewise.
70932         [generic sys/param.h] (before-compile): Do not append to variable.
70933         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70934         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70935         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70936         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70937         include.
70938         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70939         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70940         [generic sys/param.h] ($(addprefix
70941         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70942         [generic sys/param.h] (common-generated): Do not append to
70943         variable.
70944         [generic sys/param.h] (sysdep_headers): Likewise.
70945         [generic bits/errno.h] (before-compile): Do not append to
70946         variable.
70947         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70948         rule.
70949         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70950         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70951         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70952         [generic bits/errno.h] (common-generated): Do not append to
70953         variable.
70954         [generic bits/ioctls.h] (before-compile): Do not append to
70955         variable.
70956         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70957         rule.
70958         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70959         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70960         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70961         rule.
70962         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70963         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70964         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70965         [generic bits/ioctls.h] (common-generated): Do not append to
70966         variable.
70967         [generic sys/syscall.h] (syscall.h): Remove variable.
70968         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70969         rule.
70970         [generic sys/syscall.h] (before-compile): Do not append to
70971         variable.
70972         [generic sys/syscall.h] (common-generated): Likewise.
70973         * sysdeps/unix/errnos-tmpl.c: Remove file.
70974         * sysdeps/unix/errnos.awk: Likewise.
70975         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70976         * sysdeps/unix/ioctls.awk: Likewise.
70977         * sysdeps/unix/mk-local_lim.c: Likewise.
70978         * sysdeps/unix/snarf-ioctls: Likewise.
70980 2012-03-19  Richard Henderson  <rth@twiddle.net>
70982         * sysdeps/i386/fpu/fenv_private.h: New file.
70983         * sysdeps/i386/fpu/math_private.h: Use it.
70984         (math_opt_barrier, math_force_eval): Remove.
70985         (libc_feholdexcept_setround_53bit): Remove.
70986         (libc_feupdateenv_53bit): Remove.
70987         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70988         (math_opt_barrier, math_force_eval): Remove.
70989         (libc_feholdexcept): Remove.
70990         (libc_feholdexcept_setround): Remove.
70991         (libc_fetestexcept, libc_fesetenv): Remove.
70992         (libc_feupdateenv_test): Remove.
70993         (libc_feupdateenv, libc_feholdsetround): Remove.
70994         (libc_feresetround): Remove.
70996         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70997         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70999         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
71000         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
71001         (libc_feupdateenv_testl): New.
71002         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
71003         (libc_feupdateenv_testf): New.
71004         (libc_feupdateenv): Use libc_feupdateenv_test.
71005         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
71006         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
71008         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
71009         (libc_feholdsetroundf, libc_feholdsetroundl): New.
71010         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
71011         (libc_feresetround_noex): New.
71012         (libc_feresetround_noexf): New.
71013         (libc_feresetround_noexl): New.
71014         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
71015         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
71016         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
71017         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
71018         SET_RESTORE_ROUND.
71019         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
71020         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
71021         (__cos): Likewise.
71022         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
71023         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
71024         SET_RESTORE_ROUND_NOEX.
71025         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
71026         SET_RESTORE_ROUND_NOEXF.
71027         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
71028         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
71029         (libc_feholdsetroundf): New.
71030         (libc_feresetround, libc_feresetroundf): New.
71032         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
71033         (libc_feholdexcept_setround_53bit): Convert from macro to function.
71034         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
71036         * sysdeps/generic/math_private.h: Include <fenv.h>.
71037         (default_libc_feholdexcept): New.
71038         (default_libc_feholdexcept_setround): New.
71039         (default_libc_fesetenv, default_libc_feupdateenv): New.
71040         (libc_feholdexcept): Only define if undefined.
71041         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
71042         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
71043         (libc_feholdexcept_setroundl): Likewise.
71044         (libc_feholdexcept_setround_53bit): Likewise.
71045         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
71046         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
71047         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
71048         (libc_feupdateenv_53bit): Likewise.
71049         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
71050         (libc_feholdexcept): Convert from macro to inline function.
71051         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
71052         (libc_fesetenv, libc_feupdateenv): Likewise.
71054         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
71055         not previously defined.
71056         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
71057         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
71058         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
71059         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
71060         * sysdeps/ieee754/flt-32/math_private.h: New file.
71061         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
71062         math_private.h below SET_FLOAT_WORD.
71063         (__isnan, __isinf_ns, __finite): Remove.
71064         (__isnanf, __isinf_nsf, __finitef): Remove.
71066 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
71068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71070 2012-03-17  David S. Miller  <davem@davemloft.net>
71072         [BZ #6471]
71073         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
71074         for 2.16.
71076 2012-03-16  David S. Miller  <davem@davemloft.net>
71078         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
71079         warnings.
71081         [BZ #6471]
71082         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
71083         properly.
71084         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
71085         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
71086         sysdep_routines when subdir is sysvipc.
71087         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
71088         __getshmlba helper.
71090         * sysdeps/sparc/fpu/libm-test/ulps: Update.
71092 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71094         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
71095         [__LP64__].
71097 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71099         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71100         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
71101         (__lround): Renamed to ...
71102         (__llround): This.  Replace long int with long long int.
71103         Define lround functions as aliases of llround functions.
71104         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
71106 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71108         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
71109         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
71110         adresses to uintptr_t.  Replace "long int" and "unsigned long
71111         int" with "greg_t" on va_arg.
71113 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71115         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
71116         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
71118         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
71119         Move e_machine check before EI_CLASS check.  Handle x32
71120         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
71121         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71122         SKIP_EM_IA_64 and include
71123         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71125         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71126         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71127         (add_system_dir): New macro.
71129         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71130         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71132 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71134         [BZ #2551]
71135         [BZ #2552]
71136         [BZ #2553]
71137         [BZ #2554]
71138         [BZ #2562]
71139         [BZ #2563]
71140         [BZ #2565]
71141         [BZ #2566]
71142         [BZ #2576]
71143         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
71144         (y0): Likewise.
71145         * math/w_j0f.c (j0f): Likewise.
71146         (y0f): Likewise.
71147         * math/w_j0l.c (__j0l): Likewise.
71148         (__y0l): Likewise.
71149         * math/w_j1.c (j1): Likewise.
71150         (y1): Likewise.
71151         * math/w_j1f.c (j1f): Likewise.
71152         (y1f): Likewise.
71153         * math/w_j1l.c (__j1l): Likewise.
71154         (__y1l): Likewise.
71155         * math/w_jn.c (jn): Likewise.
71156         (yn): Likewise.
71157         * math/w_jnf.c (jnf): Likewise.
71158         (ynf): Likewise.
71159         * math/w_jnl.c (__jnl): Likewise.
71160         (__ynl): Likewise.
71161         * math/libm-test.inc (j0_test): Add more tests.
71162         (j1_test): Likewise.
71163         (jn_test): Likewise.  Add trailing semicolon to existing test.
71164         (y0_test): Likewise.
71165         (y1_test): Likewise.
71166         * sysdeps/i386/fpu/libm-test-ulps: Update.
71167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71169         [BZ #13851]
71170         [BZ #13854]
71171         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71172         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71173         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71174         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71175         (__tanl): Set errno for infinite argument.
71176         * sysdeps/i386/fpu/mptan.c: Remove.
71177         * sysdeps/i386/fpu/s_tan.S: Likewise.
71178         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71179         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71180         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71181         * math/libm-test.inc (tan_test): Add more tests and enable more
71182         tests for double and long double.
71183         * sysdeps/i386/fpu/libm-test-ulps: Update.
71184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71186 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71188         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71189         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71191 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71193         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71194         * configure.in: Use it for both main tree and add-ons.
71195         * configure: Regenerated.
71197 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71199         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71201 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71203         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71204         in comment.
71206         [BZ #13851]
71207         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71208         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71209         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71210         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71211         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71212         infinite argument.
71213         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71214         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71215         != 0 for prec == 2.
71216         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71217         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71218         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71219         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71220         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71221         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71222         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71223         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71224         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71225         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71226         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71227         * math/libm-test.inc (cos_test): Add more tests and enable more
71228         tests for long double.
71229         (sin_test): Likewise.
71230         (sincos_test): Likewise.
71231         * sysdeps/i386/fpu/libm-test-ulps: Update.
71232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71234 2012-03-16  David S. Miller  <davem@davemloft.net>
71236         * sysdeps/sparc/fpu/math_private.h: New file.
71238 2012-03-15  David S. Miller  <davem@davemloft.net>
71240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71241         file.
71242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71244         file.
71245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71250         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71251         sysdep routines.
71252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71254         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71255         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71257         * sysdeps/sparc/sparc-ifunc.h: New file.
71258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71259         sparc-ifunc.h
71260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71262         Likewise.
71263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71264         Likewise.
71265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71269         Likewise.
71270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71275         Likewise.
71276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71277         Likewise.
71278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71284         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71285         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71296         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71297         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71300         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71301         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71303 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71305         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71306         scaling.
71307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71309 2012-03-15  Andreas Jaeger  <aj@suse.de>
71311         [BZ #13852]
71312         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71313         ieee754/flt-32 implementation for sin, cos and sincos.
71314         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71315         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71316         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71317         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71318         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71319         ieee754/flt-32 implementation for tan.
71321         * math/libm-test.inc (cos_test): Enable some large input tests for
71322         float as well
71323         (sin_test): Likewise.
71324         (sincos_test): Likewise.
71325         (tan_test): Add tests for large input.
71327         * sysdeps/i386/fpu/libm-test-ulps: Update.
71329 2012-03-15  Andreas Jaeger  <aj@suse.de>
71331         [BZ #13658]
71332         * math/libm-test.inc (cos_test): Add more test cases.
71333         (sin_test): Likewise.
71334         (sincos_test): Likewise.
71336 2012-03-15  Andreas Jaeger  <aj@suse.de>
71338         [BZ #13837]
71339         * math/libm-test.inc (cos_test): Add a test case for large input
71340         value.
71341         (sin_test): Likewise.
71342         (sincos_test): Likewise.
71344 2012-03-15  Andreas Jaeger  <aj@suse.de>
71345             Joseph Myers  <joseph@codesourcery.com>
71347         [BZ #13658]
71348         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71349         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71350         * sysdeps/i386/fpu/branred.c: Likewise.
71351         * sysdeps/i386/fpu/dosincos.c: Likewise.
71352         * sysdeps/i386/fpu/mpa.c: Likewise.
71353         * sysdeps/i386/fpu/s_cos.S: Likewise.
71354         * sysdeps/i386/fpu/s_sin.S: Likewise.
71355         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71356         * sysdeps/i386/fpu/sincos32.c: Likewise.
71358         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71359         Define.
71360         (libc_feupdateenv_53bit): Define.
71361         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71362         Define.
71363         (libc_feupdateenv_53bit): Define.
71365         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71366         53 bit (without extend i386 double precision).
71368         * math/libm-test.inc (sincos_test): Add tests for large input.
71369         (sin): Likewise.
71370         (cos): Likewise.
71372         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71374 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71378 2012-03-15  David S. Miller  <davem@davemloft.net>
71380         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71381         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71382         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71383         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71396         file.
71397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71399         file.
71400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71402         file.
71403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71405         file.
71406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71408         fmin/fmax sysdep routines.
71409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71411 2012-03-14  David S. Miller  <davem@davemloft.net>
71413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71415         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71417         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71418         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71419         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71420         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71423         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71433         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71434         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71435         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71436         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71437         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71438         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71439         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71440         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71441         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71442         routines.
71443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71444         file.
71445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71447         file.
71448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71450         file.
71451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71453         file.
71454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71456         file.
71457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71459         file.
71460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71461         file.
71462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71463         file.
71464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71465         file.
71466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71467         New file.
71468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71469         file.
71470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71471         file.
71472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71474         file.
71475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71477         file.
71478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71480         file.
71481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71483         VIS3 routines.
71485         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71486         New file.
71488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71490         * sysdeps/sparc/configure.in: New file.
71491         * sysdeps/sparc/configure: Generate.
71492         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71493         * configure: Regenerate.
71494         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71495         * config.make.in (have-as-vis3): New.
71496         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71497         available use -Av9d instead of -Av9a.
71498         * sysdeps/sparc/sparc64/Makefile: Likewise.
71499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71501         New file.
71502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71503         file.
71504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71505         New file.
71506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71507         file.
71508         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71509         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71510         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71511         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71512         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71514         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71515         fzeros/fnegs to load 0x80000000 into a float register instead of
71516         using the stack.
71517         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71519 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71521         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71522         bits/syscall.h.
71523         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71524         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71525         ($(inst_includedir)/bits/syscall.h): Remove rule.
71526         ($(objpfx)bits/syscall.d): Include instead of
71527         $(objpfx)syscall-list.d.
71528         (generated): Change syscall-list.h and syscall-list.d to
71529         bits/syscall.h and bits/syscall.d.
71531 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71533         [BZ #13846]
71534         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71536 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71538         [BZ #13841]
71539         * math/s_csqrt.c: Include <float.h>.
71540         (__csqrt): Scale large or subnormal inputs.
71541         * math/s_csqrtf.c: Likewise.
71542         * math/s_csqrtl.c: Likewise.
71543         * math/libm-test.inc (csqrt_test): Add more tests.
71544         * sysdeps/i386/fpu/libm-test-ulps: Update.
71545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71547         [BZ #13840]
71548         * math/libm-test.inc (hypot_test): Add more tests.
71550 2012-03-13  David S. Miller  <davem@davemloft.net>
71552         [BZ #13840]
71553         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71554         double-precision for the calculation instead of scaling.
71556 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71558         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71559         manipulate bits before adding and subtracting TWO52[sx].
71560         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71561         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71562         Likewise.
71563         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71565 2012-03-13  David S. Miller  <davem@davemloft.net>
71567         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71568         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71569         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71570         rtld-global-offsets.h
71571         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71573         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71574         large parameters.
71576         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71578         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71579         'err' in the ifdef scope in which it is actually used.
71581         * nss/nss_db/db-init.c: Include string.h
71583 2012-03-12  David S. Miller  <davem@davemloft.net>
71585         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71586         masking out of the most significant byte of random value used.
71587         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71588         Fix coding style in previous change.
71590         * sysdeps/unix/sysv/linux/kernel-features.h
71591         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71592         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71593         expression.
71594         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71595         later.
71597 2012-03-11  David S. Miller  <davem@davemloft.net>
71599         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71600         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71601         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71602         for 'resultvar' otherwise things get truncated on 64-bit.
71604         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71605         Fix masking out of the most significant byte of random value used.
71607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71609 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71613 2012-03-09  David S. Miller  <davem@davemloft.net>
71615         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71616         variables with appropriate CPP guards.
71617         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71618         from the frame pointer, not the stack pointer.  Correct layout
71619         comments.  Fix test on resulting framesize and the management of
71620         the outregs buffer for pltexit.  Preserve floating point return
71621         values across _dl_call_pltexit call.
71622         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71623         framesize and the management of the outregs buffer for pltexit.
71624         Preserve floating point return values across _dl_call_pltexit
71625         call.
71626         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71627         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71628         (la_sparc64_gnu_pltexit): New functions.
71629         (print_exit): Fix format string for return register value.
71631 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71633         * sunrpc/Makefile (others): Add rpcgen.
71634         ($(objpfx)rpcgen): Remove special build rule and dependency on
71635         libc.
71636         * sunrpc/rpcgen.c: New file.
71638 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71640         [BZ #13673]
71641         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71642         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71643         * sysdeps/i386/crti.S: Likewise.
71644         * sysdeps/i386/crtn.S: Likewise.
71645         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71646         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71647         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71648         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71649         * sysdeps/sh/crti.S: Likewise.
71650         * sysdeps/sh/crtn.S: Likewise.
71651         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71653         [BZ #13673]
71654         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71655         with URL.
71656         * locale/programs/locfile-kw.gperf: Likewise.
71657         * locale/programs/charmap-kw.h: Regenerated.
71658         * locale/programs/locfile-kw.h: Likewise.
71660         [BZ #13673]
71661         * intl/plural.y: Replace FSF snail mail address with URL.
71662         * intl/plural.c: Regenerated.
71664 2012-03-09  Richard Henderson  <rth@twiddle.net>
71666         * include/math_private.h: Remove file.
71667         * math/math_private.h: Move file ...
71668         * sysdeps/generic/math_private.h: ... here.
71670         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71671         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71672         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71674         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71675         and <math_private.h>.
71676         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71677         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71678         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71679         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71680         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71681         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71682         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71683         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71684         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71685         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71686         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71687         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71688         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71689         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71690         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71691         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71692         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71693         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71694         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71695         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71696         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71697         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71698         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71699         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71700         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71701         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71702         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71703         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71704         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71705         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71706         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71707         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71708         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71709         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71710         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71711         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71712         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71713         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71714         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71715         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71716         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71717         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71718         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71719         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71720         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71721         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71722         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71723         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71724         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71725         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71726         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71727         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71728         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71729         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71730         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71731         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71732         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71733         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71734         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71735         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71736         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71737         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71739         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71740         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71741         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71742         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71743         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71744         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71745         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71746         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71747         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71748         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71749         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71750         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71751         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71752         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71753         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71754         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71755         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71756         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71757         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71758         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71759         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71760         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71761         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71762         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71763         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71764         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71765         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71766         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71767         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71768         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71769         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71770         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71771         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71772         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71773         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71774         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71775         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71776         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71777         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71778         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71779         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71780         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71781         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71782         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71783         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71784         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71785         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71786         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71787         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71788         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71789         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71790         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71791         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71792         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71793         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71794         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71795         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71796         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71797         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71798         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71799         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71800         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71801         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71802         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71803         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71804         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71805         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71806         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71807         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71808         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71809         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71810         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71811         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71812         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71813         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71814         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71815         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71816         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71817         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71818         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71819         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71820         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71821         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71822         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71823         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71824         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71825         * sysdeps/ieee754/k_standard.c: Likewise.
71826         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71827         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71828         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71829         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71830         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71831         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71832         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71833         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71834         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71835         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71836         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71837         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71838         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71839         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71840         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71841         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71842         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71843         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71844         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71845         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71846         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71847         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71848         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71849         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71850         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71851         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71852         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71853         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71854         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71855         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71856         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71857         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71858         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71859         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71860         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71861         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71862         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71863         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71864         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71865         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71866         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71867         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71868         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71869         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71870         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71871         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71872         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71873         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71874         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71875         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71876         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71877         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71878         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71879         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71880         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71881         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71882         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71883         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71884         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71885         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71886         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71887         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71888         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71889         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71890         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71892         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71893         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71894         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71895         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71896         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71898         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71899         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71900         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71901         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71902         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71903         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71904         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71905         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71906         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71907         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71908         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71909         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71910         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71911         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71912         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71913         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71914         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71916         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71917         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71918         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71919         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71920         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71921         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71922         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71923         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71924         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71925         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71926         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71927         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71928         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71930         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71931         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71932         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71933         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71934         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71935         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71936         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71937         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71938         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71939         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71940         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71941         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71942         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71943         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71944         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71945         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71946         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71947         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71948         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71949         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71950         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71951         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71952         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71953         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71954         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71955         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71956         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71957         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71958         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71959         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71960         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71961         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71962         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71963         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71964         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71965         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71966         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71967         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71968         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71969         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71970         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71971         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71972         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71973         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71974         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71975         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71976         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71977         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71978         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71979         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71980         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71981         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71982         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71983         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71984         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71985         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71986         * sysdeps/ieee754/s_lib_version.c: Likewise.
71987         * sysdeps/ieee754/s_matherr.c: Likewise.
71988         * sysdeps/ieee754/s_signgam.c: Likewise.
71989         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71990         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71991         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71992         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71993         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71994         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71995         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71996         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71997         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71998         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71999         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
72000         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
72001         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72002         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72003         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
72004         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72005         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72006         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72007         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72008         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72009         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72011 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72013         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
72014         * sunrpc/rpc_main.c: Likewise.
72015         * sunrpc/rpc_svcout.c: Likewise.
72017 2012-03-09  David S. Miller  <davem@davemloft.net>
72019         * include/math_private.h: New file.
72021 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72023         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
72024         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
72025         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
72026         from <bits/socket_type.h>.
72027         (enum __socket_type): Don't define here.
72028         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
72029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72030         bits/socket_type.h.
72032         [BZ #13566]
72033         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
72034         checking __USE_GNU.
72036         * Makerules ($(inst_includedir)/%.h): New rule.
72037         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
72038         (install-others): Remove variable setting.
72039         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
72041 2012-03-08  Richard Henderson  <rth@twiddle.net>
72043         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
72044         from macro to inline function; merge with the
72045         !__LIBC_INTERNAL_MATH_INLINES version.
72046         (__ieee754_sqrtf): Likewise.
72048         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
72049         to inline function.
72050         (__rintf, __floor, __floorf): Likewise.
72052         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
72053         macro to inline function.
72054         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
72056         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
72057         not <math/math_private.h>.
72059 2012-03-08  David S. Miller  <davem@davemloft.net>
72061         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
72062         copyright year.
72063         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
72065 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
72067         * resolv/gai_misc.c (handle_requests): Fix struct timespec
72068         normalization.
72069         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
72070         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
72072 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
72074         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
72075         be defined individually, they must be defined as a block.  Define
72076         S for printing a string instead of hidint the different by using a
72077         macro for adding the 'l'.
72078         * stdio-common/tst-fphex-wide.c: Adjust.
72080 2012-03-07  Marek Polacek  <polacek@redhat.com>
72082         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
72084 2012-03-08  Marek Polacek  <polacek@redhat.com>
72086         [BZ #13806]
72087         * stdio-common/Makefile (tests): Add tst-fphex-wide.
72088         * stdio-common/tst-fphex.c: Define a few macros to make the
72089         test reusable.  Use them.
72090         * stdio-common/tst-fphex-wide.c: New file.
72092 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
72094         [BZ #6911]
72095         * manual/macros.texi (gnusystems): New macro.
72096         (nongnusystems): Likewise.
72097         (gnulinuxhurdsystems): Likewise.
72098         (gnuhurdsystems): Likewise..
72099         (gnulinuxsystems): Likewise.
72100         * manual/charset.texi: Use new macros or @theglibc{} to refer to
72101         variants of the GNU system, not "GNU system".
72102         * manual/conf.texi: Likewise.
72103         * manual/errno.texi: Likewise.  Update example of errno macro
72104         expansion.
72105         * manual/filesys.texi: Likewise.
72106         (getumask): Document as specific to GNU/Hurd.
72107         * manual/install.texi: Likewise.  Reword some references to
72108         GNU/Linux.
72109         * manual/intro.texi: Likewise.
72110         * manual/io.texi: Likewise.
72111         (File Name Portability): Detail which constraints are inapplicable
72112         to all GNU systems and which are only inapplicable to GNU/Hurd.
72113         * manual/job.texi: Likewise.
72114         * manual/llio.texi: Likewise.
72115         (O_NOCTTY): Document as present on GNU/Linux.
72116         * manual/maint.texi: Likewise.
72117         * manual/memory.texi: Likewise.
72118         * manual/pattern.texi: Likewise.
72119         * manual/pipe.texi: Likewise.
72120         * manual/process.texi: Likewise.
72121         * manual/resource.texi: Likewise.
72122         (RUSAGE_CHILDREN): Remove statement about specifying a particular
72123         child on GNU/Hurd.
72124         * manual/setjmp.texi: Likewise.
72125         * manual/signal.texi: Likewise.
72126         * manual/startup.texi: Likewise.
72127         * manual/stdio.texi: Likewise.
72128         * manual/terminal.texi: Likewise.
72129         (ONLCR): Document as POSIX.
72130         (OXTABS): Document availability on GNU/Linux as XTABS.
72131         (ONOEOT): Document availability separately from other bits.
72132         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72133         * manual/time.texi: Likewise.
72134         * manual/users.texi: Likewise.
72135         * INSTALL: Regenerated.
72136         * sysdeps/gnu/errlist.c: Regenerated.
72138         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72139         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72140         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
72141         puts.
72142         * configure: Regenerated.
72144 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
72146         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72147         default includes instead of AC_HEADER_CHECK.
72148         * sysdeps/i386/configure: Regenerated.
72150         [BZ #10716]
72151         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
72152         * math/s_cacoshf.c (__cacoshf): Likewise.
72153         * math/s_cacoshl.c (__cacoshl): Likewise.
72154         * math/s_casinh.c (__casinh): Set signs of result from argument.
72155         * math/s_casinhf.c (__casinhf): Likewise.
72156         * math/s_casinhl.c (__casinhl): Likewise.
72157         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72158         (casinh_test): Add more tests.
72159         * sysdeps/i386/fpu/libm-test-ulps: Update.
72160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72162 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72164         * po/zh_TW.po: Update from translation team.
72166         * login/Makefile (distribute): Remove variable.
72167         * catgets/Makefile: Likewise.
72168         * mach/Makefile: Likewise.
72169         * malloc/Makefile: Likewise.
72170         * misc/Makefile: Likewise.
72171         * iconv/Makefile: Likewise.
72172         * nscd/Makefile: Likewise.
72173         * hurd/Makefile: Likewise.
72174         * manual/Makefile: Likewise.
72175         * locale/Makefile: Likewise.
72176         * intl/Makefile: Likewise.
72177         * conform/Makefile: Likewise.
72178         * nss/Makefile: Likewise.
72179         * time/Makefile: Likewise.
72180         * soft-fp/Makefile: Likewise.
72181         * dirent/Makefile: Likewise.
72182         * gmon/Makefile: Likewise.
72183         * po/Makefile: Likewise.
72184         * rt/Makefile: Likewise.
72185         * socket/Makefile: Likewise.
72186         * math/Makefile: Likewise.
72187         * signal/Makefile: Likewise.
72188         * debug/Makefile: Likewise.
72189         * elf/Makefile: Likewise.
72190         * timezone/Makefile: Likewise.
72191         * stdlib/Makefile: Likewise.
72192         * iconvdata/Makefile: Likewise.
72193         * sunrpc/Makefile: Likewise.
72194         * io/Makefile: Likewise.
72195         * argp/Makefile: Likewise.
72196         * inet/Makefile: Likewise.
72197         * hesiod/Makefile: Likewise.
72198         * grp/Makefile: Likewise.
72199         * csu/Makefile: Likewise.
72200         * wctype/Makefile: Likewise.
72201         * crypt/Makefile: Likewise.
72202         * libio/Makefile: Likewise.
72203         * string/Makefile: Likewise.
72204         * nis/Makefile: Likewise.
72205         * resolv/Makefile: Likewise.
72206         * stdio-common/Makefile: Likewise.
72207         * wcsmbs/Makefile: Likewise.
72208         * dlfcn/Makefile: Likewise.
72209         * posix/Makefile: Likewise.
72211         [BZ #6959]
72212         * timezone/Makefile: Don't install timezone files, just the programs
72213         and scripts.
72215 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72217         * nss/databases.def: Add missing gshadow entry.
72219         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72221 2012-03-06  Marek Polacek  <polacek@redhat.com>
72223         [BZ #13726]
72224         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72225         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72226         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72227         * stdio-common/tst-long-dbl-fphex.c: New file.
72229 2012-03-06  David S. Miller  <davem@davemloft.net>
72231         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72232         (set_obp_int): New function.
72233         (get_obp_int): New function.
72234         (__get_clockfreq_via_dev_openprom): Likewise.
72235         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72236         Avoid unused variable warnings on 'val' and use builtin_expect.
72237         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72238         __builtin_expect.
72239         (INLINE_CLONE_SYSCALL): Likewise.
72241 2012-03-05  David S. Miller  <davem@davemloft.net>
72243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72245 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72249         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72250         only for |x| >= 40.
72251         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72253 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72255         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72256         Replace gettimeofday with __vdso_gettimeofday.
72258         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72259         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72260         __vdso_clock_gettime and __vdso_getcpu.
72262         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72263         time with __vdso_time.
72265 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72267         * manual/lang.texi (size_t): Note types to which size_t may be
72268         equivalent with the GNU C Library, but do not describe when
72269         differences between them are significant.
72271 2012-03-05  Andreas Jaeger  <aj@suse.de>
72273         * sysdeps/i386/fpu/libm-test-ulps: Update.
72275 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72277         [BZ #3976]
72278         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72279         (__ieee754_pow): Save and restore rounding mode and use
72280         round-to-nearest for main computations.
72281         * math/libm-test.inc (pow_test_tonearest): New function.
72282         (pow_test_towardzero): Likewise.
72283         (pow_test_downward): Likewise.
72284         (pow_test_upward): Likewise.
72285         (main): Call the new functions.
72286         * sysdeps/i386/fpu/libm-test-ulps: Update.
72287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72289         [BZ #3976]
72290         * math/libm-test.inc (cosh_test_tonearest): New function.
72291         (cosh_test_towardzero): Likewise.
72292         (cosh_test_downward): Likewise.
72293         (cosh_test_upward): Likewise.
72294         (sinh_test_tonearest): Likewise.
72295         (sinh_test_towardzero): Likewise.
72296         (sinh_test_downward): Likewise.
72297         (sinh_test_upward): Likewise.
72298         (main): Call the new functions.
72299         * sysdeps/i386/fpu/libm-test-ulps: Update.
72300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72302 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72304         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72305         default stack guard is set in last bytes.
72306         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72308 2012-03-05  Kees Cook  <keescook@chromium.org>
72310         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72312         [BZ #13656]
72313         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72314         possibly allocate from heap instead of stack.
72315         * stdio-common/bug-vfprintf-nargs.c: New file.
72316         * stdio-common/Makefile (tests): Add nargs overflow test.
72318 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72322 2012-03-03  Marek Polacek  <polacek@redhat.com>
72324         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72325         * math/math_private.h: Likewise.
72326         * stdlib/tst-strtod.c: Likewise.
72327         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72328         * sysdeps/x86_64/bits/atomic.h: Likewise.
72330 2012-03-02  David S. Miller  <davem@davemloft.net>
72332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72336         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72337         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72338         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72339         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72341 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72343         [BZ #13792]
72344         * manual/examples/README: New file, says the example source files
72345         can be used under GPL>=2.
72346         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72347         line containing just "*/".
72348         * manual/examples/add.c: Add copyright header (GPL>=2).
72349         * manual/examples/argp-ex1.c: Likewise.
72350         * manual/examples/argp-ex2.c: Likewise.
72351         * manual/examples/argp-ex3.c: Likewise.
72352         * manual/examples/argp-ex4.c: Likewise.
72353         * manual/examples/atexit.c: Likewise.
72354         * manual/examples/db.c: Likewise.
72355         * manual/examples/dir.c: Likewise.
72356         * manual/examples/dir2.c: Likewise.
72357         * manual/examples/execinfo.c: Likewise.
72358         * manual/examples/filecli.c: Likewise.
72359         * manual/examples/filesrv.c: Likewise.
72360         * manual/examples/fmtmsgexpl.c: Likewise.
72361         * manual/examples/genpass.c: Likewise.
72362         * manual/examples/inetcli.c: Likewise.
72363         * manual/examples/inetsrv.c: Likewise.
72364         * manual/examples/isockad.c: Likewise.
72365         * manual/examples/longopt.c: Likewise.
72366         * manual/examples/memopen.c: Likewise.
72367         * manual/examples/memstrm.c: Likewise.
72368         * manual/examples/mkfsock.c: Likewise.
72369         * manual/examples/mkisock.c: Likewise.
72370         * manual/examples/mygetpass.c: Likewise.
72371         * manual/examples/pipe.c: Likewise.
72372         * manual/examples/popen.c: Likewise.
72373         * manual/examples/rprintf.c: Likewise.
72374         * manual/examples/search.c: Likewise.
72375         * manual/examples/select.c: Likewise.
72376         * manual/examples/setjmp.c: Likewise.
72377         * manual/examples/sigh1.c: Likewise.
72378         * manual/examples/sigusr.c: Likewise.
72379         * manual/examples/stpcpy.c: Likewise.
72380         * manual/examples/strdupa.c: Likewise.
72381         * manual/examples/strftim.c: Likewise.
72382         * manual/examples/strncat.c: Likewise.
72383         * manual/examples/subopt.c: Likewise.
72384         * manual/examples/swapcontext.c: Likewise.
72385         * manual/examples/termios.c: Likewise.
72386         * manual/examples/testopt.c: Likewise.
72387         * manual/examples/testpass.c: Likewise.
72388         * manual/examples/timeval_subtract.c: Likewise.
72390         [BZ #13792]
72391         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72392         function to ...
72393         * manual/timeval_subtract.c.texi: ... here, new file.
72395 2012-03-02  David S. Miller  <davem@davemloft.net>
72397         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72399 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72401         [BZ #3976]
72402         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72403         (__sin): Save and restore rounding mode and use round-to-nearest
72404         for all computations.
72405         (__cos): Save and restore rounding mode and use round-to-nearest
72406         for all computations.
72407         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72408         <fenv.h>.
72409         (tan): Save and restore rounding mode and use round-to-nearest for
72410         all computations.
72411         * math/libm-test.inc (cos_test_tonearest): New function.
72412         (cos_test_towardzero): Likewise.
72413         (cos_test_downward): Likewise.
72414         (cos_test_upward): Likewise.
72415         (sin_test_tonearest): Likewise.
72416         (sin_test_towardzero): Likewise.
72417         (sin_test_downward): Likewise.
72418         (sin_test_upward): Likewise.
72419         (tan_test_tonearest): Likewise.
72420         (tan_test_towardzero): Likewise.
72421         (tan_test_downward): Likewise.
72422         (tan_test_upward): Likewise.
72423         (main): Call the new functions.
72424         * sysdeps/i386/fpu/libm-test-ulps: Update.
72425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72427         [BZ #10135]
72428         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72429         small n, then large n, before computing and testing k+n.
72430         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72432         Likewise.
72433         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72434         Likewise.
72435         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72436         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72437         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72438         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72439         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72440         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72441         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72442         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72443         * math/libm-test.inc (scalbn_test): Add more tests.
72444         (scalbln_test): Likewise.
72446         * manual/filesys.texi (mode_t): Describe constraints on size and
72447         signedness, not exact equivalence to a particular type.
72448         (ino_t): Likewise.
72449         (ino64_t): Likewise.
72450         (dev_t): Likewise.
72451         (nlink_t): Likewise.
72452         (blkcnt_t): Likewise.
72453         (blkcnt64_t): Likewise.
72454         * manual/llio.texi (off_t): Likewise.
72456         [BZ #3976]
72457         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72458         (__ieee754_exp): Save and restore rounding mode and use
72459         round-to-nearest for all computations.
72460         * math/libm-test.inc (exp_test_tonearest): New function.
72461         (exp_test_towardzero): Likewise.
72462         (exp_test_downward): Likewise.
72463         (exp_test_upward): Likewise.
72464         (main): Call the new functions.
72465         * sysdeps/i386/fpu/libm-test-ulps: Update.
72466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72468 2012-03-01  Chris Demetriou  <cgd@google.com>
72470         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72471         have predictable order.
72473 2012-03-01  David S. Miller  <davem@davemloft.net>
72475         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72477         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72478         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72479         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72480         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72482         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72483         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72484         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72486         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72487         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72488         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72489         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72490         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72494         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72495         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72496         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72498         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72499         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72500         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72501         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72502         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72503         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72504         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72505         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72506         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72507         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72508         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72509         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72511         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72512         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72513         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72514         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72515         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72516         * sysdeps/sparc/elf/configure: Regenerated.
72518 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72520         * configure.in (AS, LD): Require binutils 2.20 or later.
72521         * configure: Regenerated.
72522         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72523         as required minimum version.
72524         * INSTALL: Regenerated.
72526         [BZ #2541]
72527         [BZ #4108]
72528         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72529         before squaring exponent.
72530         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72531         bottom long double and 27 bits of top long double before squaring
72532         exponent.
72533         * math/libm-test.inc (erfc_test): Add more tests.
72534         * sysdeps/i386/fpu/libm-test-ulps: Update.
72535         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72538 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72540         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72541         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72542         containing bit-fields.
72543         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72544         * soft-fp/single.h (_FP_UNION_S): Likewise.
72545         * soft-fp/double.h (_FP_UNION_D): Likewise.
72547 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72549         [BZ #13786]
72550         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72551         not include ../strcmp.S.
72552         [USE_AS_STRNCASECMP_L]: Likewise.
72553         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72554         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72555         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72556         (__strncasecmp_l_ia32): Define as alias to
72557         __strncasecmp_l_nonascii.
72559         [BZ #5794]
72560         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72561         * sysdeps/i386/fpu/libm-test-ulps: Update.
72562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72564         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72567 2012-02-29  Jeff Law  <law@redhat.com>
72569         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72570         out of bounds read.
72572 2012-02-29  Marek Polacek  <polacek@redhat.com>
72574         [BZ #13706]
72575         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72576         * elf/Makefile: Add rules to run tst-unused-dep.out.
72578 2012-02-28  David S. Miller  <davem@davemloft.net>
72580         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72581         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72582         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72583         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72584         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72585         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72587 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72589         * math/libm-test.inc (llround_test): Move one test from
72590         lround_test.  Use TEST_f_L in moved test.
72591         (lround_test): Move misplaced test to llround_test.  Add testcase
72592         from bug 2561.
72594 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72596         * sysdeps/x86_64/fpu/e_expf.S: New file.
72597         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72599 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72601         [BZ #13637]
72602         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72603         of remain_len that may cause incomplete multi-byte character and
72604         false match.
72605         * posix/bug-regex33.c: New file.
72606         * posix/Makefile (tests): Add bug-regex33.
72608 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72610         * manual/macros.texi: New file.
72611         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72612         * manual/libc.texinfo: Include macros.texi.
72613         * manual/creatute.texi: Likewise.
72614         * manual/install.texi: Likewise.
72615         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72616         @glibcadj{} in references to the GNU C Library.
72617         * manual/charset.texi: Likewise.
72618         * manual/conf.texi: Likewise.
72619         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72620         when not using those macros.
72621         * manual/creature.texi: Likewise.
72622         * manual/crypt.texi: Likewise.
72623         * manual/errno.texi: Likewise.
72624         * manual/filesys.texi: Likewise.
72625         * manual/header.texi: Likewise.
72626         * manual/install.texi: Likewise.
72627         * manual/intro.texi: Likewise.
72628         * manual/io.texi: Likewise.
72629         * manual/job.texi: Likewise.
72630         * manual/lang.texi: Likewise.
72631         * manual/libc.texiinfo: Likewise.
72632         * manual/llio.texi: Likewise.
72633         * manual/locale.texi: Likewise.
72634         * manual/maint.texi: Likewise.
72635         * manual/math.texi: Likewise.
72636         * manual/memory.texi: Likewise.
72637         * manual/message.texi: Likewise.
72638         * manual/nss.texi: Likewise.
72639         * manual/pattern.texi: Likewise.
72640         * manual/process.texi: Likewise.
72641         * manual/resource.texi: Likewise.
72642         * manual/search.texi: Likewise.
72643         * manual/setjmp.texi: Likewise.
72644         * manual/signal.texi: Likewise.
72645         * manual/socket.texi: Likewise.
72646         * manual/startup.texi: Likewise.
72647         * manual/stdio.texi: Likewise.
72648         * manual/string.texi: Likewise.
72649         * manual/sysinfo.texi: Likewise.
72650         * manual/syslog.texi: Likewise.
72651         * manual/terminal.texi: Likewise.
72652         * manual/time.texi: Likewise.
72653         * manual/users.texi: Likewise.
72654         * INSTALL: Regenerated.
72655         * NOTES: Regenerated.
72656         * sysdeps/gnu/errlist.c: Regenerated.
72658 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72660         * include/dirent.h: Include <dirstream.h> before
72661         <dirent/dirent.h>.
72663 2012-02-28  David S. Miller  <davem@davemloft.net>
72665         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72666         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72667         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72668         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72670 2012-02-27  David S. Miller  <davem@davemloft.net>
72672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72674         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72675         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72678         frame pointer instead of stack pointer relative arg slot.
72679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72680         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72681         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72683 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72685         [BZ #3992]
72686         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72688 2012-02-27  David S. Miller  <davem@davemloft.net>
72690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72694         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72695         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72696         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72697         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72699 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72701         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72702         later.  Allow versions 5-9.
72703         * configure: Regenerated.
72704         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72705         required minimum version and 4.6 as recommended version.  Do not
72706         mention bugs in GCC 2.7 and 2.8.
72707         * INSTALL: Regenerated.
72709 2012-02-27  David S. Miller  <davem@davemloft.net>
72711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72715         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72716         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72717         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72718         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72720         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72721         manipulate bits before adding and subtracting TWO112[sx].
72722         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72724 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72726         [BZ #13775]
72727         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72728         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72729         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72730         being in POSIX, because they are in 1003.1-2008.
72732         * rt/tst-aio.c: Include <fcntl.h>.
72733         * rt/tst-aio7.c: Likewise.
72734         * rt/tst-aio64.c: Likewise.
72736         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72738 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72740         * manual/install.texi (--with-headers): Describe headers as
72741         interface headers, not private headers.
72742         (Specific advice for GNU/Linux systems): Describe use of headers
72743         from "make headers_install", not private headers from older
72744         kernels.
72745         * INSTALL: Regenerated.
72746         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72747         Change to 2.6.19.
72748         * sysdeps/unix/sysv/linux/configure: Regenerated.
72750         * manual/llio.texi (fclean): Remove documentation.
72752         * manual/Makefile (libc-texi-generated): New variable.  Include
72753         version.texi.
72754         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72755         $(libc-texi-generated), not duplicated list of files.
72756         (version.texi, stamp-version): New rules.
72757         (realclean): Remove $(libc-texi-generated), not individual files
72758         from that list.  Do not remove dir-add.texinfo.
72759         * manual/libc.texinfo: Comment out uses of edition numbers and
72760         references to printed manual.  Remove last-updated dates.
72761         (EDITION): Comment out.
72762         (ISBN): Likewise.
72763         (VERSION, UPDATED): Remove.
72764         (version.texi): Include.
72766 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72768         * sysdeps/posix/spawni.c: Include <signal.h>.
72769         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72770         * sysdeps/pthread/aio_fsync.c: Likewise.
72772 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72774         * conform/Makefile (tests): Run only when not cross-compiling and
72775         when fast-check is not defined.
72777         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72778         * conform/data/limits.h-data: Fixes for POSIX2008.
72779         * conform/run-conformtest.sh: Run all tests.
72780         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72781         headers.
72782         * include/bits/dlfcn.h: Likewise.
72783         * include/langinfo.h: Likewise.
72784         * include/monetary.h: Likewise.
72785         * include/sys/poll.h: Likewise.
72787         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72788         for __USE_GNU.
72789         * posix/spawn.h: Define __need_sigset_t.
72790         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72791         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72792         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72793         to get sigevent_t only.
72794         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72795         only for __USE_GNU.
72796         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72797         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72798         process_vm_writev only for __USE_GNU.
72799         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72801         * conform/Makefile: For now ignore errors from run-conformtest.
72802         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72803         POSIX to avoid namespace pollution.  Don't prepend headers.
72804         * conform/data/aio.h-data: Fixes for POSIX testing.
72805         * conform/data/fcntl.h-data: Likewise.
72806         * conform/data/glob.h-data: Likewise.
72807         * conform/data/grp.h-data: Likewise.
72808         * conform/data/pthread.h-data: Likewise.
72809         * conform/data/pwd.h-data: Likewise.
72810         * conform/data/signal.h-data: Likewise.
72811         * conform/data/spawn.h-data: Likewise.
72812         * conform/data/stdio.h-data: Likewise.
72813         * conform/data/stdlib.h-data: Likewise.
72814         * conform/data/stropts.h-data: Likewise.
72815         * conform/data/sys/mman.h-data: Likewise.
72816         * conform/data/sys/stat.h-data: Likewise.
72817         * conform/data/sys/types.h-data: Likewise.
72818         * conform/data/sys/wait.h-data: Likewise.
72819         * conform/data/time.h-data: Likewise.
72820         * conform/data/unistd.h-data: Likewise.
72821         * conform/data/utime.h-data: Likewise.
72823         * io/sys/stat.h: fchmod was always in POSIX.
72824         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72825         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72826         * rt/aio.h: Define __need_timespec before including <time.h>.
72827         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72828         struct.  Add forward declaration of pthread_attr_t and use it in
72829         sigevent.
72830         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72831         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72832         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72833         always remove CLK_TCK definition.
72835 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72837         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72839 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72841         * conform/run-conformtest.sh: New file.
72842         * conform/Makefile: Run run-conformtest for tests.
72843         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72844         support.
72846         * conform/data/uchar.h-data: New file.
72847         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72848         * conform/data/arpa/inet.h-data: Likewise.
72849         * conform/data/assert.h-data: Likewise.
72850         * conform/data/complex.h-data: Likewise.
72851         * conform/data/cpio.h-data: Likewise.
72852         * conform/data/ctype.h-data: Likewise.
72853         * conform/data/dirent.h-data: Likewise.
72854         * conform/data/dlfcn.h-data: Likewise.
72855         * conform/data/errno.h-data: Likewise.
72856         * conform/data/fcntl.h-data: Likewise.
72857         * conform/data/float.h-data: Likewise.
72858         * conform/data/fmtmsg.h-data: Likewise.
72859         * conform/data/fnmatch.h-data: Likewise.
72860         * conform/data/ftw.h-data: Likewise.
72861         * conform/data/glob.h-data: Likewise.
72862         * conform/data/grp.h-data: Likewise.
72863         * conform/data/iconv.h-data: Likewise.
72864         * conform/data/inttypes.h-data: Likewise.
72865         * conform/data/langinfo.h-data: Likewise.
72866         * conform/data/libgen.h-data: Likewise.
72867         * conform/data/limits.h-data: Likewise.
72868         * conform/data/locale.h-data: Likewise.
72869         * conform/data/math.h-data: Likewise.
72870         * conform/data/monetary.h-data: Likewise.
72871         * conform/data/mqueue.h-data: Likewise.
72872         * conform/data/ndbm.h-data: Likewise.
72873         * conform/data/net/if.h-data: Likewise.
72874         * conform/data/netdb.h-data: Likewise.
72875         * conform/data/netinet/in.h-data: Likewise.
72876         * conform/data/nl_types.h-data: Likewise.
72877         * conform/data/poll.h-data: Likewise.
72878         * conform/data/pthread.h-data: Likewise.
72879         * conform/data/pwd.h-data: Likewise.
72880         * conform/data/regex.h-data: Likewise.
72881         * conform/data/sched.h-data: Likewise.
72882         * conform/data/search.h-data: Likewise.
72883         * conform/data/semaphore.h-data: Likewise.
72884         * conform/data/setjmp.h-data: Likewise.
72885         * conform/data/signal.h-data: Likewise.
72886         * conform/data/spawn.h-data: Likewise.
72887         * conform/data/stdarg.h-data: Likewise.
72888         * conform/data/stdio.h-data: Likewise.
72889         * conform/data/stdlib.h-data: Likewise.
72890         * conform/data/string.h-data: Likewise.
72891         * conform/data/strings.h-data: Likewise.
72892         * conform/data/stropts.h-data: Likewise.
72893         * conform/data/sys/ipc.h-data: Likewise.
72894         * conform/data/sys/mman.h-data: Likewise.
72895         * conform/data/sys/msg.h-data: Likewise.
72896         * conform/data/sys/resource.h-data: Likewise.
72897         * conform/data/sys/select.h-data: Likewise.
72898         * conform/data/sys/sem.h-data: Likewise.
72899         * conform/data/sys/shm.h-data: Likewise.
72900         * conform/data/sys/socket.h-data: Likewise.
72901         * conform/data/sys/stat.h-data: Likewise.
72902         * conform/data/sys/statvfs.h-data: Likewise.
72903         * conform/data/sys/time.h-data: Likewise.
72904         * conform/data/sys/timeb.h-data: Likewise.
72905         * conform/data/sys/times.h-data: Likewise.
72906         * conform/data/sys/types.h-data: Likewise.
72907         * conform/data/sys/uio.h-data: Likewise.
72908         * conform/data/sys/un.h-data: Likewise.
72909         * conform/data/sys/utsname.h-data: Likewise.
72910         * conform/data/sys/wait.h-data: Likewise.
72911         * conform/data/syslog.h-data: Likewise.
72912         * conform/data/tar.h-data: Likewise.
72913         * conform/data/termios.h-data: Likewise.
72914         * conform/data/utime.h-data: Likewise.
72915         * conform/data/utmpx.h-data: Likewise.
72916         * conform/data/varargs.h-data: Likewise.
72917         * conform/data/wchar.h-data: Likewise.
72918         * conform/data/wctype.h-data: Likewise.
72919         * conform/data/wordexp.h-data: Likewise.
72921         * include/stropts.h: New file.
72922         * include/uchar.h: New file.
72923         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72924         * include/assert.h: Likewise.
72925         * include/ctype.h: Likewise.
72926         * include/dirent.h: Likewise.
72927         * include/dlfcn.h: Likewise.
72928         * include/fcntl.h: Likewise.
72929         * include/fnmatch.h: Likewise.
72930         * include/glob.h: Likewise.
72931         * include/grp.h: Likewise.
72932         * include/libio.h: Likewise.
72933         * include/locale.h: Likewise.
72934         * include/math.h: Likewise.
72935         * include/net/if.h: Likewise.
72936         * include/netdb.h: Likewise.
72937         * include/netinet/in.h: Likewise.
72938         * include/pthread.h: Likewise.
72939         * include/pwd.h: Likewise.
72940         * include/regex.h: Likewise.
72941         * include/sched.h: Likewise.
72942         * include/search.h: Likewise.
72943         * include/setjmp.h: Likewise.
72944         * include/signal.h: Likewise.
72945         * include/stdio.h: Likewise.
72946         * include/stdlib.h: Likewise.
72947         * include/string.h: Likewise.
72948         * include/sys/cdefs.h: Likewise.
72949         * include/sys/mman.h: Likewise.
72950         * include/sys/msg.h: Likewise.
72951         * include/sys/resource.h: Likewise.
72952         * include/sys/select.h: Likewise.
72953         * include/sys/socket.h: Likewise.
72954         * include/sys/stat.h: Likewise.
72955         * include/sys/statvfs.h: Likewise.
72956         * include/sys/time.h: Likewise.
72957         * include/sys/times.h: Likewise.
72958         * include/sys/uio.h: Likewise.
72959         * include/sys/utsname.h: Likewise.
72960         * include/sys/wait.h: Likewise.
72961         * include/termios.h: Likewise.
72962         * include/time.h: Likewise.
72963         * include/ulimit.h: Likewise.
72964         * include/unistd.h: Likewise.
72965         * include/utime.h: Likewise.
72966         * include/wchar.h: Likewise.
72967         * include/wctype.h: Likewise.
72968         * include/wordexp.h: Likewise.
72970         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72972         * time/time.h: TIME_UTC must be a macro.
72973         Make timespec_get available for ISO C11 only as well.
72975 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72977         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72978         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72980 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72982         * configure.in: Use -o not -a in test for unsupported multi-arch.
72984 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72986         * manual/texinfo.tex: Update to version 2012-01-19.16.
72988 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72990         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72992 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72994         [BZ #13738]
72995         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72996         * manual/fdl-1.3.texi: New file.
72997         * manual/fdl-1.1.texi: File removed.
72999         [BZ #13738]
73000         * manual/libc.texinfo (FDL_VERSION): New @set.
73001         Use it for mention of FDL in cover text.
73002         (Documentation License): Use it in @include file name.
73004 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73005             Roland McGrath  <roland@hack.frob.com>
73007         [BZ #5461]
73008         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
73009         (not LONG_LONG_MAX and LONG_LONG_MIN.
73010         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
73011         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
73012         name.
73013         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
73015 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73017         [BZ #2547]
73018         [BZ #11365]
73019         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
73020         manipulate bits before adding and subtracting TWO23[sx].
73021         * math/libm-test.inc (nearbyint_test): Add more tests.
73023 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73025         [BZ #2548]
73026         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
73027         bits before adding and subtracting TWO23[sx].
73028         * math/libm-test.inc (rint_test): Add more tests.
73029         (rint_test_tonearest): Likewise.
73030         (rint_test_towardzero): Likewise.
73031         (rint_test_downward): Likewise.
73032         (rint_test_upward: Likewise.
73034 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73036         [BZ #10110]
73037         * include/stdc-predef.h: New file.  Extracted from features.h.
73038         * include/features.h: Include stdc-predef.h.
73039         * Makefile (headers): Add stdc-predef.h.
73040         * CONFORMANCE (Compiler limitations): Update.
73042 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73044         * manual/libc.texinfo (VERSION, UPDATED): Revert.
73046 2012-02-21  David S. Miller  <davem@davemloft.net>
73048         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
73049         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73051 2012-02-20  David S. Miller  <davem@davemloft.net>
73053         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
73054         using a normal save/restore sequence, rather than allocating a
73055         dummy stack frame just to store a frame pointer and restore.
73056         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73058 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73060         * manual/install.texi: Fix stray word in line-wrapped comment.
73062 2012-02-20  David S. Miller  <davem@davemloft.net>
73064         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
73065         both binutils and gcc support GOTDATA.
73067         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
73068         "rd %pc" in the PIC register setup sequences.
73070         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
73071         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
73072         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73073         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
73074         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73075         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73076         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73077         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73078         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
73079         (SYSCALL_ERROR_HANDLER): Likewise.
73080         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73081         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73082         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
73083         (SYSCALL_ERROR_HANDLER): Likewise.
73085         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
73086         (HAVE_GCC_GOTDATA): New.
73087         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
73088         relocation support in both binutils and gcc.
73089         * sysdeps/sparc/elf/configure: Regenerate.
73091         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
73092         * sysdeps/sparc/sparc32/elf/configure: Delete.
73093         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
73094         * sysdeps/sparc/sparc64/elf/configure: Delete.
73095         * sysdeps/sparc/elf/configure.in: New file.
73096         * sysdeps/sparc/elf/configure: Generate.
73098         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
73099         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
73100         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73101         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
73102         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
73104 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73106         * manual/install.texi: Do not mention specific glibc version
73107         numbers.
73108         * manual/libc.texinfo (VERSION, UPDATED): Update.
73109         (@copying): Use @copyright{} and range of years.
73111 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73113         [BZ #13695]
73114         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
73115         [crti.S not in sysdirs] (generated): Do not append.
73116         [crti.S not in sysdirs] (omit-deps): Likewise.
73117         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
73118         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
73119         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
73120         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
73121         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73122         Likewise.
73123         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73124         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73125         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73126         * csu/defs.awk: Remove file.
73127         * sysdeps/generic/initfini.c: Likewise.
73128         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73129         variable.
73130         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73131         Likewise.
73133 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73135         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73136         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73137         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73138         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73139         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73140         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
73141         <bits/epoll.h>.
73142         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
73143         (__EPOLL_PACKED): Define to empty if not defined by
73144         <bits/epoll.h>.
73145         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73146         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73147         bits/epoll.h.
73149 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73151         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
73152         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
73153         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
73154         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73155         <bits/timerfd.h>.
73156         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73158         bits/timerfd.h.
73160 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73162         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73163         in C locale.
73164         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73165         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73166         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73169 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73171         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73172         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73174 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73176         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73177         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73178         defined.
73179         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73180         Likewise.
73181         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73182         entry for 2.16.
73184 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73186         * math/w_acos.c: Use non-signaling floating-point comparisons.
73187         * math/w_acosf.c: Likewise.
73188         * math/w_acosh.c: Likewise.
73189         * math/w_acoshf.c: Likewise.
73190         * math/w_acoshl.c: Likewise.
73191         * math/w_acosl.c: Likewise.
73192         * math/w_asin.c: Likewise.
73193         * math/w_asinf.c: Likewise.
73194         * math/w_asinl.c: Likewise.
73195         * math/w_atanh.c: Likewise.
73196         * math/w_atanhf.c: Likewise.
73197         * math/w_atanhl.c: Likewise.
73198         * math/w_exp2.c: Likewise.
73199         * math/w_exp2f.c: Likewise.
73200         * math/w_exp2l.c: Likewise.
73201         * math/w_j0.c: Likewise.
73202         * math/w_j0f.c: Likewise.
73203         * math/w_j0l.c: Likewise.
73204         * math/w_j1.c: Likewise.
73205         * math/w_j1f.c: Likewise.
73206         * math/w_j1l.c: Likewise.
73207         * math/w_jn.c: Likewise.
73208         * math/w_jnf.c: Likewise.
73209         * math/w_log.c: Likewise.
73210         * math/w_log10.c: Likewise.
73211         * math/w_log10f.c: Likewise.
73212         * math/w_log10l.c: Likewise.
73213         * math/w_log2.c: Likewise.
73214         * math/w_log2f.c: Likewise.
73215         * math/w_log2l.c: Likewise.
73216         * math/w_logf.c: Likewise.
73217         * math/w_logl.c: Likewise.
73218         * math/w_sqrt.c: Likewise.
73219         * math/w_sqrtf.c: Likewise.
73220         * math/w_sqrtl.c: Likewise.
73221         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73222         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73223         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73224         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73225         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73227 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73229         [BZ #9739]
73230         * manual/string.texi (strnlen): Use correct parameter name in
73231         equivalent expression.
73233 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73235         [BZ #11174]
73236         * manual/users.texi (seteuid): Consistently use neweuid for
73237         argument name.
73239 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73241         [BZ #13704]
73242         * manual/nss.texi (Services in the NSS configuration): Correct
73243         list of services in example configuration file.
73245 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73247         [BZ #11322]
73248         * manual/arith.texi: Remove statements about negative zero
73249         behaving identically to zero.
73251 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73253         [BZ #5993]
73254         * manual/install.texi: Do not document upgrading from libc5.
73256 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73258         [BZ #4596]
73259         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73261 2012-02-18  David S. Miller  <davem@davemloft.net>
73263         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73264         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73265         %o7 across the call.
73266         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73267         instead.
73268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73269         SETUP_PIC_REG_LEAF.
73270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73271         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73272         * sysdeps/sparc/crtn.S: Likewise.
73274 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73276         * aout/Makefile: Remove.
73278 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73280         [BZ #13058]
73281         * manual/examples/argp-ex1.c (main): Format definition in GNU
73282         style.
73283         * manual/examples/argp-ex2.c (main): Likewise.
73284         * manual/examples/argp-ex3.c (main): Likewise.
73285         * manual/examples/argp-ex4.c (main): Likewise.
73286         * manual/examples/longopt.c (main): Use new-style prototype
73287         definition.
73288         * manual/examples/strncat.c (main): Specify return type and use
73289         (void) for arguments.
73290         * manual/examples/subopt.c (main): Use char **argv argument.
73292 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73294         [BZ #5077]
73295         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73296         rounding modes.
73298 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73300         [BZ #6907]
73301         * manual/string.texi (strchr): Change when strchrnul is
73302         recommended.
73304 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73306         [BZ #174]
73307         * manual/locale.texi (setlocale): Document LOCPATH.
73309 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73311         [BZ #10210]
73312         * manual/process.texi (execle): Move @dots{} before last argument.
73314 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73316         [BZ #12047]
73317         * manual/charset.texi (Generic Charset Conversion): Fix typo
73318         (LC_TYPE -> LC_CTYPE).
73320 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73322         [BZ #5805]
73323         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73324         (scalbnf): Likewise.
73325         (scalbnl): Likewise.
73326         (scalbln): Likewise.
73327         (scalblnf): Likewise.
73328         (scalblnl): Likewise.
73329         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73330         (vwarnx): Likewise.
73331         (verr): Likewise.
73332         (verrx): Likewise.
73333         * manual/filesys.texi (telldir): Use braces around return type.
73334         * manual/llio.texi (mmap): Add space after comma.
73335         (mmap64): Likewise.
73336         * manual/math.texi (jn): Use @var{} on parameter names.
73337         (jnf): Likewise.
73338         (jnl): Likewise.
73339         (yn): Likewise.
73340         (ynf): Likewise.
73341         (ynl): Likewise.
73342         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73343         line.
73344         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73345         "...".
73346         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73347         (sched_get_priority_max): Likewise.
73348         * manual/signal.texi (sigvec): Add space after comma.
73349         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73350         names.
73351         (if_indextoname): Likewise.
73352         (if_freenameindex): Likewise.
73353         (sendto): Use ',' instead of '.' in prototype.
73354         * manual/startup.texi (syscall): Use @dots{} instead of literal
73355         "...".
73356         * manual/stdio.texi (__fpending): Separate initial words of
73357         paragraph from @deftypefun line.
73358         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73359         "...".
73360         (vsyslog): Use @var{} on parameter names.
73361         * manual/terminal.texi (stty): Use @var{} on parameter names.
73362         * manual/users.texi (getutmp): Use @var{} on parameter names.
73363         (getutmpx): Likewise.
73365 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73367         [BZ #6884]
73368         * manual/stdio.texi (fopen): Fix typos in description of
73369         ",ccs=STRING".
73371 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73373         [BZ #4026]
73374         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73375         get clock_id definition.
73377 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73379         [BZ #4822]
73380         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73381         (madvise): Cast every argument to void on its own.
73383 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73385         [BZ #9902]
73386         * manual/startup.texi (Exit Status): Fix typo.
73388 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73390         [BZ #10140]
73391         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73392         * manual/examples/argp-ex2.c: Likewise.
73393         * manual/examples/argp-ex3.c: Likewise.
73395 2012-02-16  Richard Henderson  <rth@redhat.com>
73397         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73398         * sysdeps/s390/s390-32/initfini.c: Remove.
73399         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73400         * sysdeps/s390/s390-64/initfini.c: Remove.
73402 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73404         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73405         compiler output for sysdeps/generic/initfini.c.
73406         * sysdeps/sh/elf/initfini.c: Remove file.
73408 2012-02-16  David S. Miller  <davem@davemloft.net>
73410         [BZ #11494]
73411         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73413         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73414         * sysdeps/sparc/crti.S: New file.
73415         * sysdeps/sparc/crtn.S: New file.
73416         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73417         * sysdeps/sparc/sparc64/Makefile: Likewise.
73419 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73421         [BZ #3335]
73422         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73424 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73426         [BZ #4822]
73427         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73429         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73430         (write, read, close): Likewise.
73431         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73433 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73435         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73436         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73437         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73438         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73439         <bits/signalfd.h>.
73440         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73441         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73442         bits/signalfd.h.
73444 2012-02-14  Marek Polacek  <polacek@redhat.com>
73446         * sysdeps/x86_64/crti.S: New file.
73447         * sysdeps/x86_64/crtn.S: New file.
73448         * sysdeps/x86_64/elf/initfini.c: Remove file.
73450 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73452         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73453         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73454         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73455         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73456         <bits/inotify.h>.
73457         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73458         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73459         bits/inotify.h.
73461 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73463         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73464         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73465         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73466         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73467         <bits/eventfd.h>.
73468         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73469         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73470         bits/eventfd.h.
73472 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73474         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73475         __feraiseexcept instead of feraiseexcept.
73477         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73478         nanosleep invocations.
73479         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73480         strings, and add error checking for a nanosleep invocations.
73482 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73484         Replace FSF snail mail address with URLs, as per GNU coding standards.
73485         Most of the snail mail addresses were wrong anyway, and omitting
73486         them makes the source code easier to maintain.  Almost all of the
73487         changes are to license notices and to locale LC_IDENTIFICATION
73488         addresses, except for this one:
73489         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73490         not its snail mail address.
73492 2012-02-09  Richard Henderson  <rth@twiddle.net>
73494         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73495         of kernel-features.h.
73497         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73499 2012-02-08  Marek Polacek  <polacek@redhat.com>
73501         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73502         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73503         * sysdeps/gnu/_G_config.h: Likewise.
73504         * sysdeps/generic/_G_config.h: Likewise.
73506 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73508         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73509         tests.
73510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73512         * sysdeps/powerpc/powerpc32/crti.S: New file.
73513         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73514         * sysdeps/powerpc/powerpc64/crti.S: New file.
73515         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73517         * Makeconfig (have-initfini): Don't set.
73518         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73519         * configure.in (nopic_initfini): Don't substitute.
73520         * config.h.in (HAVE_INITFINI): Don't #undef.
73521         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73522         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73524 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73526         Support crti.S and crtn.S provided directly by architectures.
73527         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73528         [crti.S in sysdirs] (omit-deps): Likewise.
73529         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73530         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73531         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73532         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73533         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73534         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73535         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73536         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73537         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73538         compiler output for sysdeps/generic/initfini.c.
73539         * sysdeps/i386/elf/Makefile: Remove file.
73540         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73542 2012-02-07  Marek Polacek  <polacek@redhat.com>
73544         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73545         * sysdeps/gnu/_G_config.h: Likewise.
73546         * sysdeps/mach/hurd/_G_config.h: Likewise.
73548 2012-02-07  Marek Polacek  <polacek@redhat.com>
73550         * math/Makefile (tests): Add tst-CMPLX2.
73551         * math/tst-CMPLX2.c: New file.
73553 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73555         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73557         * math/libm-test.inc (jn_test): Add missing L suffix.
73559 2012-02-06  Marek Polacek  <polacek@redhat.com>
73561         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73562         * sysdeps/i386/fpu/e_powf.S: Likewise.
73563         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73564         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73565         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73566         * sysdeps/i386/fpu/e_pow.S: Likewise.
73567         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73568         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73569         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73570         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73571         * sysdeps/i386/fpu/e_log2.S: Likewise.
73572         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73573         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73574         * sysdeps/i386/fpu/e_powl.S: Likewise.
73575         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73576         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73577         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73578         * sysdeps/i386/fpu/e_logl.S: Likewise.
73579         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73580         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73581         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73582         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73583         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73584         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73585         * sysdeps/i386/fpu/e_log.S: Likewise.
73586         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73587         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73588         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73589         * sysdeps/i386/fpu/e_logf.S: Likewise.
73590         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73591         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73592         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73593         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73594         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73595         * sysdeps/i386/fpu/e_log10.S: Likewise.
73596         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73597         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73598         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73599         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73600         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73601         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73602         * sysdeps/i386/asm-syntax.h: Likewise.
73603         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73604         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73605         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73606         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73607         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73608         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73609         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73610         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73611         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73612         * sysdeps/powerpc/sysdep.h: Likewise.
73613         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73614         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73616 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73618         [BZ #411]
73619         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73621 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73623         * sysdeps/i386/sysdep.h: Include <features.h>.
73624         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73625         version.
73627 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73629         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73630         Define.
73631         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73632         LOAD_PIC_REG_STR.
73634 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73636         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73637         (SETUP_PIC_REG): Use GET_PC_THUNK.
73638         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73639         macro.
73641 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73643         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73644         for non-PIC compilation.
73645         (SETUP_PIC_REG): Add .p2align directive.
73646         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73647         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73648         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73649         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73650         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73651         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73652         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73653         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73654         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73655         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73656         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73657         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73658         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73659         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73660         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73661         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73662         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73663         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73664         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73665         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73666         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73667         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73668         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73669         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73670         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73671         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73672         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73673         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73674         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73675         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73676         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73677         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73678         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73679         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73680         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73681         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73682         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73683         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73684         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73685         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73686         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73688 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73690         * math/tst-CMPLX.c: Include <stdio.h>.
73692 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73694         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73695         float.
73696         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73697         * sysdeps/sparc/bits/mathdef.h: Likewise.
73699 2012-01-31  Marek Polacek  <polacek@redhat.com>
73701         * libio/libio.h: Don't define _PARAMS.
73702         * locale/programs/config.h: Don't define PARAMS.
73703         * stdlib/strtol_l.c: Likewise.
73704         (__strtol_l): Remove PARAMS from the prototype.
73706 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73708         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73709         names.  Just use the correct names.  Remove unnecessary wrapper
73710         functions.
73711         * malloc/arena.c: Likewise.
73712         * malloc/hooks.c: Likewise.
73714         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73715         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73716         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73718 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73720         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73721         into tail calls.
73722         (update_get_addr): New function.
73723         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73724         GET_ADDR_MODULE parameter.
73726 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73728         * crypt/cert.c: Remove __STDC__ conditionals.
73729         * crypt/crypt-entry.c: Likewise.
73730         * crypt/crypt_util.c: Likewise.
73731         * libio/filedoalloc.c: Likewise.
73732         * libio/fileops.c: Likewise.
73733         * libio/genops.c: Likewise.
73734         * libio/iofclose.c: Likewise.
73735         * libio/iofdopen.c: Likewise.
73736         * libio/iofopen.c: Likewise.
73737         * libio/iofopen64.c: Likewise.
73738         * libio/iogetdelim.c: Likewise.
73739         * libio/iopopen.c: Likewise.
73740         * libio/obprintf.c: Likewise.
73741         * libio/oldfileops.c: Likewise.
73742         * libio/oldiofclose.c: Likewise.
73743         * libio/oldiofdopen.c: Likewise.
73744         * libio/oldiofopen.c: Likewise.
73745         * libio/oldiopopen.c: Likewise.
73746         * libio/wfiledoalloc.c: Likewise.
73747         * libio/wgenops.c: Likewise.
73748         * locale/programs/xmalloc.c: Likewise.
73749         * misc/syslog.c: Likewise.
73750         * stdio-common/xbug.c: Likewise.
73751         * string/memchr.c: Likewise.
73752         * string/memcmp.c: Likewise.
73753         * string/memrchr.c: Likewise.
73754         * string/rawmemchr.c: Likewise.
73755         * sysdeps/posix/getcwd.c: Likewise.
73756         * time/strftime_l.c: Likewise.
73758 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73760         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73761         * config.make.in (config-cflags-sse2avx): Define.
73762         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73763         Fix typo.
73765 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73767         * scripts/config.guess: Update from upstream config git repository.
73768         * scripts/config.sub: Likewise.
73770 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73772         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73773         (EM_NUM): Update.
73774         (R_TILEPRO_*, R_TILEGX_*): New macros.
73776         * scripts/firstversions.awk: Fix bug in version range handling.
73778         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73780         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73782         * include/sys/epoll.h: New file.
73783         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73784         libc_hidden_def.
73786 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73788         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73789         Avoid unnecessary __WORDSIZE == 64 test.
73790         (fmaxf): Use VEX format if possible.
73791         (fmax): Likewise.
73792         (fminf): Likewise.
73793         (fmin): Likewise.
73795         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73796         * math/math_private.h: Remove libc_fegetround* and
73797         libc_fesetround*.
73798         * sysdeps/i386/configure.in: Check for -msse2avx.
73799         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73800         also if SSE2AVX is defined.
73801         Remove libc_fegetround* and libc_fesetround*.
73802         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73803         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73804         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73805         of HAS_YMM_USABLE.
73806         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73807         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73808         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73809         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73810         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73812         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73814 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73816         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73817         size is not set.
73818         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73820 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73822         [BZ #13618]
73823         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73824         relocation.
73825         * Makeconfig (libm): Define.
73826         * elf/Makefile: Add rules to build and run tst-relsort1.
73827         * elf/tst-relsort1.c: New file.
73828         * elf/tst-relsort1mod1.c: New file.
73829         * elf/tst-relsort1mod2.c: New file.
73831 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73833         * math/s_ldexp.c: Remove __STDC__ conditionals.
73834         * math/s_ldexpf.c: Likewise.
73835         * math/s_ldexpl.c: Likewise.
73836         * math/s_nextafter.c: Likewise.
73837         * math/s_nexttowardf.c: Likewise.
73838         * math/s_significand.c: Likewise.
73839         * math/s_significandf.c: Likewise.
73840         * math/s_significandl.c: Likewise.
73841         * math/w_jnl.c: Likewise.
73842         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73843         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73844         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73845         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73846         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73847         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73848         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73849         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73850         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73851         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73852         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73853         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73854         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73855         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73856         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73857         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73858         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73859         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73860         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73861         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73862         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73863         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73864         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73865         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73866         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73867         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73868         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73869         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73870         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73871         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73872         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73873         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73874         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73875         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73876         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73877         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73878         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73879         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73880         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73881         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73882         * sysdeps/ieee754/k_standard.c: Likewise.
73883         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73884         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73885         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73886         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73887         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73888         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73889         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73890         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73891         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73892         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73893         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73894         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73895         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73896         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73897         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73898         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73899         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73900         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73901         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73902         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73903         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73904         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73905         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73906         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73907         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73908         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73909         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73910         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73912         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73913         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73914         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73915         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73916         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73917         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73918         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73919         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73920         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73921         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73922         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73923         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73925         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73926         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73927         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73928         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73929         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73930         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73931         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73932         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73933         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73934         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73935         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73936         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73937         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73938         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73939         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73940         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73941         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73942         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73943         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73944         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73945         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73946         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73947         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73948         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73949         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73950         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73951         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73952         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73953         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73954         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73955         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73956         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73957         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73958         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73959         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73960         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73961         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73962         * sysdeps/ieee754/s_matherr.c: Likewise.
73963         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73964         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73965         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73966         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73968 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73970         * crypt/md5.h: Remove __STDC__ conditionals.
73971         * libio/libioP.h: Likewise.
73972         * locale/programs/config.h: Likewise.
73973         * sysdeps/generic/sysdep.h: Likewise.
73974         * sysdeps/i386/asm-syntax.h: Likewise.
73975         * sysdeps/s390/asm-syntax.h: Likewise.
73976         * sysdeps/unix/sysdep.h: Likewise.
73977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73980 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73982         * libio/libio.h: Remove __STDC__ conditionals.
73983         * malloc/obstack.h: Likewise.
73984         * math/complex.h: Likewise.
73985         * math/math.h: Likewise.
73986         * sysdeps/generic/_G_config.h: Likewise.
73987         * sysdeps/gnu/_G_config.h: Likewise.
73988         * sysdeps/mach/hurd/_G_config.h: Likewise.
73989         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73990         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73991         * sysdeps/sparc/bits/mathdef.h: Likewise.
73993 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73995         [BZ #13583]
73996         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73997         Clean up HAS_* macros.
73998         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73999         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
74000         possible.
74001         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
74002         HAS_AVX.
74003         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74004         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74005         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74006         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74007         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74009 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
74011         * elf/tst-unique3.cc (gets): Remove declaration.
74012         * elf/tst-unique3lib.cc (gets): Likewise.
74013         * elf/tst-unique3lib2.cc (gets): Likewise.
74014         * elf/tst-unique4.cc (gets): Likewise.
74016 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
74018         * include/stdio.h: Add C++ protection.  Add gets declarations and
74019         definitions.
74020         * debug/tst-chk1.c: Don't declare gets here.
74021         * stdio-common/tst-gets.c: Likewise.
74023 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74025         * posix/glob: Remove directory.
74027 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74029         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
74031 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
74033         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
74034         of the non-standard EPFNOSUPPORT.
74036 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74038         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
74039         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
74040         ANYWHERE set to 1 only on KERN_NO_SPACE error.
74042 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
74044         * wcsmbs/uchar.h: Test __STDC_VERSION__.
74046 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
74048         * nscd/aicache.c (addhstaiX): Do not cache negative results of
74049         transient errors.
74050         * nscd/grpcache.c (cache_addgr): Likewise.
74051         * nscd/hstcache.c (cache_addhst): Likewise.
74052         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74053         * nscd/pwdcache.c (cache_addpw): Likewise.
74054         * nscd/servicescache.c (cache_addserv): Likewise.
74056 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
74058         * malloc/malloc.c: Various cleanups.
74059         * malloc/hooks.c: Likewise.
74061         * stdlib/Makefile (tests): Add bug-fmtmsg1.
74062         * stdlib/bug-fmtmsg1.c: New file.
74064         * stdlib/fmtmsg.c (init): Add missing unlock.
74065         Patch by Peng Haitao <penght@cn.fujitsu.com>.
74067 2012-01-12  Marek Polacek  <polacek@redhat.com>
74069         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
74070         and _GNU_SOURCE.
74072 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74074         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
74075         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
74076         macro to ensure uniqueness of label name.
74077         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74078         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74080 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
74082         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
74084         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
74085         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74086         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74087         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
74089 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
74091         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
74093         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
74094         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74095         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74097         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
74099         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
74100         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74101         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74102         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
74104         * math/bits/math-finite.h: Add ldexp support.
74106 2012-01-10  Marek Polacek  <polacek@redhat.com>
74108         * locale/programs/localedef.h (show_archive_content): Add noreturn
74109         attribute.
74111 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
74113         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
74115 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74117         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
74119         * io/Makefile (headers): Add bits/poll2.h.
74121 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
74123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74124         typo #include statement.
74126 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74128         * include/sys/cdefs.h: Define __attribute_alloc_size.
74129         * catgets/gencat.c: Add alloc_size attribute and apply consistently
74130         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74131         * elf/pldd.c: Likewise.
74132         * iconv/iconv_charmap.c: Likewise.
74133         * iconv/iconvconfig.c: Likewise.
74134         * iconv/strtab.c: Likewise.
74135         * locale/programs/locale.c: Likewise.
74136         * locale/programs/localedef.h: Likewise.
74137         * locale/programs/simple-hash.c: Likewise.
74138         * nscd/nscd.h: Likewise.
74139         * nss/makedb.c: Likewise.
74140         * sysdeps/generic/ldconfig.h: Likewise.
74141         * locale/programs/localedef.c: Remove xmalloc prototype.
74142         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
74144 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74146         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74147         appropriate.
74149 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74151         * math/Makefile (tests): Add tst-CMPLX.
74152         * math/tst-CMPLX.c: New file.
74154         * math/complex.h (CMPLXL): Fix typo.
74156         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74157         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74158         GLIBC_2.16.
74159         * debug/tst-chk1.c: Add poll and ppoll tests.
74160         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74161         * include/sys/poll.h: Add hidden proto for ppoll.
74162         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74163         * sysdeps/mach/hurd/ppoll.c: Likewise.
74164         * io/ppoll.c: Likewise.
74165         * debug/poll_chk.c: New file.
74166         * debug/ppoll_chk.c: New file.
74167         * include/bits/poll2.h: New file.
74168         * io/bits/poll2.h: New file.
74170         [BZ #1350]
74171         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74173         * configure.in: static is always set to yes.  Remove.
74174         * config.make.in: Don't set build-static.
74175         * Makeconfig: Remove use of build-static.
74176         * dlfcn/Makefile: Likewise.
74177         * elf/Makefile: Likewise.
74178         * math/Makefile: Likewise.
74179         * misc/Makefile: Likewise.
74180         * nptl/Makefile: Likewise.
74181         * sysdeps/mach/hurd/Makefile: Likewise.
74183         * configure.in: PWD_P is not used anymore.
74184         * config.make.in: Remove PWD_P entry.
74186         * configure.in: Remove last remnants of RANLIB.
74187         No need to check for signed size_t anymore.
74188         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74189         and IA-64.
74190         Remove __builtin_expect test because we require at least gcc 3.4.
74191         * aclocal.m4: Likewise.
74193         * wcsmbs/mbrtoc16.c: Implement using towc function.
74194         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74195         * wcsmbs/wcsmbsload.c: Likewise.
74196         * iconv/gconv_simple.c: Likewise.
74197         * iconv/gconv_int.h: Likewise.
74198         * iconv/gconv_builtin.h: Likewise.
74199         * iconv/iconv_prog.c: Remove CHAR16 handling.
74201         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74203         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74205         * configure.in: Remove --with-elf and --enable-bounded options.
74206         Dont set base_machine for ia64.  More non-ELF conditions removed.
74207         Remove testing and setting of leading underscore information.
74208         * config.make.in (build-bounded): Set to no.
74209         * config.h.in: Remove NO_UNDERSCORES entry.
74210         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74211         them.
74212         * csu/start.c: Remove !NO_UNDERSCORE code.
74213         * locale/localeinfo.h: Likewise.
74214         * sysdeps/generic/machine-gmon.h: Likewise.
74215         * sysdeps/generic/sysdep.h: Likewise.
74216         * sysdeps/i386/sysdep.h: Likewise.
74217         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74218         * sysdeps/mach/sysdep.h: Likewise.
74219         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74220         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74221         * sysdeps/sh/sysdep.h: Likewise.
74222         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74223         * sysdeps/unix/i386/sysdep.S: Likewise.
74224         * sysdeps/unix/sparc/start.c: Likewise.
74225         * sysdeps/unix/sparc/sysdep.S: Likewise.
74226         * sysdeps/unix/sparc/sysdep.h: Likewise.
74227         * sysdeps/unix/start.c: Likewise.
74228         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74229         * sysdeps/x86_64/sysdep.h: Likewise.
74231 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74233         [BZ #13553]
74234         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74235         for non-gcc.
74236         * argp/argp-fmtstream.h: Use const instead __const.
74237         * argp/argp.h: Likewise.
74238         * assert/assert.h: Likewise.
74239         * bits/fenv.h: Likewise.
74240         * bits/sched.h: Likewise.
74241         * bits/sigset.h: Likewise.
74242         * bits/sigthread.h: Likewise.
74243         * catgets/nl_types.h: Likewise.
74244         * conform/data/pthread.h-data: Likewise.
74245         * crypt/crypt-private.h: Likewise.
74246         * crypt/crypt.h: Likewise.
74247         * crypt/crypt_util.c: Likewise.
74248         * ctype/ctype.h: Likewise.
74249         * debug/execinfo.h: Likewise.
74250         * debug/mbsnrtowcs_chk.c: Likewise.
74251         * debug/mbsrtowcs_chk.c: Likewise.
74252         * debug/wcsnrtombs_chk.c: Likewise.
74253         * debug/wcsrtombs_chk.c: Likewise.
74254         * debug/wcstombs_chk.c: Likewise.
74255         * dirent/dirent.h: Likewise.
74256         * dlfcn/dlfcn.h: Likewise.
74257         * elf/neededtest4.c: Likewise.
74258         * grp/grp.h: Likewise.
74259         * gshadow/gshadow.h: Likewise.
74260         * iconv/gconv.h: Likewise.
74261         * iconv/gconv_int.h: Likewise.
74262         * iconv/gconv_simple.c: Likewise.
74263         * iconv/iconv.h: Likewise.
74264         * iconv/loop.c: Likewise.
74265         * iconv/skeleton.c: Likewise.
74266         * include/aio.h: Likewise.
74267         * include/aliases.h: Likewise.
74268         * include/argz.h: Likewise.
74269         * include/arpa/inet.h: Likewise.
74270         * include/assert.h: Likewise.
74271         * include/dirent.h: Likewise.
74272         * include/dlfcn.h: Likewise.
74273         * include/execinfo.h: Likewise.
74274         * include/fcntl.h: Likewise.
74275         * include/fenv.h: Likewise.
74276         * include/glob.h: Likewise.
74277         * include/grp.h: Likewise.
74278         * include/libintl.h: Likewise.
74279         * include/mntent.h: Likewise.
74280         * include/netdb.h: Likewise.
74281         * include/pwd.h: Likewise.
74282         * include/rpc/netdb.h: Likewise.
74283         * include/sched.h: Likewise.
74284         * include/search.h: Likewise.
74285         * include/shadow.h: Likewise.
74286         * include/signal.h: Likewise.
74287         * include/stdio.h: Likewise.
74288         * include/stdlib.h: Likewise.
74289         * include/string.h: Likewise.
74290         * include/sys/socket.h: Likewise.
74291         * include/sys/stat.h: Likewise.
74292         * include/sys/statfs.h: Likewise.
74293         * include/sys/statvfs.h: Likewise.
74294         * include/sys/syslog.h: Likewise.
74295         * include/sys/time.h: Likewise.
74296         * include/sys/uio.h: Likewise.
74297         * include/time.h: Likewise.
74298         * include/unistd.h: Likewise.
74299         * include/utmp.h: Likewise.
74300         * include/wchar.h: Likewise.
74301         * include/wctype.h: Likewise.
74302         * inet/aliases.h: Likewise.
74303         * inet/arpa/inet.h: Likewise.
74304         * inet/netinet/ether.h: Likewise.
74305         * inet/netinet/in.h: Likewise.
74306         * intl/libintl.h: Likewise.
74307         * io/bits/fcntl2.h: Likewise.
74308         * io/fcntl.h: Likewise.
74309         * io/ftw.h: Likewise.
74310         * io/sys/poll.h: Likewise.
74311         * io/sys/stat.h: Likewise.
74312         * io/sys/statfs.h: Likewise.
74313         * io/sys/statvfs.h: Likewise.
74314         * io/utime.h: Likewise.
74315         * libio/bits/stdio.h: Likewise.
74316         * libio/bits/stdio2.h: Likewise.
74317         * libio/libio.h: Likewise.
74318         * libio/libioP.h: Likewise.
74319         * libio/stdio.h: Likewise.
74320         * locale/lc-ctype.c: Likewise.
74321         * locale/locale.h: Likewise.
74322         * login/utmp.h: Likewise.
74323         * malloc/arena.c: Likewise.
74324         * malloc/malloc.c: Likewise.
74325         * malloc/malloc.h: Likewise.
74326         * malloc/mcheck.c: Likewise.
74327         * malloc/mtrace.c: Likewise.
74328         * math/bits/mathcalls.h: Likewise.
74329         * math/fenv.h: Likewise.
74330         * math/math_private.h: Likewise.
74331         * misc/bits/error.h: Likewise.
74332         * misc/bits/syslog.h: Likewise.
74333         * misc/err.h: Likewise.
74334         * misc/error.h: Likewise.
74335         * misc/fstab.h: Likewise.
74336         * misc/mntent.h: Likewise.
74337         * misc/regexp.h: Likewise.
74338         * misc/search.h: Likewise.
74339         * misc/sgtty.h: Likewise.
74340         * misc/sys/mman.h: Likewise.
74341         * misc/sys/syslog.h: Likewise.
74342         * misc/sys/uio.h: Likewise.
74343         * misc/sys/xattr.h: Likewise.
74344         * misc/ttyent.h: Likewise.
74345         * nis/rpcsvc/ypclnt.h: Likewise.
74346         * nss/nss.h: Likewise.
74347         * posix/bits/unistd.h: Likewise.
74348         * posix/fnmatch.h: Likewise.
74349         * posix/glob.h: Likewise.
74350         * posix/sched.h: Likewise.
74351         * posix/spawn.h: Likewise.
74352         * posix/sys/wait.h: Likewise.
74353         * posix/unistd.h: Likewise.
74354         * posix/wordexp.h: Likewise.
74355         * pwd/pwd.h: Likewise.
74356         * resolv/netdb.h: Likewise.
74357         * resource/sys/resource.h: Likewise.
74358         * rt/aio.h: Likewise.
74359         * rt/bits/mqueue2.h: Likewise.
74360         * rt/mqueue.h: Likewise.
74361         * shadow/shadow.h: Likewise.
74362         * signal/signal.h: Likewise.
74363         * socket/send.c: Likewise.
74364         * socket/sendto.c: Likewise.
74365         * socket/sys/socket.h: Likewise.
74366         * stdio-common/printf.h: Likewise.
74367         * stdlib/bits/stdlib.h: Likewise.
74368         * stdlib/fmtmsg.h: Likewise.
74369         * stdlib/monetary.h: Likewise.
74370         * stdlib/stdlib.h: Likewise.
74371         * stdlib/ucontext.h: Likewise.
74372         * streams/stropts.h: Likewise.
74373         * string/argz.h: Likewise.
74374         * string/bits/string2.h: Likewise.
74375         * string/string.h: Likewise.
74376         * string/strings.h: Likewise.
74377         * sunrpc/rpc/auth.h: Likewise.
74378         * sunrpc/rpc/auth_des.h: Likewise.
74379         * sunrpc/rpc/clnt.h: Likewise.
74380         * sunrpc/rpc/netdb.h: Likewise.
74381         * sunrpc/rpc/pmap_clnt.h: Likewise.
74382         * sunrpc/rpc/xdr.h: Likewise.
74383         * sysdeps/generic/inttypes.h: Likewise.
74384         * sysdeps/generic/net/if.h: Likewise.
74385         * sysdeps/generic/sys/swap.h: Likewise.
74386         * sysdeps/gnu/net/if.h: Likewise.
74387         * sysdeps/gnu/utmpx.h: Likewise.
74388         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74389         * sysdeps/i386/i486/bits/string.h: Likewise.
74390         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74391         * sysdeps/s390/bits/string.h: Likewise.
74392         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74393         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74394         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74395         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74396         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74397         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74398         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74399         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74400         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74401         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74402         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74403         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74404         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74405         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74406         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74407         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74408         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74409         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74410         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74411         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74412         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74413         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74414         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74415         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74416         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74417         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74418         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74419         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74420         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74421         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74422         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74423         * sysvipc/sys/ipc.h: Likewise.
74424         * sysvipc/sys/msg.h: Likewise.
74425         * sysvipc/sys/sem.h: Likewise.
74426         * sysvipc/sys/shm.h: Likewise.
74427         * termios/termios.h: Likewise.
74428         * time/sys/time.h: Likewise.
74429         * time/time.h: Likewise.
74430         * wcsmbs/bits/wchar2.h: Likewise.
74431         * wcsmbs/uchar.h: Likewise.
74432         * wcsmbs/wchar.h: Likewise.
74433         * wctype/wctype.h: Likewise.
74435         [BZ #13551]
74436         * Makeconfig: Remove all but ELF support including AIX support.
74437         * Makerules: Likewise.
74438         * config.h.in: Likewise.
74439         * config.make.in: Likewise.
74440         * configure: Likewise.
74441         * configure.in: Likewise.
74442         * csu/Makefile: Likewise.
74443         * csu/version.c: Likewise.
74444         * debug/Makefile: Likewise.
74445         * dlfcn/Makefile: Likewise.
74446         * elf/Makefile: Likewise.
74447         * extra-lib.mk: Likewise.
74448         * iconv/Makefile: Likewise.
74449         * include/libc-symbols.h: Likewise.
74450         * include/shlib-compat.h: Likewise.
74451         * resolv/Makefile: Likewise.
74452         * resolv/res_libc.c: Likewise.
74453         * rt/Makefile: Likewise.
74454         * sysdeps/i386/asm-syntax.h: Likewise.
74455         * sysdeps/i386/sysdep.h: Likewise.
74456         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74457         * sysdeps/mach/sysdep.h: Likewise.
74458         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74459         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74460         * sysdeps/s390/asm-syntax.h: Likewise.
74461         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74462         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74463         * sysdeps/sh/sysdep.h: Likewise.
74464         * sysdeps/unix/sparc/sysdep.h: Likewise.
74465         * sysdeps/wordsize-32/divdi3.c: Likewise.
74466         * sysdeps/x86_64/sysdep.h: Likewise.
74468         * argp/Versions: Remove _argp_unlock_xxx.
74470         [BZ #13559]
74471         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74472         * abilist/libBrokenLocale.abilist: Likewise.
74473         * abilist/libanl.abilist: Likewise.
74474         * abilist/libc.abilist: Likewise.
74475         * abilist/libcrypt.abilist: Likewise.
74476         * abilist/libdl.abilist: Likewise.
74477         * abilist/libm.abilist: Likewise.
74478         * abilist/libnsl.abilist: Likewise.
74479         * abilist/libpthread.abilist: Likewise.
74480         * abilist/libresolv.abilist: Likewise.
74481         * abilist/librt.abilist: Likewise.
74482         * abilist/libthread_db.abilist: Likewise.
74483         * abilist/libutil.abilist: Likewise.
74484         * abilist/libnss_db.abilist: New file.
74486         * scripts/abilist.awk: Add support for indirect functions.
74488         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74490         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74492         * shlib-versions: Remove entries for ports architectures.
74494         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74495         files in ports.
74496         * elf/stackguard-macros.h: Remove support for IA-64.
74497         * elf/tst-auditmod1.c: Likewise.
74498         * sysdeps/generic/ldsodefs.h: Likewise.
74500         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74501         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74502         configure files.
74504         [BZ #13552]
74505         * configure.in: Remove --enable-omitfp support.
74506         * FAQ.in: Adjust.
74507         * config.make.in: Likewise.
74508         * Makeconfig: Likewise.
74509         * manual/install.texi: Likewise.
74511         In case anyone cares, the IA-64 architecture could move to ports.
74512         * sysdeps/ia64/*: Removed.
74513         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74514         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74516         [BZ #13555]
74517         * configure.in: Remove entries for unsupported architectures.
74519         [BZ #13533]
74520         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74521         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74522         routines.
74523         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74524         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74525         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74526         fall back to using wcrtomb.
74527         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74528         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74529         renaming.
74530         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74531         * wcsmbs/tst-c16c32-1.c: New file.
74533         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74534         local variable.
74536         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74538         * elf/tst-unique3.cc: Add explicit declaration of gets.
74539         * elf/tst-unique3lib.cc: Likewise.
74540         * elf/tst-unique3lib2.cc: Likewise.
74541         * elf/tst-unique4.cc: Likewise.
74543         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74545 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74547         [BZ #13566]
74548         * assert/assert.h (static_assert): Don't define for C++.
74549         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74550         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74552 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74554         * iconv/loop.c (single loop): Fix assertion in storing of
74555         remaining bytes.
74557         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74559 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74561         * posix/getconf.c: Update copyright year.
74562         * nss/getent.c: Likewise.
74563         * nss/makedb.c: Likewise.
74564         * iconv/iconvconfig.c: Likewise.
74565         * iconv/iconv_prog.c: Likewise.
74566         * elf/ldconfig.c: Likewise.
74567         * elf/pldd.c: Likewise.
74568         * elf/sotruss.ksh: Likewise.
74569         * catgets/gencat.c: Likewise.
74570         * csu/version.c: Likewise.
74571         * elf/ldd.bash.in: Likewise.
74572         * elf/sprof.c (print_version): Likewise.
74573         * locale/programs/locale.c: Likewise.
74574         * locale/programs/localedef.c: Likewise.
74575         * login/programs/pt_chown.c: Likewise.
74576         * nscd/nscd.c (print_version): Likewise.
74577         * debug/xtrace.sh: Likewise.
74578         * malloc/memusage.sh: Likewise.
74579         * malloc/mtrace.pl: Likewise.
74580         * debug/catchsegv.sh: Likewise.
74582 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74584         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74585         pure attribute.
74587 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74589         [BZ #13533]
74590         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74591         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74592         transformations.
74593         * iconv/gconv_int.h: Likewise.
74594         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74595         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74596         from libc for GLIBC_2.16.
74597         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74598         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74599         * wcsmbs/uchar.h: Really define mbstate_t.
74600         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74601         * wcsmbs/c16rtomb.c: New file.
74602         * wcsmbs/mbrtoc16.c: New file.
74603         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74604         for C/POSIX locale.
74605         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74606         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74608         * wcsmbs/wchar.h: Add missing __restrict.
74610 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74612         [BZ #13532]
74613         * time/Makefile (routines): Add timespec_get.
74614         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74615         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74616         timespec for ISO C11.
74617         * time/timespec_get.c: New file.
74618         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74619         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74621         [BZ #13531]
74622         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74623         * stdlib/stdlib.h: Declare aligned_alloc.
74624         * Versions.def: Add GLIBC_2.16 for libc.
74625         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74627         [BZ 13527]
74628         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74629         ISO C11.
74631         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74632         code.
74634         [BZ #13528]
74635         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74637         [BZ #13529]
74638         * assert/assert.h (static_assert): Define.
74640         * version.h: Update for 2.16 development version.
74642         [BZ #13526]
74643         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74644         _ISOC11_SOURCE.
74646         * version.h (RELEASE): Bump for 2.15 release.
74647         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74649         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74650         Patch by Marek Polacek <mpolacek@redhat.com>.
74652         * bits/byteswap.h: Protect long long constants with __extension__.
74653         * sysdeps/i386/bits/byteswap.h: Likewise.
74654         * sysdeps/ia64/bits/byteswap.h: Likewise.
74655         * sysdeps/s390/bits/byteswap.h: Likewise.
74656         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74658 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74660         [BZ #13540]
74661         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74662         destination buffer.
74663         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74665 2011-12-23  Marek Polacek  <polacek@redhat.com>
74667         * elf/dl-addr.c (determine_info): Add inline keyword.
74668         * elf/tst-auditmod4b.c (check_avx): Likewise.
74669         * elf/tst-auditmod6b.c (check_avx): Likewise.
74670         * elf/tst-auditmod6c.c (check_avx): Likewise.
74671         * elf/tst-auditmod7b.c (check_avx): Likewise.
74673 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74675         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74676         !__SSE_MATH__.
74678 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74680         [BZ #13540]
74681         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74682         processing for last bytes.
74684 2011-08-06  Bruno Haible  <bruno@clisp.org>
74686         [BZ #13061]
74687         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74688         U+0385, not to U+1FEE.
74690         [BZ #13062]
74691         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74692         entry for U+00A5 U+0301.
74694 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74696         [BZ #13166]
74697         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74698         buffer for the output is too small.
74700         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74701         optimization.
74703         [BZ #13185]
74704         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74705         SSE flags if possible.
74707 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74709         [BZ #13540]
74710         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74711         processing for last bytes.
74713 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74715         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74716         (syscall-list-default-options, syscall-list-default-condition)
74717         (syscall-list-includes): Define.
74718         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74719         list of ABIs and options and #if conditions for each ABI.  Do not
74720         handle common syscalls between ABIs specially.
74721         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74722         Remove.
74723         (syscall-list-variants, syscall-list-32bit-options)
74724         (syscall-list-32bit-condition, syscall-list-64bit-options)
74725         (syscall-list-64bit-condition): Define.
74726         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74727         (syscall-list-variants, syscall-list-32bit-options)
74728         (syscall-list-32bit-condition, syscall-list-64bit-options)
74729         (syscall-list-64bit-condition): Define.
74730         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74731         Remove.
74732         (syscall-list-variants, syscall-list-32bit-options)
74733         (syscall-list-32bit-condition, syscall-list-64bit-options)
74734         (syscall-list-64bit-condition): Define.
74735         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74736         Remove.
74737         (syscall-list-variants, syscall-list-32bit-options)
74738         (syscall-list-32bit-condition, syscall-list-64bit-options)
74739         (syscall-list-64bit-condition): Define.
74741 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74743         * locale/iso-639.def: Add brx entry.
74745         [BZ #13328]
74746         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74747         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74749         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74750         __feraiseexcept_renamed.
74752 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74754         [BZ #13538]
74755         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74756         EPOLLET with unsigned values.
74757         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74758         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74760         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74761         to large cancellation.
74762         * math/s_cacoshf.c: Likewise.
74763         * math/s_cacoshl.c: Likewise.
74765 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74767         [BZ #13305]
74768         [BZ #12786]
74769         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74770         * math/s_cacoshf.c: Likewise.
74771         * math/s_cacoshl.c: Likewise.
74773 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74775         [BZ #13439]
74776         * iconv/gconv.h: Define __GCONV_SWAP.
74777         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74778         * iconvdata/utf-16.c: Likewise.
74779         * iconvdata/utf-32.c: Likewise.
74781 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74783         [BZ #13524]
74784         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74785         numerator after shifting it by one limb.
74787 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74789         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74790         under [__USE_EXTERN_INLINES].
74792 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74794         [BZ #13446]
74795         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74797 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74799         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74800         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74801         optimized code.
74802         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74803         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74804         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74805         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74806         for strncasecmp/strncasecmp_l compilation.
74807         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74808         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74810 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74812         [BZ #13484]
74813         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74814         of __asm__.
74816 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74818         [BZ #13506]
74819         * time/tzfile.c (__tzfile_read): Check values from file header.
74821 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74823         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74824         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74825         * powerpc/powerpc32/dl-start.S: Likewise.
74826         * powerpc/powerpc32/elf/start.S: Likewise.
74827         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74828         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74829         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74830         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74831         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74832         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74833         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74834         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74835         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74836         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74837         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74838         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74839         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74840         * powerpc/powerpc32/memset.S: Likewise.
74841         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74842         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74843         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74844         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74845         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74846         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74847         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74848         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74849         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74850         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74851         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74852         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74853         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74855 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74857         * math/libm-test.inc: Added more nearbyint tests.
74858         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74859         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74860         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74861         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74863 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74865         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74866         FD_CLOEXEC.
74868 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74870         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74871         Add wcscpy-ssse3 wcscpy-c.
74872         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74873         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74874         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74875         * sysdeps/x86_64/wcschr.S: New file.
74876         * sysdeps/x86_64/wcsrchr.S: New file.
74877         * string/test-strcmp.c: Remove checking of wcscmp function for
74878         wrong alignments.
74879         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74880         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74881         wcsrchr-sse2 wcsrchr-c.
74882         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74883         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74884         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74885         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74886         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74887         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74888         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74889         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74890         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74891         * wcsmbc/wcschr.c (WCSCHR): New macro.
74893 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74895         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74896         * wcsmbs/test-wcsrchr.c: New file.
74897         * string/test-strrchr.c: Add wcsrchr support.
74898         (WIDE): New macro.
74899         * wcsmbs/test-wcscpy.c: New file.
74900         * string/test-strcpy.c: Add wcscpy support.
74901         (WIDE): New macro.
74903 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74905         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74906         the inner loop.
74908 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74910         [BZ #13472]
74911         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74913 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74915         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74916         Minor optimizations.
74918         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74919         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74920         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74922 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74924         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74925         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74926         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74927         for gcc to avoid warnings.
74928         * inet/Makefile (tests): Add tst-checks.
74929         * inet/tst-checks.c: New file.
74931         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74932         warning.
74934         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74935         __wmemcmp_sse2.
74937         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74938         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74940         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74942 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74944         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74945         problem.
74947         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74949 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74951         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74952         conditional on GCC version.
74953         (__arch_compare_and_exchange_val_8_acq)
74954         (__arch_compare_and_exchange_val_16_acq)
74955         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74956         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74957         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74959 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74961         * sysdeps/sh/backtrace.c: New file.
74963 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74965         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74966         parenthesis.
74968 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74970         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74971         falling back to utime.
74973 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74975         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74976         expectations for float.
74978 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74980         * locale/weight.h (findidx): Add parameter len.
74981         * locale/weightwc.h (findidx): Likewise.
74982         * posix/fnmatch_loop.c (FCT): Adjust caller.
74983         * posix/regcomp.c (build_equiv_class): Likewise.
74984         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74985         * posix/regexec.c (check_node_accept_bytes): Likewise.
74986         * string/strcoll_l.c (STRCOLL): Likewise.
74987         * string/strxfrm_l.c (STRXFRM): Likewise.
74989 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74991         * Makefile.in: Remove CVSOPT handling.
74992         * configure.in: Remove use of AC_REVISION.
74993         * iconvdata/Makefile (distribute): No need to filter out CVS.
74994         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74995         handling.
74997 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74999         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
75000         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
75001         [USE_AS_STRNCASECMP_L]: Likewise.
75002         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
75003         NO_TLS_DIRECT_SEG_REFS.
75004         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
75005         Fix argument offsets for non-PIC.
75006         [USE_AS_STRNCASECMP_L]: Likewise.
75007         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
75008         NO_TLS_DIRECT_SEG_REFS.
75010 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75012         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
75013         O_CLOEXEC.
75014         * locale/loadlocale.c (_nl_load_locale): Likewise.
75016 2011-11-15  Andreas Schwab  <schwab@redhat.com>
75018         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
75019         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
75020         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
75021         (SYSCALL_GETTIME): Set errno on error.
75023         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
75024         count references to noai6ai_cached.
75026 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75028         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
75030         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
75031         FD_CLOEXEC for /proc/self/maps.
75033         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
75034         FD_CLOEXEC for /proc/meminfo.
75036         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
75037         gai.conf.
75039         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
75040         FD_CLOEXEC for given file.
75042         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
75044         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
75045         FD_CLOEXEC for /etc/hosts.
75046         (_gethtent): Likewise.
75048         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
75050         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
75051         cancellation and set FD_CLOEXEC for /etc/netgroup.
75053         * nss/nss_files/files-key.c (search): Don't allow cancellation when
75054         reading /etc/publickey.
75056         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
75057         allow cancellation when reading /etc/group.
75059         * nss/nss_files/files-alias.c (internal_setent): Don't allow
75060         cancellation.
75061         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
75063         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
75064         when using data file.
75066         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
75068         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
75069         (write_nis_obj): Use "c" and "e" in fopen.
75071         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
75073         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
75075         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
75077         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
75079         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
75080         locale.alias.
75082         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
75084         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
75086         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
75088         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
75089         file parsing and set FD_CLOEXEC.
75091 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75093         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
75095 2011-11-14  Andreas Schwab  <schwab@redhat.com>
75097         * malloc/arena.c (arena_get2): Don't call reused_arena when
75098         _int_new_arena failed.
75100 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75102         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
75103         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
75104         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
75105         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75106         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75107         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
75108         to compile strcasecmp and strncasecmp.
75109         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
75110         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
75112         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
75114 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
75116         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
75117         locale-defines.sym to gen-as-const-headers.
75118         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
75119         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
75120         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
75121         to compile strcasecmp and strncasecmp.
75122         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75123         strcasecmp_l and strncasecmp_l.
75124         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75125         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75126         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75127         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75128         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75129         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75130         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75131         * sysdeps/i386/i686/multiarch/strncase.S: New file.
75132         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75133         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75134         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75136 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
75138         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75139         result of SYSDEP_GETTIME_CPU to retval.
75140         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
75141         parameter list to macro.  Remove trailing semicolon.  Adjust users.
75143         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
75144         variable.
75146         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75147         mantissa words.
75148         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
75150         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
75151         from unused variable.
75153         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
75154         DWARF definitions.
75155         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75156         for assembling.
75158         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75159         over namespaces.
75161         * sunrpc/rpc_prot.c (rejected): Fix case value.
75163         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75164         unsigned long long int to avoid warnings in shift.
75166         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75167         of use of trans.
75168         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75169         variable tmp.
75171         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75172         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75173         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75175         * nis/nis_table.c (nis_list): Use variable of correct type for
75176         result of __follow_path call.
75178 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75180         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75181         of math functions ceil, trunc, floor, round, and sqrt, when
75182         avaliable on the platform.
75183         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75184         name clash.
75185         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75186         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75187         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75189 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75191         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75192         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75194 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75196         * include/unistd.h: Fix __readlink return type.
75197         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75199 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75201         * stdlib/ucontext.h: Undo last change for makecontext.
75203 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75205         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75207         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75208         * setjmp/setjmp.h: Mark functions as non-leaf.
75209         * setjmp/bits/setjmp2.h: Likewise.
75210         * stdlib/ucontext.h: Likewise.
75212 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75214         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75215         (reused_arena): Don't check arena limit.
75216         (arena_get2): Atomically check arena limit.
75218 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75220         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75221         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75223         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75224         instructions.
75226 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75228         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75229         handler when locking.
75231         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75232         Fix size of allocated buffer.
75234 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75236         [BZ #10103]
75237         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75238         declarations for long double functions.
75239         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75241         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75243 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75245         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75246         installed.
75248         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75249         is disabled.
75251 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75253         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75255 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75257         * include/alloca.h (stackinfo_alloca_round): Define.
75258         (extend_alloca): Use it.
75259         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75260         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75261         here.
75263         * scripts/check-local-headers.sh: Ignore libaudit.h.
75265         * nscd/Makefile (extra-objs): Make recursively expanded.
75267 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75269         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75270         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75272         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75273         * posix/tst-rfc3484-2.c: Likewise.
75274         * posix/tst-rfc3484-3.c: Likewise.
75276         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75277         process_vm_writev.
75278         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75279         process_vm_writev.
75280         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75281         process_vm_writev from libc using GLIBC_2.15 version.
75283         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75285 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75287         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75288         stack usage.
75290 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75292         [BZ #13367]
75293         * nss/getent.c (initgroups_keys): Show error message in case no group
75294         names are given.
75296         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75297         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75298         __bump_nl_timestamp.
75299         * nscd/connections (nscd_init): When host database is served open
75300         netlink socket and request notification about configuration changes.
75301         (main_loop_poll): Track netlink file descriptor and bump timestamp
75302         in case data becomes available.
75303         (main_loop_epoll): Likewise.
75304         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75305         (database_pers_head): Add extra_data fileds.
75306         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75307         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75308         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75309         Adjust caller.
75310         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75311         in6ai data, call __free_in6ai.
75312         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75313         Add -DHAVE_NETLINK.
75314         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75315         interface information.  Reuse previous data if netlink timestamp
75316         is not changed.
75317         (__bump_nl_timestamp): New function.
75318         (__free_in6ai): New function.
75320 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75322         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75323         close_not_cancel_no_status here.
75324         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75326 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75328         [BZ #13276]
75329         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75330         return value.
75332         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75333         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75334         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75336 2011-07-03  Andreas Jaeger  <aj@suse.de>
75338         [BZ #10709]
75339         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75340         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75341         * math/libm-test.inc (sin_test): Add test case.
75343 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75345         [BZ #13337]
75346         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75347         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75349         * elf/chroot_canon.c (chroot_canon): Cleanups.
75351         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75353         [BZ #13335]
75354         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75355         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75357         * string/test-strchr.c: Make usable for strchrnul testing.
75358         * string/test-strchrnul.c: New file.
75359         * string/Makefile (strop-tests): Add strchrnul.
75361         * po/it.po: Update from translation team.
75362         * po/es.po: Likewise.
75364 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75366         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75367         the three constants needed as parameters.  Drop the others.
75368         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75369         __m128i_strloadu_tolower.
75370         Create and initialize variable zero and use it in all the places
75371         where _mm_setzero_si128 was used.
75373         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75374         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75375         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75376         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75377         anymore.
75378         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75379         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75380         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75381         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75382         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75383         __mpranred, __mptan.
75384         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75385         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75386         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75387         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75388         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75389         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75390         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75391         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75392         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75394 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75396         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75397         redefine if SHARED.
75398         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75401         wide char related routines to wcsmbs subdir.
75403 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75405         [BZ #13344]
75406         * misc/sys/cdefs.h (__THROWNL): Define.
75407         * posix/unistd.h: Use __THREADNL instead of __THREAD
75408         for memory synchronization functions.
75410 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75412         [BZ #13349]
75413         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75414         doesn't exist.
75415         * manual/stdio.texi (Obstack Streams): Node removed.
75417 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75419         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75420         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75421         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75423         * math/math_private.h (math_force_eval): Allow non-addressable
75424         arguments.
75425         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75427 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75429         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75430         file is not needed.
75432         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75433         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75434         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75435         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75436         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75437         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75438         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75439         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75440         Add AVX variants.
75441         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75442         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75443         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75444         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75445         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75446         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75447         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75448         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75449         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75450         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75451         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75452         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75453         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75454         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75455         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75456         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75457         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75458         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75459         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75461         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75462         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75464         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75465         place.  Use VEX encoding when compiling for AVX.
75467 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75469         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75470         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75472         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75474 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75476         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75477         useless if() expression.
75478         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75479         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75480         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75481         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75482         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75483         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75484         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75485         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75486         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75487         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75488         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75489         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75490         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75491         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75492         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75493         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75494         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75495         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75496         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75498         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75500 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75502         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75503         condition.
75504         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75506 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75508         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75509         .text section.  Avoid duplicate constants.
75510         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75511         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75512         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75513         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75514         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75515         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75516         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75517         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75518         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75519         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75520         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75521         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75522         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75523         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75524         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75525         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75526         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75527         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75528         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75529         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75530         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75531         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75532         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75533         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75534         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75535         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75536         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75537         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75538         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75539         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75540         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75541         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75542         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75543         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75544         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75545         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75546         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75547         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75548         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75549         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75550         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75551         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75552         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75553         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75554         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75556 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75558         * sysdeps/x86_64/dla.h: Move to ...
75559         * sysdeps/x86_64/fpu/dla.h: ...here.
75560         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75561         situations.  Use __builtin_fma only for gcc 4.6 and up.
75563         * config.make.in: Add have-mfma4 entry.
75564         * configure.in: Substitute libc_cv_cc_fma4.
75565         * math/Makefile (dbl-only-routines): Add sincostab.
75566         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75567         Use __sincostab not sincos.
75568         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75569         name is a macro.
75570         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75571         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75572         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75573         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75574         using __copysign.
75575         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75576         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75577         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75578         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75579         and __inv.
75580         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75581         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75582         __copysign.
75583         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75584         define aliases when function name is a macro.
75585         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75586         sysdeps/ieee754/dbl-64/sincos.tbl.
75587         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75588         fma4-enabled routines.
75589         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75590         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75591         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75592         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75593         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75594         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75595         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75596         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75597         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75598         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75599         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75600         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75601         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75602         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75603         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75604         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75605         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75606         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75607         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75608         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75609         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75610         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75611         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75612         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75613         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75614         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75615         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75616         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75617         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75618         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75620         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75621         rename.
75622         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75623         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75624         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75625         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75626         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75627         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75628         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75629         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75631 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75633         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75635 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75637         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75639         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75640         prediction.
75641         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75643         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75644         Remove unused variable magic_bits.
75645         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75647         * string/strnlen.c: Define and use STRNLEN macro.
75648         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75649         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75650         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75651         * wcsmbs/wcslen.c: Define and use WCSLEN.
75652         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75653         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75654         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75655         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75656         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75657         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75658         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75660 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75662         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75663         strnlen-sse2-no-bsf.
75664         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75665         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75666         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75667         Add strnlen support.
75668         (USE_AS_STRNLEN): New macro.
75669         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75670         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75671         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75672         * sysdeps/x86_64/wcslen.S: New file.
75674 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75676         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75677         XMM-moves are used for copying on small sizes.
75679 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75681         * wcsmbs/Makefile (strop-tests): Add wcschr.
75682         * wcsmbs/test-wcschr.c: New file.
75683         * string/test-strchr.c: Update.
75684         Add wcschr support.
75685         (WIDE): New macro.
75687 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75689         * wcsmbs/Makefile (strop-tests): Add wcslen.
75690         * wcsmbs/test-wcslen.c: New file.
75691         * string/test-strlen.c: Update.
75692         Add wcslen support.
75693         (WIDE): New macro.
75695 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75697         * po/it.po: Update from translation team.
75699 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75701         * sysdeps/x86_64/wcscmp.S: Update.
75702         Fix wrong comparison semantics.
75703         wcscmp shall use signed comparison not unsigned.
75704         Don't use substraction to avoid overflow bug.
75705         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75706         * wcsmbc/wcscmp.c: Likewise.
75707         * string/test-strcmp.c: Likewise.
75708         Add new tests to check cases with negative values.
75710 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75712         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75713         * sysdeps/x86_64/dla.h: ...here.  New file.
75714         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75715         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75716         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75717         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75718         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75719         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75721         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75722         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75724 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75726         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75727         __ynl_finite aliases.
75729 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75733         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75734         define DLA_FMA.
75735         [DLA_FMA] (EMULV): Use DLA_FMA.
75736         [DLA_FMA] (MUL12): Use EMULV.
75737         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75738         that are not needed.
75739         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75740         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75741         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75742         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75743         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75744         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75745         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75747 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75749         * math/s_nan.c: Undef __nan.
75750         * math/s_nanf.c: Undef __nanf.
75751         * math/s_nanl.c: Undef __nanl.
75752         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75753         "math_private.h".
75755 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75757         * math/s_catan.c: Add branch predictions.
75758         * math/s_catanf.c: Likewise.
75759         * math/s_catanh.c: Likewise.
75760         * math/s_catanhf.c: Likewise.
75761         * math/s_catanhl.c: Likewise.
75762         * math/s_catanl.c: Likewise.
75763         * math/s_cexp.c: Likewise.
75764         * math/s_cexpf.c: Likewise.
75765         * math/s_cexpl.c: Likewise.
75766         * math/s_clog.c: Likewise.
75767         * math/s_clog10.c: Likewise.
75768         * math/s_clog10f.c: Likewise.
75769         * math/s_clog10l.c: Likewise.
75770         * math/s_clogf.c: Likewise.
75771         * math/s_clogl.c: Likewise.
75772         * math/s_csqrt.c: Likewise.
75773         * math/s_csqrtf.c: Likewise.
75774         * math/s_csqrtl.c: Likewise.
75775         * math/s_ctanf.c: Likewise.
75776         * math/s_ctanh.c: Likewise.
75777         * math/s_ctanhf.c: Likewise.
75778         * math/s_ctanhl.c: Likewise.
75779         * math/s_ctanl.c: Likewise.
75781         * math/math_private.h: Define __nan, __nanf, __nanl.
75782         * math/s_cacosh.c: Include <math_private.h>.
75783         * math/s_cacoshl.c: Likewise.
75784         * math/s_casinh.c: Likewise.
75785         * math/s_casinhf.c: Likewise.
75786         * math/s_casinhl.c: Likewise.
75787         * math/s_ccos.c: Rely entire on ccosh.
75788         * math/s_ccosf.c: Rely entire on ccoshf.
75789         * math/s_ccosl.c: Rely entirely on ccoshl.
75790         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75791         Remove tests for FE_INVALID.
75792         * math/s_ccoshf.c: Likewise.
75793         * math/s_ccoshl.c: Likewise.
75794         * math/s_csin.c: Likewise.
75795         * math/s_csinf.c: Likewise.
75796         * math/s_csinh.c Likewise.
75797         * math/s_csinhf.c: Likewise.
75798         * math/s_csinhl.c: Likewise.
75799         * math/s_csinl.c: Likewise.
75800         * math/s_ctan.c: Likewise.
75801         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75802         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75803         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75805 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75808         compilation problems.
75810         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75811         __builtin_expect.
75813 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75815         * sysdeps/i386/configure.in: Test for -mfma4 option.
75816         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75817         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75818         COMMON_CPUID_INDEX_80000001.
75819         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75820         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75821         use it if FMA3 is not supported.
75822         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75824         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75825         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75827 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75829         [BZ #12892]
75830         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75831         it would create a cycle with a link time dependency.
75833 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75835         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75836         instruction.
75837         * string/Makefile (strop-tests): Add rawmemchr.
75838         * string/test-rawmemchr.c: New file.
75840         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75841         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75842         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75843         when compiling str{,n}casecmp and when AVX is available.  Hook up
75844         new optimized code in initializers.
75846 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75848         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75849         __feraiseexcept instead of feraiseexcept.
75851 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75853         * math/math_private.h: Define defaults for libc_fetestexcept and
75854         libc_feupdateenv.
75855         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75856         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75857         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75858         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75859         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75860         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75861         libc_fetestexcept and libc_feupdateenv.
75863         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75864         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75865         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75866         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75867         libc_feholdexcept_setround.
75869         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75870         Add s_nearbyint-c and s_nearbyintf-c.
75871         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75872         nearbyintf inlines.
75873         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75874         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75875         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75876         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75878         * math/math_private.h: Define defaults for libc_fegetround,
75879         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75880         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75881         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75882         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75883         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75884         standard functions.
75885         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75886         Remove comments and hacks for old compiler versions.
75887         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75888         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75889         libc_feholdexceptl.
75891 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75893         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75894         (__feraiseexcept_renamed): Add __NTH.
75895         (feraiseexcept): Add __NTH.  Rename local variables to fix
75896         namespace violations.
75898 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75900         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75902         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75904         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75905         recently added interfaces.
75906         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75908         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75909         about macro parameter expansion.
75911         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75912         __NO_MATH_INLINES is defined.  Cleanups.
75914         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75915         and __floorf is target has SSE4.1.
75916         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75917         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75918         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75919         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75921         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75922         name.
75923         (floorf): Likewise.
75925         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75927 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75929         * misc/sys/cdefs.h: Fix last change.
75931         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75932         database lookup.
75934 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75936         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75938         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75939         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75940         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75941         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75942         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75943         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75944         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75945         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75946         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75947         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75948         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75949         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75950         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75951         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75952         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75953         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75954         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75955         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75956         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75957         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75958         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75959         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75961         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75962         ceil, ceilf, floor, floorf.
75964         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75965         Perform IRELATIVE relocations last.
75967         * elf/do-rel.h: Add another parameter nrelative, replacing the
75968         local variable with the same name.  Change name of the function
75969         to end in Rel or Rela (uppercase).
75970         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75971         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75972         elf_dynamic_do_##reloc function.
75974 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75976         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75977         is sufficient, at least on modern CPUs.
75979         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75981         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75982         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75984         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75985         __expl_finite.
75986         * math/bits/math-finite.h: Add entries for exp.
75987         * math/e_expl.c: Add __*_finite alias.
75988         * sysdeps/i386/fpu/e_exp.S: Likewise.
75989         * sysdeps/i386/fpu/e_expf.S: Likewise.
75990         * sysdeps/i386/fpu/e_expl.c: Likewise.
75991         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75992         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75993         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75994         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75995         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75996         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75997         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75999         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
76000         is sufficient, at least on modern CPUs.
76002         * ctype/ctype-info.c (__ctype_init): Define.
76003         * include/ctype.h (__ctype_init): Declare.
76004         (__ctype_b_loc): The variable is always initialized.
76005         (__ctype_toupper_loc): Likewise.
76006         (__ctype_tolower_loc): Likewise.
76007         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
76008         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
76010 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
76012         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
76014         * configure.in: Also look in $cxxmachine/include for C++ system
76015         headers.
76017 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76019         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
76020         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
76021         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
76022         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
76023         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
76024         (USE_AS_WMEMCMP): New macro.
76025         Fixing indents.
76026         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
76027         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
76028         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
76029         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
76030         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76031         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
76032         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
76033         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
76034         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
76035         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
76036         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
76037         (USE_AS_WMEMCMP): New macro.
76038         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
76039         * sysdeps/string/test-memcmp.c: Update.
76040         Fix simple_wmemcmp.
76041         Add new tests.
76042         * wcsmbs/wmemcmp.c: Update.
76043         (WMEMCMP): New macro.
76044         Fix overflow bug.
76046 2011-10-12  Andreas Jaeger  <aj@suse.de>
76048         [BZ #13268]
76049         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
76051 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76053         * libio/iofwide.c (do_length): Avoid warning.
76055         * ctype/ctype.h (__isctype_f): Add missing __THROW.
76057 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
76059         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
76061         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
76062         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
76063         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
76064         * sysdeps/i386/i686/fpu/e_log.S: New file.
76065         * sysdeps/i386/i686/fpu/e_logf.S: New file.
76066         * sysdeps/i386/i686/fpu/e_logl.S: New file.
76068         * ctype/ctype.h: Add support for inlined isXXX functions when
76069         compiling C++ code.
76071 2011-10-14  Andreas Schwab  <schwab@redhat.com>
76073         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76075         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
76077 2011-10-13  Roland McGrath  <roland@hack.frob.com>
76079         [BZ #13291]
76080         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
76082 2011-10-13  Andreas Schwab  <schwab@redhat.com>
76084         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
76085         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
76086         feraiseexcept.
76088         * sysdeps/x86_64/memrchr.S: Check for zero size.
76090         * string/stratcliff.c: Add memrchr tests.
76092 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76095         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
76096         rawmemchr-sse2 rawmemchr-sse2-bsf.
76097         * sysdeps/i386/i686/multiarch/memchr.S: New file.
76098         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
76099         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
76100         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
76101         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
76102         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
76103         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
76104         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
76105         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
76106         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
76107         * string/memrchr.c (MEMRCHR): New macro.
76109 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
76111         Add integration with gcc's -ffinite-math-only and optimize wrapper
76112         functions in libm.
76113         * Versions.def: Define GLIBC_2.15 version for libm.
76114         * math/Makefile (headers): Add bits/math-finite.h.
76115         * math/bits/math-finite.h: New file.
76116         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
76117         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
76118         * math/e_acoshl.c: Add __*_finite alias.
76119         * math/e_acosl.c: Likewise.
76120         * math/e_asinl.c: Likewise.
76121         * math/e_atan2l.c: Likewise.
76122         * math/e_atanhl.c: Likewise.
76123         * math/e_coshl.c: Likewise.
76124         * math/e_exp10.c: Likewise.
76125         * math/e_exp10f.c: Likewise.
76126         * math/e_exp10l.c: Likewise.
76127         * math/e_exp2l.c: Likewise.
76128         * math/e_fmodl.c: Likewise.
76129         * math/e_gammal_r.c: Likewise.
76130         * math/e_hypotl.c: Likewise.
76131         * math/e_j0l.c: Likewise.
76132         * math/e_j1l.c: Likewise.
76133         * math/e_jnl.c: Likewise.
76134         * math/e_lgammal_r.c: Likewise.
76135         * math/e_log10l.c: Likewise.
76136         * math/e_log2l.c: Likewise.
76137         * math/e_logl.c: Likewise.
76138         * math/e_powl.c: Likewise.
76139         * math/e_sinhl.c: Likewise.
76140         * math/e_sqrtl.c: Likewise.
76141         * math/e_scalb.c: Completely rewritten and optimized.
76142         * math/e_scalbf.c: Likewise.
76143         * math/e_scalbl.c: Likewise.
76144         * math/w_acos.c: Likewise.
76145         * math/w_acosf.c: Likewise.
76146         * math/w_acosl.c: Likewise.
76147         * math/w_acosh.c: Likewise.
76148         * math/w_acoshf.c: Likewise.
76149         * math/w_acoshl.c: Likewise.
76150         * math/w_asin.c: Likewise.
76151         * math/w_asinf.c: Likewise.
76152         * math/w_asinl.c: Likewise.
76153         * math/w_atan2.c: Likewise.
76154         * math/w_atan2f.c: Likewise.
76155         * math/w_atan2l.c: Likewise.
76156         * math/w_atanh.c: Likewise.
76157         * math/w_atanhf.c: Likewise.
76158         * math/w_atanhl.c: Likewise.
76159         * math/w_exp10.c: Likewise.
76160         * math/w_exp10f.c: Likewise.
76161         * math/w_exp10l.c: Likewise.
76162         * math/w_fmod.c: Likewise.
76163         * math/w_fmodf.c: Likewise.
76164         * math/w_fmodl.c: Likewise.
76165         * math/w_j0.c: Likewise.
76166         * math/w_j0f.c: Likewise.
76167         * math/w_j0l.c: Likewise.
76168         * math/w_j1.c: Likewise.
76169         * math/w_j1f.c: Likewise.
76170         * math/w_j1l.c: Likewise.
76171         * math/w_jn.c: Likewise.
76172         * math/w_jnf.c: Likewise.
76173         * math/w_log.c: Likewise.
76174         * math/w_logf.c: Likewise.
76175         * math/w_logl.c: Likewise.
76176         * math/w_log10.c: Likewise.
76177         * math/w_log10f.c: Likewise.
76178         * math/w_log10l.c: Likewise.
76179         * math/w_log2.c: Likewise.
76180         * math/w_log2f.c: Likewise.
76181         * math/w_log2l.c: Likewise.
76182         * math/w_pow.c: Likewise.
76183         * math/w_powf.c: Likewise.
76184         * math/w_powl.c: Likewise.
76185         * math/w_remainder.c: Likewise.
76186         * math/w_remainderf.c: Likewise.
76187         * math/w_remainderl.c: Likewise.
76188         * math/w_scalb.c: Likewise.
76189         * math/w_scalbf.c: Likewise.
76190         * math/w_scalbl.c: Likewise.
76191         * math/w_sqrt.c: Likewise.
76192         * math/w_sqrtf.c: Likewise.
76193         * math/w_sqrtl.c: Likewise.
76194         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76195         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76196         used.
76197         * math/math_private.h: Declare __kernel_standard_f.
76198         * math/w_cosh.c: Remove cruft and optimize a bit.
76199         * math/w_coshf.c: Likewise.
76200         * math/w_coshl.c: Likewise.
76201         * math/w_exp2.c: Likewise.
76202         * math/w_exp2f.c: Likewise.
76203         * math/w_exp2l.c: Likewise.
76204         * math/w_hypot.c: Likewise.
76205         * math/w_hypotf.c: Likewise.
76206         * math/w_hypotl.c: Likewise.
76207         * math/w_lgamma.c: Likewise.
76208         * math/w_lgamma_r.c: Likewise.
76209         * math/w_lgammaf.c: Likewise.
76210         * math/w_lgammaf_r.c: Likewise.
76211         * math/w_lgammal.c: Likewise.
76212         * math/w_lgammal_r.c: Likewise.
76213         * math/w_sinh.c: Likewise.
76214         * math/w_sinhf.c: Likewise.
76215         * math/w_sinhl.c: Likewise.
76216         * math/w_tgamma.c: Likewise.
76217         * math/w_tgammaf.c: Likewise.
76218         * math/w_tgammal.c: Likewise.
76219         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76220         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76221         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76222         Minor optimizations.  Pretty printing.  Remove cruft.
76223         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76224         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76225         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76226         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76227         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76228         * sysdeps/i386/fpu/e_asin.S: Likewise.
76229         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76230         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76231         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76232         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76233         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76234         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76235         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76236         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76237         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76238         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76239         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76240         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76241         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76242         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76243         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76244         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76245         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76246         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76247         * sysdeps/i386/fpu/e_log.S: Likewise.
76248         * sysdeps/i386/fpu/e_log10.S: Likewise.
76249         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76250         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76251         * sysdeps/i386/fpu/e_log2.S: Likewise.
76252         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76253         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76254         * sysdeps/i386/fpu/e_logf.S: Likewise.
76255         * sysdeps/i386/fpu/e_logl.S: Likewise.
76256         * sysdeps/i386/fpu/e_pow.S: Likewise.
76257         * sysdeps/i386/fpu/e_powf.S: Likewise.
76258         * sysdeps/i386/fpu/e_powl.S: Likewise.
76259         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76260         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76261         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76262         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76263         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76264         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76265         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76266         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76267         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76268         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76269         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76270         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76271         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76272         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76273         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76274         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76275         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76276         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76277         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76278         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76279         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76280         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76281         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76282         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76283         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76284         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76285         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76286         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76287         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76288         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76289         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76290         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76291         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76292         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76293         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76294         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76295         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76296         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76297         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76298         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76299         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76300         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76301         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76302         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76303         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76304         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76305         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76306         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76307         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76308         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76309         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76310         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76311         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76312         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76313         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76314         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76315         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76316         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76317         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76318         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76319         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76320         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76321         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76322         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76323         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76324         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76325         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76326         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76327         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76328         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76329         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76330         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76331         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76332         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76333         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76334         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76335         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76336         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76337         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76338         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76339         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76340         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76341         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76342         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76343         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76344         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76345         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76346         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76347         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76348         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76349         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76350         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76351         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76352         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76353         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76354         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76355         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76356         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76357         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76358         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76359         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76360         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76361         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76362         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76363         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76364         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76365         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76366         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76367         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76368         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76369         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76370         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76371         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76372         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76373         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76374         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76375         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76376         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76377         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76378         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76379         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76380         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76381         (__isnanf): Likewise.
76382         (__isinf_ns): Likewise.
76383         (__isinf_nsf): Likewise.
76384         (__finite): Likewise.
76385         (__finitef): Likewise.
76386         (__ieee754_sqrt): Define as macro.
76387         (__ieee754_sqrtf): Define as macro.
76388         (__ieee754_sqrtl): Define as macro.
76389         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76390         inlined copy.
76391         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76392         __FINITE_MATH_ONLY__ consistent.
76393         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76395 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76397         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76398         of rawmemchr.
76400         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76402 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76404         * po/ja.po: Update from translation team.
76406 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76408         * locale/programs/locarchive.c (prepare_address_space): New function.
76409         (create_archive, enlarge_archive, open_archive): Use it.
76411         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76412         inside [SHARED], where it is used.
76414         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76416         * nss/getent.c (netgroup_keys): Remove unused variable.
76417         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76419 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76421         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76422         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76423         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76424         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76425         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76426         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76427         * math/Makefile (libm-calls): Add s_isinf_ns.
76428         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76429         * math/multc3.c: Likewise.
76430         * math/s_casin.c: Likewise.
76431         * math/s_casinf.c: Likewise.
76432         * math/s_casinl.c: Likewise.
76433         * math/s_ccos.c: Likewise.
76434         * math/s_ccosf.c: Likewise.
76435         * math/s_ccosl.c: Likewise.
76436         * math/s_ctan.c: Likewise.
76437         * math/s_ctanf.c: Likewise.
76438         * math/s_ctanh.c: Likewise.
76439         * math/s_ctanhf.c: Likewise.
76440         * math/s_ctanhl.c: Likewise.
76441         * math/s_ctanl.c: Likewise.
76442         * math/w_fmod.c: Likewise.
76443         * math/w_fmodf.c: Likewise.
76444         * math/w_fmodl.c: Likewise.
76445         * math/w_remainder.c: Likewise.
76446         * math/w_remainderf.c: Likewise.
76447         * math/w_remainderl.c: Likewise.
76448         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76449         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76450         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76451         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76452         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76453         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76454         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76455         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76457         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76458         of the number.
76459         * stdio-common/printf_fphex.c: Likewise.
76460         * stdio-common/printf_size.c: Likewise.
76462         * math/e_exp10.c: Include math_private.h using <...> not "...".
76463         * math/e_exp10f.c: Likewise.
76464         * math/e_exp10l.c: Likewise.
76465         * math/e_exp2l.c: Likewise.
76466         * math/e_j0l.c: Likewise.
76467         * math/e_j1l.c: Likewise.
76468         * math/e_jnl.c: Likewise.
76469         * math/e_lgammal_r.c: Likewise.
76470         * math/e_rem_pio2l.c: Likewise.
76471         * math/e_scalb.c: Likewise.
76472         * math/e_scalbf.c: Likewise.
76473         * math/e_scalbl.c: Likewise.
76474         * math/k_cosl.c: Likewise.
76475         * math/k_sinl.c: Likewise.
76476         * math/k_tanl.c: Likewise.
76477         * math/s_cacoshf.c: Likewise.
76478         * math/s_catan.c: Likewise.
76479         * math/s_catanf.c: Likewise.
76480         * math/s_catanh.c: Likewise.
76481         * math/s_catanhf.c: Likewise.
76482         * math/s_catanhl.c: Likewise.
76483         * math/s_catanl.c: Likewise.
76484         * math/s_ccosh.c: Likewise.
76485         * math/s_ccoshf.c: Likewise.
76486         * math/s_ccoshl.c: Likewise.
76487         * math/s_cexp.c: Likewise.
76488         * math/s_cexpf.c: Likewise.
76489         * math/s_cexpl.c: Likewise.
76490         * math/s_clog.c: Likewise.
76491         * math/s_clog10.c: Likewise.
76492         * math/s_clog10f.c: Likewise.
76493         * math/s_clog10l.c: Likewise.
76494         * math/s_clogf.c: Likewise.
76495         * math/s_clogl.c: Likewise.
76496         * math/s_csin.c: Likewise.
76497         * math/s_csinf.c: Likewise.
76498         * math/s_csinh.c: Likewise.
76499         * math/s_csinhf.c: Likewise.
76500         * math/s_csinhl.c: Likewise.
76501         * math/s_csinl.c: Likewise.
76502         * math/s_csqrt.c: Likewise.
76503         * math/s_csqrtf.c: Likewise.
76504         * math/s_csqrtl.c: Likewise.
76505         * math/s_ctan.c: Likewise.
76506         * math/s_ctanf.c: Likewise.
76507         * math/s_ctanh.c: Likewise.
76508         * math/s_ctanhf.c: Likewise.
76509         * math/s_ctanhl.c: Likewise.
76510         * math/s_ctanl.c: Likewise.
76511         * math/s_ldexp.c: Likewise.
76512         * math/s_ldexpf.c: Likewise.
76513         * math/s_ldexpl.c: Likewise.
76514         * math/s_significand.c: Likewise.
76515         * math/s_significandf.c: Likewise.
76516         * math/s_significandl.c: Likewise.
76517         * math/w_acos.c: Likewise.
76518         * math/w_acosf.c: Likewise.
76519         * math/w_acosh.c: Likewise.
76520         * math/w_acoshf.c: Likewise.
76521         * math/w_acoshl.c: Likewise.
76522         * math/w_acosl.c: Likewise.
76523         * math/w_asin.c: Likewise.
76524         * math/w_asinf.c: Likewise.
76525         * math/w_asinl.c: Likewise.
76526         * math/w_atan2.c: Likewise.
76527         * math/w_atan2f.c: Likewise.
76528         * math/w_atan2l.c: Likewise.
76529         * math/w_atanh.c: Likewise.
76530         * math/w_atanhf.c: Likewise.
76531         * math/w_atanhl.c: Likewise.
76532         * math/w_cosh.c: Likewise.
76533         * math/w_coshf.c: Likewise.
76534         * math/w_coshl.c: Likewise.
76535         * math/w_dremf.c: Likewise.
76536         * math/w_exp10.c: Likewise.
76537         * math/w_exp10f.c: Likewise.
76538         * math/w_exp10l.c: Likewise.
76539         * math/w_exp2.c: Likewise.
76540         * math/w_exp2f.c: Likewise.
76541         * math/w_fmod.c: Likewise.
76542         * math/w_fmodf.c: Likewise.
76543         * math/w_fmodl.c: Likewise.
76544         * math/w_hypot.c: Likewise.
76545         * math/w_hypotf.c: Likewise.
76546         * math/w_hypotl.c: Likewise.
76547         * math/w_j0.c: Likewise.
76548         * math/w_j0f.c: Likewise.
76549         * math/w_j0l.c: Likewise.
76550         * math/w_j1.c: Likewise.
76551         * math/w_j1f.c: Likewise.
76552         * math/w_j1l.c: Likewise.
76553         * math/w_jn.c: Likewise.
76554         * math/w_jnf.c: Likewise.
76555         * math/w_jnl.c: Likewise.
76556         * math/w_lgamma.c: Likewise.
76557         * math/w_lgamma_r.c: Likewise.
76558         * math/w_lgammaf.c: Likewise.
76559         * math/w_lgammaf_r.c: Likewise.
76560         * math/w_lgammal.c: Likewise.
76561         * math/w_lgammal_r.c: Likewise.
76562         * math/w_log.c: Likewise.
76563         * math/w_log10.c: Likewise.
76564         * math/w_log10f.c: Likewise.
76565         * math/w_log10l.c: Likewise.
76566         * math/w_log2.c: Likewise.
76567         * math/w_log2f.c: Likewise.
76568         * math/w_log2l.c: Likewise.
76569         * math/w_logf.c: Likewise.
76570         * math/w_logl.c: Likewise.
76571         * math/w_pow.c: Likewise.
76572         * math/w_powf.c: Likewise.
76573         * math/w_powl.c: Likewise.
76574         * math/w_remainder.c: Likewise.
76575         * math/w_remainderf.c: Likewise.
76576         * math/w_remainderl.c: Likewise.
76577         * math/w_scalb.c: Likewise.
76578         * math/w_scalbf.c: Likewise.
76579         * math/w_scalbl.c: Likewise.
76580         * math/w_sinh.c: Likewise.
76581         * math/w_sinhf.c: Likewise.
76582         * math/w_sinhl.c: Likewise.
76583         * math/w_sqrt.c: Likewise.
76584         * math/w_sqrtf.c: Likewise.
76585         * math/w_sqrtl.c: Likewise.
76586         * math/w_tgamma.c: Likewise.
76587         * math/w_tgammaf.c: Likewise.
76588         * math/w_tgammal.c: Likewise.
76590         * po/ja.po: Update from translation team.
76592 2011-09-29  Andreas Jaeger  <aj@suse.de>
76594         [BZ #13179]
76595         * sunrpc/netname.c (netname2host): Fix logic.
76597         [BZ #6779]
76598         [BZ #6783]
76599         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76600         correctly.
76601         * math/w_remainder.c (__remainder): Likewise.
76602         * math/w_remainderf.c (__remainderf): Likewise.
76603         * math/libm-test.inc (remainder_test): Add test cases.
76605 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76607         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76608         sdiv_qrnnd.
76610 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76612         * string/test-memcmp.c: Avoid unncessary #defines.
76613         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76615 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76617         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76618         Use new sse2 version for core i3 - i7 as it's faster
76619         than sse42 version.
76620         (bit_Prefer_PMINUB_for_stringop): New.
76621         * sysdeps/x86_64/rawmemchr.S: Update.
76622         Replace with faster SSE2 version.
76623         * sysdeps/x86_64/memrchr.S: New file.
76624         * sysdeps/x86_64/memchr.S: Update.
76625         Replace with faster SSE2 version.
76627 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76629         * elf/dl-load.c (lose): Add cast to avoid warning.
76631 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76633         * po/ca.po: Update from translation team.
76635         * inet/getnetgrent_r.c: Hook up nscd.
76636         * nscd/Makefile (routines): Add nscd_netgroup.
76637         (nscd-modules): Add netgroupcache.
76638         (CFLAGS-netgroupcache.c): Define.
76639         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76640         (cache_search): Add const to second parameter.
76641         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76642         INNETGR.
76643         (dbs): Add netgrdb entry.
76644         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76645         (verify_persistent_db): Handle netgrdb.
76646         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76647         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76648         GETFDNETGR.
76649         (netgroup_response_header): Define.
76650         (innetgroup_response_header): Define.
76651         (datahead): Add netgroup_response_header and innetgroup_response_header
76652         elements.
76653         * nscd/nscd.conf: Add entries for netgroup cache.
76654         * nscd/nscd.h (dbtype): Add netgrdb.
76655         (_PATH_NSCD_NETGROUP_DB): Define.
76656         (netgroup_iov_disabled): Declare.
76657         (xmalloc, xcalloc, xrealloc): Move declarations here.
76658         (cache_search): Adjust prototype.
76659         Add netgroup-related prototypes.
76660         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76661         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76662         (__nscd_innetgr): Declare.
76663         * nscd/selinux.c (perms): Use access_vector_t as element type and
76664         add netgroup-related initializers.
76665         * nscd/netgroupcache.c: New file.
76666         * nscd/nscd_netgroup.c: New file.
76667         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76668         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76669         For four parameters use innetgr.
76670         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76671         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76672         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76673         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76675         * nscd/connections.c (register_traced_file): Don't register file
76676         for disabled databases.
76678 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76680         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76682         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76683         from tree and freeing node.
76685 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76687         * nss/nsswitch.c (__nss_database_lookup): Handle
76688         nss_parse_service_list out of memory case.
76690 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76692         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76693         out of memory case.
76695 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76697         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76698         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76699         pass it down.
76700         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76701         elf_machine_rela, elf_machine_lazy_rel.
76702         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76703         (ELF_DYNAMIC_DO_REL): Likewise.
76704         (ELF_DYNAMIC_DO_RELA): Likewise.
76705         (ELF_DYNAMIC_RELOCATE): Likewise.
76706         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76707         to ELF_DYNAMIC_DO_REL.
76708         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76709         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76710         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76711         elf_machine_rela.
76712         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76713         skip_ifunc, don't call ifunc function if non-zero.
76714         (elf_machine_rela): Likewise.
76715         (elf_machine_lazy_rel): Likewise.
76716         (elf_machine_lazy_rela): Likewise.
76717         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76718         (elf_machine_lazy_rel): Likewise.
76719         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76720         Likewise.
76721         (elf_machine_lazy_rel): Likewise.
76722         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76723         Likewise.
76724         (elf_machine_lazy_rel): Likewise.
76725         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76726         (elf_machine_lazy_rel): Likewise.
76727         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76728         (elf_machine_lazy_rel): Likewise.
76729         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76730         (elf_machine_lazy_rel): Likewise.
76731         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76732         (elf_machine_lazy_rel): Likewise.
76733         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76734         (elf_machine_lazy_rel): Likewise.
76735         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76736         (elf_machine_lazy_rel): Likewise.
76738 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76740         * nss/nss_files/files-init.c (_nss_files_init): Use static
76741         initialization for all the *_traced_file variables.
76743 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76745         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76747 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76749         [BZ #13226]
76750         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76752 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76754         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76755         Reread the line before reparsing it.
76757 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76759         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76761 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76762             Maxim Kuvyrkov  <maxim@codesourcery.com>
76763             Joseph Myers  <joseph@codesourcery.com>
76765         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76766         if needed for __stack_chk_guard.
76768 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76770         * sysdeps/posix/spawni.c (script_execute): Always define it.
76771         It will be optimized away if unused.
76772         (maybe_script_execute): New function.
76773         (__spawni): Call it.
76775         * Makerules: Don't include tls.make.
76776         (config-tls): Always set to thread.
76777         * tls.make.c: File removed.
76779 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76781         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76782         * config.make.in (CPPFLAGS-config): New substituted variable.
76784 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76786         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76788         [BZ #13192]
76789         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76790         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76792 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76794         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76795         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76796         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76797         (CALL_FAIL): Likewise.
76798         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76799         (CALL_FAIL): Macro removed.
76800         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76802 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76804         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76805         for __FINITE_MATH_ONLY__ == 1.
76807 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76809         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76810         __ieee754_sqrt instead of sqrt.
76811         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76812         __ieee754_sqrtf instead of sqrtf.
76813         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76814         __floorf instead of floorf.
76815         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76816         __floorf, __truncf instead of floorf, truncf.
76818 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76820         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76822         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76823         __extern_always_inline.
76824         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76825         32-bit.
76827 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76829         * elf/rtld.c (dl_main): Also relocate in dependency order when
76830         doing symbol dependency testing.
76832 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76834         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76835         Always define `refsym'.
76837 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76839         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76840         (__FD_ELT): Renamed from __FDELT.
76841         * misc/bits/select2.h (__FD_ELT): Likewise.
76842         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76843         __FD_MASK instead of __FDELT, __FDMASK.
76844         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76845         Likewise.
76846         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76847         Likewise.
76849         * elf/Makefile (gen-ldd): Fix pattern.
76851         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76852         (init_tls): Likewise.
76854 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76856         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76858 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76860         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76861         `struct cmsghdr *' instead of `void *'.
76862         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76863         Likewise.
76865 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76867         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76868         if non-absolute.
76869         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76870         ldd_rewrite_script.
76872 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76874         * configure.in: Remove --with-tls option.
76875         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76876         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76877         out in case it is missing.
76878         * sysdeps/ia64/elf/configure.in: Likewise.
76879         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76880         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76881         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76882         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76883         * sysdeps/sh/elf/configure.in: Likewise.
76884         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76885         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76886         * sysdeps/x86_64/elf/configure.in: Likewise.
76887         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76888         * sysdeps/mach/hurd/tls.h: Likewise.
76890         [BZ #13067]
76891         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76893         [BZ #13090]
76894         * configure.in: Fix use of AC_INIT.
76896         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76898 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76900         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76901         __set_errno.
76902         * malloc/hooks.c: Likewise.
76904         [BZ #11929]
76905         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76906         variables statically.
76907         (narenas): Initialize.
76908         (list_lock): Initialize.
76909         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76910         initializtion of main_arena and list_lock.  Small cleanups.
76911         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76912         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76913         Add initializers to main_arena and mp_.
76914         (malloc_state): Remove pagesize member.  Change all users to use
76915         GLRO(dl_pagesize).
76917         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76918         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76919         is always initialized.
76921         * malloc/malloc.c: Removed unused configurations and dead code.
76922         * malloc/arena.c: Likewise.
76923         * malloc/hooks.c: Likewise.
76924         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76926         * include/tls.h: Removed.  USE___THREAD must always be defined.
76927         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76928         * elf/dl-libc.c: Likewise.
76929         * elf/dl-tsd.c: Likewise.
76930         * include/errno.h: Likewise.
76931         * include/netdb.h: Likewise.
76932         * include/resolv.h: Likewise.
76933         * inet/herrno-loc.c: Likewise.
76934         * inet/herrno.c: Likewise.
76935         * malloc/arena.c: Likewise.
76936         * malloc/hooks.c: Likewise.
76937         * malloc/malloc.c: Likewise.
76938         * resolv/res-state.c: Likewise.
76939         * resolv/res_libc.c: Likewise.
76940         * sysdeps/i386/dl-machine.h: Likewise.
76941         * sysdeps/ia64/dl-machine.h: Likewise.
76942         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76943         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76944         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76945         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76946         * sysdeps/sh/dl-machine.h: Likewise.
76947         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76948         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76949         * sysdeps/unix/i386/sysdep.S: Likewise.
76950         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76951         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76953         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76954         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76955         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76956         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76957         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76958         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76959         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76960         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76961         * sysdeps/x86_64/dl-machine.h: Likewise.
76962         * tls.make.c: Likewise.
76964         * configure.in: Remove --with-__thread option.  Make tests for
76965         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76966         tls_model attribute fail if no support is available.  Remove
76967         USE_IN_LIBIO.
76968         * Makeconfig: Adjust for dropped configure option.  All features are
76969         now mandatory.
76970         * Makerules: Likewise.
76971         * Versions.def: Likewise.
76972         * argp/argp-fmtstream.c: Likewise.
76973         * argp/argp-fmtstream.h: Likewise.
76974         * argp/argp-help.c: Likewise.
76975         * assert/assert.c: Likewise.
76976         * config.h.in: Likewise.
76977         * config.make.in: Likewise.
76978         * configure: Likewise.
76979         * configure.in: Likewise.
76980         * csu/Versions: Likewise.
76981         * csu/init.c: Likewise.
76982         * elf/tst-audit2.c: Likewise.
76983         * elf/tst-tls10.c: Likewise.
76984         * elf/tst-tls10.h: Likewise.
76985         * elf/tst-tls11.c: Likewise.
76986         * elf/tst-tls12.c: Likewise.
76987         * elf/tst-tls14.c: Likewise.
76988         * elf/tst-tlsmod11.c: Likewise.
76989         * elf/tst-tlsmod12.c: Likewise.
76990         * elf/tst-tlsmod13.c: Likewise.
76991         * elf/tst-tlsmod13a.c: Likewise.
76992         * elf/tst-tlsmod14a.c: Likewise.
76993         * elf/tst-tlsmod15b.c: Likewise.
76994         * elf/tst-tlsmod16a.c: Likewise.
76995         * elf/tst-tlsmod16b.c: Likewise.
76996         * elf/tst-tlsmod7.c: Likewise.
76997         * elf/tst-tlsmod8.c: Likewise.
76998         * elf/tst-tlsmod9.c: Likewise.
76999         * gmon/gmon.c: Likewise.
77000         * grp/fgetgrent_r.c: Likewise.
77001         * grp/putgrent.c: Likewise.
77002         * hurd/fopenport.c: Likewise.
77003         * include/libc-symbols.h: Likewise.
77004         * include/tls.h: Likewise.
77005         * intl/gettextP.h: Likewise.
77006         * intl/loadinfo.h: Likewise.
77007         * locale/global-locale.c: Likewise.
77008         * locale/localeinfo.h: Likewise.
77009         * mach/devstream.c: Likewise.
77010         * malloc/arena.c: Likewise.
77011         * malloc/set-freeres.c: Likewise.
77012         * misc/err.c: Likewise.
77013         * misc/getttyent.c: Likewise.
77014         * misc/mntent_r.c: Likewise.
77015         * posix/getopt.c: Likewise.
77016         * posix/wordexp.c: Likewise.
77017         * pwd/fgetpwent_r.c: Likewise.
77018         * resolv/Versions: Likewise.
77019         * resolv/res_hconf.c: Likewise.
77020         * shadow/fgetspent_r.c: Likewise.
77021         * shadow/putspent.c: Likewise.
77022         * stdio-common/printf_fphex.c: Likewise.
77023         * stdio-common/tmpfile.c: Likewise.
77024         * stdlib/abort.c: Likewise.
77025         * stdlib/fmtmsg.c: Likewise.
77026         * sunrpc/auth_unix.c: Likewise.
77027         * sunrpc/clnt_perr.c: Likewise.
77028         * sunrpc/clnt_tcp.c: Likewise.
77029         * sunrpc/clnt_udp.c: Likewise.
77030         * sunrpc/clnt_unix.c: Likewise.
77031         * sunrpc/openchild.c: Likewise.
77032         * sunrpc/svc_simple.c: Likewise.
77033         * sunrpc/svc_tcp.c: Likewise.
77034         * sunrpc/svc_udp.c: Likewise.
77035         * sunrpc/svc_unix.c: Likewise.
77036         * sunrpc/xdr.c: Likewise.
77037         * sunrpc/xdr_array.c: Likewise.
77038         * sunrpc/xdr_rec.c: Likewise.
77039         * sunrpc/xdr_ref.c: Likewise.
77040         * sunrpc/xdr_stdio.c: Likewise.
77042 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77044         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77046 2011-07-03  Andreas Jaeger  <aj@suse.de>
77048         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
77049         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
77050         regenerate with gen-libm-tests.pl.
77052 2010-05-12  Petr Baudis  <pasky@suse.cz>
77054         [BZ #11589]
77055         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
77056         around j0() zero points by switching to j1().
77057         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77058         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77059         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77060         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77062 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77064         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
77065         instead of 0.
77066         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
77067         instead of 0.
77068         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77069         Patch in part by Pavel Roskin <proski@gnu.org>.
77071         [BZ #13138]
77072         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
77073         realloc.
77074         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
77075         Free memory block if necessary.
77077         [BZ #12847]
77078         * libio/genops.c (INTDEF): For string streams the _lock pointer can
77079         be NULL.  Don't lock in this case.
77081 2011-09-09  Roland McGrath  <roland@hack.frob.com>
77083         * elf/elf.h (ELFOSABI_GNU): New macro.
77084         (ELFOSABI_LINUX): Define to that.
77086 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
77088         * string/strncat.c (strncat): Undef the symbol in case it has been
77089         defined in bits/string.h.
77091 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77093         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
77095         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
77096         link map.
77098 2011-08-17  Andreas Jaeger  <aj@suse.de>
77100         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
77102 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
77103             Ian Lance Taylor  <iant@google.com>
77105         * math/libm-test.inc (lround_test): New testcase.
77106         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
77108 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
77110         * Makefile: Remove support for automatic cvs check-ins.
77111         * Makerules: Likewise.
77112         * config.make.in: Likewise.
77113         * configure.in: Likewise.
77114         * intl/Makefile: Likewise.
77115         * locale/Makefile: Likewise.
77116         * po/Makefile: Likewise.
77117         * posix/Makefile: Likewise.
77118         * sysdeps/gnu/Makefile: Likewise.
77119         * sysdeps/mach/hurd/Makefile: Likewise.
77120         * sysdeps/sparc/sparc32/Makefile: Likewise.
77122         [BZ #13118]
77123         * posix/Makefile (bug-regex32-ENV): Define.
77124         Patch by John Stanley <jpsinthemix@verizon.net>.
77126         * misc/Makefile (headers): Add bits/select2.h.
77127         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77128         * misc/bits/select2.h: New file.
77129         * include/bits/select2.h: New file.
77130         * debug/Makefile (routines): Add fdelt_chk.
77131         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77132         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77133         FD_ISSET.
77134         * debug/fdelt_chk.c: New file.
77136         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
77137         * wcsmbs/test-wmemcmp.c: Likewise.
77138         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77139         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
77141 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77143         * string/Makefile (strop-tests): Add memcmp.
77144         * string/test-wmemcmp.c: New file.
77145         * string/test-memcmp.c: Add wmemcmp support.
77147 2011-09-08  Roland McGrath  <roland@hack.frob.com>
77149         [BZ #13153]
77150         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
77151         2011-07-19 change.
77153         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
77154         garbage value in a __mach_port_mod_refs call in the cases of the
77155         task-self and thread-self ports.
77157 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77159         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77161 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77163         * elf/dl-load.c (lose): Check for non-null L.
77165 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77167         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77169         * elf/dl-libc.c (dlerror_run): Pass back error code from
77170         dl_catch_error.
77172         [BZ #13123]
77173         * elf/dl-load.c (lose): Free l_origin if it is valid.
77175         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77176         names.
77177         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77178         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77179         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77180         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77181         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77182         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77184 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77186         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77187         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77188         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77189         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77190         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77191         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77192         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77193         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77194         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77195         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77197 2011-08-15  Alan Modra  <amodra@gmail.com>
77199         [BZ #13092]
77200         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77201         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77202         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77203         ppc_mcount to static-only-routines.
77204         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77205         __mcount_internal.
77206         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77207         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77209 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77211         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77212         for finite and infinity parameters.
77214 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77216         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77217         and add nop instructions for throughput optimization.
77218         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77220 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77222         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77223         aligned copy for power7 with vector-scalar instructions.
77224         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77226 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77228         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77229         AVX check.
77231 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77233         [BZ #13144]
77234         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77235         last change.
77237 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77239         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77240         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77241         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77242         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77243         clock_gettime.
77245 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77247         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77248         Forgot to demangle the pointer.
77250         * sysdeps/i386/sysdep.h: Define atom_text_section.
77251         * sysdeps/x86_64/sysdep.h: Likewise.
77252         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77253         section with atom_text_section.
77254         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77255         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77256         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77257         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77258         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77260         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77261         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77262         already be defined.  Change to take two parameters and don't assign
77263         result to variable.  Adjust all users.
77264         Define INTERNAL_GETTIME if not already defined.
77265         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77266         call.
77267         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77268         HAVE_CLOCK_GETTIME_VSYSCALL.
77269         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77271         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77272         gettimeofday vsyscall, just use time.
77274 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77276         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77277         <errno.h>.
77279 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77281         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77282         syscall on x86-64.
77283         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77284         syscall.
77285         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77286         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77287         syscall if possible.
77289 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77291         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77292         e_ident.  Don't pass to find_mapsXX.
77293         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77295 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77297         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77298         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77299         * sysdeps/x86_64/multiarch/strchr.S: Update.
77300         Check bit_slow_BSF bit.
77301         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77302         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77303         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77305 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77307         [BZ #13134]
77308         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77309         before glibc 2.15.
77310         (tryshell): Define.
77311         (__spawni): Change last parameter to be flag.  Test
77312         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77313         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77314         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77315         * posix/spawni.c: Likewise.
77316         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77317         * posix/spawnp.c: Likewise.  Change normal version to use
77318         SPAWN_XFLAGS_USE_PATH.
77319         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77320         SPAWN_XFLAGS_TRY_SHELL.
77322         [BZ #13150]
77323         * posix/glob.h: Remove gcc 1.x support.
77325         [BZ #13068]
77326         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77328 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77330         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77331         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77332         strrchr-sse2-bsf
77333         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77334         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77335         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77336         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77337         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77338         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77340 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77342         * sysdeps/x86_64/wcscmp.S: New file.
77344         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77345         wcscmp-c wcscmp-sse2
77346         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77347         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77348         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77349         * wcsmbs/wcscmp.c: Allow renaming.
77351 2011-09-05  David S. Miller  <davem@davemloft.net>
77353         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77354         stack slot, rather than the struct return pointer slot.
77355         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77356         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77358         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77360 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77362         * po/ja.po: Update from translation team.
77364         [BZ #13144]
77365         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77366         kernel in 64-bit binaries.
77368 2011-09-01  David S. Miller  <davem@davemloft.net>
77370         * elf/elf.h (HWCAP_SPARC_*): Move to..
77371         * sysdeps/sparc/sysdep.h: this new file and add new values.
77372         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77373         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77374         _DL_HWCAP_COUNT to 24.
77375         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77376         entries.
77377         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77378         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77379         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77380         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77381         instead of magic constants.
77382         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77384 2011-08-31  David S. Miller  <davem@davemloft.net>
77386         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77387         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77388         Reimplement to do errno handling inline.
77389         (SYSCALL_ERROR_HANDLER): New macro.
77390         (__SYSCALL_STRING): Do not do errno handling in asm.
77391         (__CLONE_SYSCALL_STRING): Delete.
77392         (__INTERNAL_SYSCALL_STRING): Delete.
77393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77394         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77395         (PSEUDO): Reimplement to do errno handling inline.
77396         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77397         (SYSCALL_ERROR_HANDLER): New macro.
77398         (__SYSCALL_STRING): Do not do errno handling in asm.
77399         (__CLONE_SYSCALL_STRING): Delete.
77400         (__INTERNAL_SYSCALL_STRING): Delete.
77401         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77402         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77403         i386.
77404         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77405         (inline_syscall*): Add 'err' argument.
77406         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77407         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77408         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77409         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77411         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77412         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77414 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77416         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77418 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77420         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77421         directive.
77423 2011-08-24  David S. Miller  <davem@davemloft.net>
77425         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77427 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77429         * elf/Makefile: Add rules to build and run unload8 test.
77430         * elf/unload8.c: New file.
77431         * elf/unload8mod1.c: New file.
77432         * elf/unload8mod1x.c: New file.
77433         * elf/unload8mod2.c: New file.
77434         * elf/unload8mod3.c: New file.
77436         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77437         it wasn't used.
77439 2011-08-23  David S. Miller  <davem@davemloft.net>
77441         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77442         subtract stack bias.
77443         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77444         %sp not %fp in calculations.
77445         (_JMPBUF_UNWINDS_ADJ): Likewise.
77447         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77448         (aio_suspend): Call it to force an exception region around the
77449         AIO_MISC_WAIT() invocation.
77451 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77453         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77454         backslash.
77456 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77458         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77459         protection macro.
77460         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77461         and <dl-machine.h>.
77462         (Elf64_FuncDesc): Remove.
77464 2011-08-22  David S. Miller  <davem@davemloft.net>
77466         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77467         sigaltstack check, add missing cfi directives.
77468         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77469         missing cfi directives, and sigaltstack handling.
77471 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77473         [BZ #11724]
77474         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77475         object is seen twice.
77476         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77478         * elf/Makefile (distribute): Add tst-initorder2.c.
77479         (tests): Add tst-initorder2.
77480         (modules-names): Add tst-initorder2a tst-initorder2b
77481         tst-initorder2c tst-initorder2d.  Add rules to build them.
77482         ($(objpfx)tst-initorder2.out): New rule.
77483         * elf/tst-initorder2.c: New file.
77484         * elf/tst-initorder2.exp: New file.
77486 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77488         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77490         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77491         dependencies back to end of function.
77493         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77494         $(elfobjdir)/ld.so.
77496 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77498         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77499         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77500         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77501         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77502         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77503         of __vdso_gettimeofday.
77504         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77505         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77506         attribute_hidden.
77507         (_libc_vdso_platform_setup): Remove initialization of
77508         __vdso_gettimeofday and __vdso_time.
77510 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77512         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77513         and fgetc_unlocked.
77514         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77515         getc_unlocked.
77517         * elf/dl-open.c (add_to_global): Report additions to the global scope
77518         for LD_DEBUG=scopes.
77519         (dl_open_worker): Also print scope of newly loaded dependencies.
77520         (_dl_show_scope): Indicate if there is no scope.
77522         [BZ #13114]
77523         * stdio-common/Makefile (tests): Add bug24.
77524         * stdio-common/bug24.c: New file.
77526 2011-08-19  Andreas Jaeger  <aj@suse.de>
77528         [BZ #13114]
77529         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77530         non-existant file when using close-on-exec mode.
77532 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77534         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77535         the very first instruction.
77537         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77538         the CFI state in the end.
77539         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77540         inclusion of dl-trampoline.h.
77541         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77543 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77545         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77546         expectations for long double.
77548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77549         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77551 2011-08-14  David S. Miller  <davem@davemloft.net>
77553         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77554         artificual limit depends upon the system page size.
77556 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77558         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77559         * resolv/Makefile: Define CFLAGS-libresolv.
77561 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77563         * nss/makedb.c (compute_tables): Make variables used in nested
77564         function static.
77566 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77568         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77569         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77570         if buffer was too small.
77572         * elf/pldd.c (main): Attach to all threads in the process.
77573         Rewrite /proc handling to use *at functions.
77575 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77577         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77578         specifies first scope to show.
77579         (dl_open_worker): Update callers.  Move printing scope of new
77580         object to before the relocation.
77581         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77582         * sysdeps/generic/ldsodefs.h: Update declaration.
77584         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77585         string for the scope number.
77587 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77589         * nscd/servicescache.c (cache_addserv): Make sure written is always
77590         initialized.
77592 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77594         * sysdeps/i386/i486/bits/atomic.h
77595         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77596         statement expression, so as to suppress "set but not used" warning.
77597         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77599         * string/strncat.c (STRNCAT): Use prototype definition.
77601         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77602         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77603         -Iprograms here.
77604         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77605         (localedef-modules): Add localedef.
77606         (locale-modules): Add locale.
77608         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77609         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77610         to avoid a warning.
77612 2011-08-14  David S. Miller  <davem@davemloft.net>
77614         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77615         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77617 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77619         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77620         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77621         * elf/rtld.c (dl_main): Set l_name of vDSO.
77622         Call _dl_show_scope when DL_DEBUG_SCOPES.
77623         (process_dl_debug): Recognize scopes flag and also set it for all.
77624         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77625         Declare _dl_show_scope.
77627         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77628         (do_dlopen): Pass caller_dlopen to dl_open.
77629         (__libc_dlopen_mode): Initialize caller_dlopen.
77631         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77632         of libc.  Make tolower call locale-independent.  Optimize a bit by
77633         using isdigit instead of isalnum.
77634         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77636 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77638         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77639         was a dependency or dynamically loaded.
77641 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77643         * intl/l10nflist.c: Allow architecture-specific pop function.
77644         * sysdeps/x86_64/l10nflist.c: New file.
77646         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77647         classification.
77649 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77651         * include/dirent.h: Add libc_hidden_proto for scandirat and
77652         scandirat64.  Don't declare __scandirat64.
77653         * dirent/scandirat.c: Add libc_hidden_def.
77654         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77655         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77657 2011-08-10  David S. Miller  <davem@davemloft.net>
77659         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77660         enum.
77661         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77662         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77663         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77665 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77667         * Versions.def [libc]: Add GLIBC_2.15.
77668         * dirent/Makefile (routines): Add scandirat and scandirat64.
77669         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77670         GLIBC_2.15.
77671         * dirent/dirent.h: Declare scandirat and scandirat64.
77672         * dirent/scandirat.c: New file.
77673         * dirent/scandirat64.c: New file.
77674         * sysdeps/wordsize-64/scandirat.c: New file.
77675         * sysdeps/wordsize-64/scandirat64.c: New file.
77676         * dirent/opendir.c: Define opendirat.
77677         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77678         using scandirat.
77679         * dirent/scandir64.c: Adjust for scandir.c change.
77680         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77681         __scandirat64, and __scandir_cancel_handler.
77682         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77683         additional parameter and use openat instead of open (outside of ld.so).
77684         Add new __opendir as wrapper around __opendirat.
77685         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77686         here without requiring old scandirat implementation.
77688 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77690         * dirent/scandir.c (cancel_handler): Renamed to
77691         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77692         defined.  Adjust users.
77693         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77694         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77696 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77698         * string/test-string.h (IMPL): Use __STRING to expand name and then
77699         stringify it.
77701         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77702         of cleanups.
77704 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77706         * string/Makefile: Update.
77707         (strop-tests): Append strncat.
77708         * string/test-wcscmp.c: New file.
77709         New comprehensive test for wcscmp.
77710         * string/test-strcmp.c: Update.
77711         (WIDE): New define.
77713 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77715         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77716         line.
77718 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77721         encoding to ACE if AI_IDN.
77723 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77725         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77726         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77728 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77730         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77731         Fix overflow bug in strncat.
77732         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77734         * string/test-strncat.c: Update.
77735         Add new tests for checking overflow bugs.
77737 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77739         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77740         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77741         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77742         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77743         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77744         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77745         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77746         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77747         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77749         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77750         (USE_AS_STRCAT): Define.
77751         Add strcat and strncat support.
77752         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77754 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77756         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77757         __n bigger than INT_MAX+1.
77758         (__strncmp_g): Likewise.
77760 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77762         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77763         * libio/stido.h: Likewise.
77765         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77766         (AF_NFC): Define.
77767         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77768         (AF_NFC): Define.
77770         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77771         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77772         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77773         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77774         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77776         [BZ #13021]
77777         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77778         installed.
77780         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77781         typo.
77782         (_dl_x86_64_save_sse): Likewise.
77784 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77786         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77787         OSXSAVE.
77788         (_dl_x86_64_save_sse): Likewise.
77790         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77792         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77794 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77796         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77797         change.
77798         (_dl_x86_64_save_sse): Use correct AVX check.
77800 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77802         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77803         bug in strncpy/strncat.
77804         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77806 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77808         * string/tester.c (test_strcat): Add tests for different alignments
77809         of source and destination.
77810         (test_strncat): Likewise.
77812 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77814         [BZ #12852]
77815         * posix/glob.c (glob): Check passed in values before using them in
77816         expressions to avoid some overflows.
77817         (glob_in_dir): Likewise.
77819         [BZ #13007]
77820         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77821         check for AVX enablement so that we don't crash with old kernels and
77822         new hardware.
77823         * elf/tst-audit4.c: Add same checks here.
77824         * elf/tst-audit6.c: Likewise.
77826         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77828 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77830         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77832 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77834         * po/cs.po: Update from translation team.
77835         * po/bg.po: Likewise.
77837 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77839         * misc/sys/cdefs.h: Add support for const attribute.
77840         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77841         to gnu_dev_{major,minor,makedev} functions.
77843 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77845         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77847 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77849         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77850         strlen results.
77852 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77855         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77856         register in order to avoid conflicts with the soft frame pointer
77857         being held in r11 when necessary.
77858         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77859         (INTERNAL_VSYSCALL_NCS): Likewise.
77861 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77863         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77864         * elf/dl-fini.c (_dl_fini): Adjust caller.
77865         * elf/dl-close.c (_dl_close_worker): Likewise.
77866         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77868 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77870         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77871         "aux_cache->nlibs < 0".
77873         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77874         in the reload-count case.
77876 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77878         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77879         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77880         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77881         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77882         * sysdeps/x86_64/multiarch/strcat.S: New file.
77883         * sysdeps/x86_64/multiarch/strncat.S: New file.
77884         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77885         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77886         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77887         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77888         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77889         (USE_AS_STRCAT): Define.
77890         Add strcat and strncat support.
77891         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77892         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77893         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77894         * string/strncat.c: Update.
77895         (USE_AS_STRNCAT): Define.
77896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77897         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77898         and i7.
77899         * sysdeps/x86_64/multiarch/init-arch.h
77900         (bit_Prefer_PMINUB_for_stringop): New.
77901         (index_Prefer_PMINUB_for_stringop): Likewise.
77902         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77903         bit_Prefer_PMINUB_for_stringop.
77905 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77907         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77908         buffer64.
77909         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77910         of casting of buffer.
77911         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77912         buffer32 and buffer64.
77913         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77914         writes instead of casting of buffer.
77915         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77916         buffer32.
77917         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77918         casting of buffer.
77920 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77922         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77924 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77926         * nscd/nscd.c (termination_handler): Don't do anything for a database
77927         if it has not yet been initialized.
77929 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77931         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77933 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77935         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77937 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77939         * po/nl.po: Update from translation team.
77940         * po/sv.po: Likewise.
77942 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77944         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77945         now disallowed by GCC.
77947         * configure.in (use-default-link): Default to yes if a test -shared
77948         link meets our qualifications.
77949         * configure: Regenerated.
77951         * config.make.in (output-format): New variable.
77952         * configure.in: Check for ld --print-output-format support.
77953         * configure: Regenerated.
77954         * Makerules ($(common-objpfx)format.lds)
77955         [$(output-format) != unknown]: Just use $(output-format),
77956         instead of the linker-script munging.
77958 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77960         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77961         of $(common-objpfx)shlib.lds.
77962         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77964         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77965         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77967         * configure.in (-z relro check): Adjust test code to add a large
77968         writable data section after it.
77969         * configure: Regenerated.
77971 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77973         * configure.in (-z relro check): Fix test code to make the variable
77974         truly const.
77975         * configure: Regenerated.
77977 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77979         * nscd/nscd.h (struct traced_file): Define.
77980         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77981         elements.  Add traced_files.
77982         (inotify_fd): Declare.
77983         (register_traced_file): Declare.
77984         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77985         (inotify_fd): Export.
77986         (resolv_conf_descr): Remove.
77987         (nscd_init): Move inotify descriptor creation to main.
77988         Don't register files for notification here.
77989         (register_traced_file): New function.
77990         (invalidate_cache): Don't use reset_res to determine whether to call
77991         res_init, go through the list of registered files.
77992         (main_loop_poll): The inotify descriptors are now stored in the
77993         structures for the traced files.
77994         (main_loop_epoll): Likewise.
77995         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77996         to __nss_disable_nscd.
77997         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77998         for a database anymore.  Check the records for all the registered
77999         files instead.
78000         * nss/Makefile (libnss_files-routines): Add files-init.
78001         (libnss_db-routines): Add db-init.
78002         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
78003         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
78004         * nss/nss_db/db-init.c: New file.
78005         * nss/nss_files/files-init.c: New file.
78006         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
78007         __nss_lookup_function.
78008         (__nss_lookup_function): Call nss_load_library.
78009         (nss_load_all_libraries): New function.
78010         (__nss_disable_nscd): Take parameter with callback function for files
78011         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
78012         used for the cached services.
78013         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
78014         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
78015         options for features to all the files in nscd.
78017         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
78019 2011-07-10  Roland McGrath  <roland@hack.frob.com>
78021         * csu/elf-init.c (__libc_csu_init): Comment typo.
78023 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
78025         * po/pl.po: Update from translation team.
78026         * po/ja.po: Likewise.
78027         * po/ru.po: Likewise.
78028         * po/ko.po: Likewise.
78029         * po/fr.po: Likewise.
78031 2011-07-09  Roland McGrath  <roland@hack.frob.com>
78033         * configure.in (.ctors/.dtors header and trailer check):
78034         Use an empirical test on a built program.
78035         * configure: Regenerated.
78037         * configure.in (-z relro check): Use an empirical test on a built DSO.
78038         Detect, but do not require, on ia64.
78039         * configure: Regenerated.
78041         * configure.in (READELF): Find it with AC_CHECK_TOOL.
78042         Update tests that use readelf to use $READELF instead.
78043         * configure: Regenerated.
78045 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
78047         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
78048         if the result is not used.
78050 2011-07-05  Andreas Jaeger  <aj@suse.de>
78052         [BZ#9696]
78053         * stdlib/tst-strtod.c: Add testcase.
78055 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
78057         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
78058         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
78059         The latter has a higher limit.  Take additional parameter to pass to
78060         the new function.
78061         (__pathconf): Pass file to __statfs_link_max.
78062         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
78063         __statfs_link_max.
78064         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
78065         __statfs_link_max.
78067         [BZ #12868]
78068         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
78069         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78070         Handle Lustre.
78071         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
78072         (__statfs_filesize_max): Likewise.
78073         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
78075 2011-07-05  Andreas Jaeger  <aj@suse.de>
78077         * resolv/res_comp.c (dn_skipname): Remove unused variable.
78079 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
78081         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
78082         `status' variable.
78083         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
78084         Likewise.
78086 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
78088         * Makefile (strop-tests): Add strncat.
78089         * string/test-strncat.c: New file.
78091 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
78093         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
78095 2011-06-21  Andreas Jaeger  <aj@suse.de>
78097         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
78098         Copy rule from iconvdata/Makefile.
78100 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78102         [BZ #12922]
78103         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
78104         but no long options are defined, just return 'W'.
78106 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
78108         [BZ #9696]
78109         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
78111 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78113         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
78114         netgroups to read.
78115         (innetgr): Likewise.
78117 2011-07-05  Roland McGrath  <roland@hack.frob.com>
78119         * config.make.in (install_root): Default to $(DESTDIR).
78121 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
78123         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78125 2011-07-02  Roland McGrath  <roland@hack.frob.com>
78127         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78129         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78130         containing directory rather than embedding absolute directory names.
78132         * scripts/check-local-headers.sh: Rewritten using awk.
78133         Match by word, not by line.  Print error messages for matches.
78134         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78136         * Makerules [shlib-lds-flags empty]:
78137         ($(common-objpfx)libc_pic.opts): New target.
78138         ($(common-objpfx)libc_pic.os.clean): New target.
78139         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
78141         * config.make.in (OBJCOPY): New variable.
78142         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
78143         * configure: Regenerated.
78145         * config.make.in (use-default-link): New variable.
78146         * configure.in (use_default_link): Grok --with-default-link to set it.
78147         * configure: Regenerated.
78148         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
78149         (shlib-lds, shlib-lds-flags): Define to empty.
78151         * Makerules (shlib-lds): New variable.
78152         (shlib-lds-flags): New variable.
78153         (build-shlib, build-moduile, build-module-asneeded): Use it.
78154         ($(common-objpfx)libc.so): Use $(shlib-lds).
78155         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78156         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78158         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78159         DT_FLAGS/DT_FLAGS_1 with zero flags.
78161         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78162         linker script munging.
78164 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78166         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78167         as 128-bit value.
78168         * crypt/sha512.c (sha512_process_block): Perform total addition using
78169         128-bit if possible.
78170         (__sha512_finish_ctx): Likewise.
78171         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78172         as 64-bit value.
78173         * crypt/sha256.c (SWAP64): Define.
78174         (sha256_process_block): Perform total addition using 64-bit if
78175         possible.
78176         (__sha256_finish_ctx): Likewise.
78178 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78180         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78181         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78182         * nscd/hstcache.c (cache_addhst): Likewise.
78183         * nscd/grpcache.c (cache_addgr): Likewise.
78184         * nscd/aicache.c (addhstaiX): Likewise.
78185         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78187 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78189         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78191         * nscd/hstcache.c (cache_addhst): Likewise.
78192         * nscd/grpcache.c (cache_addgr): Likewise.
78193         * nscd/aicache.c (addhstaiX): Likewise.
78195 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78197         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78198         domain only when needed.
78200 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78203         is always restored.
78205 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78207         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78208         are re-adding the entry.
78209         * nscd/servicescache.c (cache_addserv): Likewise.
78211 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78213         * sysdeps/generic/dl-irel.h: fix protection against multiple
78214         inclusions.
78215         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78217 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78219         [BZ #12935]
78220         * malloc/memusage.sh: Fix quoting in message.
78221         * debug/xtrace.sh: Likewise.
78223         * configure.in: Remove support for --experimental-malloc option, make
78224         it the default.
78225         * config.make.in: Likewise.
78226         * malloc/Makefile: Likewise.
78228 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78230         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78231         two-byte characters.
78233 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78235         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78236         AC_CACHE_CHECK invocation.
78237         * configure: Regenerated.
78239         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78241 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78243         [BZ #12350]
78244         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78245         bit from old_res_options.
78247         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78249         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78250         value type for setfct.
78252 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78254         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78255         __gettimeofday instead of gettimeofday.
78257 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78259         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78261 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78263         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78265         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78266         info.
78268 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78271         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78272         strcpy-sse2-unaligned strncpy-sse2-unaligned
78273         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78274         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78275         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78276         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78277         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78278         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78279         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78280         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78281         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78282         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78283         (STRCPY): Support SSE2 and SSSE3 versions.
78285 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78287         [BZ #12874]
78288         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78289         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78290         kernels which artificially limit size of requests.
78292 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78295         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78296         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78297         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78298         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78299         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78300         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78301         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78302         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78303         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78304         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78305         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78306         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78307         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78308         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78310         Enable unaligned load optimization for Intel Core i3, i5 and i7
78311         processors.
78312         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78313         Define.
78314         (index_Fast_Unaligned_Load): Define.
78315         (HAS_FAST_UNALIGNED_LOAD): Define.
78317 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78319         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78321 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78323         [BZ #12907]
78324         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78325         until it is clear that the information is realy needed.
78326         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78328 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78332 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78334         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78335         /sys/devices/system/cpu/online if it is usable.
78337         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78338         reading the information from the /proc filesystem to once a second.
78340 2011-06-21  Andreas Jaeger  <aj@suse.de>
78342         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78343         NULL after inclusion of kernel headers.
78345 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78347         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78348         calls to internal_setent.
78350         [BZ #12885]
78351         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78352         addresses using gethostbyname4_r ignore IPv4 addresses.
78354         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78355         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78357         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78359 2011-06-20  David S. Miller  <davem@davemloft.net>
78361         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78362         inclusions.
78363         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78365         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78366         (elf_irel): Use it.
78367         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78368         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78369         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78370         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78371         * sysdeps/x86_64/dl-irel.h: Likewise.
78373         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78374         * elf/dl-sym.c: Likewise.
78376 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78378         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78379         need to dereference resplen2.
78381 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78383         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78385 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78387         * Makeconfig: Define vardbdir and inst_vardbdir.
78388         * nss/Makefile: Add rules to install db-Makefile.
78390         * nss/nss_db/db-XXX.c: Cleanup.
78392         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78393         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78394         GLIBC_PRIVATE.
78395         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78396         * nss/makedb.c: Implement -g option to specify that value strings
78397         are generated and should not be added to table iterated over for
78398         get*ent calls.
78399         * nss/nss_db/db-initgroups.c: New file.
78401         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78402         interface.
78404         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78405         (internal_getgrouplist): Adjust to name change.
78406         Update use_initgroups_entry if this is not the first call.
78407         * nss/databases.def: Add initgroups entry.
78409         * nss/makedb.c (compute_tables): Check result of multiple hash table
78410         sizes to minimize maximum chain length.
78412 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78414         * Versions.def: Add entry for libnss_db.
78415         * shlib-versions: Likewise.
78416         * nss/Makefile: Add rules to build libnss_db.
78417         * nss/Versions: Add libnss_db information.  Organize libnss_files
78418         entries better.
78419         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78420         makedb progra.  Some minor improvements to generate smaller files.
78421         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78422         here from...
78423         * nss/makedb.c: ...here.
78424         Improve database format to be smaller and require less memory at
78425         runtime.
78426         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78427         db anymore.
78428         * nss/nss_db/db-netgrp.c: Likewise.
78429         * nss/nss_db/db-open.c: Likewise.
78430         * nss/nss_files/flies-XXX.x: Adjust comments.
78431         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78432         * nss/nss_files/files-grp.c: Likewise.
78433         * nss/nss_files/files-hosts.c: Likewise.
78434         * nss/nss_files/files-network.c: Likewise.
78435         * nss/nss_files/files-proto.c: Likewise.
78436         * nss/nss_files/files-pwd.c: Likewise.
78437         * nss/nss_files/files-rpc.c: Likewise.
78438         * nss/nss_files/files-service.c: Likewise.
78439         * nss/nss_files/files-sgrp.c: Likewise.
78440         * nss/nss_files/files-spwd.c: Likewise.
78441         * nss/nss_db/db-alias.c: Removed.
78442         * nss/nss_db/dummy-db.h: Removed.
78444 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78446         * nss/makedb.c: Rewritten to not use database library.
78447         * nss/Makefile: Update to build new makedb program.
78449 2011-06-14  Andreas Jaeger  <aj@suse.de>
78451         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78452         memset declaration.
78454 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78456         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78457         tmpbuf.
78459 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78461         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78462         * elf/Makefile ($(objpfx)ld.so): Likewise.
78464         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78465         Don't list ld.so twice in dependencies.
78467         * posix/bug-regex31.c: Include <stdlib.h>.
78469         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78471         * nis/nss_compat/compat-spwd.c
78472         (getspent_next_nss_netgr): Remove unused variable.
78473         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78475         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78476         nonmembers" output to use the right array.
78478         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78480         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78482         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78483         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78484         * catgets/gencat.c (read_input_file): Likewise.
78485         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78487         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78488         variable definition inside #if's controlling its use.
78490         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78492         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78494         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78496         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78497         unreachable code.
78499         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78501         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78502         * configure: Regenerated.
78504         * Makerules: Revert last change.
78505         * elf/Makefile: Likewise.
78507 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78509         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78510         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78511         (reloc-link): Likewise.
78513 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78515         * elf/Makefile: Add rules to build pldd.
78516         * elf/pldd.c: New file.
78517         * elf/pldd-xx.c: New file.
78519 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78521         * version.h: Update for 2.15 development version.
78523 2011-06-07  David S. Miller  <davem@davemloft.net>
78525         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78526         ifuncs.
78527         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78528         elf_machine_lazy_rel): Likewise.
78529         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78530         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78531         elf_machine_lazy_rel): Likewise.
78532         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78533         dl_hwcap via passed in argument.
78534         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78535         Likewise.
78537 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78539         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78541 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78543         [BZ #12849]
78544         * manual/fdl-1.1.texi: New file, verbatim from:
78545         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78546         * manual/lgpl-2.1.texi: New file, verbatim from:
78547         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78548         * manual/Makefile (licenses): New variable, list those new file names.
78549         (texis): Use it.
78550         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78552         * manual/fdl.texi: File removed.
78553         * manual/lesser.texi: File removed.
78554         * manual/libc.texinfo (Copying, Documentation License):
78555         Use new @include file names, put @appendix directive before @include.
78557 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78559         [BZ #12841]
78560         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78561         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78562         (mq_open): Add __NTH.
78564 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78567         Assume Intel Core i3/i5/i7 processor if AVX is available.
78569 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78571         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78572         typo.
78574 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78576         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78577         memory.  Use alloca_account.  Fix memory leak when retrying.
78579 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78581         * version.h (RELEASE): Bump for 2.14 release.
78582         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78584         * config.make.in (RANLIB): Remove entry.
78586 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78588         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78589         (libc.pot): Work around missing support for .ksh extension in xgettext.
78591         [BZ #12684]
78592         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78593         if both request failed.
78594         (send_dg): In case of server errors clear resplen or *resplen2.
78596         [BZ #12454]
78597         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78598         when there are multiple maps.
78599         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78600         (_dl_fini): Remove test here.
78602         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78604 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78606         [BZ #12350]
78607         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78608         bit from old_res_options.
78609         (gaih_inet): Likewise.
78611         [BZ #11099]
78612         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78613         as signed.
78615         * resolv/res_init.c (res_setoptions): Make the code more compact.
78617         [BZ #11558]
78618         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78619         set RES_USEVC.
78621         [BZ #11634]
78622         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78624         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78626         [BZ #11781]
78627         * malloc/malloc.h: Declare malloc hook variables as volatile.
78629         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78630         in last patch.
78632         [BZ #11799]
78633         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78634         raise in the comment.
78635         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78636         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78637         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78639 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78641         [BZ #12811]
78642         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78643         grow the buffers more if it already has to be sufficient.
78644         (build_wcs_upper_buffer): Likewise.
78645         * posix/regexec.c (check_matching): Likewise.
78646         (clean_state_log_if_needed): Likewise.
78647         (extend_buffers): Don't enlarge buffers beyond size of the input
78648         buffer.
78649         Patches mostly by Emil Wojak <emil@wojak.eu>.
78650         * posix/bug-regex32.c: New file.
78651         * posix/Makefile (tests): Add bug-regex32.
78653         * locale/findlocale.c (_nl_find_locale): Return right away if
78654         _nl_explode_name failed.
78655         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78657         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78659         * debug/xtrace.sh: Unify messages.
78660         * malloc/memusage.sh: Likewise.
78662         [BZ #12813]
78663         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78664         time symbol from vDSO.  Substitute with vsyscall if not available.
78665         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78666         __vdso_time.
78668         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78669         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78670         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78671         Add sendmmsg and internal_sendmmsg.
78672         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78673         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78674         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78676         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78677         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78678         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78680 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78682         [BZ #12813]
78683         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78684         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78685         available.
78686         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78687         __vdso_getcpu.
78689         [BZ #12814]
78690         * iconvdata/Makefile (tests): Add bug-iconv9.
78691         * iconvdata/bug-iconv9.c: New file.
78693 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78695         [BZ #12814]
78696         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78698 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78700         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78701         (struct user_regs_struct): Change intcs field back to cs.
78703 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78705         * po/ja.po: Update from translation team.
78707 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78709         [BZ #12795]
78710         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78711         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78713 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78715         * stdlib/longlong.h: Update from GCC.
78717 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78719         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78720         parameter name.
78721         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78722         Add parameter name.
78723         (__sysconf): Pass it down.
78725 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78727         [BZ #12671]
78728         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78729         some situations.
78730         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78731         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78732         add in in __libc_use_alloca calls.  Adjust callers.
78733         (glob): Use malloc in some situations.
78735         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78736         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78737         pltexit.
78739 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78741         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78742         and CLOCK_BOOTTIME_ALARM.
78744         [BZ #12782]
78745         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78746         is returned.
78748         * string/_strerror.c (__strerror_r): Print negative errors as signed
78749         numbers.
78751         [BZ #12777]
78752         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78753         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78754         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78756         * configure.in: Fix typo in redirection and correct removal of test
78757         files in two cases.
78759         [BZ #12788]
78760         * locale/setlocale.c (new_composite_name): Fix test to check for
78761         identical name of all categories.
78763         [BZ #12792]
78764         * libio/filedoalloc.c (local_isatty): New function.
78765         (_IO_file_doallocate): Use local_isatty.
78766         * stdio-common/perror.c (perror): In case a new stream is used
78767         forward the stream error.
78768         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78769         error flag.
78771 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78773         [BZ #11884]
78774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78775         alloca.
78776         * include/alloca.h (extend_alloca_account): Define.
78778         [BZ #11857]
78779         * posix/regex.h: Fix comments with documentation of user-accessible
78780         fields after compilation and describe correct free'ing of pattern
78781         after re_compile_pattern.
78782         Patch by Reuben Thomas <rrt@sc3d.org>.
78784 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78786         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78787         and -mno-altivec to prevent the compiler from using Altivec and/or
78788         VSX instructions when the corresponding registers are not available.
78790 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78792         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78794 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78796         * libio/freopen.c (freopen): Use __dup2, not dup2.
78797         * libio/freopen64.c (freopen64): Likewise.
78799 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78801         [BZ #12775]
78802         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78803         * math/Makefile (tests): Add test-powl.
78804         (CFLAGS-test-powl.c): Define.
78805         * math/test-powl.c: New file.
78807 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78809         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78811 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78813         [BZ #11837]
78814         * iconvdata/gb18030.c: Update to GB18020-2005.
78816 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78818         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78819         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78820         Patch by Aharon Robbins <arnold@skeeve.com>.
78822         [BZ #11892]
78823         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78824         on the stack.
78826         [BZ #11895]
78827         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78828         through underflows.
78830         [BZ #12766]
78831         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78832         point to strings before performing equality test for error_one_per_line
78833         mode.
78835         [BZ #11697]
78836         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78838         [BZ #11820]
78839         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78840         (struct user_fpregs_struct): Avoid __uint*_t types.
78842         [BZ #6420]
78843         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78844         symbol info.  Use it instead of calling _dl_addr locally.
78845         (lock_and_info): New function.
78846         (tr_freehook): Call lock_and_info and pass symbol info as additional
78847         parameter to tr_where.
78848         (tr_mallochook): Likewise.
78849         (tr_reallochook): Likewise.
78850         (tr_memalignhook): Likewise.
78852         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78853         used and couldn't be at all thread-safe.
78855 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78857         * libio/freopen.c (freopen): Don't close old file descriptor
78858         before the new one is opened.  Instead dup the new file descriptor
78859         to the old one after the new stream is created.
78860         * libio/freopen64.c (freopen64): Likewise.
78861         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78862         * libio/fileops.c (_IO_new_file_close_it): Handle new
78863         _IO_FLAGS2_NOCLOSE flag.
78864         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78865         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78866         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78867         _IO_FLAGS2_NOCLOSE flag.
78868         * include/unistd.h: Add hidden_proto for dup3.
78869         Define __have_dup3.
78870         * io/dup3.c: Define hidden symbol.
78871         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78873         [BZ #7101]
78874         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78875         when an incomplete long option is used.
78876         * posix/tst-getopt_long1.c: New file.
78877         * posix/Makefile (tests): Add tst-getopt_long1.
78879         [BZ #10138]
78880         * scripts/config.guess: Update from autoconf-2.68.
78881         * scripts/config.sub: Likewise.
78883         [BZ #10157]
78884         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78885         tests into ...
78886         (has_cpuclock): ...this.  New function.
78887         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78888         macro here based on has_cpuclock code.
78890         [BZ #10149]
78891         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78892         First byte (not low byte) is now always NUL.
78893         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78895         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78896         Use non-cancelable interfaces.
78898         [BZ #9809]
78899         * locale/iso-639.def: Add entry for Sorani.
78901         [BZ #11901]
78902         * include/stdlib.h: Move include protection to the right place.
78903         Define abort_msg_s.  Declare __abort_msg with it.
78904         * stdlib/abort.c (__abort_msg): Adjust type.
78905         * assert/assert.c (__assert_fail_base): New function.  Majority
78906         of code from __assert_fail.  Allocate memory for __abort_msg with
78907         mmap.
78908         (__assert_fail): Now call __assert_fail_base.
78909         * assert/assert-perr.c: Remove bulk of implementation.  Use
78910         __assert_fail_base.
78911         * include/assert.hL Declare __assert_fail_base.
78912         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78913         mmap.
78914         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78916 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78918         [BZ #11952]
78919         [BZ #12453]
78920         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78921         until all modules are registered in the DTV.
78922         * elf/Makefile: Add rules to build and run tst-tls19.
78923         * elf/tst-tls19.c: New file.
78924         * elf/tst-tls19mod1.c: New file.
78925         * elf/tst-tls19mod2.c: New file.
78926         * elf/tst-tls19mod3.c: New file.
78927         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78929         [BZ #12083]
78930         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78931         correctly.
78933         [BZ #12601]
78934         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78935         two-byte sequence errors.
78936         * iconvdata/Makefile (tests): Add bug-iconv8.
78937         * iconvdata/bug-iconv8.c: New file.
78939         [BZ #12626]
78940         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78941         buf2 definition.
78943         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78945         [BZ #12432]
78946         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78947         (dummy_getcfa): New function.
78948         (init): Get _Unwind_GetCFA address, use dummy if not found.
78949         (backtrace_helper): In recursion check, also check whether CFA changes.
78950         (__backtrace): Completely initialize arg.
78952         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78953         storing incomplete byte sequence in state object.  Avoid testing for
78954         guaranteed too small input if we know there is enough data available.
78956 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78958         * Makeconfig (+link-pie): Indent.
78959         * Rules (binaries-pie): Define if $(have-fpie) and
78960         $(build-shared).
78961         (binaries-shared): Also filter out $(binaries-pie).
78962         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78963         * nscd/Makefile (others-pie): Add nscd.
78964         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78965         ($(objpfx)nscd): Remove command override.
78966         * login/Makefile (others-pie): Add pt_chown.
78967         ($(objpfx)pt_chown): Remove command override.
78968         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78969         remove command overrides.
78971 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78973         * libio/tst_putwc.c: Fix error messages.
78975         [BZ #12724]
78976         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78977         currently writing and seek to current position when not.
78978         * libio/Makefile (tests): Add bug-fclose1.
78979         * libio/bug-fclose1.c: New file.
78981 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78983         [BZ #12511]
78984         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78985         don't set DF_1_NODELETE here.
78986         (do_lookup_x): When entering new entry test for copy relocation
78987         and if necessary set DF_1_NODELETE flag.
78988         * elf/tst-unique4.cc: New file.
78989         * elf/tst-unique4.h: New file.
78990         * elf/tst-unique4lib.cc: New file.
78991         * elf/Makefile: Add rules to build and run tst-unique4.
78992         Patch by Piotr Bury <pbury@goahead.com>.
78994 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78996         [BZ #12052]
78997         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78999         [BZ #12625]
79000         * misc/mntent_r.c (addmntent): Flush the stream after the output
79002         [BZ #12393]
79003         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
79004         (is_trusted_path_normalize): Skip initial colon.  Append slash
79005         to empty buffer.  Duplicate is_trusted_path code but allow
79006         constructed patch to be prefix.
79007         (is_dst): Allow $ORIGIN followed by /.
79008         (_dl_dst_substitute): Correct clearing of check_for_trusted.
79009         Correct testing of result of is_trusted_path_normalize
79010         (decompose_rpath): Fix warning.
79012 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
79014         [BZ #11257]
79015         * grp/initgroups.c (internal_getgrouplist): When we found the service
79016         list through the initgroups entry in nsswitch.conf do not always
79017         continue on a successful lookup.  Don't always use the
79018         __nss_group_database value if it is set.
79019         * nss/nsswitch.conf (initgroups): Change action for successful db
79020         lookup to continue for compatibility.
79022 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
79024         [BZ #11532]
79025         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
79026         and CP774 modules.
79027         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
79028         and CP774 modules.
79029         * iconvdata/tst-tables.sh: Likewise.
79030         * iconvdata/cp770.c: New file.
79031         * iconvdata/cp771.c: New file.
79032         * iconvdata/cp772.c: New file.
79033         * iconvdata/cp773.c: New file.
79034         * iconvdata/cp774.c: New file.
79035         * iconvdata/testdata/CP770: New file.
79036         * iconvdata/testdata/CP770..UTF8: New file.
79037         * iconvdata/testdata/CP771: New file.
79038         * iconvdata/testdata/CP771..UTF8: New file.
79039         * iconvdata/testdata/CP772: New file.
79040         * iconvdata/testdata/CP772..UTF8: New file.
79041         * iconvdata/testdata/CP773: New file.
79042         * iconvdata/testdata/CP773..UTF8: New file.
79043         * iconvdata/testdata/CP774: New file.
79044         * iconvdata/testdata/CP774..UTF8: New file.
79046         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
79047         END CHARMAP line.
79048         * iconvdata/gen-8bit-gap.sh: Likewise.
79049         * iconvdata/gen-8bit.sh: Likewise.
79051         * locale/iso-639.def: Add ary entry.
79053         [BZ #11258]
79054         * locale/C-translit.h.in: Add U20A1 transliteration.
79056         [BZ #12178]
79057         * locale/iso-639.def: Add wae entry.
79058         Patch by Kevin Bortis <bortis@translate-wae.ch>.
79060         [BZ #12545]
79061         * locale/programs/localedef.c (construct_output_path): Use ssize_t
79062         for n.
79064         [BZ #12711]
79065         * locale/C-translit.h.in: Add entry for U20B9.
79066         Patch by pravin.d.s@gmail.com.
79068 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
79070         [BZ #12713]
79071         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
79072         ENAMETOOLONG use generic getcwd.
79073         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
79074         in rtld.  Use *stat64.
79075         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
79076         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
79077         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
79078         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
79079         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
79080         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
79081         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
79082         __fstatat64 macros.
79083         * include/dirent.h: Add libc_hidden_proto for rewinddir.
79084         * dirent/rewinddir.c: Add libc_hidden_def.
79085         * sysdeps/mach/hurd/rewinddir.c: Likewise.
79086         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
79088         * include/dirent.h (__alloc_dir): Add flags parameter.
79089         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
79090         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
79091         __alloc_dir.
79092         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
79093         from fdopendir if O_CLOEXEC is already set.
79095 2011-03-15  Alan Modra  <amodra@gmail.com>
79097         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
79098         l_tls_firstbyte_offset non-zero.  Save padding offset in
79099         l_tls_firstbyte_offset for later use.
79100         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79101         freeing static tls block.
79103 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
79105         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
79106         where #ifdef was intended.  The intent is to prevent ARG_MAX from
79107         being defined by the kernel headers.
79109 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
79111         [BZ #12734]
79112         * resolv/resolv.h: Define RES_NOTLDQUERY.
79113         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
79114         no-tld-query and set RES_NOTLDQUERY.
79115         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
79116         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
79117         modern BIND to search name as TLD unless forbidden.
79119 2011-05-07  Petr Baudis  <pasky@suse.cz>
79120             Ulrich Drepper  <drepper@gmail.com>
79122         [BZ #12393]
79123         * elf/dl-load.c (fillin_rpath): Move trusted path check...
79124         (is_trusted_path): ...to here.
79125         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79126         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79127         using is_trusted_path_normalize() in setuid scripts.
79129 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79131         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79132         __BEGIN/__END_DECLS.
79134 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
79136         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79137         NSS_STATUS_NOTFOUND if no record was found.
79139 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79141         * sunrpc/Makefile (headers): Add rpc/netdb.h.
79142         (headers-not-in-tirpc): Remove rpc/netdb.h
79143         * resolv/netdb.h: Revert last change.
79145 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79147         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
79148         circular dependency between libgcc.a and libc.a.
79150 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79152         * resolv/netdb.h: Don't include <rpc/netdb.h>.
79153         * nis/Makefile: Don't install rpcsvc/*.
79154         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79155         instead of <rpc/types.h>.
79156         (MAXHOSTNAMELEN): Define.
79158 2011-05-03  Andreas Schwab  <schwab@redhat.com>
79160         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79162 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79164         [BZ #12714]
79165         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79166         gethostbyname4_r when IPv6 results are possible.
79168 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79170         [BZ #12723]
79171         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79172         _PC_PIPE_BUF handling.
79174 2011-04-30  Bruno Haible  <bruno@clisp.org>
79176         [BZ #12717]
79177         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79178         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79179         to 'int'.
79180         * inet/getnameinfo.c (getnameinfo): Likewise.
79182 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79184         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79185         to groups setting in database lookup.
79186         * nss/nsswitch.conf: Add initgroups entry.
79188 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79190         [BZ #12685]
79191         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79192         mode string.
79193         Patch by Eric Blake <eblake@redhat.com>.
79195 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79197         * sunrpc/Makefile (need-export-routines): Add svc_run.
79198         (routines): Remove svc_run.
79199         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79200         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79201         * sunrpc/svc_run.c (svc_run): Likewise.
79202         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79204 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79206         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79207         problem in reallocation in last patch.
79209 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79211         * sunrpc/Makefile: Move inclusion of Rules.
79213 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79215         * nss/nss_files/files-initgroups.c: New file.
79216         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79217         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79218         _nss_files_initgroups_dyn.
79220 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79222         * elf/elf.h (R_ARM_IRELATIVE): Define.
79224 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79226         * po/ru.po: Update from translation team.
79228 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79230         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79231         dependencies.
79233 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79235         [BZ #12653]
79236         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79237         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79238         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79239         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79240         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79242 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79244         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79245         differing bytes.
79246         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79247         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79248         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79250 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79252         [BZ #12420]
79253         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79254         storing it.
79255         * stdlib/bug-getcontext.c: New file.
79256         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79258 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79260         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79261         instructions into .machine "z9-109".
79262         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79263         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79265 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79267         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79268         between environment variables and auxiliary vector.
79270 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79272         * Makefile: Add rules to build linkobj/libc.so.
79273         * include/libc-symbols.h: Define libc_hidden_nolink.
79274         * include/rpc/auth.h: Mark functions which are to be hidden.
79275         * include/rpc/auth_des.h: Likewise.
79276         * include/rpc/auth_unix.h: Likewise.
79277         * include/rpc/clnt.h: Likewise.
79278         * include/rpc/des_crypt.h: Likewise.
79279         * include/rpc/key_prot.h: Likewise.
79280         * include/rpc/pmap_clnt.h: Likewise.
79281         * include/rpc/pmap_prot.h: Likewise.
79282         * include/rpc/pmap_rmt.h: Likewise.
79283         * include/rpc/rpc_msg.h: Likewise.
79284         * include/rpc/svc.h: Likewise.
79285         * include/rpc/svc_auth.h: Likewise.
79286         * include/rpc/xdr.h: Likewise.
79287         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79288         * nss/Makefile: Likewise.
79289         * sunrpc/Makefile: Don't install headers.  Build library with normal
79290         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79291         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79292         for the compat linking library.  Remove use of INTDEF/INTUSE.
79293         * sunrpc/auth_none.c: Likewise.
79294         * sunrpc/auth_unix.c: Likewise.
79295         * sunrpc/authdes_prot.c: Likewise.
79296         * sunrpc/authuxprot.c: Likewise.
79297         * sunrpc/clnt_gen.c: Likewise.
79298         * sunrpc/clnt_perr.c: Likewise.
79299         * sunrpc/clnt_raw.c: Likewise.
79300         * sunrpc/clnt_simp.c: Likewise.
79301         * sunrpc/clnt_tcp.c: Likewise.
79302         * sunrpc/clnt_udp.c: Likewise.
79303         * sunrpc/clnt_unix.c: Likewise.
79304         * sunrpc/des_crypt.c: Likewise.
79305         * sunrpc/des_soft.c: Likewise.
79306         * sunrpc/get_myaddr.c: Likewise.
79307         * sunrpc/key_call.c: Likewise.
79308         * sunrpc/key_prot.c: Likewise.
79309         * sunrpc/netname.c: Likewise.
79310         * sunrpc/pm_getmaps.c: Likewise.
79311         * sunrpc/pm_getport.c: Likewise.
79312         * sunrpc/pmap_clnt.c: Likewise.
79313         * sunrpc/pmap_prot.c: Likewise.
79314         * sunrpc/pmap_prot2.c: Likewise.
79315         * sunrpc/pmap_rmt.c: Likewise.
79316         * sunrpc/publickey.c: Likewise.
79317         * sunrpc/rpc_cmsg.c: Likewise.
79318         * sunrpc/rpc_common.c: Likewise.
79319         * sunrpc/rpc_dtable.c: Likewise.
79320         * sunrpc/rpc_prot.c: Likewise.
79321         * sunrpc/rpc_thread.c: Likewise.
79322         * sunrpc/rtime.c: Likewise.
79323         * sunrpc/svc.c: Likewise.
79324         * sunrpc/svc_auth.c: Likewise.
79325         * sunrpc/svc_authux.c: Likewise.
79326         * sunrpc/svc_raw.c: Likewise.
79327         * sunrpc/svc_run.c: Likewise.
79328         * sunrpc/svc_simple.c: Likewise.
79329         * sunrpc/svc_tcp.c: Likewise.
79330         * sunrpc/svc_udp.c: Likewise.
79331         * sunrpc/svc_unix.c: Likewise.
79332         * sunrpc/svcauth_des.c: Likewise.
79333         * sunrpc/xcrypt.c: Likewise.
79334         * sunrpc/xdr.c: Likewise.
79335         * sunrpc/xdr_array.c: Likewise.
79336         * sunrpc/xdr_float.c: Likewise.
79337         * sunrpc/xdr_intXX_t.c: Likewise.
79338         * sunrpc/xdr_mem.c: Likewise.
79339         * sunrpc/xdr_rec.c: Likewise.
79340         * sunrpc/xdr_ref.c: Likewise.
79341         * sunrpc/xdr_sizeof.c: Likewise.
79342         * sunrpc/xdr_stdio.c: Likewise.
79344 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79346         [BZ #12650]
79347         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79348         * sysdeps/ia64/dl-tls.h: Likewise.
79349         * sysdeps/powerpc/dl-tls.h: Likewise.
79350         * sysdeps/s390/dl-tls.h: Likewise.
79351         * sysdeps/sh/dl-tls.h: Likewise.
79352         * sysdeps/sparc/dl-tls.h: Likewise.
79353         * sysdeps/x86_64/dl-tls.h: Likewise.
79354         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79356 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79358         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79359         rpath element also skip the following colon.
79360         (expand_dynamic_string_token): Add is_path parameter and pass
79361         down to DL_DST_REQUIRED and _dl_dst_substitute.
79362         (decompose_rpath): Call expand_dynamic_string_token with
79363         non-zero is_path.  Ignore empty rpaths.
79364         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79365         with zero is_path.
79367 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79370         Make cancelable.
79372 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79374         [BZ #12655]
79375         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79376         Patch by Filipe David Manana <fdmanana@apache.org>.
79378 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79380         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79381         Maintain aligned stack.
79382         (CHECK_RSP): Remove unused macro.
79384 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79386         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79387         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79389 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79391         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79393         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79395 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79397         [BZ #12518]
79398         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79399         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79400         * sysdeps/x86_64/memmove.c: New file.
79401         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79402         (memcpy): Renamed to ...
79403         (__new_memcpy): This.
79404         (memcpy): Provide GLIBC_2_14 memcpy.
79405         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79406         (memcpy): Provide GLIBC_2_2_5 memcpy.
79408 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79410         [BZ #12631]
79411         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79413 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79415         * misc/syncfs.c: New file.
79416         * misc/Makefile (routines): Add syncfs.
79417         * posix/unistd.h: Declare syncfs.
79418         * sysdeps/unix/syscalls.list: Add syncfs.
79420 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79422         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79423         open_by_handle_at.
79424         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79425         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79426         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79427         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79428         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79429         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79430         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79432 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79434         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79435         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79436         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79437         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79438         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79439         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79440         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79442         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79443         sync_file_range.c with -fexceptions.
79444         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79445         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79446         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79447         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79448         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79449         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79450         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79451         sync_file_range as cancellation point
79452         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79453         now a wrapper around __call_sync_file_range with cancellation handling.
79454         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79455         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79456         function name to __call_sync_file_range.
79457         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79458         Add call_sync_file_range.
79460 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79463         bits/timex.h.
79465 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79467         * iconv/iconv.h: Fix typo in comment.
79468         * io/fcntl.h: Likewise.
79469         * libio/stdio.h: Likewise.
79470         * posix/spawn.h: Likewise.
79471         * posix/unistd.h: Likewise.
79472         * stdlib/stdlib.h: Likewise.
79473         * time/time.h: Likewise.
79474         * wcsmbs/wchar.h: Likewise.
79476         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79477         open_by_handle): Add.
79478         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79479         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79480         Augment a few comments.
79481         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79483         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79484         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79485         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79486         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79487         open_by_handle.
79489         * io/fcntl.h (AT_EMPTY_PATH): Define.
79491 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79493         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79494         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79495         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79496         to...
79497         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79498         * Versions.def: Add GLIBC_2.14.
79499         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79500         Export.
79502 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79504         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79505         round counter.
79506         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79508 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79510         [BZ #12597]
79511         * string/test-strncmp.c (do_page_test): New function.
79512         (check2): Likewise.
79513         (test_main): Call check2.
79514         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79516 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79518         [BZ #12587]
79519         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79520         Handle cache information in CPU leaf 4.
79521         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79523 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79525         [BZ #12583]
79526         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79527         character representation.
79528         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79530 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79532         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79533         END(__isnan) to END(__isnanf) to match function entry point/label
79534         EALIGN(__isnanf,...).
79536 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79538         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79540 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79542         [BZ #12510]
79543         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79544         copy from the symbol referenced in the relocation to initialize the
79545         used variable.
79546         Patch by Piotr Bury <pbury@goahead.com>.
79547         * elf/Makefile: Add rules to build and tst-unique3.
79548         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79549         * elf/tst-unique3.cc: New file.
79550         * elf/tst-unique3.h: New file.
79551         * elf/tst-unique3lib.cc: New file.
79552         * elf/tst-unique3lib2.cc: New file.
79554         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79556 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79558         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79559         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79560         to _start.
79562 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79564         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79565         to-be-loaded object along a path to loader is ld.so.
79567 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79568             Ulrich Drepper  <drepper@gmail.com>
79570         * sysdeps/x86_64/memset.S: After aligning destination, code
79571         branches to different locations depending on the value of
79572         misalignment, when multiarch is enabled. Fix this.
79574 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79576         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79577         Set _x86_64_preferred_memory_instruction for AMD processsors.
79578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79579         Set bit_Prefer_SSE_for_memop for AMD processors.
79581 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79583         * libio/fmemopen.c (fmemopen): Optimize a bit.
79585 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79587         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79589 2011-03-03  Roland McGrath  <roland@redhat.com>
79591         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79593 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79595         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79596         __bzero_ultra1 instead of __memset_ultra1.
79598 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79599             Ulrich Drepper  <drepper@gmail.com>
79601         [BZ #12509]
79602         * include/link.h (struct link_map): Add l_orig_initfini.
79603         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79604         returning unsuccessfully.
79605         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79606         close of a file loaded at startup, restore the original l_initfini
79607         list.
79608         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79609         list, store the pointer.
79610         * elf/Makefile ($(objpfx)noload-mem): New rule.
79611         (noload-ENV): Define.
79612         (tests): Add $(objpfx)noload-mem.
79613         * elf/noload.c: Include <memcheck.h>.
79614         (main): Call mtrace.  Close all opened handles.
79616 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79618         [BZ #12454]
79619         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79620         dependencies are missing.
79622 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79624         Fix __if_freereq crash: Unlike the generic version which uses free,
79625         Hurd needs munmap.
79626         * sysdeps/mach/hurd/ifreq.h: New file.
79628 2011-01-27  Petr Baudis  <pasky@suse.cz>
79629             Ulrich Drepper  <drepper@gmail.com>
79631         [BZ 12445]#
79632         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79633         to extend_alloca().
79634         * stdio-common/bug23.c: New file.
79635         * stdio-common/Makefile (tests): Add bug23.
79637 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79638             Ulrich Drepper  <drepper@gmail.com>
79640         [BZ #12489]
79641         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79642         before performing relro protection.  At old place add assertion
79643         to make sure nothing changed.
79645 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79646             Glauber de Oliveira Costa  <glommer@gmail.com>
79648         * elf/elf.h: Add new ARM TLS relocs.
79650 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79653         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79654         cast from r3.
79655         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79656         'tests' variable.
79657         * sysdeps/wordsize-64/tst-writev.c: New file.
79659 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79661         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79662         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79663         insns in _dl_start to prevent a TOC reference before relocs are
79664         resolved.
79666 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79668         [BZ #12469]
79669         * Makeconfig: Remove RANLIB definition.
79670         * Makerules: Don't use RANLIB.
79671         * aclocal.m4: Remove ranlib test.
79672         * configure.in: No need to check for ranlib.
79673         * elf/rtld-Rules: Don't use RANLIB.
79675 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79677         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79678         protection macro.
79679         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79680         inclusion protection macro.
79682         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79683         SIGRTMIN and SIGRTMAX and print information in that case only when
79684         SIGRTMIN is defined.
79686 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79688         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79689         arginfo fn returning -1.
79691         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79692         and thousands string is zero terminated.
79694 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79696         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79697         sysdeps/unix/sysv/linux/bits/socket.h.
79699 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79701         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79702         (__CPU_COUNT): Remove old macros.
79703         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79704         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79705         (__CPU_ALLOC, __CPU_FREE): Add macros.
79706         (__sched_cpualloc, __sched_cpufree): Add declarations.
79708 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79710         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79711         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79712         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79713         (readdhstai): Return value of addhstaiX call.
79714         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79715         (addgrbyX): Return value returned by cache_addgr.
79716         (readdgrbyname): Return value returned by addgrbyX.
79717         (readdgrbygid): Likewise.
79718         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79719         (addpwbyX): Return value returned by cache_addpw.
79720         (readdpwbyname): Return value returned by addhstbyX.
79721         (readdpwbyuid): Likewise.
79722         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79723         (addservbyX): Return value returned by cache_addserv.
79724         (readdservbyname): Return value returned by addservbyX:
79725         (readdservbyport): Likewise.
79726         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79727         (addhstbyX): Return value returned by cache_addhst.
79728         (readdhstbyname): Return value returned by addhstbyX.
79729         (readdhstbyaddr): Likewise.
79730         (readdhstbynamev6): Likewise.
79731         (readdhstbyaddrv6): Likewise.
79732         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79733         (readdinitgroups): Return value returned by addinitgroupsX.
79734         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79735         (prune_cache): Keep track of timeout value of re-added entries.
79736         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79737         * nscd/nscd.h: Adjust prototypes of readd* functions.
79739 2011-02-04  Roland McGrath  <roland@redhat.com>
79741         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79742         (nis_stats): Likewise.
79743         * nis/nis_modify.c (nis_modify): Likewise.
79744         * nis/nis_remove.c (nis_remove): Likewise.
79745         * nis/nis_add.c (nis_add): Likewise.
79747         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79749         * posix/fnmatch_loop.c: Add some consts.
79751         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79753 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79755         [BZ #12460]
79756         * config.make.in (config-cflags-novzeroupper): Define.
79757         * configure.in: Substitute libc_cv_cc_novzeroupper.
79758         * elf/Makefile (AVX-CFLAGS): Define.
79759         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79760         (CFLAGS-tst-auditmod4a.c): Likewise.
79761         (CFLAGS-tst-auditmod4b.c): Likewise.
79762         (CFLAGS-tst-auditmod6b.c): Likewise.
79763         (CFLAGS-tst-auditmod6c.c): Likewise.
79764         (CFLAGS-tst-auditmod7b.c): Likewise.
79765         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79767 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79769         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79770         function to the callback.
79771         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79773 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79775         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79776         of errno.
79778 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79780         [BZ #11724]
79781         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79782         of constructors.
79783         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79784         of destructors.
79785         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79787         [BZ #11724]
79788         * elf/Makefile: Add rules to build and run new test.
79789         * elf/tst-initorder.c: New file.
79790         * elf/tst-initorder.exp: New file.
79791         * elf/tst-initordera1.c: New file.
79792         * elf/tst-initordera2.c: New file.
79793         * elf/tst-initordera3.c: New file.
79794         * elf/tst-initordera4.c: New file.
79795         * elf/tst-initorderb1.c: New file.
79796         * elf/tst-initorderb2.c: New file.
79797         * elf/tst-order-a1.c: New file.
79798         * elf/tst-order-a2.c: New file.
79799         * elf/tst-order-a3.c: New file.
79800         * elf/tst-order-a4.c: New file.
79801         * elf/tst-order-b1.c: New file.
79802         * elf/tst-order-b2.c: New file.
79803         * elf/tst-order-main.c: New file.
79804         New test case by George Gensure <werkt0@gmail.com>.
79806 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79809         decoding ACE if AI_CANONIDN.
79811 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79813         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79815 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79817         * version.h (RELEASE): Bump for 2.13 release.
79818         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79820         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79822         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79823         MADV_NOHUGEPAGE.
79824         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79825         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79826         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79827         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79828         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79829         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79831         * posix/getconf.c: Update copyright year.
79832         * catgets/gencat.c: Likewise.
79833         * csu/version.c: Likewise.
79834         * debug/catchsegv.sh: Likewise.
79835         * debug/xtrace.sh: Likewise.
79836         * elf/ldconfig.c: Likewise.
79837         * elf/ldd.bash.in: Likewise.
79838         * elf/sprof.c (print_version): Likewise.
79839         * iconv/iconv_prog.c: Likewise.
79840         * iconv/iconvconfig.c: Likewise.
79841         * locale/programs/locale.c: Likewise.
79842         * locale/programs/localedef.c: Likewise.
79843         * malloc/memusage.sh: Likewise.
79844         * malloc/mtrace.pl: Likewise.
79845         * nscd/nscd.c (print_version): Likewise.
79846         * nss/getent.c: Likewise.
79848         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79849         PF_CAIF, and PF_ALG.
79850         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79852 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79854         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79855         (modules-names): Use them.
79856         (ifunc-test-modules, ifunc-pie-tests): Define.
79857         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79858         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79859         (test-extras): Likewise.
79860         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79861         $(compile-command.c).
79862         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79863         (all-built-dso): Define.
79864         (check-textrel.out, check-execstack.out): Depend on it.
79866         * configure.in: Don't override --enable-multi-arch.
79868 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79870         [BZ #6812]
79871         * nscd/hstcache.c (tryagain): Define.
79872         (cache_addhst): Return tryagain not notfound for temporary errors.
79873         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79874         failed.
79876 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79878         [BZ #10563]
79879         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79880         to make the syscall.
79881         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79883         [BZ #12378]
79884         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79885         and fall back to matching as normal character if the string ends before
79886         the matching ']' is found.  This is what POSIX requires.
79887         * posix/testfnm.c: Adjust test result.
79888         * posix/globtest.sh: Adjust test result.  Add new test.
79889         * posix/tst-fnmatch.input: Likewise.
79890         * posix/tst-fnmatch2.c: Add new test.
79892 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79894         * elf/Makefile (check-execstack): Revert last change.  Depend on
79895         check-execstack.h.
79896         (check-execstack.h): New target.
79897         (generated): Add check-execstack.h.
79898         * elf/check-execstack.c: Include "check-execstack.h".
79899         (main): Revert last change.
79900         (handle_file): Return zero if GNU_STACK is absent and
79901         DEFAULT_STACK_PERMS doesn't include PF_X.
79903 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79905         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79906         in child fails because the descriptor is already closed.
79907         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79908         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79909         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79911         [BZ #12397]
79912         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79913         syscall.
79915         [BZ #10484]
79916         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79917         temporary buffer used to handle multi lookups locally.
79918         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79920 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79922         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79923         loader is ld.so.
79925 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79927         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79928         alignment for SSE2.
79930 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79932         [BZ #12394]
79933         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79934         characters.  When rounding increased number of integer digits recompute
79935         number of groups.
79936         * stdio-common/tst-grouping.c: New file.
79937         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79939 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79941         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79942         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79944         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79945         void.
79946         * bits/select.h: Likewise.
79948 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79950         * po/ja.po: Update from translation team.
79952 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79954         [BZ #11155]
79955         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79956         implementation just like for lxstat, fxstatat, et al.
79958 2010-12-27  Jim Meyering  <meyering@redhat.com>
79960         [BZ #12348]
79961         * posix/regexec.c (build_trtable): Return failure indication upon
79962         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79964 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79966         [BZ #12201]
79967         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79968         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79969         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79970         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79972         [BZ #12207]
79973         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79975         [BZ #12204]
79976         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79977         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79979 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79981         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79982         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79983         script has SORT_BY_INIT_PRIORITY.
79984         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79985         NO_CTORS_DTORS_SECTIONS is defined.
79986         * elf/soinit.c: Likewise.
79987         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79988         NO_CTORS_DTORS_SECTIONS is defined.
79989         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79990         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79991         * sysdeps/sh/init-first.c: Likewise.
79992         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79994 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79996         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79997         always use the slow path.
79999 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
80001         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
80002         similar rule which adds the sysdep directories to the header search in
80003         order to pick up the correct platform stackinfo.h.
80004         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
80005         perform test if it is, otherwise return successfully without testing.
80006         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
80007         DEFAULT_STACK_PERMS define in stackinfo.h.
80008         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
80009         defined in stackinfo.h.
80010         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
80011         DEFAULT_STACK_PERMS defined in stackinfo.h.
80012         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
80013         * sysdeps/ia64/stackinfo.h: Likewise.
80014         * sysdeps/s390/stackinfo.h: Likewise.
80015         * sysdeps/sh/stackinfo.h: Likewise.
80016         * sysdeps/sparc/stackinfo.h: Likewise.
80017         * sysdeps/x86_64/stackinfo.h: Likewise.
80018         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
80019         PF_X for powerpc64.  Retain PF_X for powerpc32.
80021 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
80023         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
80024         accurately.
80025         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
80026         GETDENTS_64BIT_ALIGNED.
80028 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
80030         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
80032 2010-12-10  Andreas Schwab  <schwab@redhat.com>
80034         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
80035         _GNU_SOURCE.
80037         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
80038         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
80039         Remove __restrict.
80040         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
80041         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
80043 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
80045         [BZ #11655]
80046         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
80047         are initialized.
80049 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
80051         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
80053 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
80055         * po/it.po: Update from translation team.
80057 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
80059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
80060         unused codes.
80062 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
80064         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
80066 2010-11-24  Andreas Schwab  <schwab@redhat.com>
80068         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
80069         specially.
80070         (gaih_getanswer_slice): Likewise.
80072 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
80074         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
80076 2010-05-31  Petr Baudis  <pasky@suse.cz>
80078         [BZ #11149]
80079         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
80080         silently even in the chroot mode.
80082 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
80084         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
80085         last patch a bit.  Pretty printing
80087 2010-05-31  Petr Baudis <pasky@suse.cz>
80089         [BZ #10085]
80090         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
80091         initialization of skip_initgroups_dyn.
80093 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
80095         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
80096         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80098 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
80100         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
80102 2010-11-11  Andreas Schwab  <schwab@redhat.com>
80104         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
80105         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
80106         (tst-fnmatch-ENV): Set MALLOC_TRACE.
80107         ($(objpfx)tst-fnmatch-mem): New rule.
80108         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
80109         * posix/tst-fnmatch.c (main): Call mtrace.
80111 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
80113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80114         Support Intel processor model 6 and model 0x2c.
80116 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
80118         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
80119           signed comparison.
80121 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
80123         [BZ #12205]
80124         * string/test-strncasecmp.c (check_result): New function.
80125         (do_one_test): Use it.
80126         (check1): New function.
80127         (test_main): Use it.
80128         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80129         Support strcasecmp and strncasecmp.
80131 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
80133         [BZ #12194]
80134         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80135         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80137 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
80139         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80140         IFUNC support.
80141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80142         memset-x86-64.
80143         * sysdeps/x86_64/multiarch/bzero.S: New file.
80144         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
80145         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80146         * sysdeps/x86_64/multiarch/memset.S: New file.
80147         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
80148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80149         Set bit_Prefer_SSE_for_memop for Intel processors.
80150         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
80151         Define.
80152         (index_Prefer_SSE_for_memop): Define.
80153         (HAS_PREFER_SSE_FOR_MEMOP): Define.
80155 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
80157         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80158         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80160 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80162         [BZ #12191]
80163         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80164         (__x86_64_raw_data_cache_size_half): Likewise.
80165         (__x86_64_raw_shared_cache_size): Likewise.
80166         (__x86_64_raw_shared_cache_size_half): Likewise.
80168         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80169         (__x86_64_raw_data_cache_size_half): Likewise.
80170         (__x86_64_raw_shared_cache_size): Likewise.
80171         (__x86_64_raw_shared_cache_size_half): Likewise.
80172         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80173         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80174         and __x86_64_raw_shared_cache_size_half.  Round
80175         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80176         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80177         to multiple of 256 bytes.
80179 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80181         [BZ #12167]
80182         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80183         of inacessible symlinks.  Verify result of symlink before returning it.
80184         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80185         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80187 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80189         * math/math.h (isinf): Fix typo in comment.
80191 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80193         * po/da.po: Update from translation team.
80195 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80197         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80198         is added to the list.
80200 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80201             Ulrich Drepper  <drepper@gmail.com>
80203         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80204         the global list here.  Move code to...
80205         (_dl_add_to_namespace_list): ...here.  New function.
80206         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80207         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80208         * elf/dl-load.c (lose): Don't remove the element from the list.
80209         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80210         (_dl_map_object): Likewise.
80212 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80214         [BZ #12159]
80215         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80216         into all bytes of SSE register.
80217         Patch by Richard Li <richardpku@gmail.com>.
80219 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80221         [BZ #12140]
80222         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80223         perturbing.
80225 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80227         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80228         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80229         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80230         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80232         submachine.
80233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80235 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80237         * include/dlfcn.h (__RTLD_SECURE): Define.
80238         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80239         mode & __RTLD_SECURE instead.
80240         (open_path): Rename preloaded parameter to secure.
80241         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80242         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80243         * elf/dl-deps.c (openaux): Likewise.
80244         * elf/rtld.c (struct map_args): Remove is_preloaded.
80245         (map_doit): Don't use it.
80246         (dl_main): Likewise.
80247         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80248         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80250 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80252         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80253         (sysd-rules-targets): Remove duplicates.
80254         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80255         rtld-%.$o dependency.
80257 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80259         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80260         _dl_map_object do it.
80262 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80264         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80265         fast fma builtins, define the macros in the C99 standard.
80266         (FP_FAST_FMAF): Likewise.
80267         (FP_FAST_FMAL): Likewise.
80268         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80270         * bits/mathdef.h: Update copyright year.
80271         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80273 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80275         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80276         builtins, define the macros in the C99 standard.
80277         (FP_FAST_FMAF): Likewise.
80278         (FP_FAST_FMAL): Likewise.
80279         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80280         multiply/add.
80281         (FP_FAST_FMAF): Likewise.
80283 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80285         [BZ #3268]
80286         * math/libm-test.inc (fma_test): Some new testcases.
80287         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80288         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80289         y and infinite z.  Do multiplication by C already in long double.
80290         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80292         y and infinite z.  Do bitwise or of inexact bit into u.d.
80293         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80294         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80295         * sysdeps/i386/fpu/s_fma.S: Removed.
80296         * sysdeps/i386/fpu/s_fmal.S: Removed.
80298 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80300         [BZ #3268]
80301         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80302         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80303         computation is not scheduled after fetestexcept.  Fix value
80304         of minimum denormal long double.
80306 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80308         [BZ #3268]
80309         * math/libm-test.inc (fma_test): Add some more tests.
80310         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80311         correctly.
80313 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80315         * scripts/data/localplt-s390-linux-gnu.data: New file.
80316         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80318 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80320         [BZ #3268]
80321         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80322         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80323         instead of dbl-64.
80324         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80325         inlines.
80326         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80328         if one of x and y is very large and the other is subnormal.
80329         * sysdeps/s390/fpu/s_fmaf.c: New file.
80330         * sysdeps/s390/fpu/s_fma.c: New file.
80331         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80332         * sysdeps/powerpc/fpu/s_fma.S: New file.
80333         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80334         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80335         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80337 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80339         [BZ #3268]
80340         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80341         fma tests.
80342         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80343         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80344         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80345         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80346         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80347         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80348         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80350 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80352         [BZ #12078]
80353         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80354         * posix/bug-regex31.input: Add test case.
80356 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80358         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80359         * posix/bug-regex31.input: New file.
80361         [BZ #12078]
80362         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80363         (parse_sub_exp): Fix last change, use postorder.
80365         * posix/bug-regex31.c: New file.
80366         * posix/Makefile: Add rules to build and run bug-regex31.
80368         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80370         [BZ #12078]
80371         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80373         [BZ #12108]
80374         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80375         to have entries in sys_siglist.
80377         [BZ #12093]
80378         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80379         be NULL.
80381 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80383         [BZ #3268]
80384         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80385         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80386         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80387         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80388         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80389         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80390         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80391         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80392         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80393         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80394         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80395         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80396         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80397         * math/ftestexcept.c (fetestexcept): Likewise.
80398         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80399         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80400         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80401         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80402         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80403         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80404         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80406 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80408         [BZ #12107]
80409         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80410         newline.
80412 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80414         * string/bug-strstr1.c: New file.
80415         * string/Makefile: Add rules to build and run bug-strstr1.
80417 2010-10-05  Eric Blake  <eblake@redhat.com>
80419         [BZ #12092]
80420         * string/str-two-way.h (two_way_long_needle): Always clear memory
80421         when skipping input due to the shift table.
80423 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80425         [BZ #12005]
80426         * malloc/mcheck.c: Handle large requests.
80428         [BZ #12077]
80429         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80430         for strncmp and strncasecmp.
80431         * string/stratcliff.c: Add tests for strcmp and strncmp.
80432         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80434 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80436         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80437         __set_fpscr.
80439 2010-09-30  Andreas Jaeger  <aj@suse.de>
80441         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80442         (CGROUP_SUPER_MAGIC): Define.
80443         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80444         Handle btrfs and cgroup file systems.
80445         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80446         Likewise.
80448 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80450         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80451         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80453 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80455         [BZ #12067]
80456         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80457         trying to locate the ELF header.
80459 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80461         [BZ #11611]
80462         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80463         Mask out sign-bit copies when constructing f_fsid.
80465 2010-09-24  Petr Baudis <pasky@suse.cz>
80467         * debug/stack_chk_fail_local.c: Add missing licence exception.
80468         * debug/warning-nop.c: Likewise.
80470 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80472         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80473         implementing getdents64 using getdents syscall, set d_type if
80474         __ASSUME_GETDENTS32_D_TYPE.
80476 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80478         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80479         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80481 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80483         [BZ #12037]
80484         * posix/unistd.h: Undo change of feature selection for ftruncate from
80485         2010-01-11.
80487 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80489         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80490         detection.
80492 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80494         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80495         fanotify_mark.
80496         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80498 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80500         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80501         variables after CHECK_SP call.
80502         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80504 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80505             Ulrich Drepper  <drepper@redhat.com>
80507         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80508         re-relocationg ld.so.
80509         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80510         _dl_init_paths call.
80511         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80512         here anymore.
80514 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80516         * resolv/res_init.c (__res_vinit): Count the default server we added.
80518 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80519             Ulrich Drepper  <drepper@redhat.com>
80521         [BZ #11968]
80522         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80523         (____longjmp_chk): Use %ebx for saving value across system call.
80524         Add unwind info.
80526 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80528         * manual/Makefile: Don't mix pattern rules with normal rules.
80530 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80532         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80533         operation.
80534         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80535         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80536         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80537         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80539         Likewise.
80541 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80543         [BZ #11979]
80544         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80545         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80547 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80549         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80550         * sysdeps/x86_64/addmul_1.S: Likewise.
80551         * sysdeps/x86_64/lshift.S: Likewise.
80552         * sysdeps/x86_64/mul_1.S: Likewise.
80553         * sysdeps/x86_64/rshift.S: Likewise.
80554         * sysdeps/x86_64/sub_n.S: Likewise.
80555         * sysdeps/x86_64/submul_1.S: Likewise.
80557 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80559         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80560         Define __sched_param instead of SCHED_* and sched_param when
80561         <bits/sched.h> is included with __need_schedparam defined.
80562         * bits/sched.h [__need_schedparam]
80563         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80564         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80565         (__defined_schedparam): Define to 1.
80566         (__sched_param): New structure, identical to sched_param.
80567         (__need_schedparam): Undefine.
80569 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80571         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80572         (epoll_create1): Declare.
80574         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80576 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80578         [BZ #7066]
80579         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80580         shifting retval into place.
80582 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80584         * nis/rpcsvc/nis.h: Update copyright notice.
80585         * nis/rpcsvc/nis.x: Likewise.
80586         * nis/rpcsvc/nis_callback.h: Likewise.
80587         * nis/rpcsvc/nis_callback.x: Likewise.
80588         * nis/rpcsvc/nis_object.x: Likewise.
80589         * nis/rpcsvc/nis_tags.h: Likewise.
80590         * nis/rpcsvc/yp.h: Likewise.
80591         * nis/rpcsvc/yp.x: Likewise.
80592         * nis/rpcsvc/ypupd.h: Likewise.
80593         * nis/yp_xdr.c: Likewise.
80594         * nis/ypupdate_xdr.c: Likewise.
80596         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80597         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80598         (pmap_getport): Use __libc_rpc_getport.
80599         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80600         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80601         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80603 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80606         fanotify_mark.
80608 2010-08-27  Roland McGrath  <roland@redhat.com>
80610         * sysdeps/i386/i686/multiarch/Makefile
80611         (CFLAGS-varshift.c): New variable.
80613 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80615         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80616         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80618         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80620         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80622 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80624         * sysdeps/x86_64/strlen.S: Unroll the loop.
80625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80626         strlen-sse2 strlen-sse2-bsf.
80627         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80628         __strlen_no_bsf if bit_Slow_BSF is set.
80629         (__strlen_sse42): Removed.
80630         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80631         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80633 2010-08-25  Roland McGrath  <roland@redhat.com>
80635         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80636         * sysdeps/x86_64/multiarch/varshift.c: New file.
80637         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80638         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80639         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80640         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80642 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80644         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80645         strlen-sse2 strlen-sse2-bsf.
80646         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80647         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80648         (__strlen_sse2): Removed.
80649         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80650         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80652         bit_Slow_BSF for Atom.
80653         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80654         (index_Slow_BSF): Define.
80655         (HAS_SLOW_BSF): Define.
80657 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80659         [BZ #10851]
80660         * resolv/res_init.c (__res_vinit): When no server address at all
80661         is given default to loopback.
80663 2010-08-24  Roland McGrath  <roland@redhat.com>
80665         * configure.in: Remove config-name.h generation.
80666         * configure: Regenerated.
80667         * config-name.in: File removed.
80668         * scripts/config-uname.sh: New file.
80669         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80670         ($(objdir)config-name.h): New target.
80672         * sunrpc/rpc_parse.h: Avoid nested comment.
80674 2010-08-24  Richard Henderson  <rth@redhat.com>
80675             Ulrich Drepper  <drepper@redhat.com>
80676             H.J. Lu  <hongjiu.lu@intel.com>
80678         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80680         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80681         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80682         _mm_alignr_epi8 with _mm_loadu_si128.
80683         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80684         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80685         (__m128i_shift_right): Removed.
80686         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80687         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80688         * sysdeps/x86_64/multiarch/varshift.h: New file.
80689         * sysdeps/x86_64/multiarch/varshift.S: New file.
80691 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80693         * configure.in: Move assembler checks to before sysdep dir checking.
80695 2010-08-20  Petr Baudis  <pasky@suse.cz>
80697         * LICENSES: Sync the sunrpc license.
80699 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80701         * sunrpc/auth_des.c: Update copyright notice once again.
80702         * sunrpc/auth_none.c: Likewise.
80703         * sunrpc/auth_unix.c: Likewise.
80704         * sunrpc/authdes_prot.c: Likewise.
80705         * sunrpc/authuxprot.c: Likewise.
80706         * sunrpc/bindrsvprt.c: Likewise.
80707         * sunrpc/clnt_gen.c: Likewise.
80708         * sunrpc/clnt_perr.c: Likewise.
80709         * sunrpc/clnt_raw.c: Likewise.
80710         * sunrpc/clnt_simp.c: Likewise.
80711         * sunrpc/clnt_tcp.c: Likewise.
80712         * sunrpc/clnt_udp.c: Likewise.
80713         * sunrpc/clnt_unix.c: Likewise.
80714         * sunrpc/des_crypt.c: Likewise.
80715         * sunrpc/des_soft.c: Likewise.
80716         * sunrpc/get_myaddr.c: Likewise.
80717         * sunrpc/getrpcport.c: Likewise.
80718         * sunrpc/key_call.c: Likewise.
80719         * sunrpc/key_prot.c: Likewise.
80720         * sunrpc/openchild.c: Likewise.
80721         * sunrpc/pm_getmaps.c: Likewise.
80722         * sunrpc/pm_getport.c: Likewise.
80723         * sunrpc/pmap_clnt.c: Likewise.
80724         * sunrpc/pmap_prot.c: Likewise.
80725         * sunrpc/pmap_prot2.c: Likewise.
80726         * sunrpc/pmap_rmt.c: Likewise.
80727         * sunrpc/rpc/auth.h: Likewise.
80728         * sunrpc/rpc/auth_unix.h: Likewise.
80729         * sunrpc/rpc/clnt.h: Likewise.
80730         * sunrpc/rpc/des_crypt.h: Likewise.
80731         * sunrpc/rpc/key_prot.h: Likewise.
80732         * sunrpc/rpc/netdb.h: Likewise.
80733         * sunrpc/rpc/pmap_clnt.h: Likewise.
80734         * sunrpc/rpc/pmap_prot.h: Likewise.
80735         * sunrpc/rpc/pmap_rmt.h: Likewise.
80736         * sunrpc/rpc/rpc.h: Likewise.
80737         * sunrpc/rpc/rpc_des.h: Likewise.
80738         * sunrpc/rpc/rpc_msg.h: Likewise.
80739         * sunrpc/rpc/svc.h: Likewise.
80740         * sunrpc/rpc/svc_auth.h: Likewise.
80741         * sunrpc/rpc/types.h: Likewise.
80742         * sunrpc/rpc/xdr.h: Likewise.
80743         * sunrpc/rpc_clntout.c: Likewise.
80744         * sunrpc/rpc_cmsg.c: Likewise.
80745         * sunrpc/rpc_common.c: Likewise.
80746         * sunrpc/rpc_cout.c: Likewise.
80747         * sunrpc/rpc_dtable.c: Likewise.
80748         * sunrpc/rpc_hout.c: Likewise.
80749         * sunrpc/rpc_main.c: Likewise.
80750         * sunrpc/rpc_parse.c: Likewise.
80751         * sunrpc/rpc_parse.h: Likewise.
80752         * sunrpc/rpc_prot.c: Likewise.
80753         * sunrpc/rpc_sample.c: Likewise.
80754         * sunrpc/rpc_scan.c: Likewise.
80755         * sunrpc/rpc_scan.h: Likewise.
80756         * sunrpc/rpc_svcout.c: Likewise.
80757         * sunrpc/rpc_tblout.c: Likewise.
80758         * sunrpc/rpc_util.c: Likewise.
80759         * sunrpc/rpc_util.h: Likewise.
80760         * sunrpc/rpcinfo.c: Likewise.
80761         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80762         * sunrpc/rpcsvc/key_prot.x: Likewise.
80763         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80764         * sunrpc/rpcsvc/mount.x: Likewise.
80765         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80766         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80767         * sunrpc/rpcsvc/rex.x: Likewise.
80768         * sunrpc/rpcsvc/rstat.x: Likewise.
80769         * sunrpc/rpcsvc/rusers.x: Likewise.
80770         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80771         * sunrpc/rpcsvc/spray.x: Likewise.
80772         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80773         * sunrpc/rtime.c: Likewise.
80774         * sunrpc/svc.c: Likewise.
80775         * sunrpc/svc_auth.c: Likewise.
80776         * sunrpc/svc_authux.c: Likewise.
80777         * sunrpc/svc_raw.c: Likewise.
80778         * sunrpc/svc_run.c: Likewise.
80779         * sunrpc/svc_simple.c: Likewise.
80780         * sunrpc/svc_tcp.c: Likewise.
80781         * sunrpc/svc_udp.c: Likewise.
80782         * sunrpc/svc_unix.c: Likewise.
80783         * sunrpc/svcauth_des.c: Likewise.
80784         * sunrpc/xcrypt.c: Likewise.
80785         * sunrpc/xdr.c: Likewise.
80786         * sunrpc/xdr_array.c: Likewise.
80787         * sunrpc/xdr_float.c: Likewise.
80788         * sunrpc/xdr_mem.c: Likewise.
80789         * sunrpc/xdr_rec.c: Likewise.
80790         * sunrpc/xdr_ref.c: Likewise.
80791         * sunrpc/xdr_sizeof.c: Likewise.
80792         * sunrpc/xdr_stdio.c: Likewise.
80794         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80795         handling.
80797 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80799         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80801 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80803         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80804         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80805         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80806         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80807         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80808         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80809         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80810         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80811         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80812         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80813         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80814         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80815         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80816         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80818 2010-07-26  Anton Blanchard  <anton@samba.org>
80820         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80821         * malloc/arena.c (heap_trim): Likewise.
80823 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80825         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80826         here.  Not...
80827         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80828         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80830 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80832         * sysdeps/i386/elf/Makefile: New file.
80834 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80836         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80837         from fanotify_init.
80838         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80841 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80843         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80844         of strncasecmp_l.
80845         * sysdeps/multiarch/strcmp.S: Likewise.
80847 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80849         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80850         strncase_l-nonascii.
80851         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80852         Add strncase_l-ssse3.
80853         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80854         * sysdeps/x86_64/strcmp.S: Likewise.
80855         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80856         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80857         * sysdeps/x86_64/strncase.S: New file.
80858         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80859         * sysdeps/x86_64/strncase_l.S: New file.
80860         * string/Makefile (strop-tests): Add strncasecmp.
80861         * string/test-strncasecmp.c: New file.
80863         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80864         warning.
80866         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80867         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80869 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80871         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80873 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80875         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80876         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80877         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80879 2010-05-01  Alan Modra  <amodra@gmail.com>
80881         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80882         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80883         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80884         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80885         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80886         tidying.  Don't tail-call __sigjmp_save for static lib.
80887         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80888         save location.
80889         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80890         (CALL_MCOUNT): Add eh info, and nop after bl.
80891         (TAIL_CALL_SYSCALL_ERROR): New macro.
80892         (PSEUDO_RET): Use it.
80893         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80894         Correct save location of integer regs and cr.
80895         (_dl_profile_resolve): Correct cr save location.  Delete nops
80896         after bl when SHARED.  Reduce cfi size a little by better
80897         placement of cfi directives.
80898         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80899         make a stack frame.  Instead use parm save area as a temp.
80900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80901         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80903         Don't make a stack frame for parent, use parm save area.
80904         Increase child stack frame to 112 bytes.  Don't save unused reg,
80905         and adjust reg usage.  Set up cfi on error recovery and
80906         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80908         (__makecontext): Add dummy nop after jump to exit.
80909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80910         Use correct parm save area and cr save, reduce stack frame.
80911         Correct cfi for possible PSEUDO_RET frame setup.
80912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80913         Branch to local label emitted by PSEUDO_RET rather than
80914         __syscall_error.
80916 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80918         [BZ #11904]
80919         * locale/programs/locale.c (print_assignment): New function.
80920         (show_locale_vars): Use it.
80922 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80924         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80925         field.
80926         (struct statfs64): Likewise.
80927         (_STATFS_F_FLAGS): Define.
80928         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80929         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80930         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80931         (ST_VALID): Define locally.
80932         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80933         __statvfs_getflags, use the provided value.
80934         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80935         __ASSUME_STATFS_F_FLAGS.
80937         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80939         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80940         Add sys/fanotify.h.
80941         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80942         fanotify_mask for GLIBC_2.13.
80943         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80944         fanotify_init and fanotify_mark.
80945         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80946         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80948         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80949         Add prlimit.
80950         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80951         prlimit64 for GLIBC_2.13.
80952         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80953         prlimit64.
80954         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80955         syscall.
80956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80957         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80958         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80959         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80960         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80961         add prlimit alias.
80962         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80964         [BZ #11903]
80965         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80966         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80968         * nss/Makefile: Add rules to build and run tst-nss-test1.
80969         * shlib-versions: Add entry for libnss_test1.
80970         * nss/nss_test1.c: New file.
80971         * nss/tst-nss-test1.c: New file.
80973         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80974         (__nss_configure_lookup): Set appropriate entry in
80975         __nss_configure_lookup to true.
80976         * nss/nsswitch.h: Define enum with indeces of databases in
80977         databases and __nss_database_custom arrays.  Declare
80978         __nss_database_custom.
80979         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80980         to avoid using nscd when custom rules are installed.
80981         * nss/getXXbyYY_r.c: Likewise.
80982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80984         * nss/nss_files/files-parse.c: Whitespace fixes.
80986 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80988         [BZ #11883]
80989         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80990         * posix/fnmatch_loop.c: Likewise.
80992 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80994         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80995         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80996         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80997         * Versions.def [GLIBC_2.13]: Add.
80999 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
81001         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81002         Also fail if tpwd after pwuid call is NULL.
81004 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81006         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
81007         when converting to ms.
81009 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81011         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
81012         EOPNOTSUPP errors with ENOTTY.
81013         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
81014         EOPNOTSUPP errors with ENOTTY.
81016 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
81018         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81019         Add strcasecmp_l-ssse3.
81020         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
81021         strcasecmp.
81022         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
81023         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
81024         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81026 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
81028         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
81030         * string/Makefile (strop-tests): Add strcasecmp.
81031         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81032         strcasecmp_l-nonascii.
81033         (gen-as-const-headers): Add locale-defines.sym.
81034         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
81035         * sysdeps/x86_64/strcasecmp.S: New file.
81036         * sysdeps/x86_64/strcasecmp_l.S: New file.
81037         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
81038         * sysdeps/x86_64/locale-defines.sym: New file.
81039         * string/test-strcasecmp.c: New file.
81041         * string/test-strcasestr.c: Test both ends of the range of characters.
81042         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
81044 2010-07-29  Roland McGrath  <roland@redhat.com>
81046         [BZ #11856]
81047         * manual/locale.texi (Yes-or-No Questions): Fix example code.
81049 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
81051         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
81052         for ld.so.
81054 2010-07-27  Andreas Schwab  <schwab@redhat.com>
81056         * manual/memory.texi (Malloc Tunable Parameters): Document
81057         M_PERTURB.
81059 2010-07-26  Roland McGrath  <roland@redhat.com>
81061         [BZ #11840]
81062         * configure.in (-fgnu89-inline check): Set and substitute
81063         gnu89_inline, not libc_cv_gnu89_inline.
81064         * configure: Regenerated.
81065         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
81067 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
81069         * string/test-strnlen.c: New file.
81070         * string/Makefile (strop-tests): Add strnlen.
81071         * string/tester.c (test_strnlen): Add a few more test cases.
81072         * string/tst-strlen.c: Better error reporting.
81074         * sysdeps/x86_64/strnlen.S: New file.
81076 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
81078         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
81079         lower-latency instructions.
81081 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
81083         * string/test-strcasestr.c: New file.
81084         * string/test-strstr.c: New file.
81085         * string/Makefile (strop-tests): Add strstr and strcasestr.
81086         * string/str-two-way.h: Don't undefine MAX.
81087         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
81089 2010-07-21  Andreas Schwab  <schwab@redhat.com>
81091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81092         strcasestr-nonascii.
81093         (CFLAGS-strcasestr-nonascii.c): Define.
81094         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
81095         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
81096         Remove unused attribute.
81098 2010-07-20  Roland McGrath  <roland@redhat.com>
81100         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
81101         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
81102         ld.so.cache was broken.  With it, there is no way to disable dsocaps
81103         like LD_HWCAP_MASK can disable hwcaps.
81105 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81107         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
81109 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
81111         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
81112         call in strcasestr.
81113         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
81114         __strcasestr_sse42_nonascii.
81115         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
81116         strcasestr-nonascii.c.
81117         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
81119 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
81121         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81122         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81123         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81124         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81126 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
81128         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81129         fcntl.
81131 2010-07-06  Andreas Schwab  <schwab@redhat.com>
81133         [BZ #11577]
81134         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81135         dl_signal_cerror.
81137 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
81139         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81140         _PC_PIPE_BUF using F_GETPIPE_SZ.
81142 2010-07-05  Roland McGrath  <roland@redhat.com>
81144         * manual/arith.texi (Rounding Functions): Fix rint description
81145         implicit in round description.
81147 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
81149         * elf/Makefile: Fix linking for a few tests to make recent linker
81150         happy.
81152 2010-06-30  Andreas Schwab  <schwab@redhat.com>
81154         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81155         $(common-objpfx)libc_nonshared.a.
81157 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
81159         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81160         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81161         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81162         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81163         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81164         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81165         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81166         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81181         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81182         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81183         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81184         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81185         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81186         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81187         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81188         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81189         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81190         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81191         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81192         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81208 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81210         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81211         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81212         * string/memmove.c (memmove): Renamed to ...
81213         (MEMMOVE): ...this.  Default to memmove.
81214         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81215         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81216         (END_CHK): Define.
81217         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81218         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81219         mempcpy-ssse3-back memmove-ssse3-back.
81220         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81221         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81222         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81223         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81224         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81225         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81226         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81227         * sysdeps/x86_64/multiarch/memmove.c: New file.
81228         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81229         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81230         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81231         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81232         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81233         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81234         Define.
81235         (index_Fast_Copy_Backward): Define.
81236         (HAS_ARCH_FEATURE): Define.
81237         (HAS_FAST_REP_STRING): Define.
81238         (HAS_FAST_COPY_BACKWARD): Define.
81240 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81242         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81243         Restore proper fallback handling.
81245 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81247         [BZ #11701]
81248         * posix/group_member.c (__group_member): Correct checking loop.
81250         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81251         OOM in getpwuid_r correctly.  Return error number when the caller
81252         should return, otherwise -1.
81253         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81254         call returning > 0 value.
81255         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81257 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81259         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81260         libc_nonshared.a from targets in modules-names.
81262 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81264         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81265         requires it.
81267 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81269         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81270         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81271         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81272         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81274 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81276         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81278 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81280         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81281         and F_GETPIPE_SZ.
81282         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81283         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81284         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81285         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81286         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81287         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81289 2010-06-14  Roland McGrath  <roland@redhat.com>
81291         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81293 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81295         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81296         __REDIRECT followed by __THROW.
81297         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81298         * posix/getopt.h (getopt): Likewise.
81300 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81302         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81303         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81304         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81305         in AT_FLAGS.
81306         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81307         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81309 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81311         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81313 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81315         [BZ #11640]
81316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81317         Properly check family and model.
81319 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81321         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81323 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81325         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81327 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81329         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81330         symbol reference.
81332 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81334         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81335         symbol reference.
81337 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81339         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81340         and internal_recvmmsg.
81341         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81342         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81343         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81344         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81346         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81347         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81348         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81350 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81352         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81354 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81356         POWER7 optimizations.
81357         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81358         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81360 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81362         * version.h: Update for 2.13 development version.
81364 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81366         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81367         exceptions.  Return 0.
81369 2010-05-07  Roland McGrath  <roland@redhat.com>
81371         * elf/ldconfig.c (main): Add a const.
81373 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81375         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81376         (args_options): Add no-idn option.
81377         (ahosts_keys_int): Add idn_flags to ai_flags.
81378         (parse_option): Handle 'i' option to clear idn_flags.
81380         * malloc/malloc.c (_int_free): Possible race in the most recently
81381         added check.  Only act on the data if no current modification
81382         happened.
81384 See ChangeLog.17 for earlier changes.